%global spec_ver 1.1 %global spec_name geronimo-commonj_%{spec_ver}_spec Name: geronimo-commonj Version: 1.1.0 Release: %mkrel 16 Group: Development/Java Summary: CommonJ Specification License: ASL 2.0 URL: http://geronimo.apache.org/ # svn export https://svn.apache.org/repos/asf/geronimo/specs/tags/specs-1.4/geronimo-commonj_1.1_spec geronimo-commonj-1.1.0 # tar cvfJ geronimo-commonj-1.1.0.tar.xz geronimo-commonj-1.1.0 Source: %{name}-%{version}.tar.xz # Remove the SNAPSHOT tag from the version in the POM file: Patch0: %{name}-version-fix.patch BuildArch: noarch BuildRequires: geronimo-parent-poms BuildRequires: maven-local %description Geronimo CommonJ Specification. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q %patch0 -p0 %mvn_file :%{spec_name} %{name} %build %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %license LICENSE.txt NOTICE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt NOTICE.txt %changelog * Tue Sep 18 2018 umeabot <umeabot> 1.1.0-16.mga7 (not released yet) + Revision: 1260325 - Mageia 7 Mass Rebuild * Wed Mar 02 2016 neoclust <neoclust> 1.1.0-15.mga6 + Revision: 982457 - Second rebuild of the java stack * Tue Feb 23 2016 neoclust <neoclust> 1.1.0-14.mga6 + Revision: 976259 - First rebuild of the java stack - sync package geronimo-commonj with fedora + umeabot <umeabot> - Mageia 6 Mass Rebuild * Sun Dec 28 2014 dmorgan <dmorgan> 1.1.0-10.mga5 + Revision: 806891 - imported package geronimo-commonj * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Mar 2 2012 Juan Hernandez <juan.hernandez@redhat.com> 1.1.0-2 - Cleanup of the spec file * Tue Aug 30 2011 Andy Grimm <agrimm@gmail.com> 1.1.0-1 - Initial build