|
|
52c887 |
%global namedreltag .SP4
|
|
|
52c887 |
%global namedversion %{version}%{?namedreltag}
|
|
|
52c887 |
|
|
|
52c887 |
Name: cdi-api
|
|
|
52c887 |
Version: 1.0
|
|
|
52c887 |
Release: 11%{namedreltag}%{?dist}
|
|
|
52c887 |
Summary: CDI API
|
|
|
52c887 |
Group: Development/Libraries
|
|
|
52c887 |
License: ASL 2.0
|
|
|
52c887 |
URL: http://seamframework.org/Weld
|
|
|
52c887 |
|
|
|
52c887 |
# svn export http://anonsvn.jboss.org/repos/weld/cdi-api/tags/1.0-SP4/ cdi-api-1.0.SP4
|
|
|
52c887 |
# tar cafJ cdi-api-1.0.SP4.tar.xz cdi-api-1.0.SP4
|
|
|
52c887 |
Source0: cdi-api-%{namedversion}.tar.xz
|
|
|
52c887 |
|
|
|
52c887 |
BuildArch: noarch
|
|
|
52c887 |
|
|
|
52c887 |
BuildRequires: jpackage-utils
|
|
|
52c887 |
BuildRequires: java-devel
|
|
|
52c887 |
BuildRequires: maven-local
|
|
|
52c887 |
BuildRequires: maven-compiler-plugin
|
|
|
52c887 |
BuildRequires: maven-install-plugin
|
|
|
52c887 |
BuildRequires: maven-jar-plugin
|
|
|
52c887 |
BuildRequires: maven-javadoc-plugin
|
|
|
52c887 |
BuildRequires: maven-surefire-provider-testng
|
|
|
52c887 |
BuildRequires: maven-enforcer-plugin
|
|
|
52c887 |
BuildRequires: testng
|
|
|
52c887 |
BuildRequires: jboss-el-2.2-api
|
|
|
52c887 |
BuildRequires: jboss-interceptors-1.1-api
|
|
|
52c887 |
BuildRequires: jboss-ejb-3.1-api
|
|
|
52c887 |
BuildRequires: geronimo-annotation
|
|
|
52c887 |
BuildRequires: geronimo-parent-poms
|
|
|
52c887 |
BuildRequires: weld-parent
|
|
|
52c887 |
BuildRequires: maven-plugin-build-helper
|
|
|
52c887 |
|
|
|
52c887 |
Requires: jpackage-utils
|
|
|
52c887 |
Requires: java
|
|
|
52c887 |
Requires: jboss-el-2.2-api
|
|
|
52c887 |
Requires: jboss-interceptors-1.1-api
|
|
|
52c887 |
Requires: jboss-ejb-3.1-api
|
|
|
52c887 |
Requires: geronimo-annotation
|
|
|
52c887 |
|
|
|
52c887 |
%description
|
|
|
52c887 |
APIs for JSR-299: Contexts and Dependency Injection for Java EE
|
|
|
52c887 |
|
|
|
52c887 |
%package javadoc
|
|
|
52c887 |
Summary: Javadocs for %{name}
|
|
|
52c887 |
Group: Documentation
|
|
|
52c887 |
Requires: jpackage-utils
|
|
|
52c887 |
|
|
|
52c887 |
%description javadoc
|
|
|
52c887 |
This package contains the API documentation for %{name}.
|
|
|
52c887 |
|
|
|
52c887 |
%prep
|
|
|
52c887 |
%setup -q -n cdi-api-%{namedversion}
|
|
|
52c887 |
|
|
|
52c887 |
%build
|
|
|
52c887 |
mvn-rpmbuild package javadoc:aggregate
|
|
|
52c887 |
|
|
|
52c887 |
%install
|
|
|
52c887 |
install -d -m 755 %{buildroot}%{_javadir}
|
|
|
52c887 |
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
|
52c887 |
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
52c887 |
|
|
|
52c887 |
# JAR
|
|
|
52c887 |
install -pm 644 target/cdi-api-%{version}-SP4.jar %{buildroot}%{_javadir}/%{name}.jar
|
|
|
52c887 |
|
|
|
52c887 |
# POM
|
|
|
52c887 |
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
52c887 |
|
|
|
52c887 |
# DEPMAP
|
|
|
52c887 |
%add_maven_depmap
|
|
|
52c887 |
|
|
|
52c887 |
# APIDOCS
|
|
|
52c887 |
cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
|
|
52c887 |
|
|
|
52c887 |
%files
|
|
|
52c887 |
%{_mavenpomdir}/*
|
|
|
52c887 |
%{_mavendepmapfragdir}/*
|
|
|
52c887 |
%{_javadir}/*
|
|
|
52c887 |
|
|
|
52c887 |
%files javadoc
|
|
|
52c887 |
%{_javadocdir}/%{name}
|
|
|
52c887 |
|
|
|
52c887 |
%changelog
|
|
|
52c887 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-11.SP4
|
|
|
52c887 |
- Mass rebuild 2013-12-27
|
|
|
52c887 |
|
|
|
52c887 |
* Wed Nov 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-10.SP4
|
|
|
52c887 |
- Add BR: build-helper-maven-plugin
|
|
|
52c887 |
|
|
|
52c887 |
* Sat Mar 02 2013 Mat Booth <fedora@matbooth.co.uk> - 1.0-9.SP4
|
|
|
52c887 |
- Add missing BR, fixes FTBFS rhbz #913916
|
|
|
52c887 |
|
|
|
52c887 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8.SP4
|
|
|
52c887 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
52c887 |
|
|
|
52c887 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-7.SP4
|
|
|
52c887 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
52c887 |
- Replace maven BuildRequires with maven-local
|
|
|
52c887 |
|
|
|
52c887 |
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-6.SP4
|
|
|
52c887 |
- Added missing BR
|
|
|
52c887 |
|
|
|
52c887 |
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-5.SP4
|
|
|
52c887 |
- Added missing BR/R
|
|
|
52c887 |
- Simplified the spec file
|
|
|
52c887 |
- Removed unnecessary patch
|
|
|
52c887 |
|
|
|
52c887 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4.SP4
|
|
|
52c887 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
52c887 |
|
|
|
52c887 |
* Sun Mar 25 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-3.SP4
|
|
|
52c887 |
- Fixed changelog versions.
|
|
|
52c887 |
|
|
|
52c887 |
* Wed Mar 16 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-2.SP4
|
|
|
52c887 |
- Added required dependencies, modified patches and cleaned spec.
|
|
|
52c887 |
|
|
|
52c887 |
* Mon Feb 20 2012 Marek Goldmann <mgoldman@redhat.com> 1.0-1.SP4
|
|
|
52c887 |
- Initial packaging
|
|
|
52c887 |
|