diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..b3249a1 --- /dev/null +++ b/LICENSE.txt @@ -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. + diff --git a/annotation-indexer-1.9.tar.gz b/annotation-indexer-1.9.tar.gz new file mode 100644 index 0000000..4234089 Binary files /dev/null and b/annotation-indexer-1.9.tar.gz differ diff --git a/annotation-indexer.spec b/annotation-indexer.spec new file mode 100644 index 0000000..b577530 --- /dev/null +++ b/annotation-indexer.spec @@ -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" "org.jenkins-ci" + +%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 - 1.9-1 +- package init diff --git a/annotation-indexer.yaml b/annotation-indexer.yaml new file mode 100644 index 0000000..9644e70 --- /dev/null +++ b/annotation-indexer.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: jenkinsci/lib-annotation-indexer +tag_prefix: "^" +seperator: "."