Add maven POM

This commit is contained in:
Mikolaj Izdebski 2012-11-01 15:47:37 +01:00
parent 896b0ad46b
commit c108d12a25
2 changed files with 13 additions and 1 deletions

View File

@ -30,7 +30,7 @@
Name: jsch
Version: 0.1.48
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 0
Summary: Pure Java implementation of SSH2
Group: Development/Libraries
@ -48,6 +48,7 @@ Source0: http://download.sourceforge.net/sourceforge/jsch/jsch-%{version}
# unix2dos MANIFEST.MF
Source1: MANIFEST.MF
Source2: plugin.properties
Source3: http://repo1.maven.org/maven2/com/jcraft/%{name}/%{version}/%{name}-%{version}.pom
BuildRequires: jpackage-utils >= 0:1.5
BuildRequires: java-devel >= 1.4.2
@ -109,9 +110,16 @@ install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
cp -pr examples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name}
# POM and depmap
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap
%files
%{_javadir}/*.jar
%doc LICENSE.txt
%{_mavenpomdir}/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}
%files javadoc
%doc %{_javadocdir}/%{name}*
@ -123,6 +131,9 @@ ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name}
%changelog
* Thu Nov 1 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:0.1.48-3
- Add maven POM
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.1.48-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

View File

@ -1 +1,2 @@
9422dbbce4466be80be35b47e60dae25 jsch-0.1.48.zip
221fa956635b67b0a0be2d35e872b370 jsch-0.1.48.pom