update to 2.0.0.Final

This commit is contained in:
gil 2016-05-27 11:11:54 +02:00
parent 9ddedcf47b
commit a1718c03e4
3 changed files with 22 additions and 18 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/jdeparser-1.0.0.Final.tar.xz /jdeparser-1.0.0.Final.tar.xz
/2.0.0.Final.tar.gz

View File

@ -2,20 +2,21 @@
%global namedversion %{version}%{?namedreltag} %global namedversion %{version}%{?namedreltag}
Name: jdeparser Name: jdeparser
Version: 1.0.0 Version: 2.0.0
Release: 5%{?dist} Release: 1%{?dist}
Summary: Source generator library for Java Summary: Source generator library for Java
Group: Development/Libraries License: ASL 2.0
# See README.md URL: https://github.com/jdeparser/jdeparser2
License: (CDDL or GPLv2 with exceptions) and MIT # old repos https://github.com/jdeparser/jdeparser
URL: https://github.com/jdeparser/jdeparser Source0: https://github.com/jdeparser/jdeparser2/archive/%{namedversion}.tar.gz
# git clone git://github.com/jdeparser/jdeparser.git
# cd jdeparser && git archive --format=tar --prefix=jdeparser-1.0.0.Final/ 1.0.0.Final | xz > jdeparser-1.0.0.Final.tar.xz
Source0: jdeparser-%{namedversion}.tar.xz
BuildArch: noarch BuildArch: noarch
BuildRequires: graphviz
BuildRequires: maven-local 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 %description
This project is a fork of Sun's (now Oracle's) com.sun.codemodel project. We This project is a fork of Sun's (now Oracle's) com.sun.codemodel project. We
@ -24,14 +25,13 @@ dead and not actively accepting outside contribution. All JBoss projects are
urged to use this project instead for source code generation. urged to use this project instead for source code generation.
%package javadoc %package javadoc
Summary: Javadocs for %{name} Summary: Javadoc for %{name}
Group: Documentation
%description javadoc %description javadoc
This package contains the API documentation for %{name}. This package contains the API documentation for %{name}.
%prep %prep
%setup -q -n jdeparser-%{namedversion} %setup -q -n jdeparser2-%{namedversion}
%build %build
%mvn_build %mvn_build
@ -40,14 +40,17 @@ This package contains the API documentation for %{name}.
%mvn_install %mvn_install
%files -f .mfiles %files -f .mfiles
%dir %{_javadir}/%{name} %license LICENSE.txt
%doc LICENSE-original.html
%doc README.md
%files javadoc -f .mfiles-javadoc %files javadoc -f .mfiles-javadoc
%doc LICENSE-original.html %license LICENSE.txt
%changelog %changelog
* Fri May 27 2016 gil cattaneo <puntogil@libero.it> 2.0.0-1
- update to 2.0.0.Final
- introduce license macro
- fix some rpmlint problem
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
4c53a1726ea6ddd471f903d8573613ff jdeparser-1.0.0.Final.tar.xz 497c537e44f7eda88ae885b8fa23e035 2.0.0.Final.tar.gz