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