Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Rings:1-MinimalX
jdepend
jdepend.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jdepend.spec of Package jdepend
# # spec file for package jdepend # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # %define section free Name: jdepend Version: 2.9.1 Release: 0 Summary: Java Design Quality Metrics License: BSD-3-Clause Group: Development/Libraries/Java Url: http://www.clarkware.com/ Source0: %{url}software/%{name}-%{version}.tar.bz2 Patch0: jdepend-target16.patch BuildRequires: ant BuildRequires: java-devel Obsoletes: %{name}-javadoc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %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 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 # remove all binary libs find . -name "*.jar" -exec rm -f {} \; # fix strange permissions find . -type d -exec chmod 755 {} \; %patch0 -b .target15 %build ant jar %install # jars install -d -m 755 %{buildroot}%{_javadir} install -m 644 dist/%{name}-%{version}.jar \ %{buildroot}%{_javadir}/%{name}-%{version}.jar (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) # demo install -d -m 755 %{buildroot}%{_datadir}/%{name} cp -pr sample %{buildroot}%{_datadir}/%{name} %files %defattr(-,root,root) %doc CHANGES README LICENSE %{_javadir}/* %files demo %defattr(-,root,root) %{_datadir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor