source: projects/specs/trunk/l/logrotate/logrotate-vl.spec @ 8851

Revision 8851, 6.6 KB checked in by Takemikaduchi, 10 years ago (diff)

alsa, mc: new upstream release
others: rebuild

Line 
1Summary: Rotates, compresses, removes and mails system log files.
2Summary(ja): システムのログファイルを圧縮/削除するプログラム
3Name: logrotate
4Version: 3.8.6
5Release: 2%{?_dist_release}
6License: GPL
7Group: System Environment/Base
8Url: https://fedorahosted.org/logrotate/
9
10Source: https://fedorahosted.org/releases/l/o/logrotate/logrotate-%{version}.tar.gz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: popt-devel
14Requires: coreutils >= 5.92
15Requires: popt
16
17%description
18The logrotate utility is designed to simplify the administration of
19log files on a system which generates a lot of log files.  Logrotate
20allows for the automatic rotation compression, removal and mailing of
21log files.  Logrotate can be set to handle a log file daily, weekly,
22monthly or when the log file gets to a certain size.  Normally,
23logrotate runs as a daily cron job.
24
25Install the logrotate package if you need a utility to deal with the
26log files on your system.
27
28%description -l ja
29logrotate ユーティリティは,ログファイルを大量に生成するシステムでの
30ログファイル管理を楽にする目的で作られています.
31logrotate はログファイルを古いものから順にリネームしたり,
32圧縮したり,メールで送ったりすることが出来ます.
33logrotate の処理は,毎日/毎週/毎月といった単位でも設定出来ますし,
34ログファイルが一定サイズに達した時に処理する様にすることも出来ます.
35通常は logrotate は cron によって毎日実行される様になっています.
36
37システム上のログファイルを管理するツールが必要なら
38logrotate パッケージをインストールして下さい.
39
40%prep
41%setup -q
42
43%build
44make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
45
46%install
47rm -rf $RPM_BUILD_ROOT
48make PREFIX=$RPM_BUILD_ROOT BINDIR=%{_sbindir} MANDIR=%{_mandir} install
49mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
50mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
51mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib
52
53install -m 644 examples/logrotate-default $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.conf
54install -m 755 examples/logrotate.cron $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/logrotate
55touch $RPM_BUILD_ROOT%{_localstatedir}/lib/logrotate.status
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(-,root,root)
62%doc CHANGES
63%attr(0755, root, root) %{_sbindir}/logrotate
64%attr(0644, root, root) %{_mandir}/man8/logrotate.8*
65%attr(0644, root, root) %{_mandir}/man5/logrotate.conf.5*
66%attr(0755, root, root) %{_sysconfdir}/cron.daily/logrotate
67%attr(0644, root, root) %config(noreplace) %{_sysconfdir}/logrotate.conf
68%attr(0755, root, root) %dir %{_sysconfdir}/logrotate.d
69%attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) %{_localstatedir}/lib/logrotate.status
70
71%changelog
72* Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.6-1
73- rebuild with VineSeed environment
74
75* Thu Oct 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8.6-1
76- new upstream release
77
78* Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.7.9-1
79- new upstream release
80- add Url
81- add patches from fedora
82  - fix #688520 - fixed CVE-2011-1154, CVE-2011-1155 and CVE-2011-1098
83  - fix #671926 - fixed crash when tabooext is used in config file
84  - fix #661181 - fixed SIGBUS when config file is empty or 4096 bytes
85  - fix #666677 - preserve ACLs when rotating files
86  - fix #644309 - mention all logrotate params in man page
87  - fix #638629 - better size directive description
88  - fixed AUTHORS in man page
89
90* Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7.7-1
91- new upstream release
92- spec in UTF-8
93
94* Wed Jun  7 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7.4-1vl1
95- based on 3.7.4-1 from Rawhide
96  * Wed May 17 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-1
97  - add new "minsize" option (#173088)
98  * Tue Mar 28 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.3-3
99  - correct man page "extension" option description  (#185318)
100  * Mon Nov 07 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-11
101  - man description for "nodateext" option (#171577)
102  - remove not working "pattern" option (#171577)
103  * Wed Sep 07 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-3
104  - even when sharedscript option used, do postrotate
105    script before compress (#167575)
106  * Wed Aug 17 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-2
107  - allow yearly rotations(#134612)
108  * Wed Jun 22 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-12
109  - enhance logrotate with "dateext", "maxage"
110
111* Fri Apr 11 2003 Ryoichi INAGAKI <ryo1@ueda.info.waseda.ac.jp> 3.6.8-1vl1
112- based on 3.6.8-1 from Rawhide
113- add Requires, BuildRequires popt
114  * Mon Jan 20 2003 Elliot Lee <sopwith@redhat.com> 3.6.8-1
115  - Old patch from pm@debian.org
116  * Tue Jan 14 2003 Elliot Lee <sopwith@redhat.com> 3.6.7-1
117  - Fixes from bugzilla
118  * Fri Nov 15 2002 Elliot Lee <sopwith@redhat.com> 3.6.6-1
119  - Commit patch from Fidelis Assis <fidelis@embratel.net.br>
120  * Thu Jun 20 2002 Elliot Lee <sopwith@redhat.com> 3.6.5-1
121  - Commit fix for #65299
122  * Mon Apr 15 2002 Elliot Lee <sopwith@redhat.com> 3.6.4-1
123  - Commit fix for #62560
124  * Wed Mar 13 2002 Elliot Lee <sopwith@redhat.com> 3.6.3-1
125  - Apply various bugfix patches from the openwall people
126  * Tue Jan 29 2002 Elliot Lee <sopwith@redhat.com> 3.6.2-1
127  - Fix bug #55809 (include logrotate.status in %files)
128  - Fix bug #58328 (incorrect error detection when reading state file)
129  - Allow 'G' size specifier from bug #57242
130  * Wed Nov 28 2001 Preston Brown <pbrown@redhat.com> 3.6-1
131  - patch from Alexander Kourakos <awk@awks.org> to stop the shared
132    postrotate/prerotate scripts from running if none of the log(s) need
133    rotating.  All log files are now checked for rotation in one batch,
134    rather than sequentially.
135  - more fixes from Paul Martin <pm@debian.org>
136
137* Thu Oct  4 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp> 3.5.4-1vl2
138- added noreplace flag (%%config file is not replaced)
139
140* Sun Jan 14 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
141- 3.5.4-1vl1
142- based on 3.5.4-1 from Rawhide
143- use better macros (%%{_tmppath}, %%{_sbindir})
144- added Japanese summary and description
145
146* Thu Jan  4 2001 Bill Nottingham <notting@redhat.com>
147- %defattr
148
149* Wed Jan 03 2001 Preston Brown <pbrown@redhat.com>
150- see CHANGES
151
152* Tue Aug 15 2000 Erik Troan <ewt@redhat.com>
153- see CHANGES
154
155* Sun Jul 23 2000 Erik Troan <ewt@redhat.com>
156- see CHANGES
157
158* Tue Jul 11 2000 Erik Troan <ewt@redhat.com>
159- support spaces in filenames
160- added sharedscripts
161
162* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
163- use %%{_mandir} for man pages
164
165* Thu Feb 24 2000 Erik Troan <ewt@redhat.com>
166- don't rotate lastlog
167
168* Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
169- gzipped manpages
Note: See TracBrowser for help on using the repository browser.