]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - cups/cups.nm
glib2: Update to 2.39.4.
[people/ms/ipfire-3.x.git] / cups / cups.nm
CommitLineData
c1243c0f 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
c1243c0f
SS
4###############################################################################
5
802ea3af 6name = cups
1f9b7ef8
KB
7version = 1.6.1
8release = 1
c1243c0f 9
802ea3af
MT
10groups = Applications/Printing
11url = http://cups.org/software.php
12license = GPLv2+
13summary = The common UNIX printing system.
c1243c0f 14
802ea3af 15description
c1243c0f 16 CUPS is the standards-based, open source printing system developed \
b38b08f1 17 by Apple Inc. for Mac OS(R) X and other UNIX(R)-like operating systems.
802ea3af
MT
18end
19
98cf9989 20source_dl = http://ftp.easysw.com/pub/cups/%{version}/
802ea3af
MT
21sources = %{thisapp}-source.tar.bz2
22
23build
24 requires
25 audit-devel
26 autoconf
27 automake
28 avahi-devel
29 cyrus-sasl-devel
30 gcc-c++
31 ghostscript
32 gnutls-devel
33 libgcrypt-devel
34 libjpeg-devel
35 libpng-devel
36 libselinux-devel
37 libtasn1-devel
38 libtiff-devel
39 openldap-devel
40 pam-devel
41 perl
42 python
43 zlib-devel
44 end
45
46 configure_options += \
47 --sysconfdir=/etc \
48 --localstatedir=/var \
49 --with-log-file-perm=0600 \
50 --enable-pie \
51 --enable-relro \
52 --enable-avahi \
53 --enable-lspp \
54 --enable-threads \
55 --enable-gnutls
56
57 prepare_cmds
58 aclocal -I config-scripts
59 autoconf -I config-scripts
60 end
61
62 install
63 make install BUILDROOT=%{BUILDROOT}
64
65 # Remove sysvinit scripts
66 rm -vfr %{BUILDROOT}/etc/init.d/cups %{BUILDROOT}/etc/rc*.d
67
68 mkdir -pv %{BUILDROOT}/etc/cups
69 cp -vf %{DIR_APP}/conf/cupsd.conf %{BUILDROOT}/etc/cups/
70
71 # Logrotate
72 mkdir -pv %{BUILDROOT}/etc/logrotate.d/
73 cp -vf %{DIR_SOURCE}/cups.logrotate %{BUILDROOT}/etc/logrotate.d/cups
74 end
75end
76
802ea3af
MT
77packages
78 package %{name}
79 requires = ghostscript
80 end
1f9bc2f0 81
802ea3af
MT
82 package %{name}-devel
83 template DEVEL
98cf9989
MT
84
85 requires += %{name}-libs=%{thisver}
802ea3af 86 end
1f9bc2f0 87
802ea3af
MT
88 package %{name}-libs
89 template LIBS
90 end
1f9bc2f0
MT
91
92 package %{name}-debuginfo
93 template DEBUGINFO
94 end
802ea3af 95end