libcupsfilters/libcupsfilters.spec

98 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: libcupsfilters
Version: 2.1.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-turbo
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}"
%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
* Fri Oct 18 2024 Automatic Build System <autodist@openmamba.org> 2.1.0-1mamba
- automatic version update by autodist
* Mon Oct 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- package created using the webbuild interface