source: projects/specs/trunk/t/tmpwatch/tmpwatch-vl.spec @ 8191

Revision 8191, 6.9 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary: A utility for removing files based on when they were last accessed.
2Summary(ja): 古いものから順にファイルを削除するユーティリティ
3Name: tmpwatch
4Version: 2.11
5Release: 1%{?_dist_release}
6
7Group: System Environment/Base
8License: GPLv2
9URL: https://fedorahosted.org/tmpwatch/
10
11Source0: %{name}-%{version}.tar.bz2
12Source1: tmpwatch.daily
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15Requires: psmisc
16
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21The tmpwatch utility recursively searches through specified
22directories and removes files which have not been accessed in a
23specified period of time.  Tmpwatch is normally used to clean up
24directories which are used for temporarily holding files (for example,
25/tmp).  Tmpwatch ignores symlinks, won't switch filesystems and only
26removes empty directories and regular files.
27
28%description -l ja
29tmpwatch ユーティリティは,指定したディレクトリを再帰的に調べ,
30一定期間アクセスされていないファイルを削除するプログラムです.
31tmpwatch は通常一時保存ファイルを置くディレクトリ (例えば /tmp)
32を整理するのに使われます.tmpwatch はシンボリックリンクの削除や
33ファイルシステムを跨いだ削除は行いません.削除対象は空のディレクトリと
34通常ファイルのみです.
35
36
37%prep
38%setup -q
39
40%build
41%configure
42make %{?_smp_mflags}
43
44%install
45[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
46make DESTDIR=%{buildroot} SBINDIR=%{_sbindir} MANDIR=%{_mandir} install
47
48mkdir -p %{buildroot}/etc/cron.daily
49cp %{SOURCE1} %{buildroot}/etc/cron.daily/tmpwatch
50chmod +x %{buildroot}/etc/cron.daily/tmpwatch
51
52%clean
53[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
54
55%files
56%defattr(-,root,root)
57%doc ChangeLog NEWS README
58%{_sbindir}/tmpwatch
59%{_mandir}/man8/tmpwatch.8*
60%config(noreplace) /etc/cron.daily/tmpwatch
61
62%changelog
63* Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.11-1
64- new upstream release
65
66* Sat Mar 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.1-1
67- new upstream release
68
69* Wed Apr 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.14-1
70- new upstream release
71- spec in utf-8
72
73* Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.9.13-1
74- new upstream release
75- added %%doc section
76- added URL:
77
78* Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.9.11-1vl1
79- updated tmpwatch-2.9.11 based on Fedora
80  * Sat Mar 31 2007 Miloslav Trmac <mitr@redhat.com> - 2.9.11-1
81  - Fix a misleading message in --test
82    Resolves: 234596
83  - Compress the tarball using bzip2
84  - Move the cron.daily script to a separate source file
85
86* Mon Jun 13 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.9.3-1vl1
87- updated tmpwatch-2.9.3-1 based on Fedora
88  * Sat Apr 16 2005 Miloslav Trmac <mitr@redhat.com> - 2.9.3-1
89  - Silently ignore ENOENT if somebody removes files faster than us (#154960)
90  - Handle failures to exec fuser
91  - Fix check for negative grace periods
92  * Wed Dec 22 2004 Miloslav Trmac <mitr@redhat.com> - 2.9.2-1
93  - Mention skipping of lost+found in the man page (#143526)
94  * Sat Aug 14 2004 Miloslav Trmac <mitr@redhat.com> - 2.9.1-1
95  - Add --exclude, use it to preserve X socket directories (#107069)
96  - Allow multiple directory arguments with relative paths (#91097)
97  - Don't manually strip the binary
98
99* Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.9.0-2vl1
100- updated tmpwatch-2.9.0 based on Fedora
101- rebuild with new toolchains
102- s/Copyright/License/
103
104* Thu Jan 17 2002 Satoshi MACHINO <machino@vinelinux.org> 2.8.1-1vl1
105- updated tmpwatch-2.8.1
106    -- cron script fix (#52785) from RHBA-2001-104
107    -- changed noreplace of /etc/cron.daily/tmpwatch
108- removed Makefile.patch (merged upstream) :)
109- fixed %install in spec file
110
111* Wed Apr 25 2001 <sagami@vinelinux.org>
112- 2.6.2-2vl2: added ja/cat? definition to cron.daily/tmpwatch script
113
114* Fri Jan 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
115- 2.6.2-2vl1
116- based on 2.6.2-2 from Rawhide
117- use better macros (Patch100, %%{_sbindir})
118- added Japanese summary and description
119
120* Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
121- increased interval for removal to 30 days for /var/tmp per FHS (#19951)
122
123* Tue Sep 12 2000 Nalin Dahyabhai <nalin@redhat.com>
124- use execle() instead of system() to get the correct return code, fixes from
125  Jeremy Katz <katzj@linuxpower.org>
126
127* Thu Sep  7 2000 Nalin Dahyabhai <nalin@redhat.com>
128- rework to not have to fork() (#17286)
129- set utime() after we're done reading a directory
130
131* Sat Jun 17 2000 Matt Wilson <msw@redhat.com>
132- defattr
133
134* Tue Jun 13 2000 Preston Brown <pbrown@redhat.com>
135- FHS compliance
136
137* Thu May 18 2000 Preston Brown <pbrown@redhat.com>
138- don't complain about failure to remove non-empty directories.
139- fix man page path
140
141* Wed May 17 2000 Preston Brown <pbrown@redhat.com>
142- support /var/cache/man and /var/catman (FHS 2.1 compliance).
143
144* Fri May 05 2000 Preston Brown <pbrown@redhat.com>
145- support for CTIME from jik@kamens.brookline.ma.us
146- fixes for fuser checks from Ian Burrell <iburrell@digital-integrity.com>.
147- remove directories when empty without --all flag, to be consistent w/docs.
148
149* Mon Feb 14 2000 Preston Brown <pbrown@redhat.com>
150- option to use fuser to see if file in use before removing
151
152* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
153- fix description
154- man pages are compressed
155
156* Tue Jan 18 2000 Preston Brown <pbrown@redhat.com>
157- null terminal opt struct (#7836)
158- test flag implies verbose (#2383)
159
160* Wed Jan 12 2000 Paul Gear <paulgear@bigfoot.com>
161- HP-UX port (including doco update)
162- Tweaked Makefile to allow installation into different base directory
163- Got rid of GETOPT_... defines which didn't do anything, so that short
164  equivalents for all long options could be defined.
165- Fixed bug in message() where 'where' file handle was set but unused
166- Changed most fprintf() calls to message()
167
168* Mon Aug 30 1999 Preston Brown <pbrown@redhat.com>
169- skip lost+found directories
170- option to use file's atime instead of mtime (# 4178)
171
172* Mon Jun  7 1999 Jeff Johnson <jbj@redhat.com>
173- cleanup more man pages, this time adding in cvs (#224).
174
175* Thu Apr 08 1999 Preston Brown <pbrown@redhat.com>
176- I am the new maintainer
177- fixed cleanup of directories
178- added --quiet flag
179- freshen manpage
180- nice patch from Kevin Vajk <kvajk@ricochet.net> integrated
181
182* Wed Jun 10 1998 Erik Troan <ewt@redhat.com>
183- make /etc/cron.daily/tmpwatch executable
184
185* Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
186- version 1.5
187- fixed flags passing
188- cleaned up message()
189
190* Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
191- added man page to package
192- uses a buildroot and %attr
193- fixed error message generation for directories
194- fixed flag propagation
195
196* Mon Mar 24 1997 Erik Troan <ewt@redhat.com>
197- Don't follow symlinks which are specified on the command line
198- Added a man page
199
200* Sun Mar 09 1997 Erik Troan <ewt@redhat.com>
201- Rebuilt to get right permissions on the Alpha (though I have no idea
202  how they ended up wrong).
Note: See TracBrowser for help on using the repository browser.