]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - logrotate/logrotate.nm
xfsprogs: Update to 5.0.0
[people/stevee/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 6name = logrotate
32ca32bb
MT
7version = 3.9.1
8release = 1
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
32ca32bb
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,
678c8194 20 monthly or when the log file gets to a certain size.
802ea3af
MT
21end
22
32ca32bb 23source_dl = https://fedorahosted.org/releases/l/o/logrotate/
802ea3af
MT
24
25build
26 requires
27 coreutils
28 gzip
802ea3af
MT
29 popt-devel
30 which
31 end
32
33 build
32ca32bb 34 make RPM_OPT_FLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
802ea3af
MT
35 end
36
37 install
32ca32bb
MT
38 make install BASEDIR=%{prefix} PREFIX=%{BUILDROOT} \
39 MANDIR=%{mandir}
802ea3af 40
32ca32bb
MT
41 mkdir -pv %{BUILDROOT}%{localstatedir}
42 touch %{BUILDROOT}%{localstatedir}/logrotate.status
802ea3af
MT
43
44 # Creating directory for config files
32ca32bb 45 mkdir -pv %{BUILDROOT}%{sysconfdir}/logrotate.d
802ea3af
MT
46 end
47end
48
49packages
50 package %{name}
b1b61dee 51 groups += Base
802ea3af 52 end
1f9bc2f0
MT
53
54 package %{name}-debuginfo
55 template DEBUGINFO
56 end
802ea3af 57end