rpms/libhocr/F-8 import.log, NONE, 1.1 libhocr-missing-incl.patch, NONE, 1.1 libhocr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Oron Peled
oron at fedoraproject.org
Fri Aug 29 11:03:04 UTC 2008
- Previous message (by thread): rpms/libhocr/devel import.log, NONE, 1.1 libhocr-missing-incl.patch, NONE, 1.1 libhocr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/beansbinding/devel beansbinding.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: oron
Update of /cvs/pkgs/rpms/libhocr/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30867/F-8
Modified Files:
.cvsignore sources
Added Files:
import.log libhocr-missing-incl.patch libhocr.spec
Log Message:
First libhocr build (F-8)
--- NEW FILE import.log ---
libhocr-0_10_17-1_fc8:F-8:libhocr-0.10.17-1.fc8.src.rpm:1220007693
libhocr-missing-incl.patch:
--- NEW FILE libhocr-missing-incl.patch ---
diff -up ./src/ho_recognize.c.orig ./src/ho_recognize.c
--- ./src/ho_recognize.c.orig 2008-08-16 23:48:52.000000000 +0300
+++ ./src/ho_recognize.c 2008-08-16 23:49:26.000000000 +0300
@@ -41,6 +41,7 @@
#include "ho_objmap.h"
#include "ho_segment.h"
#include "ho_font.h"
+#include "ho_linguistics.h"
#include "fonts/ho_recognize_font_1.h"
#include "fonts/ho_recognize_font_2.h"
diff -up ./src/ho_segment.c.orig ./src/ho_segment.c
--- ./src/ho_segment.c.orig 2008-08-16 23:47:36.000000000 +0300
+++ ./src/ho_segment.c 2008-08-16 23:47:54.000000000 +0300
@@ -39,6 +39,7 @@
#include "ho_bitmap.h"
#include "ho_objmap.h"
+#include "ho_dimentions.h"
#include "ho_segment.h"
--- NEW FILE libhocr.spec ---
# Override default upstream location [/usr/share/doc/libhocr]
%define hocrdocdir %{_docdir}/%{name}-%{version}
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: libhocr
Version: 0.10.17
Release: 1%{?dist}
Summary: A Hebrew optical character recognition library
Group: System Environment/Libraries
License: GPLv3+
URL: http://hocr.berlios.de
Source0: http://download.berlios.de/hocr/%{name}-%{version}.tar.bz2
Patch0: libhocr-missing-incl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fftw-devel, hspell-devel, libtiff-devel
BuildRequires: desktop-file-utils
BuildRequires: swig, python-devel, gtk2-devel, gettext
%description
LibHocr is a GNU Hebrew optical character recognition library. It scans
document images, improve the image, analyses the page layout, recognises
the characters and outputs the text. The output texts are now editable
text, ready for your blog, word processor or any other use.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gtk2-devel
# We ship *.pc files (requires the -devel of contained libs)
Requires: pkgconfig
Requires: hspell-devel, libtiff-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package gtk
Summary: GTK+ application for %{name}
Group: Applications/Productivity
Requires: %{name} = %{version}-%{release}
Requires: python-imaging-sane, pygtk2-libglade
# We use gtktextbuffer which uses gtkspell which have a runtime
# check of the spellcheck backends... so here it is:
Requires: hspell
%description gtk
The %{name}-gtk package contains a GUI application that uses %{name}.
%package python
Summary: Python bindings for %{name}
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: python > 2.5
%description python
The %{name}-python package contains python binding for %{name}.
%prep
%setup -q
%patch0
%build
export CFLAGS="%optflags -Werror-implicit-function-declaration"
%configure #--disable-static
make # %{?_smp_mflags}
find . -name '*.desktop' | while read file; do
/usr/bin/desktop-file-validate "$file"
done
%install
rm -rf %{buildroot}
# We must preserve timestamps so we don't cause
# problems for multilib architectures. Use install -p
# Ref: https://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks#Timestamps
make install \
DESTDIR=%{buildroot} \
INSTALL="%{__install} -p" \
hocrdocdir=%{hocrdocdir} \
examples_binding_dir=%{hocrdocdir}/examples/bindings
find %{buildroot} -name '*.la' -exec rm -f {} ';'
# Remove static libs per Fedora packaging policy
find %{buildroot} -name '*.a' -exec rm -f {} ';'
rm -f %{buildroot}/%{hocrdocdir}/NEWS # Empty, not usefull.
rm -f %{buildroot}/%{hocrdocdir}/INSTALL # Not needed anymore ;-)
desktop-file-install --vendor="fedora" \
--add-category="Graphics" \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/hocr-gtk.desktop \
%{buildroot}/%{_datadir}/applications/sane-pygtk.desktop
%find_lang hocr-gtk
%find_lang sane-pygtk
cat hocr-gtk.lang sane-pygtk.lang > %{name}.lang
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc %dir %{hocrdocdir}
%doc %{hocrdocdir}/AUTHORS
%doc %{hocrdocdir}/COPYING
%doc %{hocrdocdir}/ChangeLog
%doc %{hocrdocdir}/HACKING
%doc %{hocrdocdir}/README
%{_libdir}/*.so.*
%{_bindir}/hocr
%{_mandir}/man1/*.1*
%files devel
%defattr(-,root,root,-)
%doc %{_mandir}/man3/*.3*
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%doc %{hocrdocdir}/examples
%files gtk -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/hocr-gtk
%{_bindir}/sane-pygtk
%{_datadir}/applications/*.desktop
%{_datadir}/hocr-gtk
%{_datadir}/pixmaps/hocr1-128.png
%{_datadir}/pixmaps/hocr1-48.png
%{_datadir}/sane-pygtk
%files python
%defattr(-,root,root,-)
# For noarch packages: sitelib
%{python_sitelib}/*.py*
# For arch-specific packages: sitearch
%{python_sitearch}/_hocr.so
%changelog
* Sat Aug 16 2008 Oron Peled <oron at actcom.co.il> 0.10.17-1
- New upstream version (See installed ChangeLog)
- Our patches merged upstream. Only a single patch needed
to build.
* Thu Aug 14 2008 Oron Peled <oron at actcom.co.il> 0.10.13-3
- More packaging fixes
- Patches for upstream: some compile warning cleanup and .desktop files fixes.
* Sun Aug 3 2008 Oron Peled <oron at actcom.co.il> 0.10.13-2
- Packaging fixes
- Two new patches against upstream
* Tue Jul 22 2008 Oron Peled <oron at actcom.co.il> 0.10.13-1
- New upstream version (see ChangeLog)
- All patches merged upstream.
* Mon Jul 21 2008 Oron Peled <oron at actcom.co.il> 0.10.11-2
- Fix python install directories (on x86_64).
* Mon Jul 14 2008 Oron Peled <oron at actcom.co.il> 0.10.11-1
- initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libhocr/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 26 Aug 2008 23:36:38 -0000 1.1
+++ .cvsignore 29 Aug 2008 11:02:33 -0000 1.2
@@ -0,0 +1 @@
+libhocr-0.10.17.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libhocr/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 26 Aug 2008 23:36:38 -0000 1.1
+++ sources 29 Aug 2008 11:02:33 -0000 1.2
@@ -0,0 +1 @@
+c3310e5cb607aed914113cc5d3783c6d libhocr-0.10.17.tar.bz2
- Previous message (by thread): rpms/libhocr/devel import.log, NONE, 1.1 libhocr-missing-incl.patch, NONE, 1.1 libhocr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/beansbinding/devel beansbinding.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list