%global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: narayana Version: 5.0.0 Release: %mkrel 2 Group: Development/Java Summary: Distributed Transaction Manager License: LGPLv2+ URL: http://www.jboss.org/narayana/ Source0: https://github.com/jbosstm/narayana/archive/%{namedversion}.tar.gz BuildArch: noarch BuildRequires: aether BuildRequires: junit BuildRequires: antlr-tool BuildRequires: ant BuildRequires: ant-junit BuildRequires: ant-contrib BuildRequires: apache-commons-codec BuildRequires: avalon-logkit BuildRequires: cdi-api BuildRequires: hibernate-jpa-2.0-api BuildRequires: dom4j BuildRequires: byteman BuildRequires: ironjacamar BuildRequires: jacorb BuildRequires: jakarta-commons-httpclient BuildRequires: jboss-logging BuildRequires: jboss-logging-tools BuildRequires: jboss-transaction-1.2-api BuildRequires: jboss-transaction-spi BuildRequires: jboss-interceptors-1.2-api BuildRequires: jboss-servlet-3.0-api BuildRequires: jboss-ejb-3.1-api BuildRequires: jboss-annotations-1.1-api BuildRequires: jbossws-api >= 1.0.2 BuildRequires: jboss-integration BuildRequires: h2 BuildRequires: hornetq BuildRequires: mvn(org.hornetq:hornetq-journal) BuildRequires: jfreechart BuildRequires: java-service-wrapper BuildRequires: slf4j BuildRequires: maven-local BuildRequires: maven-plugin-build-helper BuildRequires: maven-shade-plugin BuildRequires: maven-dependency-plugin BuildRequires: maven-war-plugin BuildRequires: idlj-maven-plugin BuildRequires: glassfish-annotation-api BuildRequires: jvnet-parent BuildRequires: jbossws-parent BuildRequires: resteasy BuildRequires: weld-core # This package replaced jboss-jts # Below you can find appropriate obsoletes/provides Provides: jboss-jts = %{version}-%{release} Obsoletes: jboss-jts < 4.16.6-12 %description A set of JBoss modules that fully supports ACID transactions spread across multiple resource managers and application servers. It implements a Distributed Transaction Manager (DTM) with support for two-phase commit (2PC) across XA resource managers, JBoss server instances, and CORBA OTS resources. JBossJTS implements the Java Transaction Service (JTS) and CORBA Transaction Service (OTS) specifications. %package javadoc Summary: Javadocs for %{name} %description javadoc This package contains the API documentation for %{name}. %prep # Extract the source: %setup -q -n narayana-%{namedversion} find . -name "*.jar" -type f -delete find . -name "*.class" -type f -delete %pom_remove_dep "orson:orson" ArjunaCore/arjuna/pom.xml %pom_remove_plugin "org.codehaus.mojo:findbugs-maven-plugin" # Remove the hardcoded path to emma.jar sed -i "s|<systemPath*systemPath>||" pom.xml # Fix the gid of jfreechart %pom_remove_dep "jfree:jfreechart" ArjunaCore/arjuna/pom.xml %pom_add_dep "org.jfree:jfreechart" ArjunaCore/arjuna/pom.xml # Remove JConsole dep %pom_remove_dep "sun.jdk:jconsole" ArjunaCore/arjuna/pom.xml %pom_remove_dep "org.jboss.arquillian.junit:arquillian-junit-container" ArjunaJTA/cdi/pom.xml %pom_remove_dep "org.jboss.arquillian.junit:arquillian-junit-container" txframework/pom.xml %pom_disable_module localjunit XTS # No org.jboss.spec:jboss-javaee-6.0:pom:3.0.1.Final %pom_remove_dep "org.jboss.spec:jboss-javaee-6.0" txbridge/pom.xml %pom_remove_plugin ":maven-dependency-plugin" txbridge/pom.xml %pom_remove_plugin "org.jboss.byteman:byteman-rulecheck-maven-plugin" # Because of removed modules %pom_disable_module narayana-full # Remove war deps %pom_xpath_remove "pom:dependencies/pom:dependency[pom:type = 'war']" XTS/sar/pom.xml %pom_disable_module webservice rts/at/pom.xml %pom_remove_dep "org.jboss.narayana.rts:restat-web" narayana-full/pom.xml %pom_remove_dep "org.jboss.arquillian.junit:" ArjunaJTA/spi/pom.xml %build %mvn_package :::api: __default # Some missing deps %mvn_build -f %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %doc README.md %doc copyright.txt %doc common/copyright.txt %files javadoc -f .mfiles-javadoc %doc copyright.txt %doc common/copyright.txt %changelog * Sat Dec 27 2014 pterjan <pterjan> 5.0.0-2.mga5 + Revision: 806511 - Clean rebuild - Sync with Fedora 21 (update to Final) * Wed Oct 15 2014 umeabot <umeabot> 5.0.0-0.5.M3.4.mga5 + Revision: 744842 - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild * Tue Oct 22 2013 umeabot <umeabot> 5.0.0-0.5.M3.2.mga4 + Revision: 545384 - Mageia 4 Mass Rebuild * Tue Oct 15 2013 dmorgan <dmorgan> 5.0.0-0.5.M3.1.mga4 + Revision: 501181 - imported package narayana * Mon Sep 30 2013 Marek Goldmann <mgoldman@redhat.com> - 5.0.0-0.5.M3 - Add the classifiers jars to the main package * Fri Sep 27 2013 Marek Goldmann <mgoldman@redhat.com> - 5.0.0-0.4.M3 - Rebuild * Fri Sep 13 2013 Marek Goldmann <mgoldman@redhat.com> - 5.0.0-0.3.M3 - Rebuilt * Tue Aug 06 2013 Marek Goldmann <mgoldman@redhat.com> - 5.0.0-0.2.M3 - Removed unnecessary BR * Fri Jun 14 2013 Marek Goldmann <mgoldman@redhat.com> - 5.0.0-0.1.M3 - Upstream release 5.0.0.M3 - Package rename from jboss-jts to narayana - New guidelines - Now using Maven instead of Ant * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.16.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Sep 18 2012 Marek Goldmann <mgoldman@redhat.com> - 4.16.2-10 - Added jbosstxbridge, jbossxts and jbossxts-api to the build - Removed jbossjta artifacts from build * Fri Aug 31 2012 Marek Goldmann <mgoldman@redhat.com> - 4.16.2-9 - Workaround for linking the wrapper.jar * Thu Aug 30 2012 Marek Goldmann <mgoldman@redhat.com> - 4.16.2-8 - Added jbossjts to the build * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.16.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jul 03 2012 Marek Goldmann <mgoldman@redhat.com> 4.16.2-6 - Updated patch to remove the jboss-as-parent dep from the correct files * Tue Jul 03 2012 Marek Goldmann <mgoldman@redhat.com> 4.16.2-5 - Removed the jboss-as-parent dependency * Tue Jun 19 2012 Marek Goldmann <mgoldman@redhat.com> 4.16.2-4 - Removed HornetQ patches, we have it now in Fedora * Tue Mar 20 2012 Juan Hernandez <juan.hernandez@redhat.com> 4.16.2-3 - Use the namedversion macro in the source URLs - Fixed the version numbers in the changelog * Tue Mar 20 2012 Juan Hernandez <juan.hernandez@redhat.com> 4.16.2-2 - Cleanup of the spec file * Mon Nov 21 2011 Marek Goldmann <mgoldman@redhat.com> 4.16.2-1 - Initial packaging