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

Revision 2707, 1.2 KB checked in by yasumichi, 13 years ago (diff)

rpmでのインストール後に目次ファイルの更新を行うように変更

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