source: projects/vine-manual-base/trunk/vine-manual-base.spec.in @ 2952

Revision 2952, 1.4 KB checked in by yasumichi, 12 years ago (diff)

リリースにディストリビューションのリリース番号をつけるように変更

Line 
1Name:           @PACKAGE_NAME@
2Version:        @VERSION@
3Release:        1%{?_dist_release}
4License:        Vine Linux General Public License 4.0
5Group:          Applications/Documentation
6Source0:        %{name}-%{version}.tar.bz2
7BuildRoot:      %{_tmppath}/%{name}-%{version}-root
8BuildArch:      noarch
9
10Vendor:         Project Vine
11Distribution:   Vine Linux
12Packager:       yasumichi
13
14Summary:        Common files for Vine Linux Online Manual
15Summary(ja):    Vine Linuxマニュアルのための共通ファイル
16
17# Dependency
18Obsoletes:      Vine-manual
19
20%description
21Common files for Vine Linux Online Manual
22
23%description -l ja
24Vine Linuxマニュアルのための共通ファイルを提供します。
25
26# Prepare
27%prep
28%setup -q
29
30# Build
31%build
32%configure
33#%%{__make} %{?_smp_mflags}
34
35# Install
36%install
37%{__rm} -rf ${RPM_BUILD_ROOT}
38%{__make} install DESTDIR=${RPM_BUILD_ROOT}
39
40# Clean
41%clean
42%{__rm} -rf ${RPM_BUILD_ROOT}
43
44# after install
45%post
46vine-manual-index-update
47
48# File list
49%files
50%defattr(-,root,root)
51%doc AUTHORS COPYING ChangeLog NEWS README
52%config(noreplace) %{_datadir}/vine-manual-base/doc-list.csv
53%dir %{_datadir}/vine-manual-base
54%{_bindir}/vine-manual-index-update
55%{_bindir}/vine-manual-regist
56%{_docdir}/Vine
57%{_datadir}/vine-manual-base/index.html
58%{_datadir}/pkgconfig/vine-manual-base.pc
59
60# Change Log
61%changelog
62* Fri Mar 04 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.1-1
63- Use macro for Source0
64- Obsoletes Vine-manual
65
66* Fri Feb 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1-1
67- written first.
68
Note: See TracBrowser for help on using the repository browser.