summaryrefslogtreecommitdiffstats
path: root/eurephia.spec
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-07-06 19:16:58 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-07-30 11:02:56 +0200
commit6562a30519273ff9de151ce5488d0dd0c9eb5725 (patch)
tree33cefb778c65f601daae3ba061817d316f35a716 /eurephia.spec
parent31128d1d1c2d9de2d3cf6d137e9e80fb00865569 (diff)
downloadeurephia-6562a30519273ff9de151ce5488d0dd0c9eb5725.tar.gz
eurephia-6562a30519273ff9de151ce5488d0dd0c9eb5725.tar.xz
eurephia-6562a30519273ff9de151ce5488d0dd0c9eb5725.zip
Added install rules for man pages
Diffstat (limited to 'eurephia.spec')
-rw-r--r--eurephia.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/eurephia.spec b/eurephia.spec
index 03a76ea..a779433 100644
--- a/eurephia.spec
+++ b/eurephia.spec
@@ -71,6 +71,7 @@ hash salt.
%prep
%setup -q -b0 -n %{name}-%{version}%{?betatag:_%{betatag}}
+# This is needed to ship extra until openvpn-plugin.h becomes part of the OpenVPN RPM
cp -v %{_sourcedir}/openvpn-plugin.h %{_builddir}/%{name}-%{version}%{?betatag:_%{betatag}}/
%build
@@ -82,9 +83,8 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -m 755 utils/eurephia_init $RPM_BUILD_ROOT/%{_bindir}
install -m 755 utils/eurephia_saltdecode $RPM_BUILD_ROOT/%{_bindir}
-mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
-install -m 644 utils/eurephia_init.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
-install -m 644 utils/eurephia_saltdecode.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
+install -m 644 utils/eurephia_init.7 $RPM_BUILD_ROOT/%{_mandir}/man7/
+install -m 644 utils/eurephia_saltdecode.7 $RPM_BUILD_ROOT/%{_mandir}/man7/
%clean
rm -rf $RPM_BUILD_ROOT
@@ -94,12 +94,15 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc LICENSE.txt CREDITS.txt
%{_libdir}/eurephia/eurephia-auth.so
+%{_mandir}/man7/eurephia-auth.7.gz
+%{_mandir}/man7/eurephia-variables.7.gz
%files sqlite3
%defattr(-,root,root,-)
%doc LICENSE.txt CREDITS.txt
%{_libdir}/eurephia/edb-sqlite.so
%{_localstatedir}/lib/eurephia/
+%{_mandir}/man7/edb-sqlite.7.gz
%files iptables
%defattr(-,root,root,-)
@@ -110,19 +113,21 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc LICENSE.txt CREDITS.txt
%{_bindir}/eurephia_init
-%{_mandir}/man8/eurephia_init.8.gz
+%{_mandir}/man7/eurephia_init.7.gz
%files admin
%defattr(-,root,root,-)
%doc LICENSE.txt CREDITS.txt
%{_bindir}/eurephiadm
%{_datadir}/eurephia/xslt/eurephiadm
+%{_mandir}/man7/eurephiadm.7.gz
+%{_mandir}/man7/eurephiadm-*.7.gz
%files utils
%defattr(-,root,root,-)
%doc LICENSE.txt CREDITS.txt
%{_bindir}/eurephia_saltdecode
-%{_mandir}/man8/eurephia_saltdecode.8.gz
+%{_mandir}/man7/eurephia_saltdecode.7.gz
%changelog
* Wed Jun 30 2010 David Sommerseth <dazo@users.sourceforge.net> - 1.0.0-1