Added Maven POM.
This commit is contained in:
parent
d070ea528f
commit
4940125b3b
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ noarch
|
||||
|
||||
jdepend-2.9.zip
|
||||
clarkware-jdepend-5798059.tar.gz
|
||||
/jdepend-2.9.1.pom
|
||||
|
6
jdepend-2.9.1.pom
Normal file
6
jdepend-2.9.1.pom
Normal file
@ -0,0 +1,6 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>jdepend</groupId>
|
||||
<artifactId>jdepend</artifactId>
|
||||
<version>2.9.1</version>
|
||||
</project>
|
21
jdepend.spec
21
jdepend.spec
@ -30,7 +30,7 @@
|
||||
|
||||
Name: jdepend
|
||||
Version: 2.9.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Java Design Quality Metrics
|
||||
License: BSD
|
||||
@ -38,6 +38,7 @@ URL: http://www.clarkware.com/
|
||||
Group: Development/Libraries
|
||||
#Downloaded from http://github.com/clarkware/jdepend/tarball/2.9.1
|
||||
Source0: clarkware-jdepend-5798059.tar.gz
|
||||
Source1: %{name}-%{version}.pom
|
||||
BuildRequires: ant
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
@ -76,7 +77,6 @@ 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
|
||||
@ -89,14 +89,24 @@ rm -rf build/docs/api
|
||||
# demo
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
cp -pr sample $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
# pom
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
||||
install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
||||
# depmap
|
||||
%add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%post
|
||||
%update_maven_depmap
|
||||
|
||||
%postun
|
||||
%update_maven_depmap
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README LICENSE docs
|
||||
%{_javadir}/*
|
||||
%{_mavenpomdir}/*
|
||||
%{_mavendepmapfragdir}/*
|
||||
|
||||
%files javadoc
|
||||
%defattr(-,root,root)
|
||||
@ -108,6 +118,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Jun 03 2011 Marek Goldmann <mgoldman@redhat.com> 0:2.9.1-4
|
||||
- Added Maven POM
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.9.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user