191 lines
5.7 KiB
RPMSpec
191 lines
5.7 KiB
RPMSpec
Name: activeio
|
|
Version: 3.1.4
|
|
Release: 16%{?dist}
|
|
Summary: Apache ActiveMQ ActiveIO :: Core
|
|
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
|
|
# build fix for howl-logger 1.0.2
|
|
Patch0: activeio-3.1.4-howl-logger.patch
|
|
|
|
BuildRequires: maven-local
|
|
BuildRequires: mvn(commons-logging:commons-logging)
|
|
BuildRequires: mvn(junit:junit)
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
BuildRequires: mvn(org.jboss.spec.javax.management.j2ee:jboss-j2eemgmt-api_1.1_spec)
|
|
%if 0
|
|
BuildRequires: mvn(org.objectweb.howl:howl)
|
|
%endif
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
A high performance IO abstraction framework.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
|
|
%description javadoc
|
|
This package contains javadoc for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
%pom_remove_plugin :ianal-maven-plugin
|
|
%pom_remove_plugin :rat-maven-plugin
|
|
%pom_remove_plugin :taglist-maven-plugin
|
|
%pom_remove_plugin :maven-assembly-plugin
|
|
|
|
|
|
%pom_change_dep -r :geronimo-j2ee-management_1.1_spec org.jboss.spec.javax.management.j2ee:jboss-j2eemgmt-api_1.1_spec:1.0.1.Final
|
|
|
|
%pom_add_dep junit:junit::test %{name}-core
|
|
|
|
# TODO remove when howl-logger is available
|
|
%pom_remove_dep -r howl:howl-logger
|
|
|
|
%if 0
|
|
%pom_xpath_set "pom:properties/pom:howl-version" 1.0.2
|
|
%pom_change_dep -r :howl-logger org.objectweb.howl:howl:'${howl-version}'
|
|
%patch0 -p0
|
|
%else
|
|
%pom_add_plugin org.apache.maven.plugins:maven-compiler-plugin %{name}-core "
|
|
<executions>
|
|
<execution>
|
|
<id>default-compile</id>
|
|
<phase>compile</phase>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/HowlJournal.*</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>default-testCompile</id>
|
|
<phase>test-compile</phase>
|
|
<configuration>
|
|
<testExcludes>
|
|
<exclude>**/JournalPerfTool.*</exclude>
|
|
</testExcludes>
|
|
</configuration>
|
|
<goals>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>"
|
|
%endif
|
|
|
|
%pom_remove_plugin :maven-bundle-plugin
|
|
%pom_add_plugin org.apache.felix:maven-bundle-plugin:2.5.4 %{name}-core '
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<instructions>
|
|
<Bundle-Name>${project.artifactId}</Bundle-Name>
|
|
<Bundle-SymbolicName>${activeio.osgi.symbolic.name}</Bundle-SymbolicName>
|
|
<Implementation-Title>Apache ActiveIO</Implementation-Title>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
</instructions>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>bundle-manifest</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>manifest</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>'
|
|
|
|
%pom_remove_plugin :maven-jar-plugin %{name}-core
|
|
%pom_add_plugin org.apache.maven.plugins:maven-jar-plugin: %{name}-core "
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>\${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>"
|
|
|
|
sed -i 's/\r//' NOTICE
|
|
|
|
%mvn_file :%{name}-core activemq/%{name}-core
|
|
%mvn_package :%{name}-core::tests:
|
|
|
|
%build
|
|
|
|
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE NOTICE
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE NOTICE
|
|
|
|
%changelog
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-16
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-15
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Sat Nov 28 2015 gil cattaneo <puntogil@libero.it> - 3.1.4-13
|
|
- fix OSGi manifest entries
|
|
- handle test artifact with maven macro
|
|
|
|
* Sat Nov 28 2015 gil cattaneo <puntogil@libero.it> - 3.1.4-12
|
|
- rebuilt
|
|
|
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Thu Jan 29 2015 gil cattaneo <puntogil@libero.it> 3.1.4-10
|
|
- introduce license macro
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 3.1.4-8
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Sat Jul 06 2013 gil cattaneo <puntogil@libero.it> 3.1.4-6
|
|
- switch to XMvn
|
|
- minor changes to adapt to current guideline
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.1.4-4
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
* Fri Sep 14 2012 gil cattaneo <puntogil@libero.it> 3.1.4-3
|
|
- Fix parent pom
|
|
|
|
* Fri Sep 14 2012 gil cattaneo <puntogil@libero.it> 3.1.4-2
|
|
- Convert patch to POM macros
|
|
|
|
* Fri May 18 2012 gil cattaneo <puntogil@libero.it> 3.1.4-1
|
|
- initial rpm
|