]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - logrotate/logrotate.nm
glib2: Update to 2.39.4.
[people/ms/ipfire-3.x.git] / logrotate / logrotate.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = logrotate
7 version = 3.7.7
8 release = 3
9
10 groups = System/Base
11 url = https://fedorahosted.org/releases/l/o/logrotate/
12 license = GPL+
13 summary = Rotates, compresses, removes and mails system log files.
14
15 description
16 The logrotate utility is designed to simplify the administration of \
17 log files on a system which generates a lot of log files. Logrotate \
18 allows for the automatic rotation compression, removal and mailing of \
19 log files. Logrotate can be set to handle a log file daily, weekly, \
20 monthly or when the log file gets to a certain size.
21 end
22
23 source_dl =
24
25 build
26 requires
27 coreutils
28 gzip
29 libselinux-devel
30 popt-devel
31 which
32 end
33
34 build
35 make RPM_OPT_FLAGS="%{CFLAGS}" WITH_SELINUX=yes %{PARALLELISMFLAGS}
36 end
37
38 test
39 make test
40 end
41
42 install
43 make install BASEDIR=/usr PREFIX=%{BUILDROOT} \
44 MANDIR=/usr/share/man
45
46 mkdir -pv %{BUILDROOT}/var/lib
47 touch %{BUILDROOT}/var/lib/logrotate.status
48
49 # Creating directory for config files
50 mkdir -pv %{BUILDROOT}/etc/logrotate.d
51 end
52 end
53
54 packages
55 package %{name}
56 groups += Base
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62 end