package created using the webbuild interface [release 2.0.0-1mamba;Tue Oct 10 2023]
This commit is contained in:
parent
76b313eb05
commit
0352f3ebf7
@ -1,2 +1,4 @@
|
|||||||
# cups-browsed
|
# cups-browsed
|
||||||
|
|
||||||
|
A daemon for browsing the Bonjour broadcasts of shared, remote CUPS printers.
|
||||||
|
|
||||||
|
81
cups-browsed.spec
Normal file
81
cups-browsed.spec
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
Name: cups-browsed
|
||||||
|
Version: 2.0.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A daemon for browsing the Bonjour broadcasts of shared, remote CUPS printers
|
||||||
|
Group: System/Spooling
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/OpenPrinting/cups-browsed
|
||||||
|
Source: https://github.com/OpenPrinting/cups-browsed.git/%{version}/cups-browsed-%{version}.tar.bz2
|
||||||
|
License: Apache License 2.0
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libavahi-devel
|
||||||
|
BuildRequires: libavahi-glib-devel
|
||||||
|
BuildRequires: libcups-devel
|
||||||
|
BuildRequires: libcupsfilters-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libopenldap-devel
|
||||||
|
BuildRequires: libppd-devel
|
||||||
|
BuildRequires: libsystemd-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
A daemon for browsing the Bonjour broadcasts of shared, remote CUPS printers.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--with-cups-rundir=/run/cups \
|
||||||
|
--without-rcdir \
|
||||||
|
--with-browseremoteprotocols=DNSSD,CUPS
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
install -D -m0644 daemon/cups-browsed.service %{buildroot}%{_unitdir}/cups-browsed.service
|
||||||
|
install -d %{buildroot}%{_presetdir}
|
||||||
|
cat > %{buildroot}%{_presetdir}/50-cups-browsed.preset << _EOF
|
||||||
|
enable cups-browsed
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post
|
||||||
|
%systemd_post cups-browsed
|
||||||
|
:
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%systemd_preun cups-browsed
|
||||||
|
:
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%systemd_postun_with_restart cups-browsed
|
||||||
|
:
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) %{_sysconfdir}/cups/cups-browsed.conf
|
||||||
|
%{_prefix}/lib/cups/backend/implicitclass
|
||||||
|
%{_sbindir}/cups-browsed
|
||||||
|
%{_unitdir}/cups-browsed.service
|
||||||
|
%{_presetdir}/50-cups-browsed.preset
|
||||||
|
%dir %{_docdir}/cups-browsed
|
||||||
|
%{_docdir}/cups-browsed/*
|
||||||
|
%{_mandir}/man5/cups-browsed.conf.5*
|
||||||
|
%{_mandir}/man8/cups-browsed.8*
|
||||||
|
%doc AUTHORS COPYING LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Oct 10 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