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

Revision 521, 1.4 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
3Summary:        Sources.list file for test category
4Summary(ja):    test カテゴリ用の sources.list ファイル
5Name:           apt-sourceslist-test
6Version:        0.1
7Release:        2%{?_dist_release}
8Source0:        sources.list-vineseed-test
9License:        GPL
10Group:          Applications/Administration
11#URL:           
12
13Requires:       apt
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildArch:      noarch
16
17
18%description
19This package contains source.list file for test category of VineSeed.
20
21You should install this package if you want to install test packages
22of VineSeed.
23
24%description -l ja
25このパッケージには VineSeed の test カテゴリ用の source.list ファイル
26を含んでいます。
27
28VineSeed の Test パッケージをインストールする場合はこのパッケージを
29インストールしてください。
30
31
32%install
33%{__rm} -rf ${RPM_BUILD_ROOT}
34%{__mkdir_p} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d
35
36%if %{build_vineseed}
37%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/test.list
38%endif
39
40%clean
41%{__rm} -rf ${RPM_BUILD_ROOT}
42
43
44%files
45%defattr(-,root,root)
46%config(noreplace) %verify(not mtime) %{_sysconfdir}/apt/sources.list.d/test.list
47
48
49%changelog
50* Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-2
51- add BuildArch: noarch
52
53* Sun Jan 25 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-1
54- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.