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)

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

RevLine 
[2703]1Name:           @PACKAGE_NAME@
2Version:        @VERSION@
[2952]3Release:        1%{?_dist_release}
[2703]4License:        Vine Linux General Public License 4.0
5Group:          Applications/Documentation
[2858]6Source0:        %{name}-%{version}.tar.bz2
[2703]7BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[2736]8BuildArch:      noarch
[2703]9
10Vendor:         Project Vine
11Distribution:   Vine Linux
12Packager:       yasumichi
13
14Summary:        Common files for Vine Linux Online Manual
15Summary(ja):    Vine Linuxマニュアルのための共通ファイル
16
[2862]17# Dependency
18Obsoletes:      Vine-manual
19
[2703]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
[2706]33#%%{__make} %{?_smp_mflags}
[2703]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
[2707]44# after install
45%post
46vine-manual-index-update
47
[2703]48# File list
49%files
50%defattr(-,root,root)
51%doc AUTHORS COPYING ChangeLog NEWS README
[2830]52%config(noreplace) %{_datadir}/vine-manual-base/doc-list.csv
53%dir %{_datadir}/vine-manual-base
[2706]54%{_bindir}/vine-manual-index-update
55%{_bindir}/vine-manual-regist
[2862]56%{_docdir}/Vine
[2830]57%{_datadir}/vine-manual-base/index.html
[2734]58%{_datadir}/pkgconfig/vine-manual-base.pc
[2703]59
60# Change Log
61%changelog
[2858]62* Fri Mar 04 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.1-1
63- Use macro for Source0
[2862]64- Obsoletes Vine-manual
[2858]65
[2704]66* Fri Feb 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1-1
[2703]67- written first.
68
Note: See TracBrowser for help on using the repository browser.