93 lines
2.4 KiB
RPMSpec
93 lines
2.4 KiB
RPMSpec
|
%define gnomever 2.16.2
|
||
|
|
||
|
%define gnomemajver %(echo %gnomever | cut -d. -f 1-2)
|
||
|
%define pkgname libgnomecups
|
||
|
|
||
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
||
|
|
||
|
Name: libgnomecups
|
||
|
Version: 0.2.3
|
||
|
Release: 2mamba
|
||
|
Summary: CUPS printing system interface library for Gnome
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.gnome.org
|
||
|
Source: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{majversion}/%{pkgname}-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libcups-devel
|
||
|
BuildRequires: libe2fs-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libkrb5-devel
|
||
|
BuildRequires: libopenssl-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: pkgconfig
|
||
|
BuildRequires: intltool
|
||
|
BuildRequires: perl-XML-Parser
|
||
|
BuildRequires: gettext-devel
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
CUPS printing system interface library for Gnome.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Devel package for libgnomecups
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
CUPS printing system interface library for Gnome.
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%find_lang %{pkgname}
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files -f %{pkgname}.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/*.so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/*.a
|
||
|
%{_libdir}/*.so
|
||
|
%{_libdir}/pkgconfig/libgnomecups-1.0.pc
|
||
|
%{_includedir}/libgnomecups-1/
|
||
|
|
||
|
%changelog
|
||
|
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-2mamba
|
||
|
- rebuilt to remove requirement for libgnutls13
|
||
|
|
||
|
* Sat Jul 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-1mamba
|
||
|
- update to 0.2.3
|
||
|
|
||
|
* Fri Jan 12 2007 Davide Madrisan <davide.madrisan@qilinux.it> 0.2.2-1qilnx
|
||
|
- update to version 0.2.2 by autospec
|
||
|
- updated specfile to permit automatic building
|
||
|
|
||
|
* Wed May 11 2005 Silvan Calarco <silvan.calarco@qilinux.it> 0.2.0-1qilnx
|
||
|
- update to version 0.2.0 by autospec
|
||
|
|
||
|
* Sat Apr 24 2004 Silvan Calarco <silvan.calarco@qilinux.it> 0.1.6-1qilnx
|
||
|
- first build
|