]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - logrotate/logrotate.nm
glib2: Update to 2.39.4.
[people/ms/ipfire-3.x.git] / logrotate / logrotate.nm
CommitLineData
678c8194 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
678c8194
MT
4###############################################################################
5
802ea3af
MT
6name = logrotate
7version = 3.7.7
b1b61dee 8release = 3
678c8194 9
b1b61dee 10groups = System/Base
802ea3af
MT
11url = https://fedorahosted.org/releases/l/o/logrotate/
12license = GPL+
13summary = Rotates, compresses, removes and mails system log files.
678c8194 14
802ea3af 15description
678c8194
MT
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.
802ea3af
MT
21end
22
23source_dl =
24
25build
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
52end
53
54packages
55 package %{name}
b1b61dee 56 groups += Base
802ea3af 57 end
1f9bc2f0
MT
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
802ea3af 62end