diff --git a/README.md b/README.md index d32003b..0c98050 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libgnomecups +CUPS printing system interface library for Gnome. + diff --git a/libgnomecups.spec b/libgnomecups.spec new file mode 100644 index 0000000..07291a2 --- /dev/null +++ b/libgnomecups.spec @@ -0,0 +1,92 @@ +%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 +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 0.2.3-2mamba +- rebuilt to remove requirement for libgnutls13 + +* Sat Jul 26 2008 Silvan Calarco 0.2.3-1mamba +- update to 0.2.3 + +* Fri Jan 12 2007 Davide Madrisan 0.2.2-1qilnx +- update to version 0.2.2 by autospec +- updated specfile to permit automatic building + +* Wed May 11 2005 Silvan Calarco 0.2.0-1qilnx +- update to version 0.2.0 by autospec + +* Sat Apr 24 2004 Silvan Calarco 0.1.6-1qilnx +- first build