]> git.pld-linux.org Git - packages/gocr.git/commitdiff
- killed xdirs, release 3 auto/ac/gocr-0_37-3
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 23 Aug 2003 12:43:43 +0000 (12:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gocr.spec -> 1.25

gocr.spec

index 32d03bd17c23b19d03a780fe7f4cbe63136474ec..2c76324c60c9367bd4d1fa21992fdecfa4ccb5a4 100644 (file)
--- a/gocr.spec
+++ b/gocr.spec
@@ -2,7 +2,7 @@ Summary:        GNU OCR
 Summary(pl):   Program GNU do OCR
 Name:          gocr
 Version:       0.37
-Release:       2
+Release:       3
 License:       GPL
 Group:         Applications/Graphics
 Source0:       http://dl.sourceforge.net/jocr/%{name}-%{version}.tar.gz
@@ -18,9 +18,6 @@ BuildRequires:        tetex-dvips
 BuildRequires: tetex-latex
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _xprefix        /usr/X11R6
-%define                _xbindir        %{_xprefix}/bin
-
 %description
 GOCR is an optical character recognition program, released under the
 GNU General Public License. It reads images in many formats (pnm, pbm,
@@ -68,11 +65,8 @@ cd src
 %{__automake}
 %{__autoconf}
 cd ..
-%configure \
-       --prefix=%{_xprefix} \
-       --bindir=%{_xbindir}
+%configure
 %{__make}
-cd ../../..
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -93,12 +87,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS CREDITS HISTORY README REMARK.txt REVIEW TODO
 %doc doc/{examples.txt,gocr.html,unicode.txt}
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%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) %{_xbindir}/*
+%attr(755,root,root) %{_bindir}/gtk-ocr
 %{_applnkdir}/Graphics/*
 %{_pixmapsdir}/*
This page took 0.078122 seconds and 4 git commands to generate.