%define gettext_package libgnomeprintui-2.2 %define doc_license %{nil} %define doc_license 1 %if 0%{?rhel}%{?fedora} %if 0%{?rhel} %if 0%{?rhel} < 7 %define doc_license 0 %endif %else %if 0%{?fedora} < 19 %define doc_license 0 %endif %endif %endif %define license_files COPYING Summary: GUI support for libgnomeprint Name: libgnomeprintui22 Version: 2.18.6 Release: 12%{?dist} Source0: http://ftp.gnome.org/pub/gnome/sources/libgnomeprintui/2.18/libgnomeprintui-%{version}.tar.bz2 URL: http://ftp.gnome.org/pub/gnome/sources/libgnomeprintui/ License: LGPLv2+ Group: System Environment/Libraries BuildRequires: gtk2-devel BuildRequires: libgnomeprint22-devel BuildRequires: libgnomecanvas-devel BuildRequires: fontconfig-devel BuildRequires: gnome-icon-theme-devel BuildRequires: gettext BuildRequires: intltool %description The libgnomeprintui package contains GTK+ widgets related to printing. %package devel Summary: Libraries and headers for libgnomeprintui Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel You should install the libgnomeprintui-devel package if you would like to compile applications that use the widgets in libgnomeprintui. You do not need to install it if you just want to use precompiled applications. %prep %setup -q -n "libgnomeprintui-%{version}" %build %configure --disable-gtk-doc --disable-static %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR="%{buildroot}" INSTALL="install -p" find "%{buildroot}" -name '*.la' -exec rm -f '{}' ';' %find_lang "%{gettext_package}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f "%{gettext_package}.lang" %defattr(-,root,root,-) %if 0%{?doc_license} %license %{license_files} %else %doc %{license_files} %endif %doc AUTHORS NEWS README %{_libdir}/lib*.so.* %{_datadir}/libgnomeprintui %files devel %defattr(-,root,root,-) %{_libdir}/lib*.so %{_libdir}/pkgconfig/* %{_includedir}/* %{_datadir}/gtk-doc/html/libgnomeprintui %changelog * Tue Nov 07 2017 Tomasz Tomasik - 2.18.6-12 - Small SPEC file cleanups - Use license macro - Rebuilt for EL7 * Wed Jun 17 2015 Fedora Release Engineering - 2.18.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 2.18.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.18.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 2.18.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jun 28 2013 Kalev Lember - 2.18.6-7 - Adapt for gnome-icon-theme packaging changes * Thu Feb 14 2013 Fedora Release Engineering - 2.18.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 2.18.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 2.18.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Nov 08 2011 Adam Jackson - 2.18.6-3 - Rebuild to break bogus libpng dep * Tue Feb 08 2011 Fedora Release Engineering - 2.18.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Sep 30 2010 Matthias Clasen - 2.18.6-1 - Update to 2.18.6 * Wed Sep 29 2010 jkeating - 2.18.5-3 - Rebuilt for gcc bug 634757 * Thu Sep 16 2010 Parag Nemade 2.18.5-2 - spec cleanup * Wed Mar 31 2010 Matthias Clasen - 2.18.5-1 - Update to 2.18.5 * Fri Jul 24 2009 Fedora Release Engineering - 2.18.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Mar 17 2009 Matthias Clasen - 2.18.4-1 - Update to 2.18.4 * Wed Feb 25 2009 Fedora Release Engineering - 2.18.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Sep 22 2008 Matthias Clasen - 2.18.3-1 - Update to 2.18.3 * Wed May 21 2008 Tom "spot" Callaway - 2.18.2-2 - fix license tag * Thu Jan 31 2008 Matthias Clasen - 2.18.2-1 - Update to 2.18.2 * Mon Sep 17 2007 Matthias Clasen - 2.18.1-1 - Update to 2.18.1 * Thu Aug 23 2007 Adam Jackson - 2.18.0-2 - Rebuild for build ID * Tue Mar 13 2007 Matthias Clasen - 2.18.0-1 - Update to 2.18.0 * Tue Feb 27 2007 Matthias Clasen - 2.17.92-1 - Update to 2.17.92 * Tue Feb 13 2007 Matthias Clasen - 2.17.91-1 - Update to 2.17.91 * Tue Jan 23 2007 Matthias Clasen - 2.17.90-1 - Update to 2.17.90 * Sun Nov 12 2006 Matthias Clasen - 2.17.0-1 - Update to 2.17.0 - Don't ship static libraries - Require pkgconfig in the -devel package * Thu Aug 24 2006 Matthew Barnes - 2.12.1-6 - Add patch to fix print preview crashes (RH bug #201155). * Fri Jul 28 2006 Matthias Clasen - 2.12.1-5 - Re-add docs * Thu Jul 27 2006 Matthias Clasen - 2.12.1-4 - Disable gtk-doc to fix multilib conflicts * Wed Jul 12 2006 Jesse Keating - 2.12.1-3.1 - rebuild * Mon Jun 12 2006 Bill Nottingham - 2.12.1-3 - buildreq automake, not automake16 - buildreq gettext * Mon Jun 5 2006 Matthias Clasen - 2.12.1-2 - Rebuild * Fri Feb 10 2006 Jesse Keating - 2.12.1-1.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 2.12.1-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Mon Sep 30 2005 Matthias Clasen - 2.12.1-1 - Update to 2.12.1 * Mon Sep 7 2005 Matthias Clasen - 2.12.0-1 - Update to 2.12.0 * Tue Aug 16 2005 Matthias Clasen - Rebuilt * Mon Jul 11 2005 Matthias Clasen - 2.11.0-1 - Newer upstream version * Fri Mar 18 2005 David Zeuthen - 2.10.1-1 - New upstream version - drop a patch that was merged upstream * Fri Mar 4 2005 David Zeuthen - 2.8.2.-2 - Rebuild * Thu Jan 27 2005 Matthias Clasen - 2.8.2-1 - Update to 2.8.2 * Tue Oct 26 2004 Colin Walters - 2.8.0-2 - Add patch libgnomeprintui-2.8.0-selector-search.patch for interactively searching for a printer * Mon Sep 27 2004 Owen Taylor - 2.8.0-1 - Version 2.8.0 * Tue Aug 31 2004 Matthias Clasen 2.7.1-7 - Fix handling of selection changes when the previously selected printer is gone. (#131626) * Tue Aug 31 2004 Matthias Clasen 2.7.1-5 - Fix the initial selection of the default printer. * Tue Aug 3 2004 Owen Taylor 2.7.1-3 - Update to real 2.7.1 tarball - Remove --enable-gtk-doc again - Add build requires for gtk-doc and gnome-icon-theme (#124935, Maxim Dzumanenko) * Thu Jul 29 2004 Colin Walters 2.7.1-2 - Add patch which fixes default printer case, minor threading bugs * Thu Jul 08 2004 Colin Walters 2.7.1-1 - Update to latest upstream CVS (20040708) - Merge dynamism patch with upstream CVS * Thu Jun 17 2004 Matthias Clasen 2.7.0-2 - Show printers in a tree view. * Tue Jun 15 2004 Colin Walters 2.7.0-1 - Update to 2.7.0 CVS - Pass --enable-gtk-doc to configure - Add current version of patch which handles dynamic updating from libgnomeprint. - Bump required libgnomeprint version. * Tue Jun 15 2004 Elliot Lee - rebuilt * Thu Apr 1 2004 Alex Larsson 2.6.0-1 - update to 2.6.0 * Fri Mar 12 2004 Alex Larsson 2.5.4-1 - update to 2.5.4 * Tue Mar 02 2004 Elliot Lee - rebuilt * Thu Feb 26 2004 Alexander Larsson 2.5.3-1 - update to 2.5.3 * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jan 28 2004 Alexander Larsson 2.5.1-1 - update to 2.5.1 * Wed Jan 7 2004 Owen Taylor 2.4.2-1 - Update 2.4.2 to get some crasher fixes * Tue Oct 28 2003 Owen Taylor 2.4.0-1 - Update to 2.4.0 * Thu Sep 11 2003 Jeremy Katz 2.3.1-2 - remove spurious comma in gnome-print-dialog.h that causes errors with gcc 3.3 and -pedantic * Tue Aug 19 2003 Alexander Larsson 2.3.1-1 - update for gnome 2.3 * Wed Jul 9 2003 Owen Taylor 2.2.1.3-2.0 - Bump for rebuild * Wed Jul 2 2003 Owen Taylor 2.2.1.3-1 - Version 2.2.1.3 * Thu Jun 12 2003 Owen Taylor 2.2.1.2-1 - Version 2.2.1.2 * Wed Jun 04 2003 Elliot Lee - rebuilt * Tue Feb 4 2003 Alexander Larsson - 2.2.1.1 * Wed Jan 22 2003 Tim Powers - rebuilt * Thu Jan 16 2003 Havoc Pennington - 2.1.8 * Mon Dec 16 2002 Havoc Pennington - initial build of libgnomeprintui 2.2 (version 2.1.4)