commit
2420958cd6
42
jboss-jaspi-1.1-api.spec
Normal file
42
jboss-jaspi-1.1-api.spec
Normal 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
4
jboss-jaspi-1.1-api.yaml
Normal 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: "."
|
||||||
BIN
jboss-jaspi-api_1.1_spec-1.0.0.Final.tar.gz
Normal file
BIN
jboss-jaspi-api_1.1_spec-1.0.0.Final.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user