libppd/libppd.spec

87 lines
2.1 KiB
RPMSpec
Raw Normal View History

Name: libppd
Version: 2.1.0
Release: 1mamba
Summary: OpenPrinting ppd library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/OpenPrinting/libppd
Source: https://github.com/OpenPrinting/libppd.git/%{version}/libppd-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcups-devel
BuildRequires: libcupsfilters-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: %{name}-common = %{?epoch:%epoch:}%{version}-%{release}
%description
OpenPrinting ppd library.
%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}/libppd.so.*
%doc AUTHORS COPYING LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/ppd
%{_includedir}/ppd/*.h
%{_libdir}/libppd.a
%{_libdir}/libppd.so
%{_libdir}/pkgconfig/libppd.pc
%doc README.md
%files common
%defattr(-,root,root)
%dir %{_datadir}/ppdc
%{_datadir}/ppdc/*
%dir %{_docdir}/libppd
%{_docdir}/libppd/*
%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