Compare commits

..

No commits in common. 'c9' and 'i10c-beta' have entirely different histories.

2
.gitignore vendored

@ -1 +1 @@
SOURCES/clarkware-jdepend-5798059.tar.gz SOURCES/jdepend-2.10.tar.gz

@ -1 +1 @@
9703e29a637917389f97a36fe2c8d46c324d16b9 SOURCES/clarkware-jdepend-5798059.tar.gz 316ce00a0c1d14589b44c5e9b2a842955fafd35d SOURCES/jdepend-2.10.tar.gz

@ -1,6 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>jdepend</groupId>
<artifactId>jdepend</artifactId>
<version>2.9.1</version>
</project>

@ -1,47 +1,20 @@
# 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.9.1 Version: 2.10
Release: 29%{?dist} Release: 11%{?dist}
Summary: Java Design Quality Metrics Summary: Java Design Quality Metrics
License: BSD License: MIT
URL: http://www.clarkware.com/ URL: https://github.com/clarkware/jdepend
#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
@ -55,56 +28,82 @@ 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 -n clarkware-jdepend-5798059 %setup -q
# 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 jar javadoc %ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadoc
%install %install
%mvn_artifact %{SOURCE1} dist/%{name}-%{version}.jar %mvn_artifact jdepend:jdepend:%{version} 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 docs %doc README.md CHANGELOG.md docs
%license LICENSE %license LICENSE.md
%files javadoc -f .mfiles-javadoc %files javadoc -f .mfiles-javadoc
%license LICENSE %license LICENSE.md
%files demo
%{_datadir}/%{name}
%changelog %changelog
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 2.9.1-29 * Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.10-11
- Rebuild with regenerated Requires on Java - Rebuilt for MSVSphere 10
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.9.1-28 * Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-11
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Remove BR on java-devel
Related: rhbz#1991688
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.9.1-27 * Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-10
- Convert sources to SHA512 - 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
- Bump release for June 2024 mass rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0:2.9.1-26 * Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.9.1-26
- Convert sources to SHA512
* 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

Loading…
Cancel
Save