145 lines
4.4 KiB
RPMSpec
145 lines
4.4 KiB
RPMSpec
|
#%define gnomever 2.30.1
|
||
|
|
||
|
%define majver %(echo %version | cut -d. -f 1-2)
|
||
|
#%define gnomegroup desktop
|
||
|
#%define pkgname libgnomeprintui
|
||
|
|
||
|
Name: libgnomeprintui
|
||
|
Version: 2.18.6
|
||
|
Release: 1mamba
|
||
|
Summary: The GNOME 2 print user interface library for libgnomeprint
|
||
|
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/libgnomeprintui/%{majver}/libgnomeprintui-%{version}.tar.gz
|
||
|
#http://ftp.gnome.org/pub/GNOME/%{gnomegroup}/%{gnomemajver}/%{gnomever}/sources/%{pkgname}-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
BuildRequires: pkgconfig
|
||
|
BuildRequires: gnome-icon-theme
|
||
|
BuildRequires: gettext-devel
|
||
|
BuildRequires: libglade-devel
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: gtk-doc
|
||
|
BuildRequires: libart_lgpl-devel
|
||
|
BuildRequires: libatk-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libfontconfig-devel
|
||
|
BuildRequires: libfreetype-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgnomecanvas-devel
|
||
|
BuildRequires: libgnomeprint-devel >= %{version}
|
||
|
BuildRequires: libgtk-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libxml2-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Requires: libgnomeprint >= %{version}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
The GNOME 2 print user interface library for libgnomeprint.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Static libraries and headers for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
The GNOME 2 print user interface library for libgnomeprint.
|
||
|
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
|
||
|
# --enable-gtk-doc
|
||
|
# 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 %{name}-2.2
|
||
|
|
||
|
%clean
|
||
|
[ %{buildroot} != / ] && rm -rf %{buildroot}
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files -f %{name}-2.2.lang
|
||
|
%defattr(-,root,root,-)
|
||
|
%{_libdir}/*.so.*
|
||
|
%{_datadir}/libgnomeprintui/%{version}/gnome-print-job-preview.xml
|
||
|
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%{_libdir}/*.a
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/*.so
|
||
|
%{_libdir}/pkgconfig/*.pc
|
||
|
%dir %{_includedir}/libgnomeprintui-?.?
|
||
|
%dir %{_includedir}/libgnomeprintui-?.?/libgnomeprintui
|
||
|
%{_includedir}/libgnomeprintui-?.?/libgnomeprintui/*
|
||
|
|
||
|
%files apidocs
|
||
|
%defattr(-,root,root)
|
||
|
%{_datadir}/gtk-doc/html/%{name}/
|
||
|
|
||
|
%changelog
|
||
|
* Tue Sep 28 2010 Automatic Build System <autodist@mambasoft.it> 2.18.6-1mamba
|
||
|
- automatic update to 2.18.6 by autodist
|
||
|
|
||
|
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 2.18.5-1mamba
|
||
|
- automatic update to 2.18.5 by autodist
|
||
|
|
||
|
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 2.18.4-2mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Sun Mar 15 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.18.4-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Dec 05 2008 gil <puntogil@libero.it> 2.18.3-1mamba
|
||
|
- update to 2.18.3
|
||
|
|
||
|
* Mon Aug 25 2008 gil <puntogil@libero.it> 2.18.2-1mamba
|
||
|
- update to 2.18.2
|
||
|
|
||
|
* 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 19 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.2-2qilnx
|
||
|
- gtk documentation moved to devel package
|
||
|
|
||
|
* Mon Aug 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.10.2-1qilnx
|
||
|
- update to version 2.10.2 by autospec
|
||
|
|
||
|
* Fri Dec 17 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.8.2-1qilnx
|
||
|
- update to version 2.8.2 by autospec
|
||
|
- build requirements added
|
||
|
|
||
|
* Tue Oct 12 2004 Massimo Pintore <massimo.pintore@qilinux.it> 2.8.0-1qilnx
|
||
|
- package created by autospec
|