171 lines
5.3 KiB
RPMSpec
171 lines
5.3 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f 1-2)
|
|
%define pkgname libgnomeprint
|
|
|
|
Name: libgnomeprint
|
|
Version: 2.18.8
|
|
Release: 2mamba
|
|
Summary: C-based API that implements the Postscript imaging model
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.gnome.org/
|
|
Source: http://ftp.acc.umu.se/pub/GNOME/sources/libgnomeprint/%{majver}/libgnomeprint-%{version}.tar.gz
|
|
Patch0: libgnomeprint-2.18.8-libfreetype-2.10.0.patch
|
|
Patch1: libgnomeprint-2.18.8-bison-3.7.6.patch
|
|
Patch2: libgnomeprint-2.18.8-glibc-2.33.patch
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libart_lgpl-devel
|
|
BuildRequires: libbrotli-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcups-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgnomecups-devel
|
|
BuildRequires: libgraphite2-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpcre-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: perl-GSSAPI
|
|
BuildRequires: gnome-doc-utils
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: bison
|
|
BuildRequires: flex
|
|
|
|
%description
|
|
GNOME Print is a C-based API that implements the Postscript imaging model.
|
|
It is being used by various GNOME applications.
|
|
There are two extensions to the Postscript imaging model supported by GNOME Print: Alpha channel support and anti-aliasing.
|
|
GNOME Print includes a rasterizing engine that transforms the requests into bitmaps for native drivers.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
GNOME Print is a C-based API that implements the Postscript imaging model.
|
|
It is being used by various GNOME applications.
|
|
There are two extensions to the Postscript imaging model supported by GNOME Print: Alpha channel support and anti-aliasing.
|
|
GNOME Print includes a rasterizing engine that transforms the requests into bitmaps for native drivers.
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%package apidocs
|
|
Summary: %{name} API documentation
|
|
Group: Documentation
|
|
Requires: gtk-doc
|
|
|
|
%description apidocs
|
|
%{name} API documentation.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p0
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
|
|
%build
|
|
%configure \
|
|
--disable-gtk-doc \
|
|
--with-cups
|
|
|
|
# I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
|
|
%make
|
|
|
|
%install
|
|
[ %{buildroot} != / ] && rm -rf %{buildroot}
|
|
%makeinstall
|
|
|
|
%find_lang %{pkgname}-2.2
|
|
|
|
%clean
|
|
[ %{buildroot} != / ] && rm -rf %{buildroot}
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f %{pkgname}-2.2.lang
|
|
%defattr(-,root,root,-)
|
|
%dir %{_datadir}/libgnomeprint/%{version}/
|
|
%{_datadir}/libgnomeprint/%{version}/*
|
|
%{_libdir}/*.so.*
|
|
%dir %{_libdir}/libgnomeprint/
|
|
%{_libdir}/libgnomeprint/%{version}/modules/transports/*
|
|
%{_libdir}/libgnomeprint/%{version}/modules/lib*
|
|
%{_libdir}/libgnomeprint/%{version}/modules/filters/*
|
|
%doc AUTHORS COPYING.LIB
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.la
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%dir %{_includedir}/libgnomeprint-*
|
|
%dir %{_includedir}/libgnomeprint-*/libgnomeprint
|
|
%{_includedir}/libgnomeprint-*/libgnomeprint/*
|
|
%doc ChangeLog NEWS README
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%{_datadir}/gtk-doc/html/%{name}/
|
|
|
|
%changelog
|
|
* Sat Jul 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.18.8-2mamba
|
|
- rebuilt with debug package and specfile fixes
|
|
|
|
* Tue Sep 28 2010 Automatic Build System <autodist@mambasoft.it> 2.18.8-1mamba
|
|
- automatic update to 2.18.8 by autodist
|
|
|
|
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 2.18.7-1mamba
|
|
- automatic update to 2.18.7 by autodist
|
|
|
|
* Sun Mar 15 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.18.6-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Dec 05 2008 gil <puntogil@libero.it> 2.18.5-1mamba
|
|
- update to 2.18.5
|
|
|
|
* Mon Aug 25 2008 gil <puntogil@libero.it> 2.18.4-1mamba
|
|
- update to 2.18.4
|
|
|
|
* Tue Apr 10 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 2.18.0-1mamba
|
|
- update to verision 2.18.0
|
|
|
|
* Fri Jan 12 2007 Davide Madrisan <davide.madrisan@qilinux.it> 2.12.1-2qilnx
|
|
- updated specfile to permit automatic building
|
|
- new subpackage apidocs with API documentation
|
|
|
|
* Mon Dec 12 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.1-1qilnx
|
|
- update to version 2.12.1 by autospec
|
|
|
|
* Fri Oct 28 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.10.3-3qilnx
|
|
- gtk documentation moved to devel package
|
|
|
|
* Mon Aug 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.10.3-2qilnx
|
|
- specfile fixes
|
|
|
|
* Wed May 11 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.3-1qilnx
|
|
- update to version 2.10.3 by autospec
|
|
|
|
* Fri Dec 17 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.8.2-1qilnx
|
|
- update to version 2.8.2 by autospec
|
|
- added missing build requirements
|
|
|
|
* Tue Oct 12 2004 Massimo Pintore <massimo.pintore@qilinux.it> 2.8.0.1-1qilnx
|
|
- package created by autospec
|