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