rpms/gocr/FC-6 gocr-0.44-man.patch, NONE, 1.1 gocr.spec, NONE, 1.1 sources, NONE, 1.1

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Tue Mar 20 22:37:21 UTC 2007


Author: orion

Update of /cvs/extras/rpms/gocr/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19356/FC-6

Added Files:
	gocr-0.44-man.patch gocr.spec sources 
Log Message:
Check in FC-5/6 branches


gocr-0.44-man.patch:

--- NEW FILE gocr-0.44-man.patch ---
--- gocr-0.44/man/Makefile.in.man	2005-05-18 02:49:11.000000000 -0600
+++ gocr-0.44/man/Makefile.in	2007-03-02 11:54:15.000000000 -0700
@@ -17,7 +17,7 @@
 .PHONY : clean proper install uninstall
 install: all
 	$(INSTALL) -d $(DESTDIR)$(mandir)/man1
-	$(INSTALL) ../man/man1/$(PROGRAM).1 $(DESTDIR)$(mandir)/man1
+	$(INSTALL) -m 0644 ../man/man1/$(PROGRAM).1 $(DESTDIR)$(mandir)/man1
 
 uninstall:
 	-rm -f $(DESTDIR)$(mandir)/man1/$(PROGRAM).1


--- NEW FILE gocr.spec ---
Name:           gocr
Version:        0.44
Release:        1%{?dist}
Summary:        GNU Optical Character Recognition program

Group:          Applications/Multimedia
License:        GPL
URL:            http://jocr.sourceforge.net/
Source0:        http://prdownloads.sourceforge.net/jocr/gocr-%{version}.tar.gz
Patch0:         gocr-0.44-man.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  netpbm-devel
# Needed for conversion programs
Requires:       gzip, bzip2, libjpeg, netpbm-progs, transfig

%description
GOCR is an OCR (Optical Character Recognition) program, developed under the
GNU Public License. It converts scanned images of text back to text files.
Joerg Schulenburg started the program, and now leads a team of developers.

GOCR can be used with different front-ends, which makes it very easy to port
to different OSes and architectures. It can open many different image
formats, and its quality have been improving in a daily basis.


%prep
%setup -q
%patch -p1 -b .man


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# 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


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS BUGS CREDITS doc/gocr.html gpl.html HISTORY README
%doc REMARK.txt REVIEW TODO
%lang(de) %doc READMEde.txt
%{_bindir}/gocr
%{_mandir}/man1/gocr.1*


%changelog
* Fri Mar 02 2007 - Orion Poplawski <orion at cora.nwra.com> - 0.44-1
- Update to 0.44

* Mon Dec 18 2006 - Orion Poplawski <orion at cora.nwra.com> - 0.43-1
- Update to 0.43
- Don't ship frontends

* Wed Nov 22 2006 - Orion Poplawski <orion at cora.nwra.com> - 0.41-3
- Add more requires

* Tue Nov 21 2006 - Orion Poplawski <orion at cora.nwra.com> - 0.41-2
- Split TCL/Tk GUI into -tk sub-package
- Ship GTK+ GUI

* Mon Nov 20 2006 - Orion Poplawski <orion at cora.nwra.com> - 0.41-1
- Initial Fedora Extras Version


--- NEW FILE sources ---
8657cb057d7836ed171b5705d5e082c8  gocr-0.44.tar.gz




More information about the fedora-extras-commits mailing list