automatic rebuild by autodist [release 0.042-1mamba;Sun Jul 28 2013]
This commit is contained in:
parent
244995ff9d
commit
25a444ebdb
@ -1,2 +1,8 @@
|
|||||||
# ocre
|
# ocre
|
||||||
|
|
||||||
|
o.c.r. easy (and free/libre)
|
||||||
|
|
||||||
|
* input: PGM/PBM file
|
||||||
|
* output: ASCII characters in standard output
|
||||||
|
* process: segmentation, and more comparison
|
||||||
|
|
||||||
|
18
ocre-0.029-Makefile.patch
Normal file
18
ocre-0.029-Makefile.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- ocre-0.029/ocre/Makefile 2008-09-27 11:54:28.000000000 +0200
|
||||||
|
+++ ocre-0.029/ocre/Makefile-gil 2008-09-27 11:58:48.000000000 +0200
|
||||||
|
@@ -3,11 +3,11 @@
|
||||||
|
|
||||||
|
include ddepend0 # FUENTES = .c 's
|
||||||
|
|
||||||
|
-DESTDIR = /usr
|
||||||
|
+DESTDIR =
|
||||||
|
|
||||||
|
-BIN = $(DESTDIR)/bin
|
||||||
|
-MAN = $(DESTDIR)/share/man
|
||||||
|
-SHARE = $(DESTDIR)/share/ocre
|
||||||
|
+BIN = $(DESTDIR)/usr/bin
|
||||||
|
+MAN = $(DESTDIR)/usr/share/man
|
||||||
|
+SHARE = $(DESTDIR)/usr/share/ocre
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
VERS = 2.0
|
99
ocre.spec
Normal file
99
ocre.spec
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
%define realversion %(echo %version | tr . _)
|
||||||
|
Name: ocre
|
||||||
|
Version: 0.042
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: o.c.r. easy (and free/libre)
|
||||||
|
Group: Applications/Graphics
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
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
|
||||||
|
* Sun Jul 28 2013 Automatic Build System <autodist@mambasoft.it> 0.042-1mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 0.031-1mamba
|
||||||
|
- update to 0.031
|
||||||
|
|
||||||
|
* Sat Sep 27 2008 gil <puntogil@libero.it> 0.029-1mamba
|
||||||
|
- update to 0.029
|
||||||
|
|
||||||
|
* Wed Jun 22 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.018-2qilnx
|
||||||
|
- rebuild and moved from devel-contrib repository to devel repository
|
||||||
|
|
||||||
|
* Tue Jun 21 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0.018-1qilnx
|
||||||
|
- First Build
|
Loading…
Reference in New Issue
Block a user