ocrad/ocrad.spec

119 lines
3.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: ocrad
Version: 0.25
Release: 1mamba
Summary: Optical Character Recognition program
Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.gnu.org/software/ocrad/ocrad.html
Source0: ftp://ftp.gnu.org/gnu/ocrad/ocrad-%{version}.tar.lz
License: GPL
BuildRequires: lzip
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Ocrad is an OCR program implemented as a filter.
It reads a bitmap image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset.
It can be used as a stand-alone terminal application, or as a backend to other programs.
%package devel
Summary: Static libraries and headers for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Ocrad is an OCR program implemented as a filter.
It reads a bitmap image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset.
It can be used as a stand-alone terminal application, or as a backend to other programs.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%configure
%make CXXFLAGS="%{optflags}"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall install-man
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info %{name}.info
exit 0
%preun
%uninstall_info %{name}.info
exit 0
%files
%defattr(-,root,root)
%{_bindir}/ocrad
%{_mandir}/man1/ocrad.*
%{_infodir}/ocrad.info.*
%doc AUTHORS
%files devel
%defattr(-,root,root)
%{_includedir}/ocradlib.h
%{_libdir}/libocrad.a
%doc ChangeLog NEWS README
%changelog
* Sun Apr 12 2015 Automatic Build System <autodist@mambasoft.it> 0.25-1mamba
- automatic update by autodist
* Tue Oct 07 2014 Automatic Build System <autodist@mambasoft.it> 0.24-1mamba
- automatic update by autodist
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 0.23-1mamba
- automatic version update by autodist
* Fri Jul 26 2013 Automatic Build System <autodist@mambasoft.it> 0.22-1mamba
- update to 0.22
* Wed Jan 12 2011 Automatic Build System <autodist@mambasoft.it> 0.21-1mamba
- automatic update by autodist
* Thu Jul 22 2010 Automatic Build System <autodist@mambasoft.it> 0.20-1mamba
- automatic update by autodist
* Sun May 09 2010 Automatic Build System <autodist@mambasoft.it> 0.19-1mamba
- automatic update by autodist
* Wed Jul 15 2009 Automatic Build System <autodist@mambasoft.it> 0.18-1mamba
- update to 0.18
* Mon Jul 02 2007 Aleph0 <aleph0@openmamba.org> 0.17-1mamba
- update to 0.17
* Mon Oct 23 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.16-1qilnx
- update to version 0.16 by autospec
* Wed Apr 26 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.15-1qilnx
- update to version 0.15 by autospec
* Mon Feb 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.13-2qilnx
- rebuilt
* Tue Jan 24 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.13-1qilnx
- update to version 0.13 by autospec
- spec file fixed and updated
* Thu Jun 09 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.12-1qilnx
- new version
* Thu Apr 21 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.11-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Fri Feb 18 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0.11-1qilnx
- new release
* Wed Sep 07 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.8-1qilnx
- first build