psutils/psutils.spec

63 lines
1.8 KiB
RPMSpec

Name: psutils
Version: 1.17
Release: 4mamba
Summary: PostScript Utilities
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@qilinux.it>
URL: http://www.ctan.org/tex-archive/support/psutils/
Source: http://www.ctan.org/tex-archive/support/psutils/psutils.tar.gz
License: Distributable
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Utilities for manipulating PostScript documents, including page selection and rearrangement, resizing the page, arrangement into signatures for booklet printing, and page merging for n-up printing.
Utilities include psbook, psselect, pstops, psnup, psresize, epsffit.
%prep
%setup -q -n psutils
%build
make -f Makefile.unix \
CC=%{_host}-gcc \
BINDIR=%{_bindir} \
MANDIR=%{_mandir}/man1 \
INCLUDEDIR=%{_datadir}/psutils \
PERL=%{_bindir}/perl
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_mandir}/man1
install -d %{buildroot}%{_datadir}/psutils
make install -f Makefile.unix \
BINDIR=%{buildroot}%{_bindir} \
MANDIR=%{buildroot}%{_mandir}/man1 \
INCLUDEDIR=%{buildroot}%{_datadir}/psutils \
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/psutils/*
%{_mandir}/man1/*
%doc LICENSE README
%changelog
* Mon Dec 29 2014 Automatic Build System <autodist@mambasoft.it> 1.17-4mamba
- automatic rebuild by autodist
* Wed Apr 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17-3mamba
- specfile updates
* Wed Feb 16 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.17-2qilnx
- fixes in the specfile preamble
* Thu Feb 26 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.17-1qilnx
- first build