source: projects/specs/trunk/a/apt-sourceslist-nonfree/apt-sourceslist-nonfree-vl.spec @ 521

Revision 521, 2.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define build_vineseed %(grep -c VineSeed /etc/vine-release)
2%define build_vine5 %( [ "%{?_dist_release}" == "vl5" ] && echo 1 || echo 0)
3
4Summary:        Sources.list file for nonfree category
5Summary(ja):    nonfree カテゴリ用の sources.list ファイル
6Name:           apt-sourceslist-nonfree
7Version:        1.1
8Release:        1%{?_dist_release}
9Source0:        sources.list-vineseed-nonfree
10Source1:        sources.list-vine5-nonfree
11License:        GPL
12Group:          Applications/Administration
13#URL:           
14
15Requires:       apt
16Obsoletes:      apt < 0.5.15lorg3.94a-6
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18BuildArch:      noarch
19
20%description
21This package contains source.list file for nonfree category of Vine Plus.
22
23You should install this package if you want to install packages in
24nonfree category of Vine Plus.
25
26%description -l ja
27このパッケージには Vine Plus の nonfree カテゴリ用の source.list ファイル
28を含んでいます。
29
30Vine Plus の nonfree カテゴリのパッケージをインストールする場合はこのパッ
31ケージをインストールしてください。
32
33
34%install
35%{__rm} -rf ${RPM_BUILD_ROOT}
36%{__mkdir_p} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d
37
38%if %{build_vineseed}
39%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/nonfree.list
40%elseif %{build_vine5}
41%{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/nonfree.list
42%endif
43
44%clean
45%{__rm} -rf ${RPM_BUILD_ROOT}
46
47
48%files
49%defattr(-,root,root)
50%config(noreplace) %verify(not mtime) %{_sysconfdir}/apt/sources.list.d/nonfree.list
51
52
53%changelog
54* Sat Feb 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
55- update to Vine Linux 5.1
56
57* Sun Sep 27 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0-2
58- bump release number for VineSeed
59
60* Fri Jul 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
61- build for Vine Linux 5
62
63* Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-2
64- add Obsoletes: apt < 0.5.15lorg3.94a-6
65- add BuildArch: noarch
66
67* Sun Jan 25 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-1
68- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.