Accepting request 38923 from Printing
checked in (request 38923) OBS-URL: https://build.opensuse.org/request/show/38923 OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=190
This commit is contained in:
committed by
Git OBS Bridge
parent
7a77500b0f
commit
474c9cb44b
12
cups.spec
12
cups.spec
@@ -236,10 +236,11 @@ make BUILDROOT=$RPM_BUILD_ROOT install
|
||||
install -d -m755 $RPM_BUILD_ROOT/etc/init.d
|
||||
# Source101: cups.init
|
||||
install -m755 %{SOURCE101} $RPM_BUILD_ROOT/etc/init.d/cups
|
||||
ln -sf ../../etc/init.d/cups $RPM_BUILD_ROOT/usr/sbin/rccups
|
||||
# Source103: cups.sysconfig
|
||||
install -d -m755 $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||
# Source103: cups.sysconfig
|
||||
install -m 644 %{SOURCE103} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.cups
|
||||
perl -pi -e "s:\@LIB\@:%{_libdir}:g" $RPM_BUILD_ROOT/etc/init.d/cups
|
||||
ln -sf ../../etc/init.d/cups $RPM_BUILD_ROOT/usr/sbin/rccups
|
||||
# Use Ghostscript fonts instead of CUPS fonts:
|
||||
rm -r $RPM_BUILD_ROOT/usr/share/cups/fonts
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/ghostscript/fonts
|
||||
@@ -248,11 +249,11 @@ ln -sf /usr/share/ghostscript/fonts $RPM_BUILD_ROOT/usr/share/cups/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/cups/ssl
|
||||
# Add a client.conf as template (Source108: cups-client.conf):
|
||||
install -m644 %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
|
||||
# Add D-BUS Configuration:
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
|
||||
install -m 644 -D packaging/cups-dbus.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/cups.conf
|
||||
# Source104: cups.xinetd
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
|
||||
install -m 644 -D %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
|
||||
perl -pi -e "s:\@LIB\@:%{_libdir}:g" $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
|
||||
# Make the libraries accessible also via generic named links:
|
||||
ln -sf libcupsimage.so.2 $RPM_BUILD_ROOT%{_libdir}/libcupsimage.so
|
||||
ln -sf libcups.so.2 $RPM_BUILD_ROOT%{_libdir}/libcups.so
|
||||
@@ -343,7 +344,7 @@ exit 0
|
||||
# installed in the build system regardless of an explicite
|
||||
# configure setting ' --with-pdftops=/usr/bin/pdftops',
|
||||
# see also http://www.cups.org/str.php?L3278).
|
||||
# When all mandatory files are explicitely listed,
|
||||
# When all mandatory files are explicitely listed.
|
||||
# the build fails intentionally if a mandatory file was not built
|
||||
# which ensures that already existing correctly built binary RPMs
|
||||
# are not overwritten by broken RPMs where mandatory files are missing.
|
||||
@@ -537,4 +538,3 @@ exit 0
|
||||
%doc %{_mandir}/man1/cups-config.1.gz
|
||||
|
||||
%changelog
|
||||
|
||||
|
Reference in New Issue
Block a user