%global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: jdeparser1 Version: 1.0.0 Release: 1%{?dist} Summary: Source generator library for Java # MIT: src/main/java/org/jboss/jdeparser/JSynchronized.java License: (CDDL or GPLv2 with exceptions) and MIT URL: https://github.com/jdeparser/jdeparser Source0: https://github.com/jdeparser/jdeparser/archive/%{namedversion}.tar.gz BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(org.jboss:jboss-parent:pom:) %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: Javadoc for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n jdeparser-%{namedversion} %mvn_compat_version : 1 %build %mvn_build %install %mvn_install %files -f .mfiles %doc README.md %license LICENSE-original.html %files javadoc -f .mfiles-javadoc %license LICENSE-original.html %changelog * Thu Jun 09 2016 gil cattaneo 1.0.0-1 - Initial packaging