auto-import changelog data from jdepend-2.6-2jpp.src.rpm

2.6-2jpp
- fix strange permissions
2.6-1jpp
- 2.6
Tue Jul 09 2002 Henri Gomez <hgomez@users.sourceforge.net> 2.2-1jpp
- Initial JPackage release
This commit is contained in:
cvsdist 2004-09-09 06:30:34 +00:00
parent c17ad80149
commit d79dd79b45
3 changed files with 93 additions and 0 deletions

View File

@ -0,0 +1 @@
jdepend-2.6.zip

91
jdepend.spec Normal file
View File

@ -0,0 +1,91 @@
%define name jdepend
%define version 2.6
%define release 2jpp
%define section free
Name: %{name}
Version: %{version}
Release: %{release}
Epoch: 0
Summary: Java Design Quality Metrics
License: Clarkware License
Url: http://www.clarkware.com/
Group: Development/Libraries/Java
Vendor: JPackage Project
Distribution: JPackage
Source0: %{url}software/%{name}-%{version}.zip
BuildRequires: ant
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%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
Summary: Javadoc for %{name}
Group: Development/Documentation
%description javadoc
Javadoc for %{name}.
%package demo
Summary: Demos for %{name}
Group: Development/Libraries/Java
Requires: %{name} = %{version}-%{release}
%description demo
Demonstrations and samples for %{name}.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
# 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
* Fri Apr 11 2003 David Walluck <david@anti-microsoft.org> 0:2.6-2jpp
- fix strange permissions
* Fri Apr 11 2003 David Walluck <david@anti-microsoft.org> 0:2.6-1jpp
- 2.6
* Tue Jul 09 2002 Henri Gomez <hgomez@users.sourceforge.net> 2.2-1jpp
- Initial JPackage release

View File

@ -0,0 +1 @@
20fe61e6e99bdd5802300ee3371b1e67 jdepend-2.6.zip