%global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: jdeparser Version: 2.0.0 Release: 2%{?dist} Summary: Source generator library for Java License: ASL 2.0 URL: https://github.com/jdeparser/jdeparser2 # old repos https://github.com/jdeparser/jdeparser Source0: https://github.com/jdeparser/jdeparser2/archive/%{namedversion}.tar.gz BuildArch: noarch BuildRequires: graphviz BuildRequires: maven-local BuildRequires: mvn(jdepend:jdepend) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.jboss:jboss-parent:pom:) BuildRequires: mvn(org.jboss.apiviz:apiviz) %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 jdeparser2-%{namedversion} %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Fri Feb 10 2017 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri May 27 2016 gil cattaneo 2.0.0-1 - update to 2.0.0.Final - introduce license macro - fix some rpmlint problem * Thu Feb 04 2016 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed May 29 2013 Marek Goldmann - 1.0.0-1 - Initial packaging