diff --git a/jboss-annotations-1.2-api.spec b/jboss-annotations-1.2-api.spec new file mode 100644 index 0000000..f8a703d --- /dev/null +++ b/jboss-annotations-1.2-api.spec @@ -0,0 +1,42 @@ +%global namedreltag .Final +%global namedversion %{version}%{?namedreltag} +Name: jboss-annotations-1.2-api +Version: 1.0.0 +Release: 1 +Summary: Common Annotations 1.2 API +License: CDDL or GPLv2 with exceptions +URL: https://github.com/jboss/jboss-annotations-api_spec +Source0: https://github.com/jboss/jboss-annotations-api_spec/archive/jboss-annotations-api_1.2_spec-%{namedversion}.tar.gz +BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.jboss:jboss-parent:pom:) +BuildArch: noarch +%description +This package contains Common Annotations 1.2 API. + +%package help +Summary: Javadoc for %{name} +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} +%description help +This package contains the API documentation for %{name}. + +%prep +%setup -q -n jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-%{namedversion} +%pom_remove_plugin :maven-source-plugin + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc README +%license LICENSE + +%files help -f .mfiles-javadoc +%license LICENSE + +%changelog +* Mon Aug 24 2020 liyanan - 1.0.0-1 +- package init diff --git a/jboss-annotations-1.2-api.yaml b/jboss-annotations-1.2-api.yaml new file mode 100644 index 0000000..081d7f2 --- /dev/null +++ b/jboss-annotations-1.2-api.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/jboss/jboss-annotations-api_spec.git +version_control: github +src_repo: jboss/jboss-annotations-api_spec +tag_prefix: "jboss-annotations-api_1.2_spec-" +seperator: "." diff --git a/jboss-annotations-api_1.2_spec-1.0.0.Final.tar.gz b/jboss-annotations-api_1.2_spec-1.0.0.Final.tar.gz new file mode 100644 index 0000000..ca78c2c Binary files /dev/null and b/jboss-annotations-api_1.2_spec-1.0.0.Final.tar.gz differ