Accepting request 82969 from home:jengelh:bl-a
- Remove redundant tags/sections from specfile as discussed - Use %_smp_mflags for parallel build OBS-URL: https://build.opensuse.org/request/show/82969 OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=12
This commit is contained in:
parent
cabf5a2fe6
commit
119a46e6af
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 17 10:39:10 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
- Use %_smp_mflags for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 18 15:23:10 UTC 2011 - werner@novell.com
|
||||
|
||||
|
28
a2ps.spec
28
a2ps.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package a2ps (Version 4.13)
|
||||
# spec file for package a2ps
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,10 +25,9 @@ Group: Productivity/Publishing/PS
|
||||
Provides: a2ps-bin
|
||||
Requires: /bin/sed /usr/bin/iconv /usr/bin/file /usr/bin/wdiff /usr/bin/w3m ghostscript-fonts-std
|
||||
Suggests: acroread gv ImageMagick psutils texinfo texlive-latex
|
||||
AutoReqProv: on
|
||||
PreReq: %{install_info_prereq}
|
||||
Version: 4.13
|
||||
Release: 1335
|
||||
Release: 1336
|
||||
Summary: Converts ASCII Text into PostScript
|
||||
Source: a2ps-4.13b.tar.bz2
|
||||
Source1: a2ps-ko.po
|
||||
@ -46,7 +45,6 @@ Patch9: a2ps-4.13-utf8.patch
|
||||
Patch10: a2ps-4.13-types.patch
|
||||
Patch11: a2ps-4.13-psgen.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _sysconfdir /etc
|
||||
|
||||
%description
|
||||
a2ps converts ASCII text into PostScript. This feature is used by
|
||||
@ -56,18 +54,11 @@ Warning: a2ps is not able to convert complex unicode (UTF-8) text to
|
||||
PostScript. Only language text which can be converted from UTF-8 to
|
||||
latin encodings are supported.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Miguel Santana <M.Santana@frgu.bull.fr>
|
||||
|
||||
%package -n a2ps-devel
|
||||
License: GPLv2+
|
||||
Summary: Library and header file for the interface of a2ps
|
||||
Group: Development/Libraries/Other
|
||||
Provides: a2ps:%{_libdir}/liba2ps.a
|
||||
AutoReqProv: on
|
||||
Requires: %{name} = %{version} glibc-devel
|
||||
|
||||
%description -n a2ps-devel
|
||||
@ -78,12 +69,6 @@ Warning: a2ps is not able to convert complex unicode (UTF-8) text to
|
||||
PostScript. Only language text which can be converted from UTF-8 to
|
||||
latin encodings are supported.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Miguel Santana <M.Santana@frgu.bull.fr>
|
||||
|
||||
%prep
|
||||
%setup -q -n a2ps-4.13
|
||||
touch -r configure.in .ref
|
||||
@ -119,9 +104,9 @@ rename no nb po/no.*
|
||||
rm -f ${in} ${m4%.*}
|
||||
con="$con ${in##*/}"
|
||||
done
|
||||
%{__make} %{?jobs:-j%jobs} -C contrib/ ${con}
|
||||
make %{?_smp_mflags} -C contrib/ ${con}
|
||||
sh ./config.status
|
||||
%{__make} %{?jobs:-j%jobs} PSFONT_PATH=%{_datadir}/ghostscript/fonts
|
||||
make %{?_smp_mflags} PSFONT_PATH=%{_datadir}/ghostscript/fonts
|
||||
pushd doc
|
||||
texi2html a2ps.texi
|
||||
popd
|
||||
@ -134,9 +119,6 @@ rename no nb po/no.*
|
||||
rm -f %{buildroot}%{_libdir}/liba2ps.la
|
||||
install -m 0755 %{S:2} %{buildroot}/%{_bindir}/
|
||||
|
||||
%clean
|
||||
%{?buildroot: %{__rm} -rf %{buildroot}}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user