File libgnomeprint.spec of Package libgnomeprint
#
# spec file for package libgnomeprint (Version 2.18.5)
#
# Copyright (c) 2008 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libgnomeprint
BuildRequires: bison
BuildRequires: cups-devel
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libart_lgpl-devel
BuildRequires: libgnomecups-devel
BuildRequires: libxml2-devel
BuildRequires: pango-devel
BuildRequires: popt-devel
BuildRequires: zlib-devel
%if %suse_version <= 1020
# Missing in cups-devel:
BuildRequires: openssl-devel
%endif
License: GPL v2 or later; LGPL v2.1 or later
Group: Development/Libraries/GNOME
AutoReqProv: on
Version: 2.18.5
Release: 1
Summary: The GNOME 2.x Printing Library
Source: %{name}-%{version}.tar.bz2
Source1: libgnomeprint-icons.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: libgnomeprint-suseconfig.dif
Patch1: libgnomeprint.patch
Patch3: libgnomeprint-pdf-invalid-path-176712.patch
Patch4: autobuild-warnings.patch
Requires: %{name}-lang = %{version}
%description
This package contains the GNOME 2.x printing library, which provides a
simple and clean API for GNOME programs that have to print documents.
Authors:
--------
Lauris Kaplinski <lauris@ximian.com>
Chema Celorio <chema@celorio.com>
Chris Lahey <clahey@ximian.com>
Raph Levien <raph@acm.org>
Miguel de Icaza <miguel@gnu.org>
%package devel
License: GPL v2 or later; LGPL v2.1 or later
Summary: Include Files and Libraries mandatory for Development.
Group: Development/Libraries/GNOME
Requires: %{name} = %{version} libart_lgpl-devel glib2-devel libxml2-devel pango-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Lauris Kaplinski <lauris@ximian.com>
Chema Celorio <chema@celorio.com>
Chris Lahey <clahey@ximian.com>
Raph Levien <raph@acm.org>
Miguel de Icaza <miguel@gnu.org>
%package doc
License: GPL v2 or later; LGPL v2.1 or later
Summary: The GNOME 2.x Printing Library
Group: Development/Libraries/GNOME
%description doc
This package contains the GNOME 2.x printing library, which provide a
simple and clean API for GNOME programs that have to print documents.
Authors:
--------
Lauris Kaplinski <lauris@ximian.com>
Chema Celorio <chema@celorio.com>
Chris Lahey <clahey@ximian.com>
Raph Levien <raph@acm.org>
Miguel de Icaza <miguel@gnu.org>
%lang_package
%prep
%setup -q
tar xvfz %SOURCE1
%patch -p1
%patch1
%patch3
%patch4 -p0
# FIXME: is this right?
# rm po/no.*
# sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in
%build
autoreconf -f -i
# can use openprinting/papi
# FIXME: Which packages are required for rebuild of gtk-doc stuff?
# needed for libgnomeprint-2.12.1:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-static\
--disable-gtk-doc
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a $RPM_BUILD_ROOT%{_libdir}/*/*/*/*/*.*a
%find_lang libgnomeprint-2.2
%fdupes $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README NEWS ChangeLog
%{_datadir}/gnome-print-2.0
%{_datadir}/libgnomeprint
%{_libdir}/*.so.*
%{_libdir}/libgnomeprint
%files lang -f libgnomeprint-2.2.lang
%files devel
%defattr(-,root,root)
%{_includedir}/libgnomeprint-2.2
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/libgnomeprint-2.2.pc
%files doc
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/*
%changelog
* Tue Sep 23 2008 maw@suse.de
- Update to version 2.18.5:
+ Updated translations.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Mon Feb 18 2008 maw@suse.de
- Update to version 2.18.4:
+ Support searching and cut'n'paste of text in PDF files
output by libgnomeprint
+ Fix problem in the postcript backend that caused images
to be printed as black squares.
* Wed Jan 30 2008 rodrigo@suse.de
- Update to version 2.18.3:
* Fix use of uninitialized variable
* Fix some dead code
* Remove more popt usage
* Cleanups
* Tue Sep 18 2007 sbrabec@suse.cz
- Updated to version 2.18.2:
* updated Arabic translation
* Thu Aug 30 2007 maw@suse.de
- Update to version 2.18.1:
+ Fix a crash in Gedit caused by a typo
+ Fixed some compiler warnings
+ Updated translations
- Refresh autobuild-warnings.patch, as some of it has made it
upstream.
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Wed Apr 11 2007 maw@suse.de
- Update to version 2.18.0
- Minor code cleanups
- Fix for a possible crash
- Updated translations.
* Thu Mar 29 2007 maw@suse.de
- Add flex to buildrequires.
* Thu Mar 29 2007 maw@suse.de
- Add bison to buildrequires.
* Fri Mar 23 2007 maw@suse.de
- Update to version 2.17.92
- Only minor changes since 2.17.91.
* Mon Feb 19 2007 maw@suse.de
- Update to version 2.17.91
- Remove bnc-8691.patch which is now upstream
- Add autobuild-warnings.patch; the contents of patch have been
filed on bugzilla.gnome.org and should show up in a subsequent
release.
* Tue Feb 13 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552#c17).
* Sat Jan 20 2007 sbrabec@suse.cz
- Build correctly in older products.
* Mon Jan 08 2007 sbrabec@suse.cz
- More spec file cleanups.
* Mon Jan 08 2007 maw@suse.de
- Move to /usr
- Some specfile cleanup.
* Thu Dec 28 2006 jhargadon@suse.de
- removed unused libtool files (#223656)
* Thu May 18 2006 joeshaw@suse.de
- Add a patch to fix a crash when trying to save to a PDF file
that you can't write to. (bnc #176712)
* Tue May 09 2006 fejj@suse.de
- fix unlocalised text on two tabs of print dialog (bnc#8691)
* Sun Feb 05 2006 aj@suse.de
- Cleanup BuildRequires.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 12 2005 ro@suse.de
- remove upstreamed patch
* Thu Oct 06 2005 gekker@suse.de
- Update to version 2.12.1
- Fix crashes in print dialogs (#118797)
* Thu Sep 08 2005 sbrabec@suse.cz
- Fixed directory ownership.
* Tue Sep 06 2005 gekker@suse.de
- Update to version 2.12.0 (GNOME 2.12)
- Fix return of random data
* Tue Jun 21 2005 gekker@suse.de
- Update to version 2.11.0
* Wed Jun 01 2005 sbrabec@suse.cz
- Fixed devel requirements.
* Wed Mar 23 2005 jody@suse.de
- upstream 2.10.2 bug fix release
- https://bugzilla.innerweb.novell.com/show_bug.cgi?id=73854
kerning support in ps2/pdf
- https://bugzilla.innerweb.novell.com/show_bug.cgi?id=73773
more than one lpr printer
- https://bugzilla.innerweb.novell.com/show_bug.cgi?id=73774
only display duplex when it is available.
* Sat Mar 19 2005 jody@suse.de
- fix pdf generation
* Wed Mar 16 2005 jody@suse.de
- upstream 2.10.1 bug fix release
- https://bugzilla.innerweb.novell.com/show_bug.cgi?id=72837
- various leaks
- problems in pdf with some ttf fonts.
* Tue Mar 08 2005 jody@suse.de
- upstream 2.10.0
- improved pango integration
- faster status from cups
* Tue Jan 18 2005 clahey@suse.de
- Updated to 2.8.2.
* Fri Nov 19 2004 ro@suse.de
- removed extra aclocal include directive
* Mon Oct 25 2004 ro@suse.de
- locale rename: no -> nb
* Mon Oct 04 2004 jody@suse.de
- update to 2.8.0.1
- updated translations
- Fix the display of printer state in the job count column
* Mon Sep 13 2004 jody@suse.de
- update to 2.8.0
- Fix rotated text export to pdf
- Fix font subsetting for non-ascii text in ps and pdf
- Use libgnomecups as cups backend
* Fri Jul 30 2004 jody@suse.de
- updated to 2.7.1
- dropped the icon patch
- downgraded the pango req
* Tue Jun 22 2004 jody@suse.de
- Updated to version 2.6.2 and added an icon patch
* Fri Apr 23 2004 sbrabec@suse.cz
- Updated to version 2.6.1 (GNOME 2.6).
* Mon Mar 15 2004 sbrabec@suse.cz
- Include %%{prefix}/share/gnome-print-2.0 to %%files.
* Wed Mar 10 2004 hhetter@suse.de
- fix icon installation path for the print dialog
* Fri Feb 27 2004 hhetter@suse.de
- updated to version 2.5.3: better cups interaction
- added ximian icon set for print dialog
* Tue Jan 20 2004 hhetter@suse.de
- updated to version 2.4.2, freetype fixes included
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr
* Thu Jan 08 2004 ro@suse.de
- fix build with current freetype
* Wed Oct 08 2003 sbrabec@suse.cz
- Updated to version 2.4.0 (GNOME 2.4).
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Thu Jun 26 2003 sbrabec@suse.cz
- Updated to version 2.2.1.3.
* Mon Jun 23 2003 sbrabec@suse.cz
- Updated to version 2.2.1.2.
- Use %%find_lang.
- Fixed directory packaging.
- Branched libgnomeprint-doc.
- Prefix clash fix - gtk-doc files.
* Sun Jun 01 2003 ro@suse.de
- include devel-docs to devel subpackage
- add rest of static libs to devel subpackage
* Fri Mar 07 2003 hhetter@suse.de
- include the libgnomeprint-file and libgnomeprint-lpr
modules (Bug Id#24817)
* Thu Feb 06 2003 hhetter@suse.de
- updated to version 2.2.1.1 [GNOME 2.2.0]
* Tue Jan 28 2003 hhetter@suse.de
- updated to version 2.2.1
* Wed Jan 15 2003 hhetter@suse.de
- updated to version 2.1.8
- added expat to needeforbuild
- recheck filelist
- remove the installer for now, as gnome-font-install is
no longer included
* Thu Oct 31 2002 hhetter@suse.de
- updated to version 1.116.0
* Tue Oct 22 2002 sbrabec@suse.cz
- Remove /var/adm/SuSEconfig/run-libgnomeprint from %%files and keep it
only in %%post (fixes #20031).
* Mon Sep 09 2002 ro@suse.de
- removed libgnomeui/libgnomeui-devel from neededforbuild (unused)
* Fri Aug 09 2002 hhetter@suse.de
- added openssl to neededforbuild
* Sat Jul 27 2002 adrian@suse.de
- add %%run_ldconfig
* Tue Jun 25 2002 hhetter@suse.de
- fix typo in SuSEconfig.libgnomeprint
* Tue Jun 11 2002 hhetter@suse.de
- fix filelist
* Fri Jun 07 2002 hhetter@suse.de
- updated to version 1.115.0
* Wed Jun 05 2002 hhetter@suse.de
- updated to version 1.114.0 source frozen
* Wed May 15 2002 ro@suse.de
- use libdir
* Wed Apr 10 2002 hhetter@suse.de
- updated to version 1.112.0 [gnome desktop beta3]
* Mon Apr 08 2002 coolo@suse.de
- fixed automake usage
* Fri Feb 01 2002 hhetter@suse.de
- updated to version 1.110.0 [gnome desktop alpha2]
* Thu Jan 31 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Thu Jan 17 2002 hhetter@suse.de
- prefixed to /opt/gnome2
- adapted SuSEconfig-script
* Thu Jan 10 2002 hhetter@suse.de
- initial SuSE package for GNOME 2.0 platform
- created SuSEconfig-script