rpms/scantailor/F-13 scantailor.desktop, NONE, 1.1 scantailor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jan Horak
xhorak at fedoraproject.org
Mon Feb 22 09:20:43 UTC 2010
Author: xhorak
Update of /cvs/pkgs/rpms/scantailor/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26478
Modified Files:
.cvsignore sources
Added Files:
scantailor.desktop scantailor.spec
Log Message:
Initial release
--- NEW FILE scantailor.desktop ---
[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;
--- NEW FILE scantailor.spec ---
Name: scantailor
Version: 0.9.7.2
Release: 2%{?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
%{__mv} resources/icons/COPYING resources/icons/COPYING-icons
%build
%cmake . -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="/usr"
make %{?_smp_mflags}
%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
%{_datadir}/scantailor/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/scantailor.svg
%changelog
* 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
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/scantailor/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 19 Feb 2010 19:11:45 -0000 1.1
+++ .cvsignore 22 Feb 2010 09:20:43 -0000 1.2
@@ -0,0 +1 @@
+scantailor-0.9.7.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/scantailor/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 19 Feb 2010 19:11:45 -0000 1.1
+++ sources 22 Feb 2010 09:20:43 -0000 1.2
@@ -0,0 +1 @@
+26e7efb1cd443f698c7201e37c0efb23 scantailor-0.9.7.2.tar.gz
More information about the scm-commits
mailing list