psutils/psutils.spec

67 lines
1.8 KiB
RPMSpec
Raw Normal View History

2022-10-26 13:06:42 +08:00
# Don't generate debuginfo for new versions.
%define debug_package %{nil}
2019-12-14 21:12:33 +08:00
Name: psutils
2022-10-26 13:06:42 +08:00
Version: 2.08
2024-04-07 17:34:11 +08:00
Release: 2
2022-10-26 13:06:42 +08:00
Summary: Utilities for manipulating PostScript documents
2019-12-14 21:12:33 +08:00
License: psutils
URL: https://github.com/rrthomas/psutils
2020-01-16 15:39:59 +08:00
# wget https://github.com/rrthomas/psutils/archive/v1.23.tar.gz && tar xf v1.23.tar.gz && cd psutils-1.23
2019-12-14 21:12:33 +08:00
# then run:
2020-01-16 15:39:59 +08:00
# ./bootstrap && autoreconf -vfi && cd .. && tar -cvf psutils-1.23.tar.gz psutils-1.23
Source0: %{name}-%{version}.tar.gz
2024-04-07 17:34:11 +08:00
Patch0: psutils-paperconf.patch
2019-12-14 21:12:33 +08:00
2022-10-26 13:06:42 +08:00
BuildRequires: gcc
BuildRequires: perl-generators
BuildRequires: perl(File::Basename)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
2019-12-14 21:12:33 +08:00
Requires: /usr/bin/paperconf
2022-10-26 13:06:42 +08:00
Provides: bundled(gnulib)
Provides: psutils-perl = %{version}-%{release}
Obsoletes: psutils-perl < %{version}-%{release}
2019-12-14 21:12:33 +08:00
%package_help
%description
PSUtils is a suite of utilities for manipulating PostScript documents
produced according to the Document Structuring Conventions. You can select
and rearrange pages, including arrangement into signatures for booklet
printing, combine multple pages into a single page for n-up printing, and
resize, flip and rotate pages.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%defattr(-,root,root)
%doc LICENSE
%{_bindir}/*
2022-10-26 13:06:42 +08:00
%{_datadir}/%{name}
2019-12-14 21:12:33 +08:00
%files help
%defattr(-,root,root)
%doc README LICENSE
%{_mandir}/man1/*1*
%changelog
2024-04-07 17:34:11 +08:00
* Sun Apr 07 2024 wulei <wu_lei@hoperun.com> - 2.08-2
- Fix could not run 'paper' command
2022-10-26 13:06:42 +08:00
* Fri May 06 2022 misaka00251 <misaka00251@misakanet.cn> - 2.08-1
- Upgrade package version
2019-12-14 21:12:33 +08:00
* Tue Dec 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.23-15
- Package init