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