2cde9e
%global namedreltag .Final
Marek Goldmann 1b21c8
%global namedversion %{version}%{?namedreltag}
Marek Goldmann 1b21c8
2cde9e
Name:          jboss-annotations-1.2-api
2cde9e
Version:       1.0.0
2cde9e
Release:       1%{dist}
2cde9e
Summary:       Common Annotations 1.2 API
2cde9e
License:       CDDL or GPLv2 with exceptions
2cde9e
URL:           https://github.com/jboss/jboss-annotations-api_spec
2cde9e
Source0:       https://github.com/jboss/jboss-annotations-api_spec/archive/jboss-annotations-api_1.2_spec-%{namedversion}.tar.gz
2cde9e
Source1:       cddl.txt
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
BuildRequires: maven-local
2cde9e
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
2cde9e
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
Marek Goldmann 1b21c8
2cde9e
BuildArch:     noarch
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
%description
Marek Goldmann 1b21c8
This package contains Common Annotations 1.2 API.
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
%package javadoc
2cde9e
Summary:       Javadoc for %{name}
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
%description javadoc	
Marek Goldmann 1b21c8
This package contains the API documentation for %{name}.
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
%prep
Marek Goldmann 1b21c8
%setup -q -n jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-%{namedversion}
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
cp %{SOURCE1} .
Marek Goldmann 1b21c8
2cde9e
%pom_remove_plugin :maven-source-plugin
2cde9e
Marek Goldmann 1b21c8
%build
Marek Goldmann 1b21c8
%mvn_build
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
%install
Marek Goldmann 1b21c8
%mvn_install
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
%files -f .mfiles
Marek Goldmann 1b21c8
%doc README
2cde9e
%license cddl.txt LICENSE
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
%files javadoc -f .mfiles-javadoc
2cde9e
%license cddl.txt LICENSE
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
%changelog
2cde9e
* Wed Jun 01 2016 gil cattaneo <puntogil@libero.it> 1.0.0-1
2cde9e
- update to 1.0.0.Final
2cde9e
- fix BR list and use BR mvn()-like
2cde9e
- introduce license macro
2cde9e
- remove some rpmlint problems
2cde9e
- remove duplicate files
2cde9e
ce5cf2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-0.6.Alpha1
ce5cf2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ce5cf2
daa3b3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-0.5.Alpha1
daa3b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
daa3b3
e4c751
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-0.4.Alpha1
e4c751
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e4c751
56052c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-0.3.Alpha1
56052c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
56052c
Marek Goldmann 1b21c8
* Thu Jun 13 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0.0-0.2.Alpha1
Marek Goldmann 1b21c8
- Added CDDL license
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8
* Wed Jun 05 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0.0-0.1.Alpha1
Marek Goldmann 1b21c8
- Initial packaging
Marek Goldmann 1b21c8
Marek Goldmann 1b21c8