%global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: jdeparser Version: 1.0.0 Release: %mkrel 5 Summary: Source generator library for Java Group: Development/Java # See README.md License: (CDDL or GPLv2 with exceptions) and MIT URL: https://github.com/jdeparser/jdeparser # git clone git://github.com/jdeparser/jdeparser.git # cd jdeparser && git archive --format=tar --prefix=jdeparser-1.0.0.Final/ 1.0.0.Final | xz > jdeparser-1.0.0.Final.tar.xz Source0: jdeparser-%{namedversion}.tar.xz BuildArch: noarch BuildRequires: maven-local %description This project is a fork of Sun's (now Oracle's) com.sun.codemodel project. We decided to fork the project because by all evidence, the upstream project is dead and not actively accepting outside contribution. All JBoss projects are urged to use this project instead for source code generation. %package javadoc Summary: Javadocs for %{name} Group: Documentation %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n jdeparser-%{namedversion} %build %mvn_build %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %doc LICENSE-original.html %doc README.md %files javadoc -f .mfiles-javadoc %doc LICENSE-original.html %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.0.0-5.mga5 + Revision: 738996 - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild * Mon Oct 21 2013 umeabot <umeabot> 1.0.0-3.mga4 + Revision: 541172 - Mageia 4 Mass Rebuild * Fri Oct 11 2013 dmorgan <dmorgan> 1.0.0-2.mga4 + Revision: 495314 - imported package jdeparser * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed May 29 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0.0-1 - Initial packaging