Revision 5648,
1.4 KB
checked in by Takemikaduchi, 13 years ago
(diff) |
arpscan, aslookup, audacity, black-box, bookview, bumprace, gimp-help, js: new upstream release
libsrtp, gstreamer-filters: new package
others: rebuild
|
Line | |
---|
1 | Name: apt-cron |
---|
2 | Version: 0.1 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Vendor: Project Vine |
---|
5 | Distribution: Vine Linux |
---|
6 | License: GPL |
---|
7 | Group: Applications/Administration |
---|
8 | Source0: apt-cron.init |
---|
9 | Source1: apt-cron.cron |
---|
10 | Source2: apt-cron.logrotate |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildArch: noarch |
---|
13 | Requires: apt |
---|
14 | Requires(pre): chkconfig |
---|
15 | Summary: Daily apt update |
---|
16 | |
---|
17 | %description |
---|
18 | Enable daily run of apt update by cron or anacron. |
---|
19 | |
---|
20 | %prep |
---|
21 | |
---|
22 | %build |
---|
23 | |
---|
24 | %install |
---|
25 | %__rm -rf %{buildroot} |
---|
26 | %__mkdir_p %{buildroot}/etc/rc.d/init.d/ |
---|
27 | %__install %{SOURCE0} %{buildroot}/etc/rc.d/init.d/apt-cron |
---|
28 | %__mkdir_p %{buildroot}/etc/cron.daily/ |
---|
29 | %__install %{SOURCE1} %{buildroot}/etc/cron.daily/apt-cron |
---|
30 | %__mkdir_p %{buildroot}/etc/logrotate.d/ |
---|
31 | %__install -m644 %{SOURCE2} %{buildroot}/etc/logrotate.d/apt-cron |
---|
32 | |
---|
33 | %clean |
---|
34 | %__rm -rf %{buildroot} |
---|
35 | |
---|
36 | %post |
---|
37 | /sbin/chkconfig --add apt-cron |
---|
38 | |
---|
39 | %preun |
---|
40 | if [ $1 = 0 ]; then |
---|
41 | /sbin/chkconfig --del apt-cron |
---|
42 | fi |
---|
43 | |
---|
44 | %files |
---|
45 | %defattr(-,root,root) |
---|
46 | /etc/rc.d/init.d/apt-cron |
---|
47 | /etc/cron.daily/apt-cron |
---|
48 | /etc/logrotate.d/apt-cron |
---|
49 | |
---|
50 | %changelog |
---|
51 | * Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1-2 |
---|
52 | - rebuild with Vine6 environment |
---|
53 | |
---|
54 | * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 0.1-1vl5 |
---|
55 | - applied new versioning policy |
---|
56 | |
---|
57 | * Sun Jul 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1-0vl2 |
---|
58 | - changed Group to Applications/Administration |
---|
59 | |
---|
60 | * Fri Jun 18 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 0.1-0vl1 |
---|
61 | - Initial build. |
---|
62 | |
---|
Note: See
TracBrowser
for help on using the repository browser.