packages: scantailor/scantailor.spec (NEW) - initial PLD release
gotar
gotar at pld-linux.org
Sat May 14 18:25:53 CEST 2011
Author: gotar Date: Sat May 14 16:25:53 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
packages/scantailor:
scantailor.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/scantailor/scantailor.spec
diff -u /dev/null packages/scantailor/scantailor.spec:1.1
--- /dev/null Sat May 14 18:25:53 2011
+++ packages/scantailor/scantailor.spec Sat May 14 18:25:48 2011
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+Summary: Post-processing tool for scanned pages
+Name: scantailor
+Version: 0.9.9.2
+Release: 1
+License: GPL v3
+Group: X11/Applications/Graphics
+Source0: http://dl.sourceforge.net/scantailor/%{name}-%{version}.tar.gz
+# Source0-md5: 09fd160cdfc512f26442a7e91246598d
+URL: http://scantailor.sourceforge.net/
+BuildRequires: QtGui-devel
+BuildRequires: QtXml-devel
+BuildRequires: boost-devel
+BuildRequires: cmake
+BuildRequires: qt4-qmake
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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
+export CFLAGS="%{rpmcflags}"
+export CXXFLAGS="%{rpmcflags}"
+%{__cmake} . \
+ -DCMAKE_INSTALL_PREFIX="%{_prefix}"
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc resources/icons/COPYING
+%attr(755,root,root) %{_bindir}/%{name}
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/translations
+%lang(bg) %{_datadir}/%{name}/translations/%{name}_bg.qm
+%lang(de) %{_datadir}/%{name}/translations/%{name}_de.qm
+%lang(fr) %{_datadir}/%{name}/translations/%{name}_fr.qm
+%lang(ja) %{_datadir}/%{name}/translations/%{name}_ja.qm
+%lang(ru) %{_datadir}/%{name}/translations/%{name}_ru.qm
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/05/14 16:25:48 gotar
+- initial PLD release
================================================================
More information about the pld-cvs-commit
mailing list