1 | Name: vine-rescue-guide |
---|
2 | Version: 0.9 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | License: GFDL |
---|
5 | Group: Applications/Documentation |
---|
6 | Source0: %{name}-%{version}.tar.bz2 |
---|
7 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
8 | BuildArch: noarch |
---|
9 | |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | Packager: yasumichi |
---|
13 | |
---|
14 | Summary: User Guide of Vine Linux rescue mode |
---|
15 | Summary(ja): Vine Linux レスキューモード利用ガイド |
---|
16 | |
---|
17 | # Dependency |
---|
18 | Obsoletes: Vine-manual |
---|
19 | Requires: vine-manual-base |
---|
20 | |
---|
21 | BuildRequires: vine-manual-base |
---|
22 | BuildRequires: vine-manual-build |
---|
23 | |
---|
24 | %description |
---|
25 | This guide description how to use rescue mode of Vine Linux installer. |
---|
26 | |
---|
27 | See %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html after this package |
---|
28 | is installed. |
---|
29 | |
---|
30 | %description -l ja |
---|
31 | このガイドは、Vine Linux インストーラーのレスキューモードを利用する方法に |
---|
32 | ついて説明します。 |
---|
33 | |
---|
34 | このパッケージをインストール後、 |
---|
35 | %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html をご覧ください。 |
---|
36 | |
---|
37 | # Prepare |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | |
---|
41 | # Build |
---|
42 | %build |
---|
43 | %configure |
---|
44 | %{__make} html |
---|
45 | |
---|
46 | # Install |
---|
47 | %install |
---|
48 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
49 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
50 | %{__make} install-html DESTDIR=${RPM_BUILD_ROOT} |
---|
51 | |
---|
52 | # Clean |
---|
53 | %clean |
---|
54 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
55 | |
---|
56 | # after install |
---|
57 | %post |
---|
58 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
59 | vine-manual-regist -p 20 %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html |
---|
60 | vine-manual-index-update |
---|
61 | |
---|
62 | %postun |
---|
63 | if [ $1 -eq 0 ]; then |
---|
64 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
65 | vine-manual-regist -r %{_docdir}/Vine/rescue-guide/vine-rescue-guide.html |
---|
66 | vine-manual-index-update |
---|
67 | fi |
---|
68 | |
---|
69 | # File list |
---|
70 | %files |
---|
71 | %defattr(-,root,root) |
---|
72 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
73 | %{_docdir}/Vine/rescue-guide |
---|
74 | %{_datadir}/omf/vine-rescue-guide |
---|
75 | |
---|
76 | # Change Log |
---|
77 | %changelog |
---|
78 | * Tue Oct 23 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9-2 |
---|
79 | - fixed Summary and description. |
---|
80 | |
---|
81 | * Tue Sep 06 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9-1 |
---|
82 | - initial build for Vine Linux. |
---|
83 | |
---|
84 | |
---|