[scantailor] Update to 0.9.10

Jan Horak xhorak at fedoraproject.org
Sun Aug 14 09:54:18 UTC 2011


commit 8ecea3d27cce44282d5947bbe6560d74cf4423f8
Author: Jan Horak <jhorak at redhat.com>
Date:   Sun Aug 14 11:52:47 2011 +0200

    Update to 0.9.10

 dead.package             |    1 -
 scantailor-0.9.10.tar.gz |  Bin 0 -> 1124348 bytes
 scantailor.desktop       |   10 ++++
 scantailor.spec          |  105 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 5 files changed, 116 insertions(+), 1 deletions(-)
---
diff --git a/scantailor-0.9.10.tar.gz b/scantailor-0.9.10.tar.gz
new file mode 100644
index 0000000..97d2a97
Binary files /dev/null and b/scantailor-0.9.10.tar.gz differ
diff --git a/scantailor.desktop b/scantailor.desktop
new file mode 100644
index 0000000..eebd7a0
--- /dev/null
+++ b/scantailor.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Scan Tailor
+GenericName=Scan Tailor
+Comment=An interactive post-processing tool for scanned pages
+Exec=scantailor
+Icon=scantailor
+Terminal=false
+Type=Application
+Categories=Qt;Office;ImageProcessing;Scanning;
+StartupNotify=true
\ No newline at end of file
diff --git a/scantailor.spec b/scantailor.spec
new file mode 100644
index 0000000..2b53324
--- /dev/null
+++ b/scantailor.spec
@@ -0,0 +1,105 @@
+Name:           scantailor
+Version:        0.9.10
+Release:        1%{?dist}
+Summary:        An interactive post-processing tool for scanned pages
+
+Group:          Applications/Text
+License:        GPLv3+
+URL:            http://scantailor.sourceforge.net/
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source1:        %{name}.desktop
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  cmake
+BuildRequires:  boost-devel
+BuildRequires:  libXext-devel
+BuildRequires:  qt-devel
+BuildRequires:  mesa-libGL-devel
+BuildRequires:  mesa-libGLU-devel
+BuildRequires:  libjpeg-devel
+BuildRequires:  zlib-devel
+BuildRequires:  libpng-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  libXrender-devel
+BuildRequires:  desktop-file-utils
+
+%description
+Scan Tailor is an interactive post-processing tool for scanned pages.
+It performs operations such as page splitting, deskewing, adding/removing
+borders, and others. You give it raw scans, and you get pages ready to be
+printed or assembled into a PDF or DJVU file. Scanning, optical character
+recognition, and assembling multi-page documents are out of scope of this
+project.
+
+%prep
+%setup -q
+
+%build
+%cmake . -DEXTRA_LIBS=Xrender -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="/usr" 
+make %{?_smp_mflags}
+%{__mv} resources/icons/COPYING resources/icons/COPYING-icons
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
+%{__mkdir_p} ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/scalable/apps
+%{__cp} resources/appicon.svg \
+        ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/scalable/apps/scantailor.svg
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%check
+make tests
+./tests/tests
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING resources/icons/COPYING-icons
+%{_bindir}/scantailor
+%{_bindir}/scantailor-cli
+%{_datadir}/scantailor/
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/scalable/apps/scantailor.svg
+
+%changelog
+* Sun Aug 14 2011 Jan Horak <jhorak at redhat.com> - 0.9.9.10-1
+- Update to 0.9.9.10
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.9.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Nov 15 2010 Jan Horak <jhorak at redhat.com> - 0.9.9.2-1
+- Update to 0.9.9.2
+
+* Tue Aug 10 2010 Jan Horak <jhorak at redhat.com> - 0.9.9.1-1
+- Update to 0.9.9.1
+
+* Mon Jun 14 2010 Jan Horak <jhorak at redhat.com> - 0.9.9-1
+- Update to 0.9.9
+
+* Wed Apr 28 2010 Jan Horak <jhorak at redhat.com> - 0.9.8.1-1
+- Update to 0.9.8.1
+
+* Wed Apr  7 2010 Jan Horak <jhorak at redhat.com> - 0.9.8-1
+- Update to 0.9.8
+
+* Tue Feb 16 2010 Jan Horak <jhorak at redhat.com> - 0.9.7.2-2
+- Renaming of COPYING-icons moved to prep section
+
+* Mon Feb 15 2010 Jan Horak <jhorak at redhat.com> - 0.9.7.2-1
+- Initial release
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..4f720e4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f962c93a2d63b449fa3f6612ade3b028  scantailor-0.9.10.tar.gz


More information about the scm-commits mailing list