parent
f8c40ce121
commit
4d80a59b8c
23
jdepend.spec
23
jdepend.spec
@ -29,14 +29,15 @@
|
||||
#
|
||||
|
||||
Name: jdepend
|
||||
Version: 2.9
|
||||
Version: 2.9.1
|
||||
Release: 1%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Java Design Quality Metrics
|
||||
License: BSD
|
||||
URL: http://www.clarkware.com/
|
||||
Group: Development/Libraries/Java
|
||||
Source0: %{url}software/%{name}-%{version}.zip
|
||||
Group: Development/Libraries
|
||||
#Downloaded from http://github.com/clarkware/jdepend/tarball/2.9.1
|
||||
Source0: clarkware-jdepend-5798059.tar.gz
|
||||
BuildRequires: ant
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
@ -50,25 +51,22 @@ and control package dependencies.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Development/Documentation
|
||||
# for /bin/rm and /bin/ln
|
||||
Requires(post): coreutils
|
||||
Requires(postun): coreutils
|
||||
Group: Documentation
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description javadoc
|
||||
Javadoc for %{name}.
|
||||
|
||||
%package demo
|
||||
Summary: Demos for %{name}
|
||||
Group: Development/Libraries/Java
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description demo
|
||||
Demonstrations and samples for %{name}.
|
||||
|
||||
%prep
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%setup -q
|
||||
%setup -q -n clarkware-jdepend-5798059
|
||||
# remove all binary libs
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
# fix strange permissions
|
||||
@ -78,6 +76,7 @@ find . -type d -exec chmod 755 {} \;
|
||||
ant jar javadoc
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
# jars
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||
install -m 644 dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||
@ -107,6 +106,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.9.1-1
|
||||
- Update to upstream 2.9.1.
|
||||
- Fix merge review comments rhbz #225942.
|
||||
|
||||
* Tue Aug 11 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.9-1
|
||||
- Update to upstream 2.9.
|
||||
- Drop gcj support.
|
||||
|
Loading…
Reference in New Issue
Block a user