- license clarification
This commit is contained in:
Bernard Johnson 2008-01-22 01:16:56 +00:00
parent c547f39b2d
commit 929a9e8108
3 changed files with 15 additions and 18 deletions

View File

@ -1 +1 @@
unpaper-0_2-clean.tgz
unpaper-0.3.tar.gz

View File

@ -1 +1 @@
a37d82680b472f63de5f4c43b98af60a unpaper-0_2-clean.tgz
be41eaf8556e7df39ab53939c99c4f7b unpaper-0.3.tar.gz

View File

@ -1,20 +1,13 @@
Name: unpaper
Version: 0_2
Release: 2%{?dist}
Version: 0.3
Release: 1%{?dist}
Summary: Post-processing of scanned and photocopied book pages
Group: Applications/Publishing
License: GPL
# Licensed under any GPL version since none is specified
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
Source0: http://download.berlios.de/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -33,14 +26,14 @@ the correct angle. This process is called "deskewing".
%prep
%setup -q -c %{name}-%{version}
%setup -q
%build
(cd src && gcc $RPM_OPT_FLAGS -o unpaper unpaper.c -lm)
# fix eol encoding in license.txt
sed -i 's/\r//' license.txt
# fix eol encoding in LICENSE
sed -i 's/\r//' LICENSE
%install
rm -rf $RPM_BUILD_ROOT
@ -54,9 +47,13 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/*
%doc doc license.txt readme.txt unpaper.html
%doc doc CHANGELOG LICENSE README
%changelog
* Mon Jan 21 2008 Bernard Johnson <bjohnson@symetrix.com> - 0.3-1
- 0.3
- license clarification
* Mon Mar 19 2007 Bernard Johnson <bjohnson@symetrix.com> - 0_2-2
- repackage tgz file without included ELF binary