2013-07-04 12:53:44 +00:00
|
|
|
%global namedreltag .NOTHING
|
2012-03-26 18:03:37 +00:00
|
|
|
%global namedversion %{version}%{?namedreltag}
|
|
|
|
|
|
|
|
Name: cdi-api
|
2013-07-04 12:53:44 +00:00
|
|
|
Version: 1.1
|
2014-06-07 04:18:59 +00:00
|
|
|
Release: 6%{?dist}
|
2012-03-26 18:03:37 +00:00
|
|
|
Summary: CDI API
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://seamframework.org/Weld
|
2013-07-04 12:53:44 +00:00
|
|
|
Source0: https://github.com/cdi-spec/cdi/archive/%{version}.tar.gz
|
2012-03-26 18:03:37 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2013-02-06 18:38:56 +00:00
|
|
|
BuildRequires: maven-local
|
2012-03-26 18:03:37 +00:00
|
|
|
BuildRequires: maven-compiler-plugin
|
|
|
|
BuildRequires: maven-install-plugin
|
|
|
|
BuildRequires: maven-jar-plugin
|
|
|
|
BuildRequires: maven-javadoc-plugin
|
|
|
|
BuildRequires: maven-surefire-provider-testng
|
2012-12-04 11:19:41 +00:00
|
|
|
BuildRequires: maven-enforcer-plugin
|
2012-03-26 18:03:37 +00:00
|
|
|
BuildRequires: testng
|
|
|
|
BuildRequires: jboss-el-2.2-api
|
|
|
|
BuildRequires: jboss-interceptors-1.1-api
|
|
|
|
BuildRequires: jboss-ejb-3.1-api
|
2012-12-04 10:50:23 +00:00
|
|
|
BuildRequires: geronimo-annotation
|
2013-03-02 18:55:32 +00:00
|
|
|
BuildRequires: geronimo-parent-poms
|
2012-12-04 10:50:23 +00:00
|
|
|
BuildRequires: weld-parent
|
2013-07-04 12:53:44 +00:00
|
|
|
BuildRequires: maven-plugin-build-helper
|
2012-03-26 18:03:37 +00:00
|
|
|
|
2013-08-13 09:28:31 +00:00
|
|
|
Provides: javax.enterprise.inject
|
|
|
|
|
2012-03-26 18:03:37 +00:00
|
|
|
%description
|
|
|
|
APIs for JSR-299: Contexts and Dependency Injection for Java EE
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadocs for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
This package contains the API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2013-07-04 12:53:44 +00:00
|
|
|
%setup -q -n cdi-%{version}
|
2012-03-26 18:03:37 +00:00
|
|
|
|
2013-07-23 05:05:12 +00:00
|
|
|
# Generate OSGI info
|
|
|
|
%pom_xpath_set pom:project/pom:packaging bundle api
|
|
|
|
%pom_xpath_inject "pom:project" "
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
|
|
|
<_nouses>true</_nouses>
|
|
|
|
<Export-Package>javax.decorator.*;javax.enterprise.context.*;javax.enterprise.event.*;javax.enterprise.inject.*;javax.enterprise.util.*</Export-Package>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>" api
|
|
|
|
|
2013-08-13 09:28:31 +00:00
|
|
|
cd api
|
|
|
|
# J2EE API directory
|
|
|
|
%mvn_file :{cdi-api} %{name}/@1 javax.enterprise.inject/@1
|
|
|
|
|
2012-03-26 18:03:37 +00:00
|
|
|
%build
|
2013-07-04 12:53:44 +00:00
|
|
|
cd api
|
|
|
|
%mvn_build
|
2012-03-26 18:03:37 +00:00
|
|
|
|
|
|
|
%install
|
2013-07-04 12:53:44 +00:00
|
|
|
cd api
|
|
|
|
%mvn_install
|
2012-03-26 18:03:37 +00:00
|
|
|
|
2013-08-13 09:28:31 +00:00
|
|
|
build-jar-repository %{buildroot}%{_javadir}/javax.enterprise.inject/ \
|
|
|
|
jboss-interceptors-1.1-api geronimo-annotation javax.inject
|
|
|
|
|
2013-07-04 12:53:44 +00:00
|
|
|
%files -f api/.mfiles
|
|
|
|
%dir %{_javadir}/%{name}
|
2013-08-13 09:28:31 +00:00
|
|
|
%{_javadir}/javax.enterprise.inject/
|
2012-03-26 18:03:37 +00:00
|
|
|
|
2013-07-04 12:53:44 +00:00
|
|
|
%files javadoc -f api/.mfiles-javadoc
|
2012-03-26 18:03:37 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-06-07 04:18:59 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-28 12:01:46 +00:00
|
|
|
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.1-5
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-08-13 09:28:31 +00:00
|
|
|
* Tue Aug 13 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1-4
|
|
|
|
- Add javax.enterprise.inject provides and directory
|
|
|
|
|
2013-08-03 04:31:39 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-23 05:05:12 +00:00
|
|
|
* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-2
|
|
|
|
- Generate OSGi metadata
|
|
|
|
- Resolves: rhbz#987111
|
|
|
|
|
2013-07-04 12:53:44 +00:00
|
|
|
* Thu Jul 04 2013 Marek Goldmann <mgoldman@redhat.com> - 1.1-1
|
|
|
|
- Upstream release 1.1
|
|
|
|
- New guidelines
|
|
|
|
|
2013-03-02 18:55:32 +00:00
|
|
|
* Sat Mar 02 2013 Mat Booth <fedora@matbooth.co.uk> - 1.0-9.SP4
|
|
|
|
- Add missing BR, fixes FTBFS rhbz #913916
|
|
|
|
|
2013-02-13 18:19:12 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8.SP4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-02-06 18:38:56 +00:00
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-7.SP4
|
|
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
|
2012-12-04 11:19:41 +00:00
|
|
|
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-6.SP4
|
|
|
|
- Added missing BR
|
|
|
|
|
2012-12-04 10:50:23 +00:00
|
|
|
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-5.SP4
|
|
|
|
- Added missing BR/R
|
|
|
|
- Simplified the spec file
|
|
|
|
- Removed unnecessary patch
|
|
|
|
|
2012-07-18 18:43:04 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4.SP4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-26 18:03:37 +00:00
|
|
|
* Sun Mar 25 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-3.SP4
|
|
|
|
- Fixed changelog versions.
|
|
|
|
|
|
|
|
* Wed Mar 16 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-2.SP4
|
|
|
|
- Added required dependencies, modified patches and cleaned spec.
|
|
|
|
|
|
|
|
* Mon Feb 20 2012 Marek Goldmann <mgoldman@redhat.com> 1.0-1.SP4
|
|
|
|
- Initial packaging
|