- Update to upstream 2.9.1.

- Fix merge review comments rhbz #225942.
This commit is contained in:
Alexander Kurtakov 2010-01-09 08:51:10 +00:00
parent f8c40ce121
commit 4d80a59b8c
2 changed files with 20 additions and 17 deletions

View File

@ -28,15 +28,16 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
Name: jdepend
Version: 2.9
Release: 1%{?dist}
Epoch: 0
Name: jdepend
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
@ -49,26 +50,23 @@ extensibility, reusability, and maintainability to effectively manage
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
Summary: Javadoc for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description javadoc
Javadoc for %{name}.
%package demo
Summary: Demos for %{name}
Group: Development/Libraries/Java
Requires: %{name} = %{version}-%{release}
Summary: Demos for %{name}
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.

View File

@ -1 +1 @@
4e979c0dda766ba1dd719905ca975c7b jdepend-2.9.zip
4ca18dac911aa1342a2a26f6ae34fcc5 clarkware-jdepend-5798059.tar.gz