Adjust specfile to recent gssproxy-0.2.0 changes.

This commit is contained in:
Günther Deschner 2013-04-26 15:07:47 +02:00
parent b6f2b08133
commit c13fc097f5

View File

@ -1,6 +1,6 @@
Name: gssproxy
Version: 0.2.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: GSSAPI Proxy
Group: System Environment/Libraries
@ -11,6 +11,11 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%global servicename gssproxy
%global pubconfpath %{_sysconfdir}/gssproxy
%global gpstatedir %{_localstatedir}/lib/gssproxy
### Patches ###
### Dependencies ###
Requires: krb5-libs >= 1.11.2
Requires: keyutils-libs
@ -41,11 +46,12 @@ BuildRequires: systemd-units
%description
A proxy for GSSAPI credential handling.
A proxy for GSSAPI credential handling
%prep
%setup -q
%build
autoreconf -f -i
%configure \
@ -59,12 +65,12 @@ make %{?_smp_mflags} all
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy
install -d -m755 %{buildroot}%{_unitdir}
install -m644 examples/gssproxy.conf %{buildroot}%{_sysconfdir}/gssproxy/gssproxy.conf
install -m644 examples/mech %{buildroot}%{_sysconfdir}/gss/mech
install -m644 systemd/gssproxy.service %{buildroot}%{_unitdir}/gssproxy.service
rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
%clean
rm -rf %{buildroot}
@ -75,7 +81,9 @@ rm -rf %{buildroot}
%doc COPYING
%{_unitdir}/gssproxy.service
%{_sbindir}/gssproxy
%attr(0755,root,root) %dir %{pubconfpath}
%attr(755,root,root) %dir %{pubconfpath}
%attr(700,root,root) %dir %{gpstatedir}
%attr(700,root,root) %dir %{gpstatedir}/clients
%attr(0600,root,root) %config(noreplace) /%{_sysconfdir}/gssproxy/gssproxy.conf
%attr(0644,root,root) %config(noreplace) /%{_sysconfdir}/gss/mech
%{_libdir}/gssproxy/proxymech.so