%define lib_major 0 %define lib_name %mklibname gnomeprintui 2-2 %{lib_major} %define develname %mklibname -d gnomeprintui 2-2 %define req_libgnomeprint_version 2.12.1 Summary: GNOME print library Name: libgnomeprintui Version: 2.18.1 Release: %mkrel 2 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2 # (fc) 2.18.1-2mdv call printerdrake and not gnome-cups-add for Add printer button Patch0: libgnomeprintui-2.18.1-printerdrake.patch License: LGPL Group: System/Libraries Url: http://www.levien.com/gnome/print-arch.html BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: libgnomeprint2-2-devel >= %{req_libgnomeprint_version} BuildRequires: libgnomecanvas2-devel >= 1.117.0 BuildRequires: libglade2.0-devel BuildRequires: gtk+2-devel >= 2.4.0 BuildRequires: gnome-icon-theme >= 1.1.92 BuildRequires: gtk-doc BuildRequires: perl-XML-Parser BuildRequires: autoconf2.5 >= 2.54 Requires: libgnomeprint >= %{req_libgnomeprint_version} Requires: gnome-icon-theme >= 1.1.92 Conflicts: %{_lib}gnomeprintui2-2_0 < 2.12 %description This is an implementation of the Gnome Printing Architecture, as described in: http://www.levien.com/gnome/print-arch.html %package -n %{lib_name} Summary: Library for GNOME print support Group: %{group} Requires: %{name} >= %{version} %description -n %{lib_name} This is an implementation of the Gnome Printing Architecture, as described in: http://www.levien.com/gnome/print-arch.html %package -n %develname Summary: Static libraries, include files for GNOME print Group: Development/GNOME and GTK+ Provides: %{name}-devel = %{version}-%{release} Provides: %{name}2-2-devel = %{version}-%{release} Requires: %{lib_name} = %{version}-%{release} Requires: libgnomeprint2-2-devel >= %{req_libgnomeprint_version} Requires: libgnomecanvas2-devel >= 1.117.0 Obsoletes: %mklibname -d gnomeprintui 2-2 0 %description -n %develname This is an implementation of the Gnome Printing Architecture, as described in: http://www.levien.com/gnome/print-arch.html %prep %setup -q %patch0 -p1 -b .printerdrake %build %configure2_5x --enable-gtk-doc %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %find_lang %{name}-2.2 %clean rm -rf $RPM_BUILD_ROOT %post -n %{lib_name} -p /sbin/ldconfig %postun -n %{lib_name} -p /sbin/ldconfig %files -f %{name}-2.2.lang %defattr(-,root,root) %doc README AUTHORS NEWS %{_datadir}/libgnomeprintui %files -n %{lib_name} %{_libdir}/libgnomeprintui-2-2.so.0* %files -n %develname %defattr(-,root,root) %doc ChangeLog %doc %{_datadir}/gtk-doc/html/* %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/pkgconfig/* %changelog * Tue Oct 02 2007 Frederic Crozat <fcrozat@mandriva.com> 2.18.1-2mdv2008.0 + Revision: 94712 - Patch0: call printerdrake instead of gnome-cups-add for Add button * Mon Sep 17 2007 Götz Waschk <waschk@mandriva.org> 2.18.1-1mdv2008.0 + Revision: 89160 - new version - new devel name * Mon Mar 12 2007 Götz Waschk <waschk@mandriva.org> 2.18.0-1mdv2007.1 + Revision: 141992 - new version - readd changelog + Thierry Vignaud <tvignaud@mandriva.com> - no need to package big ChangeLog when NEWS is already there * Mon Feb 26 2007 Götz Waschk <waschk@mandriva.org> 2.17.92-1mdv2007.1 + Revision: 126101 - new version * Mon Feb 12 2007 Götz Waschk <waschk@mandriva.org> 2.17.91-1mdv2007.1 + Revision: 119932 - new version * Mon Jan 22 2007 Götz Waschk <waschk@mandriva.org> 2.17.90-1mdv2007.1 + Revision: 112102 - new version * Mon Nov 27 2006 Götz Waschk <waschk@mandriva.org> 2.17.0-1mdv2007.1 + Revision: 87671 - fix buildrequires - new version - Import libgnomeprintui * Sat Sep 09 2006 Frederic Crozat <fcrozat@mandriva.com> 2.12.1-5mdv2007.0 - Fix conflicts (Mdv bug #24983) * Wed Jun 21 2006 Frederic Crozat <fcrozat@mandriva.com> 2.12.1-4mdv2007.0 - Add conflicts to ease upgrade * Fri Feb 24 2006 Frederic Crozat <fcrozat@mandriva.com> 2.12.1-3mdk - use mkrel * Mon Oct 10 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 2.12.1-2mdk - add BuildRequires: gtk-doc * Fri Oct 07 2005 Frederic Crozat <fcrozat@mandriva.com> 2.12.1-1mdk - Release 2.12.1 - Remove patch0 (merged upstream) * Fri Sep 02 2005 Götz Waschk <waschk@mandriva.org> 2.10.2-3mdk - rebuild to remove glitz dep * Thu Aug 18 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.10.2-2mdk - libtool fixes * Thu Apr 21 2005 Frederic Crozat <fcrozat@mandriva.com> 2.10.2-1mdk - Release 2.10.2 (based on Götz Waschk package) - remove patch0 (merged upstream) * Tue Dec 07 2004 Götz Waschk <waschk@linux-mandrake.com> 2.8.2-1mdk - requires new libgnomeprint - New release 2.8.2 * Mon Nov 29 2004 Götz Waschk <waschk@linux-mandrake.com> 2.8.1-1mdk - update patch 0 - New release 2.8.1 * Tue Nov 09 2004 Götz Waschk <waschk@linux-mandrake.com> 2.8.0-1mdk - New release 2.8.0 - Patch0 (Fedora): Asynchronously update PPD list * Thu Jun 24 2004 Götz Waschk <waschk@linux-mandrake.com> 2.6.2-1mdk - reenable libtoolize - New release 2.6.2 * Fri Apr 23 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.1-1mdk - New release 2.6.1 * Wed Apr 07 2004 <fcrozat@mandrakesoft.com> 2.6.0-1mdk - New release 2.6.0 (with Götz help)