Name: pdfmerge Version: 1.0.4 Release: 1 Summary: Command line utility program for merging PDF files Group: Applications/Publishing License: GPLv2+ URL: http://dmaphy.github.com/pdfmerge/ Source0: http://dmaphy.github.com/pdfmerge/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: ghostscript >= 8.70-2 %description pdfmerge is a command line program that merges PDF files. It can merge any number of pdf files from command line. %prep %setup -q %build # this is a Perl script, there is nothing to build %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} cp %{name} ${RPM_BUILD_ROOT}%{_bindir}/%{name} chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/%{name} cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc AUTHORS ChangeLog COPYING README README.html %{_bindir}/%{name} /usr/bin/%{name} %changelog * Tue Jul 30 2013 Michael Perzl - 1.0.4-1 - first version for AIX V5.1 and higher