rpms/unpaper/FC-6 unpaper.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Bernard Johnson (bjohnson) fedora-extras-commits at redhat.com
Tue Mar 20 00:52:57 UTC 2007


Author: bjohnson

Update of /cvs/extras/rpms/unpaper/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4072/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	unpaper.spec 
Log Message:
add unpaper



--- NEW FILE unpaper.spec ---
Name:           unpaper
Version:        0_2
Release:        2%{?dist}
Summary:        Post-processing of scanned and photocopied book pages

Group:          Applications/Publishing
License:        GPL
URL:            http://unpaper.berlios.de
# Original source originates from:
# http://download.berlios.de/unpaper/unpaper-0_2.tgz
# but because it contains a binary, the included source was created by
# running:
#
# zcat unpaper-0_2.tgz | tar -f - --delete unpaper \
#   | gzip > unpaper-0_2-fedora.tgz
# 
Source0:        unpaper-0_2-clean.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


%description
unpaper is a post-processing tool for scanned sheets of paper, especially for
book pages that have been scanned from previously created photocopies. The
main purpose is to make scanned book pages better readable on screen after
conversion to PDF. Additionally, unpaper might be useful to enhance the
quality of scanned pages before performing optical character recognition (OCR).
unpaper tries to clean scanned images by removing dark edges that appeared
through scanning or copying on areas outside the actual page content (e.g. dark
areas between the left-hand-side and the right-hand-side of a double- sided
book-page scan). The program also tries to detect disaligned centering and
rotation of pages and will automatically straighten each page by rotating it to
the correct angle. This process is called "deskewing".


%prep
%setup -q -c %{name}-%{version}


%build
(cd src && gcc $RPM_OPT_FLAGS -o unpaper unpaper.c -lm)

# fix eol encoding in license.txt
sed -i 's/\r//' license.txt

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/%{_bindir}
install -p -m 0755 src/unpaper $RPM_BUILD_ROOT/%{_bindir}

%clean
rm -rf $RPM_BUILD_ROOT


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

%changelog
* Mon Mar 19 2007 Bernard Johnson <bjohnson at symetrix.com> - 0_2-2
- repackage tgz file without included ELF binary

* Thu Mar 15 2007 Bernard Johnson <bjohnson at symetrix.com> - 0_2-1
- initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/unpaper/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Mar 2007 21:11:01 -0000	1.1
+++ .cvsignore	20 Mar 2007 00:52:24 -0000	1.2
@@ -0,0 +1 @@
+unpaper-0_2-clean.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/unpaper/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Mar 2007 21:11:01 -0000	1.1
+++ sources	20 Mar 2007 00:52:24 -0000	1.2
@@ -0,0 +1 @@
+a37d82680b472f63de5f4c43b98af60a  unpaper-0_2-clean.tgz




More information about the fedora-extras-commits mailing list