!1 package init

Merge pull request !1 from yaokai13/master
This commit is contained in:
openeuler-ci-bot 2020-08-29 16:31:15 +08:00 committed by Gitee
commit 2420958cd6
3 changed files with 46 additions and 0 deletions

42
jboss-jaspi-1.1-api.spec Normal file
View File

@ -0,0 +1,42 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-jaspi-1.1-api
Version: 1.0.0
Release: 1
Summary: JBoss Java Authentication SPI for Containers 1.1 API
License: CDDL or GPLv2 with exceptions
URL: https://github.com/jboss/jboss-jaspi-api_spec
Source0: https://github.com/jboss/jboss-jaspi-api_spec/archive/jboss-jaspi-api_1.1_spec-%{namedversion}.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
BuildArch: noarch
%description
The Java Authentication SPI for Containers 1.1 API classes
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jboss-jaspi-api_spec-jboss-jaspi-api_1.1_spec-%{namedversion}
%pom_remove_plugin :maven-source-plugin
sed -i "s,59 Temple Place,51 Franklin Street,;s,Suite 330,Fifth Floor,;s,02111-1307,02110-1301," LICENSE
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%dir %{_javadir}/%{name}
%doc README
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
* Fri Aug 14 2020 yaokai <yaokai13@huawei.com> - 1.0.0-1
- package init

4
jboss-jaspi-1.1-api.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: jboss/jboss-jaspi-api_spec
tag_pattern: "jboss-jaspi-api_1.1_spec-(.*?).Final"
seperator: "."

Binary file not shown.