rpms/gocr/devel gocr.spec,1.6,1.7
Tomas Smetana
tsmetana at fedoraproject.org
Thu Sep 4 11:27:58 UTC 2008
Author: tsmetana
Update of /cvs/pkgs/rpms/gocr/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29541
Modified Files:
gocr.spec
Log Message:
* Thu Sep 04 2008 Tomas Smetana <tsmetana at redhat.com> - 0.45-3
- remove the unusable devel package again (related #344721)
Index: gocr.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gocr/devel/gocr.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- gocr.spec 13 Feb 2008 10:59:51 -0000 1.6
+++ gocr.spec 4 Sep 2008 11:27:26 -0000 1.7
@@ -1,6 +1,6 @@
Name: gocr
Version: 0.45
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: GNU Optical Character Recognition program
Group: Applications/Multimedia
@@ -23,18 +23,6 @@
to different OSes and architectures. It can open many different image
formats, and its quality have been improving in a daily basis.
-%package devel
-Group: Applications/Multimedia
-Summary: GNU Optical Character Recognition program development files
-# not strictly required
-Requires: %{name} = %{version}-%{release}
-Provides: %{name}-static = %{version}-%{release}
-
-%description devel
-This package enables you to develop applications capable of image to text
-conversion using Pgm2asc library which is part of GOCR. Install this package
-if you want to develop text recognition programs using Pgm2asc.
-
%prep
%setup -q
%patch0 -p1 -b .perms
@@ -48,6 +36,8 @@
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
+# Don't ship static library
+rm -rf $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
# Don't ship buggy Tcl/Tk frontend
rm $RPM_BUILD_ROOT/%{_bindir}/gocr.tcl
@@ -62,12 +52,10 @@
%{_bindir}/gocr
%{_mandir}/man1/gocr.1*
-%files devel
-%defattr(-,root,root,-)
-%{_includedir}/gocr.h
-%{_libdir}/libPgm2asc.a
-
%changelog
+* Thu Sep 04 2008 Tomas Smetana <tsmetana at redhat.com> - 0.45-3
+- remove the unusable devel package again (related #344721)
+
* Wed Feb 13 2008 Tomas Smetana <tsmetana at redhat.com> - 0.45-2
- rebuild (gcc-4.3)
More information about the fedora-extras-commits
mailing list