2024-01-06 04:26:05 +01:00
|
|
|
%define gnomever 2.16.2
|
|
|
|
%define pkgname libgnomecups
|
|
|
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
Name: libgnomecups
|
|
|
|
Version: 0.2.3
|
2024-01-06 04:26:05 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 04:26:05 +01:00
|
|
|
Summary: CUPS printing system interface library for Gnome
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:26:05 +01:00
|
|
|
URL: https://www.gnome.org/
|
2024-01-06 04:26:05 +01:00
|
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{majversion}/%{pkgname}-%{version}.tar.bz2
|
2024-01-06 04:26:05 +01:00
|
|
|
Patch0: libgnomecups-0.2.3-libglib-2.68.3.patch
|
|
|
|
Patch1: libgnomecups-0.2.3-cups-1.6.patch
|
2024-01-06 04:26:05 +01:00
|
|
|
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.
|
2024-01-06 04:26:05 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
|
|
|
|
%debug_package
|
2024-01-06 04:26:05 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 04:26:05 +01:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2024-01-06 04:26:05 +01:00
|
|
|
|
|
|
|
%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)
|
2024-01-06 04:26:05 +01:00
|
|
|
%{_libdir}/libgnomecups-1.0.so.*
|
2024-01-06 04:26:05 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:26:05 +01:00
|
|
|
%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
|
2024-01-06 04:26:05 +01:00
|
|
|
%{_libdir}/pkgconfig/libgnomecups-1.0.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:26:05 +01:00
|
|
|
* Sat Jul 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-3mamba
|
|
|
|
- rebuilt with debug package and specfile fixes
|
|
|
|
|
2024-01-06 04:26:05 +01:00
|
|
|
* 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
|