168 lines
5.2 KiB
RPMSpec
168 lines
5.2 KiB
RPMSpec
|
#%define gnomever 2.30.1
|
||
|
|
||
|
%define majver %(echo %version | cut -d. -f 1-2)
|
||
|
%define gnomegroup desktop
|
||
|
%define pkgname libgnomeprint
|
||
|
|
||
|
Name: libgnomeprint
|
||
|
Version: 2.18.8
|
||
|
Release: 1mamba
|
||
|
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: http://www.gnome.org/
|
||
|
# bugfixes: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}
|
||
|
Source: http://ftp.acc.umu.se/pub/GNOME/sources/libgnomeprint/%{majver}/libgnomeprint-%{version}.tar.gz
|
||
|
#http://ftp.gnome.org/pub/GNOME/%{gnomegroup}/%{gnomemajver}/%{gnomever}/sources/%{pkgname}-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
BuildRequires: perl-XML-Parser
|
||
|
BuildRequires: pkgconfig
|
||
|
BuildRequires: gettext-devel
|
||
|
BuildRequires: libz-devel
|
||
|
BuildRequires: bison, flex
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: gtk-doc
|
||
|
BuildRequires: libart_lgpl-devel
|
||
|
BuildRequires: libcups-devel
|
||
|
BuildRequires: libe2fs-devel
|
||
|
BuildRequires: libfontconfig-devel
|
||
|
BuildRequires: libfreetype-devel
|
||
|
BuildRequires: libgcrypt-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgnomecups-devel
|
||
|
BuildRequires: libgnutls-devel
|
||
|
BuildRequires: libgpg-error-devel
|
||
|
BuildRequires: libkrb5-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libxml2-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: perl-GSSAPI
|
||
|
BuildRequires: gnome-doc-utils
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
# FIXME:
|
||
|
# checking for db2html... false
|
||
|
|
||
|
%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 need for development.
|
||
|
|
||
|
%package apidocs
|
||
|
Summary: %{name} API documentation
|
||
|
Group: Documentation
|
||
|
Requires: gtk-doc
|
||
|
|
||
|
%description apidocs
|
||
|
%{name} API documentation.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%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 ChangeLog NEWS README
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%{_libdir}/*.a
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/*.so
|
||
|
%{_libdir}/pkgconfig/*.pc
|
||
|
%dir %{_includedir}/libgnomeprint-*
|
||
|
%dir %{_includedir}/libgnomeprint-*/libgnomeprint
|
||
|
%{_includedir}/libgnomeprint-*/libgnomeprint/*
|
||
|
|
||
|
%files apidocs
|
||
|
%defattr(-,root,root)
|
||
|
%{_datadir}/gtk-doc/html/%{name}/
|
||
|
|
||
|
%changelog
|
||
|
* 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
|