summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gdeschner@redhat.com>2012-07-02 14:42:28 +0200
committerGünther Deschner <gdeschner@redhat.com>2012-07-10 16:03:31 +0200
commitb7b121d00878b7236e24f1a1b98cb1444feea8de (patch)
treee17ac48968dd513a0945b31fb55f0ab6d9aca22e
parent22144e84ba3236e1e5133fc1800acfa9162bb677 (diff)
downloadgss-proxy-b7b121d00878b7236e24f1a1b98cb1444feea8de.tar.gz
gss-proxy-b7b121d00878b7236e24f1a1b98cb1444feea8de.tar.xz
gss-proxy-b7b121d00878b7236e24f1a1b98cb1444feea8de.zip
Add systemd packaging to gssproxy spec file.
Guenther
-rw-r--r--proxy/contrib/gssproxy.spec.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/proxy/contrib/gssproxy.spec.in b/proxy/contrib/gssproxy.spec.in
index 2950d6d..0a3444d 100644
--- a/proxy/contrib/gssproxy.spec.in
+++ b/proxy/contrib/gssproxy.spec.in
@@ -27,6 +27,7 @@ BuildRequires: docbook-style-xsl
BuildRequires: doxygen
BuildRequires: pkgconfig
BuildRequires: findutils
+BuildRequires: systemd-units
%description
@@ -54,7 +55,9 @@ rm -rf $RPM_BUILD_ROOT
cd proxy
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/gssproxy
+mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
install -m644 examples/gssproxy-example.conf $RPM_BUILD_ROOT%{_sysconfdir}/gssproxy/gssproxy.conf
+install -m644 systemd/gssproxy.service $RPM_BUILD_ROOT%{_unitdir}/gssproxy.service
%clean
rm -rf $RPM_BUILD_ROOT
@@ -64,9 +67,8 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc README NOTES
%doc proxy/examples/gssproxy-example.conf
-#%{_initrddir}/%{name}
+%{_unitdir}/gssproxy.service
%{_sbindir}/gssproxy
-#%{_libdir}/%{name}/
%dir %{gsspstatedir}
%attr(755,root,root) %dir %{pipepath}
%attr(755,root,root) %dir %{pubconfpath}
@@ -91,6 +93,9 @@ if [ $1 = 0 ]; then
fi
%changelog
+* Mon Jul 02 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.1-2
+- Add systemd packaging
+
* Wed Mar 28 2012 Guenther Deschner <gdeschner@redhat.com> 0.0.1-1
- Various fixes