77c7b56
Name:          javaparser
202ab84
Version:       1.0.11
d56bca7
Release:       2%{?dist}
202ab84
Summary:       Java 1.7 Parser and AST
77c7b56
License:       GPLv3+ and LGPLv3+
202ab84
# https://github.com/before/javaparser/
1e0c589
URL:           http://javaparser.github.io/javaparser/
202ab84
Source0:       https://github.com/javaparser/javaparser/archive/%{name}-%{version}.tar.gz
77c7b56
Stanislav Ochotnicky 46710f8
BuildRequires: maven-local
202ab84
BuildRequires: mvn(junit:junit)
202ab84
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
202ab84
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
202ab84
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
77c7b56
77c7b56
BuildArch:     noarch
77c7b56
77c7b56
%description
202ab84
A Java 1.7 Parser with AST generation and visitor support.
77c7b56
The AST records the source code structure, java doc and
77c7b56
comments. It is also possible to change the AST nodes or
77c7b56
create new ones to modify the source code.
77c7b56
77c7b56
%package javadoc
77c7b56
Summary:       Javadoc for %{name}
77c7b56
77c7b56
%description javadoc
77c7b56
This package contains javadoc for %{name}.
77c7b56
77c7b56
%prep
202ab84
%setup -q -n %{name}-%{name}-%{version}
77c7b56
202ab84
sed -i 's/\r//' readme.md
77c7b56
970266d
%mvn_file :%{name} %{name}
970266d
77c7b56
%build
77c7b56
77c7b56
# test skip http://code.google.com/p/javaparser/issues/detail?id=43
202ab84
%mvn_build
77c7b56
77c7b56
%install
613a2cf
%mvn_install
77c7b56
613a2cf
%files -f .mfiles
202ab84
%doc readme.md
3a67e16
%license COPYING COPYING.LESSER
77c7b56
613a2cf
%files javadoc -f .mfiles-javadoc
3a67e16
%license COPYING COPYING.LESSER
77c7b56
77c7b56
%changelog
d56bca7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-2
d56bca7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d56bca7
202ab84
* Fri Jul 31 2015 gil cattaneo <puntogil@libero.it> 1.0.11-1
202ab84
- update to 1.0.11
202ab84
177bb60
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-10
177bb60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
177bb60
1e0c589
* Sun Mar 15 2015 gil cattaneo <puntogil@libero.it> 1.0.8-9
1e0c589
- fix Url tag
1e0c589
3a67e16
* Fri Feb 06 2015 gil cattaneo <puntogil@libero.it> 1.0.8-8
3a67e16
- introduce license macro
3a67e16
fe8692d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-7
fe8692d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fe8692d
1460cd7
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.0.8-6
1460cd7
- Use Requires: java-headless rebuild (#1067528)
1460cd7
1d8e729
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-5
1d8e729
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1d8e729
613a2cf
* Mon Jul 08 2013 gil cattaneo <puntogil@libero.it> 1.0.8-4
613a2cf
- switch to XMvn
613a2cf
- minor changes to adapt to current guideline
613a2cf
6edd897
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-3
6edd897
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6edd897
Stanislav Ochotnicky 46710f8
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0.8-2
Stanislav Ochotnicky 46710f8
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 46710f8
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 46710f8
77c7b56
* Thu Jul 26 2012 gil cattaneo <puntogil@libero.it> 1.0.8-1
3a67e16
- initial rpm