%global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: jandex Version: 1.1.0 Release: %mkrel 4 Summary: Java Annotation Indexer Group: Development/Java License: LGPLv2+ URL: https://github.com/jbossas/jandex Source0: https://github.com/wildfly/jandex/archive/%{namedversion}.tar.gz BuildArch: noarch BuildRequires: maven-local BuildRequires: maven-compiler-plugin BuildRequires: maven-install-plugin BuildRequires: maven-jar-plugin BuildRequires: maven-javadoc-plugin BuildRequires: maven-release-plugin BuildRequires: maven-resources-plugin BuildRequires: maven-surefire-plugin BuildRequires: maven-surefire-provider-junit4 BuildRequires: maven-enforcer-plugin BuildRequires: junit4 BuildRequires: jboss-parent %description This package contains Java Annotation Indexer %package javadoc Summary: Javadocs for %{name} Group: Documentation %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n jandex-%{namedversion} %build %mvn_build %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %files javadoc -f .mfiles-javadoc %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.1.0-4.mga5 + Revision: 739267 - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild * Tue Oct 22 2013 umeabot <umeabot> 1.1.0-2.mga4 + Revision: 541716 - Mageia 4 Mass Rebuild * Sun Oct 13 2013 dmorgan <dmorgan> 1.1.0-1.mga4 + Revision: 496388 - New version * Sat Jan 12 2013 umeabot <umeabot> 1.0.3-6.mga3 + Revision: 354736 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Sep 09 2012 dmorgan <dmorgan> 1.0.3-5.mga3 + Revision: 291370 - Allow to put index file into a jar - Added maven-enforcer-plugin BR * Thu Mar 01 2012 gil <gil> 1.0.3-0.Final.1.mga3 + Revision: 216311 - update to 1.0.3.Final - imported package jandex + dmorgan <dmorgan> - Fix buildrequires - Clean spec file