From 72fbd8d96b4137430634b54795b678b8e32505ec89fcacb4bf29cef03a32f886 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 29 Aug 2008 22:35:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jdepend?expand=0&rev=4 --- jdepend-2.9.1.tar.bz2 | 3 ++ jdepend-2.9.1.zip | 3 -- jdepend-target15.patch | 29 +++++++++++++++++ jdepend.changes | 8 +++++ jdepend.spec | 72 +++++++++++++----------------------------- 5 files changed, 62 insertions(+), 53 deletions(-) create mode 100644 jdepend-2.9.1.tar.bz2 delete mode 100644 jdepend-2.9.1.zip create mode 100644 jdepend-target15.patch diff --git a/jdepend-2.9.1.tar.bz2 b/jdepend-2.9.1.tar.bz2 new file mode 100644 index 0000000..a0c2dba --- /dev/null +++ b/jdepend-2.9.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1381c76064f8e96a7b29b04ba3cb0a6f7ee27b700fd08e358e043bfdd82be1e6 +size 245043 diff --git a/jdepend-2.9.1.zip b/jdepend-2.9.1.zip deleted file mode 100644 index 5f21a6e..0000000 --- a/jdepend-2.9.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9f34236aaea5ddc070caa29794d2f5ae79bc12e199bec6ebba6c29093a17a9e -size 280104 diff --git a/jdepend-target15.patch b/jdepend-target15.patch new file mode 100644 index 0000000..66573dc --- /dev/null +++ b/jdepend-target15.patch @@ -0,0 +1,29 @@ +--- build.xml ++++ build.xml +@@ -38,7 +38,7 @@ + + +- + +@@ -47,7 +47,7 @@ + + +- + +@@ -57,7 +57,7 @@ + +- + diff --git a/jdepend.changes b/jdepend.changes index 0deec9d..90daac5 100644 --- a/jdepend.changes +++ b/jdepend.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Aug 29 13:26:09 CEST 2008 - mvyskocil@suse.cz + +- source=1.5 -target=1.5 +- bzipped source code +- removed the gcj support +- removed a javadoc scripplets + ------------------------------------------------------------------- Fri Mar 14 09:49:46 CET 2008 - mvyskocil@suse.cz diff --git a/jdepend.spec b/jdepend.spec index df1c25c..aa09ccf 100644 --- a/jdepend.spec +++ b/jdepend.spec @@ -2,40 +2,37 @@ # spec file for package jdepend (Version 2.9.1) # # Copyright (c) 2008 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. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild # icecream 0 -%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}} %define section free Name: jdepend Version: 2.9.1 -Release: 1 +Release: 72 Summary: Java Design Quality Metrics License: BSD 3-Clause Url: http://www.clarkware.com/ Group: Development/Libraries/Java -Source0: %{url}software/%{name}-%{version}.zip +Source0: %{url}software/%{name}-%{version}.tar.bz2 +Patch0: jdepend-target15.patch BuildRequires: ant -%if %defined suse_version -BuildRequires: unzip BuildRequires: java-devel -%endif -%if ! %{gcj_support} BuildArch: noarch -%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if %{gcj_support} -BuildRequires: java-gcj-compat-devel -Requires(post): java-gcj-compat -Requires(postun): java-gcj-compat -%endif %description JDepend traverses a set of Java class and source file directories and @@ -47,10 +44,9 @@ and control package dependencies. %package javadoc +License: BSD 3-Clause Summary: Javadoc for jdepend Group: Development/Libraries/Java -Requires(post): /bin/rm /bin/ln -Requires(postun): /bin/rm %description javadoc JDepend traverses a set of Java class and source file directories and @@ -64,6 +60,7 @@ This package contains the javadoc documentation for JDepend. %package demo +License: BSD 3-Clause Summary: Demonstration and sample files for jdepend Group: Development/Libraries/Java Requires: %{name} = %{version}-%{release} @@ -85,6 +82,7 @@ This package contains demonstration and sample files for JDepend. find . -name "*.jar" -exec rm -f {} \; # fix strange permissions find . -type d -exec chmod 755 {} \; +%patch0 -b .target15 %build ant jar javadoc @@ -98,62 +96,36 @@ install -m 644 dist/%{name}-%{version}.jar \ # javadoc install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr build/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink +ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} rm -rf docs/api # demo install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} cp -pr sample $RPM_BUILD_ROOT%{_datadir}/%{name} -%if %{gcj_support} -%{_bindir}/aot-compile-rpm -%endif %clean rm -rf $RPM_BUILD_ROOT -%if %{gcj_support} - -%post -if [ -x %{_bindir}/rebuild-gcj-db ] -then - %{_bindir}/rebuild-gcj-db -fi -%endif -%if %{gcj_support} - -%postun -if [ -x %{_bindir}/rebuild-gcj-db ] -then - %{_bindir}/rebuild-gcj-db -fi -%endif - -%post javadoc -rm -f %{_javadocdir}/%{name} -ln -s %{name}-%{version} %{_javadocdir}/%{name} - -%postun javadoc -if [ "$1" = "0" ]; then - rm -f %{_javadocdir}/%{name} -fi %files %defattr(-,root,root) %doc CHANGES README LICENSE %{_javadir}/* -%if %{gcj_support} -%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.* -%endif %files javadoc %defattr(-,root,root) %doc docs %{_javadocdir}/%{name}-%{version} -%ghost %doc %{_javadocdir}/%{name} +%doc %{_javadocdir}/%{name} %files demo %defattr(-,root,root) %{_datadir}/%{name} %changelog +* Fri Aug 29 2008 mvyskocil@suse.cz +- source=1.5 -target=1.5 +- bzipped source code +- removed the gcj support +- removed a javadoc scripplets * Fri Mar 14 2008 mvyskocil@suse.cz - merged with jpackage 1.7: - update to version 2.9.1