source: projects/vine-rescue-guide/trunk/vine-rescue-guide.spec.in @ 4595

Revision 4595, 1.3 KB checked in by yasumichi, 13 years ago (diff)

Vine Linux レスキューモード利用ガイドの雛形をインポート

RevLine 
[4595]1Name:           @PACKAGE_NAME@
2Version:        @VERSION@
3Release:        1%{?_dist_release}
4License:        GFDL
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:        Summary of vine-rescue-guide
15Summary(ja):    vine-rescue-guide の概要
16
17# Dependency
18Obsoletes:      Vine-manual
19Requires:       vine-manual-base
20
21BuildRequires:  vine-manual-base
22BuildRequires:  vine-manual-build
23
24%description
25Description of vine-rescue-guide
26
27%description -l ja
28vine-rescue-guide の詳細な説明
29
30# Prepare
31%prep
32%setup -q
33
34# Build
35%build
36%configure
37%{__make} html
38
39# Install
40%install
41%{__rm} -rf ${RPM_BUILD_ROOT}
42%{__make} install DESTDIR=${RPM_BUILD_ROOT}
43%{__make} install-html DESTDIR=${RPM_BUILD_ROOT}
44
45# Clean
46%clean
47%{__rm} -rf ${RPM_BUILD_ROOT}
48
49# after install
50%post
51scrollkeeper-update > /dev/null 2>&1 || :
52vine-manual-regist -p 20 %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html
53vine-manual-index-update
54
55%postun
56if [ $1 -eq 0 ]; then
57        scrollkeeper-update > /dev/null 2>&1 || :
58        vine-manual-regist -r %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html
59        vine-manual-index-update
60fi
61
62# File list
63%files
64%defattr(-,root,root)
65%doc AUTHORS COPYING ChangeLog NEWS README
66%{_docdir}/Vine/rescue-guide
67%{_datadir}/omf/vine-rescue-guide
68
69# Change Log
70%changelog
71
Note: See TracBrowser for help on using the repository browser.