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.
20 source_dl = http://ftp.easysw.com/pub/cups/%{version}/
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
79 requires = ghostscript
85 requires += %{name}-libs=%{thisver}