%define realversion %(echo %version | tr . _) Name: ocre Version: 0.043 Release: 1mamba Summary: o.c.r. easy (and free/libre) Group: Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://lem.eui.upm.es/ocre.html Source0: ftp://lem.eui.upm.es/pub/ocre/ocre_v%{realversion}.tgz #Source0: %{name}-%{version}.tar.gz Source1: ftp://lem.eui.upm.es/pub/ocre/ocre-decsWood-%{version}.tgz ##Source1: %{name}-decsWood-%{version}.tar.gz Patch: ocre-0.029-Makefile.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: aspell-devel BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk2-devel BuildRequires: libpango-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description o.c.r. easy (and free/libre) * input: PGM/PBM file * output: ASCII characters in standard output * process: segmentation, and more comparison %prep %setup -q sed -i "s|-Isrc|-Isrc -I.|" ocre/Makefile %patch -p1 %build make -C ocre depend %make -C ocre %install %makeinstall -C ocre %makeinstall -C ocre installman rm -rf %{buildroot}/bin rm -rf %{buildroot}/share rm -rf %{buildroot}%{_datadir}/ocre/decsWood* rm -rf decsWood* tar -xvzf %{SOURCE1} -C %{buildroot}%{_datadir}/ocre/ %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-, root, root, 0755) %{_bindir}/ocre %dir %{_datadir}/ocre %dir %{_datadir}/ocre/conv %{_datadir}/ocre/conv/maymin %{_datadir}/ocre/conv/minmay %{_datadir}/ocre/conv/puntua %{_datadir}/ocre/conv/tposyes %{_datadir}/ocre/conv/ts-8859-*.ts %dir %{_datadir}/ocre/decsWood %{_datadir}/ocre/decsWood/* %dir %{_datadir}/ocre/decsWoodCur %{_datadir}/ocre/decsWoodCur/* %dir %{_datadir}/ocre/decsWoodCyrillic %{_datadir}/ocre/decsWoodCyrillic/* %dir %{_datadir}/ocre/decsWoodLatin %{_datadir}/ocre/decsWoodLatin/* %dir %{_datadir}/ocre/decsWoodLatinW %{_datadir}/ocre/decsWoodLatinW/* %{_mandir}/es/man1/ocre.1.gz %{_mandir}/man1/ocre.1.gz %changelog * Tue Oct 11 2016 Automatic Build System 0.043-1mamba - automatic update by autodist * Sun Jul 28 2013 Automatic Build System 0.042-1mamba - automatic rebuild by autodist * Mon May 18 2009 Automatic Build System 0.031-1mamba - update to 0.031 * Sat Sep 27 2008 gil 0.029-1mamba - update to 0.029 * Wed Jun 22 2005 Alessandro Ramazzina 0.018-2qilnx - rebuild and moved from devel-contrib repository to devel repository * Tue Jun 21 2005 Matteo Bernasconi 0.018-1qilnx - First Build