1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Applications/Printing
11 url = http://cups.org/software.php
13 summary = The common UNIX printing system.
16 CUPS is the standards-based, open source printing system developed \
17 by Apple Inc. for Mac OS(R) X and other UNIX(R)-like operating systems.
21 sources = %{thisapp}-source.tar.bz2
46 configure_options += \
48 --localstatedir=/var \
49 --with-log-file-perm=0600 \
58 aclocal -I config-scripts
59 autoconf -I config-scripts
63 make install BUILDROOT=%{BUILDROOT}
65 # Remove sysvinit scripts
66 rm -vfr %{BUILDROOT}/etc/init.d/cups %{BUILDROOT}/etc/rc*.d
68 mkdir -pv %{BUILDROOT}/etc/cups
69 cp -vf %{DIR_APP}/conf/cupsd.conf %{BUILDROOT}/etc/cups/
72 mkdir -pv %{BUILDROOT}/etc/logrotate.d/
73 cp -vf %{DIR_SOURCE}/cups.logrotate %{BUILDROOT}/etc/logrotate.d/cups
78 # This line has to be added at the installation of cups.
79 # File: /lib/udev/rules.d/99-systemd.rules
80 # Line: SUBSYSTEM=="usb", ATTR{serial}=="AL01077498", TAG+="systemd", ENV{SYSTEMD_WANTS}="cups.service"
84 requires = ghostscript