forked from pool/openvpn
- Moved openvpn-plugin.h into a devel package, removed .gitignore
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=99
This commit is contained in:
parent
558e8eaf2f
commit
e18eab1a94
@ -2,6 +2,7 @@
|
||||
Thu Aug 20 08:43:33 UTC 2015 - mt@suse.com
|
||||
|
||||
- Removed obsolete --with-lzo-headers option, readded LFS_CFLAGS.
|
||||
- Moved openvpn-plugin.h into a devel package, removed .gitignore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 08:29:35 UTC 2015 - idonmez@suse.com
|
||||
|
14
openvpn.spec
14
openvpn.spec
@ -124,6 +124,14 @@ This plugin uses a split privilege execution model which will function
|
||||
even if you drop openvpn daemon privileges using the user, group, or
|
||||
chroot directives.
|
||||
|
||||
%package devel
|
||||
Summary: OpenVPN plugin header
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
This package provides the header file to build external plugins.
|
||||
|
||||
%prep
|
||||
%gpg_verify %{S:1}
|
||||
%setup -q -n %{name}-%{version}
|
||||
@ -184,6 +192,7 @@ install -m 755 $RPM_SOURCE_DIR/client-netconfig.down sample/sample-scripts/clien
|
||||
|
||||
# we install docs via spec into _defaultdocdir/name/management-notes.txt
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/{OpenVPN,%name}
|
||||
find sample -name .gitignore | xargs rm -f
|
||||
|
||||
%post
|
||||
%__mkdir_p -m750 %{_rundir}/openvpn
|
||||
@ -264,7 +273,6 @@ rm -f /etc/sysconfig/openvpn || :
|
||||
%{_sbindir}/rcopenvpn
|
||||
%{_sbindir}/openvpn
|
||||
%attr(0750,root,root) %dir %ghost %{_rundir}/openvpn
|
||||
%{_includedir}/%{name}-plugin.h
|
||||
|
||||
%files down-root-plugin
|
||||
%defattr(-,root,root)
|
||||
@ -278,4 +286,8 @@ rm -f /etc/sysconfig/openvpn || :
|
||||
%dir %{_libdir}/%{name}/plugins
|
||||
%{_libdir}/%{name}/plugins/%{name}-plugin-auth-pam.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/%{name}-plugin.h
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user