You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jdeparser/SPECS/jdeparser.spec

86 lines
2.8 KiB

%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jdeparser
Version: 2.0.0
Release: 5%{?dist}.inferit
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
# MSVSphere
Patch100: 0001-Fixed-the-build-failure.patch
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(jdepend:jdepend)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
%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}
%patch100 -p1
%pom_remove_plugin :maven-javadoc-plugin
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Mon Dec 04 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 2.0.0-5.inferit
- Fixed the build failure
- Rebuilt for MSVSphere 8.8
* Wed May 30 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.0-5
- Remove custom apiviz javadoc doclet
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed May 29 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0.0-1
- Initial packaging