Compare commits
No commits in common. "rawhide" and "f24" have entirely different histories.
5 changed files with 219 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/activeio-3.1.4-src-svn.tar.gz
|
||||
31
activeio-3.1.4-howl-logger.patch
Normal file
31
activeio-3.1.4-howl-logger.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
--- activeio-core/src/main/java/org/apache/activeio/journal/howl/HowlJournal.java 2006-11-17 01:40:53.000000000 +0100
|
||||
+++ activeio-core/src/main/java/org/apache/activeio/journal/howl/HowlJournal.java-gil 2012-09-14 12:36:16.560310926 +0200
|
||||
@@ -147,6 +147,28 @@
|
||||
public void logOverflowNotification(long key) {
|
||||
eventListener.overflowNotification(new LongRecordLocation(key));
|
||||
}
|
||||
+ /////// howl-logger 1.0.2 demarcation///////
|
||||
+ /* (non-Javadoc)
|
||||
+ * @see org.objectweb.howl.log.LogEventListener#log(int,java.lang.String,java.lang.Throwable)
|
||||
+ */
|
||||
+ public void log(int level, String message, Throwable thrown) {
|
||||
+ // TODO Auto-generated method stub
|
||||
+ throw new AbstractMethodError();
|
||||
+ }
|
||||
+ /* (non-Javadoc)
|
||||
+ * @see org.objectweb.howl.log.LogEventListener#log(int,java.lang.String)
|
||||
+ */
|
||||
+ public void log(int level, String message) {
|
||||
+ // TODO Auto-generated method stub
|
||||
+ throw new AbstractMethodError();
|
||||
+ }
|
||||
+ /* (non-Javadoc)
|
||||
+ * @see org.objectweb.howl.log.LogEventListener#isLoggable(int)
|
||||
+ */
|
||||
+ public boolean isLoggable(int level) {
|
||||
+ // TODO Auto-generated method stub
|
||||
+ throw new AbstractMethodError();
|
||||
+ }
|
||||
});
|
||||
}
|
||||
|
||||
186
activeio.spec
Normal file
186
activeio.spec
Normal file
|
|
@ -0,0 +1,186 @@
|
|||
Name: activeio
|
||||
Version: 3.1.4
|
||||
Release: 14%{?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_xpath_remove "pom:plugin[pom:artifactId = 'maven-jar-plugin']/pom:executions/pom:execution" %{name}-core
|
||||
%pom_xpath_inject "pom:plugin[pom:artifactId = 'maven-jar-plugin']/pom:executions" "
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestFile>\${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>test-jar</id>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
</execution>" %{name}-core
|
||||
|
||||
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 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
|
||||
|
|
@ -1 +0,0 @@
|
|||
activeio fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1674630
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
d59613bdcead414ee56bbe88c1606feb activeio-3.1.4-src-svn.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue