package created using the webbuild interface [release 2.0.0-1mamba;Mon Oct 09 2023]
This commit is contained in:
parent
8ae55e929e
commit
b761817825
84
libppd.spec
Normal file
84
libppd.spec
Normal file
@ -0,0 +1,84 @@
|
||||
Name: libppd
|
||||
Version: 2.0.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
|
||||
## 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}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%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
|
||||
* Mon Oct 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user