package created using the webbuild interface [release 2.0.0-1mamba;Mon Oct 09 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 04:03:49 +01:00
parent 6693ac0c20
commit c8b25e7801
2 changed files with 98 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libcupsfilters
OpenPrinting libcupsfilters.

96
libcupsfilters.spec Normal file
View File

@ -0,0 +1,96 @@
Name: libcupsfilters
Version: 2.0.0
Release: 1mamba
Summary: OpenPrinting libcupsfilters
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/OpenPrinting/libcupsfilters
Source: https://github.com/OpenPrinting/libcupsfilters.git/%{version}/libcupsfilters-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcups-devel
BuildRequires: libdbus-devel
BuildRequires: libexif-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-cpp-devel
BuildRequires: libqpdf-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
## AUTOBUILDREQ-END
Requires: %{name}-common = %{?epoch:%epoch:}%{version}-%{release}
%description
OpenPrinting libcupsfilters.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package common
Group: System/Spooling
Summary: Shared files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description common
This package contains shared files for %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libcupsfilters.so.*
%doc AUTHORS COPYING LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/cupsfilters
%{_includedir}/cupsfilters/*.h
%{_libdir}/libcupsfilters.a
%{_libdir}/libcupsfilters.so
%{_libdir}/pkgconfig/libcupsfilters.pc
%files common
%defattr(-,root,root)
%dir %{_datadir}/cups/banners
%{_datadir}/cups/banners/*
%dir %{_datadir}/cups/charsets
%{_datadir}/cups/charsets/*
%dir %{_datadir}/cups/data
%{_datadir}/cups/data/*
%dir %{_docdir}/libcupsfilters
%{_docdir}/libcupsfilters/*
%changelog
* Mon Oct 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- package created using the webbuild interface