diff --git a/a2ps.changes b/a2ps.changes index 8f139b0..7a94af2 100644 --- a/a2ps.changes +++ b/a2ps.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 16 22:01:58 CET 2009 - crrodriguez@suse.de + +- use --enable-shared and disable static libraries + ------------------------------------------------------------------- Mon Oct 27 12:57:52 CET 2008 - werner@suse.de diff --git a/a2ps.spec b/a2ps.spec index 68c59c4..765f97f 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -1,7 +1,7 @@ # # spec file for package a2ps (Version 4.13) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -27,7 +27,7 @@ Requires: /bin/sed /usr/bin/iconv /usr/bin/file /usr/bin/wdiff /usr/bin/w3 AutoReqProv: on PreReq: %{install_info_prereq} Version: 4.13 -Release: 1326 +Release: 1327 Summary: Converts ASCII Text into PostScript Source: a2ps-4.13b.tar.bz2 Source1: a2ps-ko.po @@ -63,8 +63,8 @@ Authors: License: GPL v2 or later Summary: Library and header file for the interface of a2ps Group: Productivity/Publishing/PS -Provides: a2ps:%{_libdir}/liba2ps.a AutoReqProv: on +Requires: %{name} = %{version} glibc-devel %description -n a2ps-devel a2ps converts ASCII text into PostScript. This feature is used by @@ -81,7 +81,7 @@ Authors: Miguel Santana %prep -%setup -n a2ps-4.13 +%setup -q -n a2ps-4.13 touch -r configure.in .ref %patch -P 1 -p 0 -b .security %patch -P 2 -p 0 -b .ogonkify @@ -106,17 +106,7 @@ rename no nb po/no.* export CC=gcc export LEX="flex -Cfe" touch -r .ref configure.in - sh ./configure ${RPM_ARCH}-suse-linux \ - --with-gnu-ld \ - --prefix=%{_prefix} \ - --libdir=%{_libdir} \ - --infodir=%{_infodir} \ - --mandir=%{_mandir} \ - --bindir=%{_bindir} \ - --datadir=%{_datadir} \ - --includedir=%{_includedir} \ - --sysconfdir=%{_sysconfdir} \ - --with-medium=LC_PAPER \ +%configure --enable-shared --disable-static --with-pic --with-medium=LC_PAPER \ --with-encoding=LC_CTYPE con="" for m4 in contrib/*.m4; do @@ -124,9 +114,9 @@ rename no nb po/no.* rm -f ${in} ${m4%.*} con="$con ${in##*/}" done - make -C contrib/ ${con} + %{__make} %{?jobs:-j%jobs} -C contrib/ ${con} sh ./config.status - make PSFONT_PATH=%{_datadir}/ghostscript/fonts + %{__make} %{?jobs:-j%jobs} PSFONT_PATH=%{_datadir}/ghostscript/fonts pushd doc texi2html a2ps.texi popd @@ -142,10 +132,12 @@ rename no nb po/no.* %{?buildroot: %{__rm} -rf %{buildroot}} %post +/sbin/ldconfig %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/ogonkify.info.gz %postun +/sbin/ldconfig %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/ogonkify.info.gz @@ -170,13 +162,16 @@ rename no nb po/no.* %{_datadir}/emacs/site-lisp/*.el %{_datadir}/emacs/site-lisp/*.elc %{_datadir}/ogonkify +%{_libdir}/liba2ps.so.* %files -n a2ps-devel %defattr(-,root,root) %{_includedir}/liba2ps.h -%{_libdir}/liba2ps.a +%{_libdir}/liba2ps.so %changelog +* Fri Jan 16 2009 crrodriguez@suse.de +- use --enable-shared and disable static libraries * Mon Oct 27 2008 werner@suse.de - Make liba2ps.h includable without any further includes also split off a devel package as suggested by Thorsten (bnc#438889) @@ -239,7 +234,7 @@ rename no nb po/no.* - fix install_info --delete call and move from preun to postun * Tue Feb 11 2003 kukuk@suse.de - Add install-info macros [Bug #23390] -* Tue Nov 12 2002 ro@suse.de +* Mon Nov 11 2002 ro@suse.de - changed neededforbuild to * Wed Sep 18 2002 ro@suse.de - removed bogus self-provides @@ -293,7 +288,7 @@ rename no nb po/no.* - Set PSFONT_PATH to /usr/share/ghostscript/fonts * Fri Nov 17 2000 ro@suse.de - ge_exec -> emacs -* Fri Jul 07 2000 ro@suse.de +* Thu Jul 06 2000 ro@suse.de - merged patches * Thu Jul 06 2000 werner@suse.de - Add `,' to atan2 in for77kwds.ssh to distinguish atan2 from cabs. @@ -312,7 +307,7 @@ rename no nb po/no.* - ran old prepare_spec on spec file to switch to new prepare_spec. * Mon Jul 19 1999 florian@suse.de - update to a2ps 4.12 -* Thu Oct 30 1997 florian@suse.de +* Wed Oct 29 1997 florian@suse.de - add missing patch detectet by Werner Fink Added the changes from Andreas Klemm for apsfilter into /usr/bin/a2ps. aps could use standard /usr/bin/a2ps now.