!1 add package

Merge pull request !1 from 付安安/master
This commit is contained in:
openeuler-ci-bot 2020-09-01 18:19:11 +08:00 committed by Gitee
commit f47ad93dd0
4 changed files with 66 additions and 0 deletions

22
LICENSE.txt Normal file
View File

@ -0,0 +1,22 @@
The MIT License
Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Binary file not shown.

40
annotation-indexer.spec Normal file
View File

@ -0,0 +1,40 @@
Name: annotation-indexer
Version: 1.9
Release: 1
Summary: Jenkins annotation-indexer library
License: MIT
URL: https://github.com/jenkinsci/lib-annotation-indexer
Source0: https://github.com/jenkinsci/lib-annotation-indexer/archive/annotation-indexer-%{version}.tar.gz
Source1: https://raw.github.com/jenkinsci/jenkins/jenkins-1.510/LICENSE.txt
BuildArch: noarch
BuildRequires: maven-local mvn(org.kohsuke.metainf-services:metainf-services)
%description
Annotation-indexer is a small java library
used for listing annotations at compile time.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n lib-%{name}-%{name}-%{version}
cp %{SOURCE1} LICENSE
%pom_remove_parent
%pom_xpath_inject "pom:project" "<groupId>org.jenkins-ci</groupId>"
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc LICENSE
%files javadoc -f .mfiles-javadoc
%doc LICENSE
%changelog
* Thu Aug 6 2020 Anan Fu <fuanan3@huawei.com> - 1.9-1
- package init

4
annotation-indexer.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: jenkinsci/lib-annotation-indexer
tag_prefix: "^"
seperator: "."