SPECS: gocr.spec - updated to 0.45 - old GTK+ 1.x GUI is gnome - dropped -g...
qboosh
qboosh at pld-linux.org
Sun Jul 20 20:43:58 CEST 2008
Author: qboosh Date: Sun Jul 20 18:43:58 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.45
- old GTK+ 1.x GUI is gnome - dropped -gtk package, switched .desktop to gocr.tcl
---- Files affected:
SPECS:
gocr.spec (1.43 -> 1.44)
---- Diffs:
================================================================
Index: SPECS/gocr.spec
diff -u SPECS/gocr.spec:1.43 SPECS/gocr.spec:1.44
--- SPECS/gocr.spec:1.43 Tue May 15 00:08:18 2007
+++ SPECS/gocr.spec Sun Jul 20 20:43:52 2008
@@ -2,12 +2,12 @@
Summary: GNU OCR
Summary(pl.UTF-8): Program GNU do OCR
Name: gocr
-Version: 0.44
+Version: 0.45
Release: 1
-License: GPL
+License: GPL v2+
Group: Applications/Graphics
Source0: http://dl.sourceforge.net/jocr/%{name}-%{version}.tar.gz
-# Source0-md5: 8657cb057d7836ed171b5705d5e082c8
+# Source0-md5: 134d459f64656b201ca66eebafa108f0
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-link.patch
@@ -15,7 +15,6 @@
URL: http://jocr.sourceforge.net/
BuildRequires: autoconf >= 2.13
BuildRequires: automake
-BuildRequires: gtk+-devel >= 1.2.8
BuildRequires: netpbm-devel
BuildRequires: tetex-dvips
BuildRequires: tetex-latex
@@ -36,24 +35,14 @@
tga; jeżeli są zainstalowane narzędzia do PNM, może też czytać pnm.gz,
pnm.bz2, png,jpg, tiff, gif, bmp i inne. Wynikiem jest plik tekstowy.
-%package gtk
-Summary: GTK+ frontend for gocr
-Summary(pl.UTF-8): Frontend GTK+ do gocr
-Group: X11/Applications/Graphics
-Requires: %{name} = %{version}-%{release}
-
-%description gtk
-GTK+-based frontend for gocr.
-
-%description gtk -l pl.UTF-8
-Frontend do gocr oparty o GTK+.
-
%package tcl
Summary: Tcl/Tk frontend for gocr
Summary(pl.UTF-8): Frontend Tcl/Tk do gocr
Group: X11/Applications/Graphics
Requires: %{name} = %{version}-%{release}
Requires: tk
+# dropped, GTK+ 1.x code which nobody cared to update
+Obsoletes: gocr-gtk
%description tcl
Tcl/Tk frontend for gocr.
@@ -76,20 +65,6 @@
--with-netpbm=/usr
%{__make}
-# ok its ugly..but works
-cd frontend/gnome
-rm -f Makefile configure
-%{__aclocal}
-%{__automake}
-%{__autoconf}
-cd src
-%{__aclocal}
-%{__automake}
-%{__autoconf}
-cd ..
-%configure
-%{__make}
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
@@ -97,9 +72,6 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%{__make} -C frontend/gnome install \
- DESTDIR=$RPM_BUILD_ROOT
-
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
@@ -117,16 +89,11 @@
%attr(755,root,root) %{_bindir}/gocr
%{_mandir}/man1/gocr.1*
-%files gtk
-%defattr(644,root,root,755)
-%doc frontend/gnome/{AUTHORS,README,TODO}
-%attr(755,root,root) %{_bindir}/gtk-ocr
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
-
%files tcl
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/gocr.tcl
+%{_desktopdir}/gocr.desktop
+%{_pixmapsdir}/gocr.png
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -134,6 +101,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.44 2008/07/20 18:43:52 qboosh
+- updated to 0.45
+- old GTK+ 1.x GUI is gnome - dropped -gtk package, switched .desktop to gocr.tcl
+
Revision 1.43 2007/05/14 22:08:18 qboosh
- updated to 0.44
- updated link patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gocr.spec?r1=1.43&r2=1.44&f=u
More information about the pld-cvs-commit
mailing list