[521] | 1 | Name: cron-apt |
---|
| 2 | Version: 0.0.20 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Vendor: Project Vine |
---|
| 5 | Distribution: Vine Linux |
---|
| 6 | License: GPL |
---|
| 7 | Group: Applications/Administration |
---|
| 8 | Source0: ftp://ftp.debian.org/debian/pool/main/c/cron-apt/cron-apt_%{version}.tar.gz |
---|
| 9 | Patch0: cron-apt-docbook.patch |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildArch: noarch |
---|
| 12 | Requires: apt bash mailx |
---|
| 13 | BuildPreReq: docbook-utils |
---|
| 14 | Summary: Automatic update of packages using apt |
---|
| 15 | Summary(ja): apt を用いてパッケージを自動でアップデートする |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | This package contains a tool that is run by a cron job at regular |
---|
| 19 | intervals. By default it just updates the package list and download |
---|
| 20 | new packages without installing. You can instruct it to run anything |
---|
| 21 | that you can do with apt-get. |
---|
| 22 | |
---|
| 23 | It also sends mail (configurable) to the system administrator on |
---|
| 24 | errors. |
---|
| 25 | |
---|
| 26 | Observe that this tool is a security risk, so you should not set it to |
---|
| 27 | do more than necessary (automatic upgrade of all packages is NOT |
---|
| 28 | recommended). |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | このパッケージは一定の間隔で cron job により実行されるツールです。初期 |
---|
| 32 | 設定ではパッケージリストを更新し、インストールせずに新パッケージをダウ |
---|
| 33 | ンロードするだけです。apt-get と共に用いられる他の何かを実行するように |
---|
| 34 | 指示することも可能です。 |
---|
| 35 | |
---|
| 36 | また、本パッケージはエラー時には管理者にメールを送るように設定できます。 |
---|
| 37 | |
---|
| 38 | 本ツールはセキュリティホールとなる危険があることに注意し、必要以外のこ |
---|
| 39 | とを行わないように設定してください。 (自動的に全パッケージをアップグレー |
---|
| 40 | ドすることは推奨されません。) |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q -n %{name} |
---|
| 44 | %patch0 -p1 |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | %__make |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | %__rm -rf %{buildroot} |
---|
| 51 | %makeinstall DESTDIR=%{buildroot} |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | %__rm -rf %{buildroot} |
---|
| 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-,root,root) |
---|
| 58 | %doc COPYING debian/README.Debian debian/changelog |
---|
| 59 | %{_docdir}/cron-apt |
---|
| 60 | %{_mandir}/man?/* |
---|
| 61 | %{_sysconfdir}/cron-apt |
---|
| 62 | %{_sysconfdir}/cron.d/* |
---|
| 63 | %{_sysconfdir}/logrotate.d/* |
---|
| 64 | %{_sbindir}/* |
---|
| 65 | %dir %{_var}/log/cron-apt |
---|
| 66 | |
---|
| 67 | %changelog |
---|
| 68 | * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.20-1vl5 |
---|
| 69 | - applied new versioning policy, spec in utf-8 |
---|
| 70 | |
---|
| 71 | * Sun Jul 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.20-0vl2 |
---|
| 72 | - changed Group to Applications/Administration |
---|
| 73 | |
---|
| 74 | * Tue Jun 22 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 0.0.20-0vl1 |
---|
| 75 | - Initial build. |
---|
| 76 | |
---|