|
|
a33c5c |
%bcond_without asciidoc
|
|
|
a33c5c |
|
|
|
a33c5c |
%global namedreltag .NOTHING
|
|
|
a33c5c |
%global namedversion %{version}%{?namedreltag}
|
|
|
a33c5c |
|
|
|
a33c5c |
Name: cdi-api
|
|
|
a33c5c |
Version: 1.2
|
|
|
a33c5c |
Release: 8%{?dist}
|
|
|
a33c5c |
Summary: CDI API
|
|
|
a33c5c |
License: ASL 2.0
|
|
|
a33c5c |
URL: http://seamframework.org/Weld
|
|
|
a33c5c |
BuildArch: noarch
|
|
|
a33c5c |
|
|
|
a33c5c |
Source0: https://github.com/cdi-spec/cdi/archive/%{version}.tar.gz
|
|
|
a33c5c |
|
|
|
a33c5c |
BuildRequires: maven-local
|
|
|
a33c5c |
BuildRequires: mvn(javax.el:javax.el-api)
|
|
|
a33c5c |
BuildRequires: mvn(javax.inject:javax.inject)
|
|
|
a33c5c |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
a33c5c |
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
|
a33c5c |
BuildRequires: mvn(org.apache.maven.surefire:surefire-testng)
|
|
|
a33c5c |
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
a33c5c |
BuildRequires: mvn(org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec)
|
|
|
a33c5c |
BuildRequires: mvn(org.jboss.weld:weld-parent:pom:)
|
|
|
a33c5c |
BuildRequires: mvn(org.testng:testng::jdk15:)
|
|
|
a33c5c |
%if %{with asciidoc}
|
|
|
a33c5c |
BuildRequires: asciidoc
|
|
|
a33c5c |
BuildRequires: /usr/bin/pygmentize
|
|
|
a33c5c |
%endif
|
|
|
a33c5c |
|
|
|
a33c5c |
%description
|
|
|
a33c5c |
APIs for JSR-299: Contexts and Dependency Injection for Java EE
|
|
|
a33c5c |
|
|
|
a33c5c |
%package javadoc
|
|
|
a33c5c |
Summary: Javadoc for %{name}
|
|
|
a33c5c |
|
|
|
a33c5c |
%description javadoc
|
|
|
a33c5c |
This package contains the API documentation for %{name}.
|
|
|
a33c5c |
|
|
|
a33c5c |
%prep
|
|
|
a33c5c |
%setup -q -n cdi-%{version}
|
|
|
a33c5c |
|
|
|
a33c5c |
cd api
|
|
|
a33c5c |
# J2EE API directory
|
|
|
a33c5c |
%mvn_file :{cdi-api} %{name}/@1 javax.enterprise.inject/@1
|
|
|
a33c5c |
|
|
|
a33c5c |
# Use newer version of interceptors API
|
|
|
a33c5c |
%pom_change_dep "javax.interceptor:javax.interceptor-api" "org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec"
|
|
|
a33c5c |
|
|
|
a33c5c |
%build
|
|
|
a33c5c |
|
|
|
a33c5c |
(
|
|
|
a33c5c |
cd api
|
|
|
a33c5c |
%mvn_build -- -Denforcer.skip
|
|
|
a33c5c |
)
|
|
|
a33c5c |
|
|
|
a33c5c |
%if %{with asciidoc}
|
|
|
a33c5c |
cd spec/src/main/doc
|
|
|
a33c5c |
asciidoc -n -b html5 -a toc2 -a toclevels=3 -a pygments -f html5.conf -o cdi-spec.html cdi-spec.asciidoc
|
|
|
a33c5c |
asciidoc -n -b html5 -a toc2 -a toclevels=3 -a pygments -f html5.conf -o license-asl2.html license-asl2.asciidoc
|
|
|
a33c5c |
asciidoc -n -b html5 -a toc2 -a toclevels=3 -a pygments -f html5.conf -o license-jcp.html license-jcp.asciidoc
|
|
|
a33c5c |
%global adoc html
|
|
|
a33c5c |
%else
|
|
|
a33c5c |
%global adoc asciidoc
|
|
|
a33c5c |
%endif
|
|
|
a33c5c |
|
|
|
a33c5c |
%install
|
|
|
a33c5c |
cd api
|
|
|
a33c5c |
%mvn_install
|
|
|
a33c5c |
|
|
|
a33c5c |
%files -f api/.mfiles
|
|
|
a33c5c |
%doc spec/src/main/doc/cdi-spec.%{adoc}
|
|
|
a33c5c |
%license spec/src/main/doc/license-asl2.%{adoc}
|
|
|
a33c5c |
%license spec/src/main/doc/license-jcp.%{adoc}
|
|
|
a33c5c |
|
|
|
a33c5c |
%files javadoc -f api/.mfiles-javadoc
|
|
|
a33c5c |
%license spec/src/main/doc/license-asl2.%{adoc}
|
|
|
a33c5c |
%license spec/src/main/doc/license-jcp.%{adoc}
|
|
|
a33c5c |
|
|
|
a33c5c |
%changelog
|
|
|
a33c5c |
* Wed Apr 18 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-8
|
|
|
a33c5c |
- Remove javax.enterprise.inject directory and provides
|
|
|
a33c5c |
|
|
|
a33c5c |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-7
|
|
|
a33c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a33c5c |
|
|
|
a33c5c |
* Sat Sep 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-6
|
|
|
a33c5c |
- Conditionally allow building without asciidoc
|
|
|
a33c5c |
|
|
|
a33c5c |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
|
|
|
a33c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a33c5c |
|
|
|
a33c5c |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
|
|
|
a33c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a33c5c |
|
|
|
a33c5c |
* Thu Jun 16 2016 gil cattaneo <puntogil@libero.it> 1.2-3
|
|
|
a33c5c |
- add missing build requires: pygmentize
|
|
|
a33c5c |
|
|
|
a33c5c |
* Thu Jun 16 2016 gil cattaneo <puntogil@libero.it> 1.2-2
|
|
|
a33c5c |
- add missing build requires
|
|
|
a33c5c |
|
|
|
a33c5c |
* Mon Jun 06 2016 gil cattaneo <puntogil@libero.it> 1.2-1
|
|
|
a33c5c |
- Upstream release 1.2
|
|
|
a33c5c |
|
|
|
a33c5c |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-13
|
|
|
a33c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
a33c5c |
|
|
|
a33c5c |
* Wed Oct 28 2015 Mat Booth <mat.booth@redhat.com> - 1.1-12
|
|
|
a33c5c |
- Fix FTBFS due to enforcer plugin failure
|
|
|
a33c5c |
|
|
|
a33c5c |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
|
|
|
a33c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a33c5c |
|
|
|
a33c5c |
* Wed May 20 2015 gil cattaneo <puntogil@libero.it> 1.1-10
|
|
|
a33c5c |
- rebuilt for upgrade el apis gid:aid (rhbz#1223468)
|
|
|
a33c5c |
- adapt to current guideline
|
|
|
a33c5c |
- use mvn()-like BRs
|
|
|
a33c5c |
- fix rpmlint problem in changelog entries
|
|
|
a33c5c |
|
|
|
a33c5c |
* Tue Mar 24 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-9
|
|
|
a33c5c |
- Fix interceptors symlink
|
|
|
a33c5c |
|
|
|
a33c5c |
* Mon Mar 23 2015 Marek Goldmann <mgoldman@redhat.com> - 1.1-8
|
|
|
a33c5c |
- Switch to interceptors 1.2
|
|
|
a33c5c |
|
|
|
a33c5c |
* Mon Nov 17 2014 Alexander Kurtakov <akurtako@redhat.com> 1.1-7
|
|
|
a33c5c |
- Rebuild to fix broken symlink to jboss-interceptors.
|
|
|
a33c5c |
|
|
|
a33c5c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
a33c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a33c5c |
|
|
|
a33c5c |
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.1-5
|
|
|
a33c5c |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
a33c5c |
|
|
|
a33c5c |
* Tue Aug 13 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1-4
|
|
|
a33c5c |
- Add javax.enterprise.inject provides and directory
|
|
|
a33c5c |
|
|
|
a33c5c |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
|
a33c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a33c5c |
|
|
|
a33c5c |
* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-2
|
|
|
a33c5c |
- Generate OSGi metadata
|
|
|
a33c5c |
- Resolves: rhbz#987111
|
|
|
a33c5c |
|
|
|
a33c5c |
* Thu Jul 04 2013 Marek Goldmann <mgoldman@redhat.com> - 1.1-1
|
|
|
a33c5c |
- Upstream release 1.1
|
|
|
a33c5c |
- New guidelines
|
|
|
a33c5c |
|
|
|
a33c5c |
* Sat Mar 02 2013 Mat Booth <fedora@matbooth.co.uk> - 1.0-9.SP4
|
|
|
a33c5c |
- Add missing BR, fixes FTBFS rhbz #913916
|
|
|
a33c5c |
|
|
|
a33c5c |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8.SP4
|
|
|
a33c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a33c5c |
|
|
|
a33c5c |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-7.SP4
|
|
|
a33c5c |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
a33c5c |
- Replace maven BuildRequires with maven-local
|
|
|
a33c5c |
|
|
|
a33c5c |
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-6.SP4
|
|
|
a33c5c |
- Added missing BR
|
|
|
a33c5c |
|
|
|
a33c5c |
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-5.SP4
|
|
|
a33c5c |
- Added missing BR/R
|
|
|
a33c5c |
- Simplified the spec file
|
|
|
a33c5c |
- Removed unnecessary patch
|
|
|
a33c5c |
|
|
|
a33c5c |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4.SP4
|
|
|
a33c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a33c5c |
|
|
|
a33c5c |
* Sun Mar 25 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-3.SP4
|
|
|
a33c5c |
- Fixed changelog versions.
|
|
|
a33c5c |
|
|
|
a33c5c |
* Fri Mar 16 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-2.SP4
|
|
|
a33c5c |
- Added required dependencies, modified patches and cleaned spec.
|
|
|
a33c5c |
|
|
|
a33c5c |
* Mon Feb 20 2012 Marek Goldmann <mgoldman@redhat.com> 1.0-1.SP4
|
|
|
a33c5c |
- Initial packaging
|