!1 Package init.

Merge pull request !1 from sigui/master
This commit is contained in:
openeuler-ci-bot 2020-06-22 09:46:57 +08:00 committed by Gitee
commit 0c792f1448
3 changed files with 82 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,78 @@
Name: keycloak-httpd-client-install
Version: 0.8
Release: 8
Summary: Provides tools to configure Apache HTTPD as Keycloak client
License: GPLv3
URL: https://github.com/jdennis/keycloak-httpd-client-install
Source0: https://github.com/jdennis/keycloak-httpd-client-install/releases/download/RELEASE_0_8/keycloak-httpd-client-install-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python3-devel
%description
Keycloak is a federated Identity Provider (IdP) that supports a
variety of authentication protocols. Apache HTTPD supports a variety
of authentication modules which have the capability of connecting to
a Keycloak IdP instance to perform authentication.
%package -n python2-keycloak-httpd-client-install
Summary: Provides tools to configure Apache HTTPD as Keycloak client
Requires: keycloak-httpd-client-install = %{version}-%{release}
Requires: python2-jinja2 python2-requests python2-requests-oauthlib
%description -n python2-keycloak-httpd-client-install
Keycloak is a federated Identity Provider (IdP) that supports a
variety of authentication protocols. Apache HTTPD supports a variety
of authentication modules which have the capability of connecting to
a Keycloak IdP instance to perform authentication.
%package -n python3-keycloak-httpd-client-install
Summary: Provides tools to configure Apache HTTPD as Keycloak client
Requires: keycloak-httpd-client-install = %{version}-%{release}
Requires: python3-requests python3-requests-oauthlib python3-jinja2
%description -n python3-keycloak-httpd-client-install
Keycloak is a federated Identity Provider (IdP) that supports a
variety of authentication protocols. Apache HTTPD supports a variety
of authentication modules which have the capability of connecting to
a Keycloak IdP instance to perform authentication.
%package help
Summary: Provides help and man docs for keycloak-httpd-client-install
%description help
This package provides help and man docs for python2-keycloak-httpd-client-install
and python3-keycloak-httpd-client-install.
%prep
%autosetup -n keycloak-httpd-client-install-%{version} -p1
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
mkdir -p -m 755 %{buildroot}/%{_mandir}/man8
cp doc/keycloak-httpd-client-install.8 %{buildroot}/%{_mandir}/man8
chmod 644 %{buildroot}/%{_mandir}/man8/keycloak-httpd-client-install.8
%files
%license LICENSE.txt
%{_datadir}/keycloak-httpd-client-install/
%files -n python2-keycloak-httpd-client-install
%{python2_sitelib}/*
%files -n python3-keycloak-httpd-client-install
%{python3_sitelib}/*
%{_bindir}/keycloak-httpd-client-install
%files help
%{_mandir}/man8/*
%doc README.md doc/ChangeLog
%changelog
* Wed Apr 15 2020 sunguoshuai <sunguoshuai@huawei.com> - 0.8-8
- Package init

View File

@ -0,0 +1,4 @@
version_control: github
src_repo: jdennis/keycloak-httpd-client-install
tag_prefix: RELEASE_
seperator: _