File unpaper.spec of Package unpaper

#
# spec file for package unpaper (Version 0.2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild
# usedforbuild    aaa_base acl attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison bzip2 coreutils cpio cpp cpp41 cracklib cvs cyrus-sasl db diffutils e2fsprogs file filesystem fillup findutils flex gawk gcc gcc41 gdbm gdbm-devel gettext gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc41 libltdl libmudflap41 libnscd libstdc++41 libtool libvolume_id libxcrypt libzio linux-kernel-headers m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch perl permissions popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel

Name:           unpaper
# BuildRequires: ImageMagick-Magick++-devel gcc-c++ ghostscript-fonts-std ghostscript-x11 joe libexif xfig pkgconfig
License:        GNU General Public License (GPL)
Group:          Productivity/Graphics/Other
Autoreqprov:    on
Summary:        Post-Processing Tool for Scanned Text Pages
Version:        0.2
Release:        21
Source:         http://download.berlios.de/unpaper/unpaper-0_2.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
URL:            http://developer.berlios.de/projects/unpaper/

%description
The unpaper command line tool helps with post-processing scanned text
pages, especially for book pages scanned from photocopies. unpaper
tries to remove dark edges, corrects the rotation ("deskewing"), and
aligns the centering of pages.



Authors:
--------
    Jens Gulden <unpaper@jensgulden.de>

%define INSTALL install -m755
%define INSTALL_DIR install -d -m755
%define INSTALL_DATA install -m644
%debug_package
%prep
%setup -c -q

%build
gcc $RPM_OPT_FLAGS -lm -funroll-all-loops -fomit-frame-pointer \
  -ftree-vectorize -o unpaper src/unpaper.c

%install
%{INSTALL_DIR} $RPM_BUILD_ROOT%{_bindir}
%{INSTALL} unpaper $RPM_BUILD_ROOT%{_bindir}

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc doc unpaper.html
%doc readme.txt license.txt
%{_bindir}/*

%changelog -n unpaper
* Mon May 29 2006 - schwab@suse.de
- Don't strip binaries.
* Tue May 23 2006 - ke@suse.de
- Version 0.2: Post-Processing Tool for Scanned Text Pages.
openSUSE Build Service is sponsored by