93 lines
No EOL
2.8 KiB
RPMSpec
93 lines
No EOL
2.8 KiB
RPMSpec
Name: activeio
|
|
Version: 3.1.4
|
|
Release: 1%{?dist}
|
|
Summary: Apache ActiveMQ ActiveIO :: Core
|
|
Group: Development/Libraries
|
|
License: ASL 2.0
|
|
Url: http://activemq.apache.org/
|
|
# svn export http://svn.apache.org/repos/asf/activemq/activeio/tags/activeio-parent-3.1.4/ activeio-3.1.4
|
|
# tar czf activeio-3.1.4-src-svn.tar.gz activeio-3.1.4
|
|
Source0: activeio-3.1.4-src-svn.tar.gz
|
|
# remove how-logger integration
|
|
# remove ianal-maven-plugin maven-assembly-plugin(unavailable deps org.apache.geronimo.genesis apache-source-release-assembly-descriptor 2.0) taglist-maven-plugin
|
|
# change geronimo-j2ee-management_1.1_spec with jboss-j2eemgmt-api_1.1_spec
|
|
# change rat-maven-plugin with apache-rat-plugin
|
|
# add junit for test
|
|
Patch0: activeio-3.1.4-fixbuild.patch
|
|
BuildRequires: java-devel
|
|
BuildRequires: jpackage-utils
|
|
|
|
BuildRequires: apache-commons-logging
|
|
BuildRequires: jboss-j2eemgmt-1.1-api
|
|
|
|
BuildRequires: junit4
|
|
|
|
BuildRequires: maven
|
|
BuildRequires: maven-compiler-plugin
|
|
BuildRequires: maven-enforcer-plugin
|
|
BuildRequires: maven-install-plugin
|
|
BuildRequires: maven-jar-plugin
|
|
BuildRequires: maven-javadoc-plugin
|
|
BuildRequires: maven-plugin-bundle
|
|
BuildRequires: maven-resources-plugin
|
|
BuildRequires: maven-surefire-plugin
|
|
BuildRequires: maven-surefire-provider-junit4
|
|
|
|
Requires: apache-commons-logging
|
|
Requires: jboss-j2eemgmt-1.1-api
|
|
|
|
Requires: java
|
|
Requires: jpackage-utils
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
A high performance IO abstraction framework.
|
|
|
|
%package javadoc
|
|
Group: Documentation
|
|
Summary: Javadoc for %{name}
|
|
Requires: jpackage-utils
|
|
|
|
%description javadoc
|
|
This package contains javadoc for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
sed -i 's/\r//' NOTICE
|
|
|
|
%build
|
|
|
|
mvn-rpmbuild -Dproject.build.sourceEncoding=UTF-8 install javadoc:aggregate
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_javadir}/activemq
|
|
install -m 644 %{name}-core/target/%{name}-core-%{version}.jar \
|
|
%{buildroot}%{_javadir}/activemq/%{name}-core.jar
|
|
install -m 644 %{name}-core/target/%{name}-core-%{version}-tests.jar \
|
|
%{buildroot}%{_javadir}/activemq/%{name}-core-tests.jar
|
|
|
|
mkdir -p %{buildroot}%{_mavenpomdir}
|
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.activemq-%{name}-parent.pom
|
|
%add_maven_depmap JPP.activemq-%{name}-parent.pom
|
|
install -pm 644 %{name}-core/pom.xml %{buildroot}%{_mavenpomdir}/JPP.activemq-%{name}-core.pom
|
|
%add_maven_depmap JPP.activemq-%{name}-core.pom activemq/%{name}-core.jar
|
|
|
|
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
|
cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
%files
|
|
%{_javadir}/activemq/%{name}-core*.jar
|
|
%{_mavenpomdir}/JPP.activemq-%{name}-*.pom
|
|
%{_mavendepmapfragdir}/%{name}
|
|
%doc LICENSE NOTICE
|
|
|
|
%files javadoc
|
|
%{_javadocdir}/%{name}
|
|
%doc LICENSE NOTICE
|
|
|
|
%changelog
|
|
* Fri May 18 2012 gil cattaneo <puntogil@libero.it> 3.1.4-1
|
|
- initial rpm |