فهرست منبع

『Vine Linux 追加アプリケーション集 VinePlus について』の SPEC ファイルを追加

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3029 ec354946-7b23-47d6-9f5a-488ba84defc7
yasumichi 13 سال پیش
والد
کامیت
030891fe9e
1فایلهای تغییر یافته به همراه72 افزوده شده و 0 حذف شده
  1. 72 0
      v/vine-plus-guide/vine-plus-guide-vl.spec

+ 72 - 0
v/vine-plus-guide/vine-plus-guide-vl.spec

@@ -0,0 +1,72 @@
+Name:		vine-plus-guide
+Version:	5.9.0
+Release:	1%{?_dist_release}
+License:	GFDL
+Group:		Applications/Documentation
+Source0:	%{name}-%{version}.tar.bz2
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildArch:	noarch
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
+Packager:	yasumichi
+
+Summary:	About VinePlus
+Summary(ja):	Vine Linux 追加アプリケーション集 VinePlus について
+
+# Dependency
+Requires:	vine-manual-base
+
+BuildRequires:	vine-manual-base
+BuildRequires:	vine-manual-build
+
+%description
+About VinePlus
+
+%description -l ja
+Vine Linux 追加アプリケーション集 VinePlus について
+
+# Prepare
+%prep
+%setup -q
+
+# Build
+%build
+%configure
+%{__make} html
+
+# Install
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__make} install DESTDIR=${RPM_BUILD_ROOT}
+%{__make} install-html DESTDIR=${RPM_BUILD_ROOT}
+
+# Clean
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+# after install
+%post 
+scrollkeeper-update > /dev/null 2>&1 || :
+vine-manual-regist -p 60 %{_docdir}/Vine/VinePlus/vine-plus-guide.html
+vine-manual-index-update
+
+%postun
+if [ $1 -eq 0 ]; then
+	scrollkeeper-update > /dev/null 2>&1 || :
+	vine-manual-regist -r %{_docdir}/Vine/VinePlus/vine-plus-guide.html
+	vine-manual-index-update
+fi
+
+# File list
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%{_docdir}/Vine/VinePlus
+%{_datadir}/omf/vine-plus-guide
+
+# Change Log
+%changelog
+* Tue Mar 08 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.0-1
+- written first.
+