source: projects/install-guide/branches/6.x/vine-install-guide.spec.in @ 2807

Revision 2807, 1.7 KB checked in by yasumichi, 13 years ago (diff)

HTML形式対応

Line 
1Name:           @PACKAGE_NAME@
2Version:        @VERSION@
3Release:        1
4License:        GFDL
5Group:          Applications/Documentation
6Source0:        @PACKAGE_NAME@-@VERSION@.tar.bz2
7BuildRoot:      %{_tmppath}/%{name}-%{version}-root
8BuildArch:      noarch
9
10Vendor:         Project Vine
11Distribution:   Vine Linux
12Packager:       yasumichi
13
14Summary:        Install guide for Vine Linux
15Summary(ja):    Vine Linux インストールガイド
16
17%description
18Install guide for Vine Linux
19
20%description -l ja
21Vine Linux インストールガイド
22
23# Dependency
24Requires:       vine-manual-base
25BuildRequires:  vine-manual-base
26BuildRequires:  vine-manual-build
27
28%package html
29Summary:        Install guide for Vine Linux (html)
30Summary(ja):    Vine Linux インストールガイド(HTML形式)
31Requires:       %{name} = %{version}
32
33%description html
34Install guide for Vine Linux (html)
35
36%description -l ja html
37Vine Linux インストールガイド(HTML形式)
38
39# Prepare
40%prep
41%setup -q
42
43# Build
44%build
45%configure
46#%%{__make} %{?_smp_mflags}
47%{__make} html
48
49# Install
50%install
51%{__rm} -rf ${RPM_BUILD_ROOT}
52%{__make} install DESTDIR=${RPM_BUILD_ROOT}
53%{__make} install-html DESTDIR=${RPM_BUILD_ROOT}
54
55# Clean
56%clean
57%{__rm} -rf ${RPM_BUILD_ROOT}
58
59# after install
60%post
61scrollkeeper-update > /dev/null 2>&1 || :
62
63%postun
64scrollkeeper-update > /dev/null 2>&1 || :
65
66#%%post html
67#vine-manual-regist -p 10 %{_docdir}/Vine-manual/install-guide/vine-install-guide.html
68
69#%postun html
70#vine-manual-regist -r %{_docdir}/Vine-manual/install-guide/vine-install-guide.html
71
72# File list
73%files
74%defattr(-,root,root)
75%doc AUTHORS COPYING ChangeLog NEWS README
76%{_docdir}/Vine-manual/install-guide
77%{_datadir}/omf/vine-install-guide
78
79%files html
80%{_docdir}/Vine-manual/install-guide/*.html
81
82# Change Log
83%changelog
84* Thu Feb 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9-1
85- written first.
86
Note: See TracBrowser for help on using the repository browser.