This commit is contained in:
commit
e3f3164ba5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
jdepend-2.6.zip
Normal file
3
jdepend-2.6.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:db6ea27b1e5d89fed53cee443e1a085798fc8a0a7388f1b9c9458c28eb64b9f6
|
||||
size 379931
|
33
jdepend-java14compat.patch
Normal file
33
jdepend-java14compat.patch
Normal file
@ -0,0 +1,33 @@
|
||||
diff -Naur ../jdepend-2.6.orig/build.xml ./build.xml
|
||||
--- ../jdepend-2.6.orig/build.xml 2003-03-21 07:38:58.000000000 +0100
|
||||
+++ ./build.xml 2006-09-25 16:23:28.000000000 +0200
|
||||
@@ -72,7 +72,8 @@
|
||||
<target name="compile-src" depends="prepare">
|
||||
|
||||
<javac srcdir="${src.dir}" destdir="${build.dir}"
|
||||
- debug="${build.debug}" debuglevel="${build.debuglevel}">
|
||||
+ debug="${build.debug}" debuglevel="${build.debuglevel}"
|
||||
+ source="1.4" target="1.4">
|
||||
<classpath refid="compile.classpath" />
|
||||
</javac>
|
||||
|
||||
@@ -82,7 +83,8 @@
|
||||
<target name="compile-sample" depends="prepare">
|
||||
|
||||
<javac srcdir="${sample.dir}" destdir="${build.dir}"
|
||||
- debug="${build.debug}" debuglevel="${build.debuglevel}">
|
||||
+ debug="${build.debug}" debuglevel="${build.debuglevel}"
|
||||
+ source="1.4" target="1.4">
|
||||
<classpath refid="compile.classpath" />
|
||||
</javac>
|
||||
|
||||
@@ -92,7 +94,8 @@
|
||||
<target name="compile-tests" depends="compile-src" if="junit.present">
|
||||
|
||||
<javac srcdir="${tests.dir}" destdir="${build.dir}"
|
||||
- debug="${build.debug}" debuglevel="${build.debuglevel}">
|
||||
+ debug="${build.debug}" debuglevel="${build.debuglevel}"
|
||||
+ source="1.4" target="1.4">
|
||||
<classpath refid="compile.classpath" />
|
||||
</javac>
|
||||
|
26
jdepend.changes
Normal file
26
jdepend.changes
Normal file
@ -0,0 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 16:26:24 CEST 2006 - skh@suse.de
|
||||
|
||||
- don't use icecream
|
||||
- use source="1.4" and target="1.4" for build with java 1.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:46:45 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 28 15:26:51 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Adjustments in the spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 18 16:41:06 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Current version 2.6 from JPackage.org
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 2 16:26:12 CEST 2004 - skh@suse.de
|
||||
|
||||
- Initial package created with version 2.6 (JPackage 1.5)
|
||||
|
123
jdepend.spec
Normal file
123
jdepend.spec
Normal file
@ -0,0 +1,123 @@
|
||||
#
|
||||
# spec file for package jdepend (Version 2.6)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
# icecream 0
|
||||
|
||||
Name: jdepend
|
||||
BuildRequires: ant java2-devel-packages xml-commons-apis
|
||||
%define name jdepend
|
||||
%define version 2.6
|
||||
%define release 3jpp
|
||||
%define section free
|
||||
Version: 2.6
|
||||
Release: 24
|
||||
Summary: Java Design Quality Metrics
|
||||
License: BSD, Other License(s), see package
|
||||
URL: http://www.clarkware.com/
|
||||
Group: Development/Libraries/Java
|
||||
Source0: %{url}software/%{name}-%{version}.zip
|
||||
Patch: %{name}-java14compat.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
JDepend traverses a set of Java class and source file directories and
|
||||
generates design quality metrics for each Java package. JDepend allows
|
||||
you to automatically measure the quality of a design in terms of its
|
||||
extensibility, reusability, and maintainability to effectively manage
|
||||
and control package dependencies.
|
||||
|
||||
|
||||
|
||||
%package javadoc
|
||||
PreReq: coreutils
|
||||
Summary: Javadoc for jdepend
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description javadoc
|
||||
JDepend traverses a set of Java class and source file directories and
|
||||
generates design quality metrics for each Java package. JDepend allows
|
||||
you to automatically measure the quality of a design in terms of its
|
||||
extensibility, reusability, and maintainability to effectively manage
|
||||
and control package dependencies.
|
||||
|
||||
This package contains the javadoc documentation for JDepend.
|
||||
|
||||
|
||||
|
||||
%package demo
|
||||
Summary: Demonstration and sample files for jdepend
|
||||
Group: Development/Libraries/Java
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description demo
|
||||
JDepend traverses a set of Java class and source file directories and
|
||||
generates design quality metrics for each Java package. JDepend allows
|
||||
you to automatically measure the quality of a design in terms of its
|
||||
extensibility, reusability, and maintainability to effectively manage
|
||||
and control package dependencies.
|
||||
|
||||
This package contains demonstration and sample files for JDepend.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
# remove all binary libs
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
# fix strange permissions
|
||||
find . -type d -exec chmod 755 {} \;
|
||||
|
||||
%build
|
||||
ant jar javadoc
|
||||
|
||||
%install
|
||||
# jars
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||
install -m 644 lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done)
|
||||
# javadoc
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
cp -pr docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
rm -rf docs/api
|
||||
# demo
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
cp -pr sample $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README LICENSE docs
|
||||
%{_javadir}/*
|
||||
|
||||
%files javadoc
|
||||
%defattr(-,root,root)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
|
||||
%files demo
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog -n jdepend
|
||||
* Mon Sep 25 2006 - skh@suse.de
|
||||
- don't use icecream
|
||||
- use source="1.4" and target="1.4" for build with java 1.5
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Thu Jul 28 2005 - jsmeix@suse.de
|
||||
- Adjustments in the spec file.
|
||||
* Mon Jul 18 2005 - jsmeix@suse.de
|
||||
- Current version 2.6 from JPackage.org
|
||||
* Thu Sep 02 2004 - skh@suse.de
|
||||
- Initial package created with version 2.6 (JPackage 1.5)
|
Loading…
Reference in New Issue
Block a user