Commit c97fcba0 authored by Tomi Leppänen's avatar Tomi Leppänen

[packaging] Rename openconnect-docs to openconnect-doc. Contributes to JB#38578

Signed-off-by: Tomi Leppänen's avatarTomi Leppänen <>
parent a9cf3a5f
......@@ -31,27 +31,32 @@ This package provides the core HTTP and authentication support from
the OpenConnect VPN client, to be used by GUI authentication dialogs
for NetworkManager etc.
%package docs
Summary: Documentation package for OpenConnect VPN authentication tools
Group: Applications/Internet
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
Obsoletes: %{name}-docs
%description docs
This package provides documentation for openconnect, such as man pages.
%description doc
Man page for %{name}.
%setup -q -n %{name}-%{version}/upstream
%configure --with-vpnc-script=/etc/vpnc/vpnc-script
make %{?jobs:-j%jobs}
%configure --with-vpnc-script=/etc/vpnc/vpnc-script \
make %{?_smp_mflags}
rm -rf %{buildroot}
rm -rf %{buildroot}%{_datadir}/openconnect
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
install -m0644 AUTHORS %{buildroot}%{_docdir}/%{name}-%{version}
%find_lang %{name}
%post -p /sbin/ldconfig
......@@ -60,9 +65,9 @@ rm -rf %{buildroot}%{_datadir}/openconnect
%files -f %{name}.lang
%files devel
......@@ -70,7 +75,7 @@ rm -rf %{buildroot}%{_datadir}/openconnect
%files docs
%files doc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment