|
|
@ -1,20 +1,47 @@
|
|
|
|
|
|
|
|
# Copyright (c) 2000-2005, JPackage Project
|
|
|
|
|
|
|
|
# All rights reserved.
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
|
|
|
|
# modification, are permitted provided that the following conditions
|
|
|
|
|
|
|
|
# are met:
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
|
|
|
|
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
|
|
|
# notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
|
|
|
# documentation and/or other materials provided with the
|
|
|
|
|
|
|
|
# distribution.
|
|
|
|
|
|
|
|
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
|
|
|
|
|
# contributors may be used to endorse or promote products derived
|
|
|
|
|
|
|
|
# from this software without specific prior written permission.
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
|
|
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
|
|
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
|
|
|
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
|
|
|
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
|
|
|
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
|
|
|
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
|
|
|
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
|
|
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
|
|
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: jdepend
|
|
|
|
Name: jdepend
|
|
|
|
Version: 2.10
|
|
|
|
Version: 2.9.1
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Release: 29%{?dist}
|
|
|
|
Summary: Java Design Quality Metrics
|
|
|
|
Summary: Java Design Quality Metrics
|
|
|
|
License: MIT
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/clarkware/jdepend
|
|
|
|
URL: http://www.clarkware.com/
|
|
|
|
|
|
|
|
#Downloaded from http://github.com/clarkware/jdepend/tarball/2.9.1
|
|
|
|
|
|
|
|
Source0: clarkware-jdepend-5798059.tar.gz
|
|
|
|
|
|
|
|
Source1: %{name}-%{version}.pom
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/clarkware/jdepend/archive/refs/tags/2.10.tar.gz#/jdepend-2.10.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ant
|
|
|
|
BuildRequires: ant
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
|
|
|
|
|
|
|
|
# demo subpackages was removed in Fedora 37
|
|
|
|
|
|
|
|
Obsoletes: %{name}-demo < 2.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
JDepend traverses a set of Java class and source file directories and
|
|
|
|
JDepend traverses a set of Java class and source file directories and
|
|
|
|
generates design quality metrics for each Java package. JDepend allows
|
|
|
|
generates design quality metrics for each Java package. JDepend allows
|
|
|
@ -28,83 +55,57 @@ Summary: Javadoc for %{name}
|
|
|
|
%description javadoc
|
|
|
|
%description javadoc
|
|
|
|
Javadoc for %{name}.
|
|
|
|
Javadoc for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package demo
|
|
|
|
|
|
|
|
Summary: Demos for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description demo
|
|
|
|
|
|
|
|
Demonstrations and samples for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q -n clarkware-jdepend-5798059
|
|
|
|
# remove all binary libs
|
|
|
|
# remove all binary libs
|
|
|
|
find . -name "*.jar" -delete
|
|
|
|
find . -name "*.jar" -delete
|
|
|
|
# fix strange permissions
|
|
|
|
# fix strange permissions
|
|
|
|
find . -type d -exec chmod 755 {} \;
|
|
|
|
find . -type d -exec chmod 755 {} \;
|
|
|
|
find . -type f -exec chmod 644 {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%mvn_file %{name}:%{name} %{name}
|
|
|
|
%mvn_file %{name}:%{name} %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadoc
|
|
|
|
ant jar javadoc
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%mvn_artifact jdepend:jdepend:%{version} dist/%{name}-%{version}.jar
|
|
|
|
%mvn_artifact %{SOURCE1} dist/%{name}-%{version}.jar
|
|
|
|
%mvn_install -J build/docs/api
|
|
|
|
%mvn_install -J build/docs/api
|
|
|
|
|
|
|
|
rm -rf build/docs/api
|
|
|
|
|
|
|
|
# demo
|
|
|
|
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
|
|
|
|
|
|
cp -pr sample $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%files -f .mfiles
|
|
|
|
%doc README.md CHANGELOG.md docs
|
|
|
|
%doc README docs
|
|
|
|
%license LICENSE.md
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE.md
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.10-11
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-11
|
|
|
|
|
|
|
|
- Remove BR on java-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-10
|
|
|
|
|
|
|
|
- Switch Java compiler source/target to 1.8
|
|
|
|
|
|
|
|
- Resolves: RHEL-52690
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 2.10-10
|
|
|
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 30 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-9
|
|
|
|
|
|
|
|
- Fix unexpected permissions of regular files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.10-8
|
|
|
|
%files demo
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-7
|
|
|
|
%changelog
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 2.9.1-29
|
|
|
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 05 2022 Marian Koncek <mkoncek@redhat.com> - 2.10-3
|
|
|
|
|
|
|
|
- Explicitly specify JVM source and target version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Apr 24 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-1
|
|
|
|
|
|
|
|
- Update to upstream version 2.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.9.1-29
|
|
|
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-28
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-27
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.9.1-28
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.9.1-26
|
|
|
|
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.9.1-27
|
|
|
|
- Convert sources to SHA512
|
|
|
|
- Convert sources to SHA512
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0:2.9.1-26
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.9.1-25
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.9.1-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|