Blame SPECS/jdependency.spec

b7514d
%global pkg_name jdependency
b7514d
%{?scl:%scl_package %{pkg_name}}
b7514d
%{?maven_find_provides_and_requires}
b7514d
b7514d
Name:           %{?scl_prefix}%{pkg_name}
b7514d
Version:        0.7
b7514d
Release:        10.12%{?dist}
b7514d
Summary:        This project provides an API to analyse class dependencies
b7514d
License:        ASL 2.0
b7514d
URL:            http://github.com/tcurdt/%{pkg_name}
b7514d
BuildArch:      noarch
b7514d
b7514d
Source0:        http://github.com/tcurdt/%{pkg_name}/archive/%{pkg_name}-%{version}.tar.gz
b7514d
# Upstream uses different version of objectweb-asm than Fedora has.
b7514d
Patch0:         %{pkg_name}-asm.patch
b7514d
b7514d
BuildRequires:  %{?scl_prefix}maven-local
b7514d
BuildRequires:  %{?scl_prefix_java_common}objectweb-asm
b7514d
BuildRequires:  %{?scl_prefix_java_common}apache-commons-io
b7514d
b7514d
%description
b7514d
%{pkg_name} is small library that helps you analyze class level
b7514d
dependencies, clashes and missing classes.
b7514d
b7514d
%package javadoc
b7514d
Summary:        API documentation for %{pkg_name}
b7514d
b7514d
%description javadoc
b7514d
%{summary}.
b7514d
b7514d
%prep
b7514d
%setup -q -n %{pkg_name}-%{pkg_name}-%{version}
b7514d
%{?scl:scl enable %{scl} - <<"EOF"}
b7514d
set -e -x
b7514d
%patch0
b7514d
%mvn_file : %{pkg_name}
b7514d
%{?scl:EOF}
b7514d
b7514d
%build
b7514d
%{?scl:scl enable %{scl} - <<"EOF"}
b7514d
set -e -x
b7514d
%mvn_build
b7514d
%{?scl:EOF}
b7514d
b7514d
%install
b7514d
%{?scl:scl enable %{scl} - <<"EOF"}
b7514d
set -e -x
b7514d
%mvn_install
b7514d
%{?scl:EOF}
b7514d
b7514d
%files -f .mfiles
b7514d
%doc LICENSE.txt README.md
b7514d
b7514d
%files javadoc -f .mfiles-javadoc
b7514d
%doc LICENSE.txt
b7514d
b7514d
%changelog
b7514d
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 0.7-10.12
b7514d
- Fix BR on maven-local & co.
b7514d
b7514d
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 0.7-10.11
b7514d
- maven33 rebuild #2
b7514d
b7514d
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 0.7-10.10
b7514d
- maven33 rebuild
b7514d
b7514d
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0.7-10.9
b7514d
- Mass rebuild 2015-01-13
b7514d
b7514d
* Mon Jan 12 2015 Michael Simacek <msimacek@redhat.com> - 0.7-10.8
b7514d
- Rebuild to regenerate requires from java-common
b7514d
b7514d
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 0.7-10.7
b7514d
- Mass rebuild 2015-01-06
b7514d
b7514d
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-10.6
b7514d
- Mass rebuild 2014-05-26
b7514d
b7514d
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-10.5
b7514d
- Mass rebuild 2014-02-19
b7514d
b7514d
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-10.4
b7514d
- Mass rebuild 2014-02-18
b7514d
b7514d
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-10.3
b7514d
- SCL-ize build-requires
b7514d
b7514d
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-10.2
b7514d
- Rebuild to regenerate auto-requires
b7514d
b7514d
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-10.1
b7514d
- First maven30 software collection build
b7514d
b7514d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.7-10
b7514d
- Mass rebuild 2013-12-27
b7514d
b7514d
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-9
b7514d
- Rebuild to regenerate API documentation
b7514d
- Resolves: CVE-2013-1571
b7514d
b7514d
* Fri Jun 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-8
b7514d
- Update to current packaging guidelines
b7514d
- Fix test failures
b7514d
b7514d
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-7
b7514d
- Remove unneeded BR: maven-idea-plugin
b7514d
b7514d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-6
b7514d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b7514d
b7514d
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.7-5
b7514d
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
b7514d
- Replace maven BuildRequires with maven-local
b7514d
b7514d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
b7514d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b7514d
b7514d
* Fri Jun 29 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.7-3
b7514d
- Fix date ordering in changelog
b7514d
- Guidelines fixes
b7514d
b7514d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
b7514d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b7514d
b7514d
* Tue Dec 13 2011 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.7-1
b7514d
- Update to 0.7
b7514d
- Fix BR to not require maven2
b7514d
- Fix BR for new package name
b7514d
- Adjust spec to new guidelines
b7514d
b7514d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
b7514d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b7514d
b7514d
* Thu Oct 14 2010 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.6-3
b7514d
- Add license to javadoc subpackage
b7514d
- Change jakarta-commons-io for apache-commons-io
b7514d
- Add BR to maven
b7514d
b7514d
* Thu Oct 14 2010 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.6-2
b7514d
- Rename from vafer-jdependency to jdependency alone
b7514d
b7514d
* Thu Oct 14 2010 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.6-1
b7514d
- Initial package