packages: ocrad/ocrad-info.patch, ocrad/ocrad.spec - updated to 0.21 (.lz s...
qboosh
qboosh at pld-linux.org
Tue Jan 11 20:18:07 CET 2011
Author: qboosh Date: Tue Jan 11 19:18:07 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 0.21 (.lz source)
- updated info patch
---- Files affected:
packages/ocrad:
ocrad-info.patch (1.5 -> 1.6) , ocrad.spec (1.22 -> 1.23)
---- Diffs:
================================================================
Index: packages/ocrad/ocrad-info.patch
diff -u packages/ocrad/ocrad-info.patch:1.5 packages/ocrad/ocrad-info.patch:1.6
--- packages/ocrad/ocrad-info.patch:1.5 Wed Jul 11 21:28:10 2007
+++ packages/ocrad/ocrad-info.patch Tue Jan 11 20:18:02 2011
@@ -1,13 +1,13 @@
---- ocrad-0.17/doc/ocrad.texinfo.orig 2007-06-28 20:38:54.000000000 +0200
-+++ ocrad-0.17/doc/ocrad.texinfo 2007-07-11 21:20:58.154142913 +0200
+--- ocrad-0.21/doc/ocrad.texinfo.orig 2011-01-10 01:52:19.000000000 +0100
++++ ocrad-0.21/doc/ocrad.texinfo 2011-01-11 19:42:33.401904881 +0100
@@ -8,9 +8,9 @@
- @set UPDATED 29 June 2007
- @set VERSION 0.17
+ @set UPDATED 10 January 2011
+ @set VERSION 0.21
- at dircategory GNU Packages
+ at dircategory Graphics Utilities:
@direntry
--* Ocrad: (ocrad). The GNU OCR program.
+-* Ocrad: (ocrad). The GNU OCR program
+* Ocrad: (ocrad). The GNU OCR program
@end direntry
================================================================
Index: packages/ocrad/ocrad.spec
diff -u packages/ocrad/ocrad.spec:1.22 packages/ocrad/ocrad.spec:1.23
--- packages/ocrad/ocrad.spec:1.22 Tue Apr 8 10:24:53 2008
+++ packages/ocrad/ocrad.spec Tue Jan 11 20:18:02 2011
@@ -2,16 +2,18 @@
Summary: Optical Character Recognition program
Summary(pl.UTF-8): Program optycznego rozpoznawania pisma (OCR)
Name: ocrad
-Version: 0.17
+Version: 0.21
Release: 1
License: GPL v3+
Group: Applications/Graphics
-Source0: http://ftp.gnu.org/gnu/ocrad/%{name}-%{version}.tar.bz2
-# Source0-md5: 687c213b3334d5a6c2dcef97805c5882
+Source0: http://ftp.gnu.org/gnu/ocrad/%{name}-%{version}.tar.lz
+# Source0-md5: 09b09a5f6d5a23551f744ba492e9382e
Patch0: %{name}-info.patch
URL: http://www.gnu.org/software/ocrad/ocrad.html
BuildRequires: help2man
BuildRequires: libstdc++-devel
+BuildRequires: lzip
+BuildRequires: tar >= 1:1.22
BuildRequires: texinfo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,6 +29,18 @@
Może być używany jako samodzielna aplikacja terminalowa bądź jako
podstawa innego programu.
+%package devel
+Summary: Ocrad static library and header file
+Summary(pl.UTF-8): Biblioteka statyczna i plik nagłówkowy Ocrada
+Group: Development/Libraries
+# doesn't require base
+
+%description devel
+Ocrad static library and header file.
+
+%description devel -l pl.UTF-8
+Biblioteka statyczna i plik nagłówkowy Ocrada.
+
%prep
%setup -q
%patch0 -p1
@@ -34,35 +48,43 @@
%build
# not autoconf-generated
./configure \
- --prefix=%{_prefix}
-%{__make} all doc \
CXX="%{__cxx}" \
CXXFLAGS="%{rpmcflags}" \
- LDFLAGS="%{rpmldflags}"
+ LDFLAGS="%{rpmldflags}" \
+ --prefix=%{_prefix} \
+ --libdir=%{_libdir}
+%{__make} all doc
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_infodir}}
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-install ocrad $RPM_BUILD_ROOT%{_bindir}
install ocrad.png $RPM_BUILD_ROOT%{_pixmapsdir}
-install doc/ocrad.info $RPM_BUILD_ROOT%{_infodir}
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/postshell
+%post -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun -p /sbin/postshell
+%postun -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_pixmapsdir}/*
-%{_infodir}/*.info*
+%attr(755,root,root) %{_bindir}/ocrad
+%{_pixmapsdir}/ocrad.png
+%{_mandir}/man1/ocrad.1*
+%{_infodir}/ocrad.info*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libocrad.a
+%{_includedir}/ocradlib.h
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -70,6 +92,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.23 2011/01/11 19:18:02 qboosh
+- updated to 0.21 (.lz source)
+- updated info patch
+
Revision 1.22 2008/04/08 08:24:53 glen
- unify ftp.gnu.org urls
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ocrad/ocrad-info.patch?r1=1.5&r2=1.6&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ocrad/ocrad.spec?r1=1.22&r2=1.23&f=u
More information about the pld-cvs-commit
mailing list