Marek Goldmann 6894bb3
%global namedreltag .Final
Marek Goldmann 6894bb3
%global namedversion %{version}%{?namedreltag}
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
Name:             jdeparser
a1718c0
Version:          2.0.0
17f2d33
Release:          3%{?dist}
Marek Goldmann 6894bb3
Summary:          Source generator library for Java
a1718c0
License:          ASL 2.0
a1718c0
URL:              https://github.com/jdeparser/jdeparser2
a1718c0
# old repos https://github.com/jdeparser/jdeparser
a1718c0
Source0:          https://github.com/jdeparser/jdeparser2/archive/%{namedversion}.tar.gz
Marek Goldmann 6894bb3
BuildArch:        noarch
Marek Goldmann 6894bb3
a1718c0
BuildRequires:    graphviz
Marek Goldmann 6894bb3
BuildRequires:    maven-local
a1718c0
BuildRequires:    mvn(jdepend:jdepend)
a1718c0
BuildRequires:    mvn(junit:junit)
a1718c0
BuildRequires:    mvn(org.jboss:jboss-parent:pom:)
a1718c0
BuildRequires:    mvn(org.jboss.apiviz:apiviz)
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
%description
Marek Goldmann 6894bb3
This project is a fork of Sun's (now Oracle's) com.sun.codemodel project. We
Marek Goldmann 6894bb3
decided to fork the project because by all evidence, the upstream project is
Marek Goldmann 6894bb3
dead and not actively accepting outside contribution. All JBoss projects are
Marek Goldmann 6894bb3
urged to use this project instead for source code generation.
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
%package javadoc
a1718c0
Summary:        Javadoc for %{name}
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
%description javadoc
Marek Goldmann 6894bb3
This package contains the API documentation for %{name}.
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
%prep
a1718c0
%setup -q -n jdeparser2-%{namedversion}
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
%build
Marek Goldmann 6894bb3
%mvn_build
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
%install
Marek Goldmann 6894bb3
%mvn_install
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
%files -f .mfiles
a1718c0
%license LICENSE.txt
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
%files javadoc -f .mfiles-javadoc
a1718c0
%license LICENSE.txt
Marek Goldmann 6894bb3
Marek Goldmann 6894bb3
%changelog
17f2d33
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
17f2d33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
17f2d33
5e427c1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
5e427c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5e427c1
a1718c0
* Fri May 27 2016 gil cattaneo <puntogil@libero.it> 2.0.0-1
a1718c0
- update to 2.0.0.Final
a1718c0
- introduce license macro
a1718c0
- fix some rpmlint problem
a1718c0
9ddedcf
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
9ddedcf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9ddedcf
bf09415
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
bf09415
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bf09415
6b64b6d
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
6b64b6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6b64b6d
fcb90a9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
fcb90a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fcb90a9
Marek Goldmann 6894bb3
* Wed May 29 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0.0-1
Marek Goldmann 6894bb3
- Initial packaging
Marek Goldmann 6894bb3