[pdfmerge/el4] Update pdfmerge to 1.0.4 (RHBZ#642427)
Dominic Hopf
dmaphy at fedoraproject.org
Fri Jan 6 21:00:11 UTC 2012
commit 7220181f36b4183c9f6a77c2515c2a5a69d04990
Author: Dominic Hopf <dmaphy at fedoraproject.org>
Date: Fri Jan 6 21:43:41 2012 +0100
Update pdfmerge to 1.0.4 (RHBZ#642427)
pdfmerge.spec | 28 +++++++++++++++-------------
1 files changed, 15 insertions(+), 13 deletions(-)
---
diff --git a/pdfmerge.spec b/pdfmerge.spec
index be286a7..e4ca9b2 100644
--- a/pdfmerge.spec
+++ b/pdfmerge.spec
@@ -1,15 +1,15 @@
Name: pdfmerge
-Version: 1.0
-Release: 2%{?dist}
+Version: 1.0.4
+Release: 1%{?dist}
Summary: Command line utility program for merging PDF files
Group: Applications/Publishing
License: GPLv2+
-URL: http://microtronyx.com/pdfmerge/
-Source0: http://downloads.sourceforge.net/pdfmerge4unix/%{name}-%{version}.tar.gz
+URL: http://dmaphy.github.com/pdfmerge/
+Source0: http://dmaphy.github.com/pdfmerge/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
-Requires: ghostscript
+BuildArch: noarch
+Requires: ghostscript, perl
%description
pdfmerge is a command line program that merges PDF files. It can merge
@@ -17,18 +17,17 @@ any number of pdf files from command line.
%prep
-%setup -qc
+%setup -q -n %{name}-%{version}
%build
-
-# Nothing to build
+# This is a Perl script, there is nothing to build
%install
rm -rf $RPM_BUILD_ROOT
-%{__install} -Dp -m0755 pdfmerge %{buildroot}%{_bindir}/pdfmerge
-chmod -x gpl.txt
+install -Dpm 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -36,10 +35,13 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc gpl.txt
-%{_bindir}/pdfmerge
+%doc AUTHORS ChangeLog COPYING README README.html
+%{_bindir}/%{name}
+
%changelog
+* Fri Jan 06 2012 Dominic Hopf <dmaphy at fedoraproject.org> - 1.0.4-1
+- Update pdfmerge to 1.0.4 (RHBZ#642427)
* Wed Jul 30 2008 Rahul Sundaram <sundaram at fedoraproject.org> - 1.0-2
- Fix requires, url, license tag and clarify description.
More information about the scm-commits
mailing list