|
|
@@ -25,15 +25,15 @@
|
|
|
# package information
|
|
|
Name: odoc
|
|
|
Summary: Extended OpenPKG Documentation Support
|
|
|
-URL: ftp://ftp.openpkg.org/sources/CPY/odoc
|
|
|
+URL: -
|
|
|
Vendor: OpenPKG
|
|
|
Packager: OpenPKG
|
|
|
Distribution: OpenPKG
|
|
|
Class: EVAL
|
|
|
Group: Development
|
|
|
License: GPL
|
|
|
-Version: 20050720
|
|
|
-Release: 20050720
|
|
|
+Version: 20050721
|
|
|
+Release: 20050721
|
|
|
|
|
|
# list of sources
|
|
|
Source0: odoc
|
|
|
@@ -50,8 +50,7 @@ AutoReqProv: no
|
|
|
|
|
|
%description
|
|
|
Odoc provides the "openpkg odoc" command, that aids in installing
|
|
|
- browsable HTML docs.
|
|
|
- See "openpkg man odoc" after installation.
|
|
|
+ browsable HTML docs. See "openpkg man odoc" after installation.
|
|
|
|
|
|
%track
|
|
|
# no external stuff
|
|
|
@@ -89,16 +88,18 @@ AutoReqProv: no
|
|
|
|
|
|
%post
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
+ # hook into OpenPKG bootstrap
|
|
|
echo "%%l_odoc %%""{l_prefix}/libexec/openpkg/odoc" | \
|
|
|
%{l_rpmtool} config \
|
|
|
- -a -i "odoc support" $RPM_INSTALL_PREFIX/etc/openpkg/rpmmacros
|
|
|
+ -a -i "$RPM_INSTALL_PREFIX:odoc" $RPM_INSTALL_PREFIX/etc/openpkg/rpmmacros
|
|
|
fi
|
|
|
exit 0
|
|
|
|
|
|
%postun
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
+ # unhook from OpenPKG bootstrap
|
|
|
%{l_rpmtool} config \
|
|
|
- -r -i "odoc support" $RPM_INSTALL_PREFIX/etc/openpkg/rpmmacros
|
|
|
+ -r -i "$RPM_INSTALL_PREFIX:odoc" $RPM_INSTALL_PREFIX/etc/openpkg/rpmmacros
|
|
|
fi
|
|
|
exit 0
|
|
|
|