[3995] | 1 | %bcond_with vine6 |
---|
| 2 | %if %with vine6 |
---|
| 3 | %define build_vine6 1 |
---|
| 4 | %define build_vineseed 0 |
---|
| 5 | %else |
---|
| 6 | %define build_vine6 0 |
---|
| 7 | %define build_vineseed 1 |
---|
| 8 | %define _vineseed .vineseed |
---|
| 9 | %endif |
---|
[521] | 10 | |
---|
| 11 | Summary: Sources.list file for plus category |
---|
| 12 | Summary(ja): plus カテゴリ用の sources.list ファイル |
---|
| 13 | Name: apt-sourceslist-plus |
---|
[3995] | 14 | Version: 1.3 |
---|
[3997] | 15 | Release: 1%{?_vineseed}%{?_dist_release} |
---|
[521] | 16 | Source0: sources.list-vineseed-plus |
---|
[3995] | 17 | Source1: sources.list-vine6-plus |
---|
[521] | 18 | License: GPL |
---|
| 19 | Group: Applications/Administration |
---|
| 20 | #URL: |
---|
| 21 | |
---|
| 22 | Requires: apt |
---|
| 23 | Obsoletes: apt < 0.5.15lorg3.94a-6 |
---|
| 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 25 | BuildArch: noarch |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | This package contains source.list file for plus category of Vine Plus. |
---|
| 30 | |
---|
| 31 | You should install this package if you want to install packages in |
---|
| 32 | plus category of Vine Plus. |
---|
| 33 | |
---|
| 34 | %description -l ja |
---|
| 35 | このパッケージには Vine Plus の plus カテゴリ用の source.list ファイル |
---|
| 36 | を含んでいます。 |
---|
| 37 | |
---|
| 38 | Vine Plus の plus カテゴリのパッケージをインストールする場合はこのパッ |
---|
| 39 | ケージをインストールしてください。 |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 44 | %{__mkdir_p} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d |
---|
| 45 | |
---|
| 46 | %if %{build_vineseed} |
---|
| 47 | %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/plus.list |
---|
[3995] | 48 | %elseif %{build_vine6} |
---|
[521] | 49 | %{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/plus.list |
---|
| 50 | %endif |
---|
| 51 | |
---|
| 52 | %clean |
---|
| 53 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-,root,root) |
---|
| 58 | %config(noreplace) %verify(not mtime) %{_sysconfdir}/apt/sources.list.d/plus.list |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %changelog |
---|
[3995] | 62 | * Mon May 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1 |
---|
| 63 | - add Vine Linux 6 list |
---|
| 64 | |
---|
| 65 | * Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-1 |
---|
| 66 | - update to Vine Linux 5.2 |
---|
| 67 | - change mirror list order |
---|
| 68 | |
---|
[521] | 69 | * Sat Feb 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1 |
---|
| 70 | - update to Vine Linux 5.1 |
---|
| 71 | |
---|
| 72 | * Fri Jul 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1 |
---|
| 73 | - build for Vine Linux 5 |
---|
| 74 | |
---|
| 75 | * Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-2 |
---|
| 76 | - add Obsoletes: apt < 0.5.15lorg3.94a-6 |
---|
| 77 | - add BuildArch: noarch |
---|
| 78 | |
---|
| 79 | * Sun Jan 25 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-1 |
---|
| 80 | - initial build for Vine Linux |
---|