|
|
375859 |
%global namedreltag .Final
|
|
|
375859 |
%global namedversion %{version}%{?namedreltag}
|
|
|
375859 |
|
|
|
375859 |
Name: jboss-ejb-3.1-api
|
|
|
375859 |
Version: 1.0.2
|
|
|
375859 |
Release: 10%{?dist}
|
|
|
375859 |
Summary: EJB 3.1 API
|
|
|
375859 |
Group: Development/Libraries
|
|
|
375859 |
License: CDDL or GPLv2 with exceptions
|
|
|
375859 |
Url: http://www.jboss.org
|
|
|
375859 |
|
|
|
375859 |
# git clone git://github.com/jboss/jboss-ejb-api_spec.git jboss-ejb-3.1-api
|
|
|
375859 |
# cd jboss-ejb-3.1-api/ && git archive --format=tar --prefix=jboss-ejb-3.1-api/ jboss-ejb-api_3.1_spec-1.0.2.Final | xz > jboss-ejb-3.1-api-1.0.2.Final.tar.xz
|
|
|
375859 |
Source0: jboss-ejb-3.1-api-%{namedversion}.tar.xz
|
|
|
375859 |
|
|
|
375859 |
BuildRequires: jboss-transaction-1.1-api
|
|
|
375859 |
BuildRequires: jboss-jaxrpc-1.1-api
|
|
|
375859 |
BuildRequires: java-devel
|
|
|
375859 |
BuildRequires: jboss-specs-parent
|
|
|
375859 |
BuildRequires: jpackage-utils
|
|
|
375859 |
BuildRequires: maven-local
|
|
|
375859 |
BuildRequires: maven-compiler-plugin
|
|
|
375859 |
BuildRequires: maven-install-plugin
|
|
|
375859 |
BuildRequires: maven-jar-plugin
|
|
|
375859 |
BuildRequires: maven-javadoc-plugin
|
|
|
375859 |
BuildRequires: maven-enforcer-plugin
|
|
|
375859 |
BuildRequires: maven-dependency-plugin
|
|
|
375859 |
BuildRequires: maven-ear-plugin
|
|
|
375859 |
|
|
|
375859 |
Requires: jboss-transaction-1.1-api
|
|
|
375859 |
Requires: jboss-jaxrpc-1.1-api
|
|
|
375859 |
Requires: jpackage-utils
|
|
|
375859 |
Requires: java
|
|
|
375859 |
BuildArch: noarch
|
|
|
375859 |
|
|
|
375859 |
%description
|
|
|
375859 |
The Java EJB 3.1 API classes.
|
|
|
375859 |
|
|
|
375859 |
%package javadoc
|
|
|
375859 |
Summary: Javadocs for %{name}
|
|
|
375859 |
Group: Development/Libraries
|
|
|
375859 |
Requires: jpackage-utils
|
|
|
375859 |
|
|
|
375859 |
%description javadoc
|
|
|
375859 |
This package contains the API documentation for %{name}.
|
|
|
375859 |
|
|
|
375859 |
%prep
|
|
|
375859 |
%setup -q -n jboss-ejb-3.1-api
|
|
|
375859 |
|
|
|
375859 |
%build
|
|
|
375859 |
mvn-rpmbuild install javadoc:aggregate
|
|
|
375859 |
|
|
|
375859 |
%install
|
|
|
375859 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
|
|
375859 |
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
|
|
375859 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
375859 |
|
|
|
375859 |
# JAR
|
|
|
375859 |
install -pm 644 target/jboss-ejb-api_3.1_spec-%{namedversion}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
|
|
375859 |
|
|
|
375859 |
# POM
|
|
|
375859 |
install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
375859 |
|
|
|
375859 |
# DEPMAP
|
|
|
375859 |
%add_maven_depmap JPP-%{name}.pom %{name}.jar
|
|
|
375859 |
|
|
|
375859 |
# APIDOCS
|
|
|
375859 |
cp -rp target/site/apidocs/ $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
375859 |
|
|
|
375859 |
%files
|
|
|
375859 |
%{_javadir}/%{name}.jar
|
|
|
375859 |
%{_mavenpomdir}/*
|
|
|
375859 |
%{_mavendepmapfragdir}/*
|
|
|
375859 |
%doc README LICENSE
|
|
|
375859 |
|
|
|
375859 |
%files javadoc
|
|
|
375859 |
%{_javadocdir}/%{name}
|
|
|
375859 |
%doc LICENSE
|
|
|
375859 |
|
|
|
375859 |
%changelog
|
|
|
375859 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.2-10
|
|
|
375859 |
- Mass rebuild 2013-12-27
|
|
|
375859 |
|
|
|
375859 |
* Fri Dec 13 2013 Ade Lee <alee@redhat.com> 1.0.2-9
|
|
|
375859 |
- Fix spec file dist tag for rpmlint
|
|
|
375859 |
|
|
|
375859 |
* Wed Nov 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.2-8
|
|
|
375859 |
- Remove unneeded BR: maven-plugin-cobertura
|
|
|
375859 |
|
|
|
375859 |
* Thu May 9 2013 Ade Lee <alee@redhat.com> 1.0.2-7
|
|
|
375859 |
- Resolves #961454 - Remove unneeded maven-checkstyle-plugin BR
|
|
|
375859 |
|
|
|
375859 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-6
|
|
|
375859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
375859 |
|
|
|
375859 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0.2-5
|
|
|
375859 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
375859 |
- Replace maven BuildRequires with maven-local
|
|
|
375859 |
|
|
|
375859 |
* Thu Nov 29 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.2-4
|
|
|
375859 |
- Remove unneeded BR: maven-eclipse-plugin
|
|
|
375859 |
|
|
|
375859 |
* Fri Jul 20 2012 Marek Goldmann <mgoldman@redhat.com> 1.0.3-1
|
|
|
375859 |
- Fixed BR
|
|
|
375859 |
|
|
|
375859 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
|
|
|
375859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
375859 |
|
|
|
375859 |
* Mon Mar 19 2012 Marek Goldmann <mgoldman@redhat.com> 1.0.2-1
|
|
|
375859 |
- Upstream release 1.0.2.Final
|
|
|
375859 |
|
|
|
375859 |
* Fri Mar 09 2012 Marek Goldmann <mgoldman@redhat.com> 1.0.2-0.1.20120309git53fbe3
|
|
|
375859 |
- Packaging after license cleanup upstream
|
|
|
375859 |
|
|
|
375859 |
* Fri Aug 12 2011 Marek Goldmann <mgoldman@redhat.com> 1.0.1-2
|
|
|
375859 |
- Using geronimo-jta instead of jboss-transactions
|
|
|
375859 |
|
|
|
375859 |
* Thu Aug 11 2011 Marek Goldmann <mgoldman@redhat.com> 1.0.1-1
|
|
|
375859 |
- Initial packaging
|
|
|
375859 |
|