libgnomecups/libgnomecups.spec

96 lines
2.6 KiB
RPMSpec
Raw Normal View History

%define gnomever 2.16.2
%define pkgname libgnomecups
%define majversion %(echo %version | cut -d. -f 1-2)
Name: libgnomecups
Version: 0.2.3
Release: 3mamba
Summary: CUPS printing system interface library for Gnome
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnome.org/
Source: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{majversion}/%{pkgname}-%{version}.tar.bz2
Patch0: libgnomecups-0.2.3-libglib-2.68.3.patch
Patch1: libgnomecups-0.2.3-cups-1.6.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcups-devel
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig
BuildRequires: intltool
BuildRequires: perl-XML-Parser
BuildRequires: gettext-devel
%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 needed for development.
%debug_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%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}/libgnomecups-1.0.so.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libgnomecups-1/
%dir %{_includedir}/libgnomecups-1/libgnomecups
%{_includedir}/libgnomecups-1/libgnomecups/*
%{_libdir}/libgnomecups-1.0.la
%{_libdir}/libgnomecups-1.0.a
%{_libdir}/libgnomecups-1.0.so
%{_libdir}/pkgconfig/libgnomecups-1.0.pc
%changelog
* Sat Jul 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-3mamba
- rebuilt with debug package and specfile fixes
* 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