source: projects/specs/branches/6/a/apt-cron/apt-cron-vl.spec @ 5648

Revision 5648, 1.4 KB checked in by Takemikaduchi, 12 years ago (diff)

arpscan, aslookup, audacity, black-box, bookview, bumprace, gimp-help, js: new upstream release
libsrtp, gstreamer-filters: new package
others: rebuild

Line 
1Name: apt-cron
2Version: 0.1
3Release: 2%{?_dist_release}
4Vendor: Project Vine
5Distribution: Vine Linux
6License: GPL
7Group: Applications/Administration
8Source0: apt-cron.init
9Source1: apt-cron.cron
10Source2: apt-cron.logrotate
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12BuildArch: noarch
13Requires: apt
14Requires(pre): chkconfig
15Summary: Daily apt update
16
17%description
18Enable 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
40if [ $1 = 0 ]; then
41    /sbin/chkconfig --del apt-cron
42fi
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.