.
OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=65
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package a2ps
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -28,6 +28,7 @@ Source1: http://ftp.gnu.org/gnu/a2ps/%{name}-%{version}.tar.gz.sig
|
||||
Source2: %{name}.keyring
|
||||
Source3: a2ps-ko.po
|
||||
Source4: a2ps-open
|
||||
Source5: a2ps-4.14-manuals.diff
|
||||
Patch0: a2ps-4.14.diff
|
||||
Patch1: a2ps-4.13-security.patch
|
||||
Patch2: a2ps-4.14-ogonkify.patch
|
||||
@@ -55,6 +56,7 @@ BuildRequires: ghostscript-fonts-std
|
||||
BuildRequires: gv
|
||||
BuildRequires: psutils
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: timezone
|
||||
Requires: file
|
||||
Requires: ghostscript-fonts-std
|
||||
Requires: glibc
|
||||
@@ -125,7 +127,7 @@ touch -r configure.in .ref
|
||||
%patch15 -p1
|
||||
%patch16 -p0
|
||||
%patch17 -p1
|
||||
%patch0 -b .p0
|
||||
%patch0 -b .p0
|
||||
cp -f %{SOURCE3} po/ko.po
|
||||
find -type f | grep -vE '(parseppd|parsessh).y' | xargs \
|
||||
sed -ri 's/59 Temple Place(,| -) Suite 330/51 Franklin Street, Fifth Floor/;s/02111-1307/02110-1301/'
|
||||
@@ -169,6 +171,9 @@ find -name Makefile.in | xargs touch
|
||||
HOME=$PWD/.root \
|
||||
LC_CTYPE=en_US.UTF-8 ./src/a2ps --output=test.latin test.utf8
|
||||
grep '(This is a test text' test.latin | iconv -f latin1 -t utf8
|
||||
chmod u+rw,g+r,o+r man/*.1
|
||||
cp -p man/a2ps.1 man/a2ps.1.backup
|
||||
patch --reject-format=unified --quoting-style=literal -f -p0 -F0 < %{S:5}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} PSFONT_PATH=%{_datadir}/ghostscript/fonts
|
||||
|
Reference in New Issue
Block a user