From 52c887f11c0c6ecd0f4c0891722bbfe1ccdf0bfa Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 17:29:55 +0000 Subject: import cdi-api-1.0-11.SP4.el7 --- diff --git a/.cdi-api.metadata b/.cdi-api.metadata new file mode 100644 index 0000000..ce03101 --- /dev/null +++ b/.cdi-api.metadata @@ -0,0 +1 @@ +d06b3810668c379b0a9a6de71c6a35effe8e0ea0 SOURCES/cdi-api-1.0.SP4.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..44a8885 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cdi-api-1.0.SP4.tar.xz diff --git a/SPECS/cdi-api.spec b/SPECS/cdi-api.spec new file mode 100644 index 0000000..6312ebc --- /dev/null +++ b/SPECS/cdi-api.spec @@ -0,0 +1,121 @@ +%global namedreltag .SP4 +%global namedversion %{version}%{?namedreltag} + +Name: cdi-api +Version: 1.0 +Release: 11%{namedreltag}%{?dist} +Summary: CDI API +Group: Development/Libraries +License: ASL 2.0 +URL: http://seamframework.org/Weld + +# svn export http://anonsvn.jboss.org/repos/weld/cdi-api/tags/1.0-SP4/ cdi-api-1.0.SP4 +# tar cafJ cdi-api-1.0.SP4.tar.xz cdi-api-1.0.SP4 +Source0: cdi-api-%{namedversion}.tar.xz + +BuildArch: noarch + +BuildRequires: jpackage-utils +BuildRequires: java-devel +BuildRequires: maven-local +BuildRequires: maven-compiler-plugin +BuildRequires: maven-install-plugin +BuildRequires: maven-jar-plugin +BuildRequires: maven-javadoc-plugin +BuildRequires: maven-surefire-provider-testng +BuildRequires: maven-enforcer-plugin +BuildRequires: testng +BuildRequires: jboss-el-2.2-api +BuildRequires: jboss-interceptors-1.1-api +BuildRequires: jboss-ejb-3.1-api +BuildRequires: geronimo-annotation +BuildRequires: geronimo-parent-poms +BuildRequires: weld-parent +BuildRequires: maven-plugin-build-helper + +Requires: jpackage-utils +Requires: java +Requires: jboss-el-2.2-api +Requires: jboss-interceptors-1.1-api +Requires: jboss-ejb-3.1-api +Requires: geronimo-annotation + +%description +APIs for JSR-299: Contexts and Dependency Injection for Java EE + +%package javadoc +Summary: Javadocs for %{name} +Group: Documentation +Requires: jpackage-utils + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n cdi-api-%{namedversion} + +%build +mvn-rpmbuild package javadoc:aggregate + +%install +install -d -m 755 %{buildroot}%{_javadir} +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -d -m 755 %{buildroot}%{_javadocdir}/%{name} + +# JAR +install -pm 644 target/cdi-api-%{version}-SP4.jar %{buildroot}%{_javadir}/%{name}.jar + +# POM +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom + +# DEPMAP +%add_maven_depmap + +# APIDOCS +cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name} + +%files +%{_mavenpomdir}/* +%{_mavendepmapfragdir}/* +%{_javadir}/* + +%files javadoc +%{_javadocdir}/%{name} + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.0-11.SP4 +- Mass rebuild 2013-12-27 + +* Wed Nov 13 2013 Mikolaj Izdebski - 1.0-10.SP4 +- Add BR: build-helper-maven-plugin + +* Sat Mar 02 2013 Mat Booth - 1.0-9.SP4 +- Add missing BR, fixes FTBFS rhbz #913916 + +* Wed Feb 13 2013 Fedora Release Engineering - 1.0-8.SP4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.0-7.SP4 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Tue Dec 04 2012 Marek Goldmann - 1.0-6.SP4 +- Added missing BR + +* Tue Dec 04 2012 Marek Goldmann - 1.0-5.SP4 +- Added missing BR/R +- Simplified the spec file +- Removed unnecessary patch + +* Wed Jul 18 2012 Fedora Release Engineering - 1.0-4.SP4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Mar 25 2012 Asaf Shakarchi 1.0-3.SP4 +- Fixed changelog versions. + +* Wed Mar 16 2012 Asaf Shakarchi 1.0-2.SP4 +- Added required dependencies, modified patches and cleaned spec. + +* Mon Feb 20 2012 Marek Goldmann 1.0-1.SP4 +- Initial packaging +