[Jpackage-commits] dist/trilead-ssh2/JPP-6 trilead-ssh2-build213.pom, NONE, 1.1 trilead-ssh2.spec, 1.2, 1.3

David Walluck david at ryu.zarb.org
Tue Jul 14 21:01:44 CEST 2009


Update of /home/projects/jpackage/cvs/dist/trilead-ssh2/JPP-6
In directory ryu.zarb.org:/tmp/cvs-serv1975

Modified Files:
	trilead-ssh2.spec 
Added Files:
	trilead-ssh2-build213.pom 
Log Message:
- add pom

Index: trilead-ssh2.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/trilead-ssh2/JPP-6/trilead-ssh2.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** trilead-ssh2.spec	13 Jul 2009 19:16:32 -0000	1.2
--- trilead-ssh2.spec	14 Jul 2009 19:01:42 -0000	1.3
***************
*** 1,5 ****
  Name:           trilead-ssh2
  Version:        213
! Release:        3%{?dist}
  Epoch:          0
  Summary:        SSH-2 protocol implementation in pure Java
--- 1,5 ----
  Name:           trilead-ssh2
  Version:        213
! Release:        4%{?dist}
  Epoch:          0
  Summary:        SSH-2 protocol implementation in pure Java
***************
*** 9,12 ****
--- 9,15 ----
  Source0:        %{name}-build%{version}.zip
  Source1:        build.xml
+ Source2:        trilead-ssh2-build213.pom
+ Requires(post): jpackage-utils
+ Requires(postun): jpackage-utils
  BuildRequires:  ant
  BuildRequires:  java-devel
***************
*** 55,58 ****
--- 58,66 ----
  %{__ln_s} %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
  
+ # pom
+ %{__mkdir_p} %{buildroot}%{_datadir}/maven2/poms
+ %{__cp} -p %{SOURCE2} %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom
+ %add_to_maven_depmap com.trilead trilead-ssh2 build%{version} JPP %{name}
+ 
  # javadoc
  %{__mkdir_p} %{buildroot}%{_javadocdir}/%{name}-%{version}
***************
*** 63,66 ****
--- 71,80 ----
  %{__rm} -rf %{buildroot}
  
+ %post
+ %update_maven_depmap
+ 
+ %postun
+ %update_maven_depmap
+ 
  %files
  %defattr(0644,root,root,0755)
***************
*** 68,71 ****
--- 82,87 ----
  %{_javadir}/%{name}-%{version}.jar
  %{_javadir}/%{name}.jar
+ %{_datadir}/maven2/poms/JPP-%{name}.pom
+ %{_mavendepmapfragdir}/%{name}
  
  %files javadoc
***************
*** 75,78 ****
--- 91,97 ----
  
  %changelog
+ * Tue Jul 14 2009 David Walluck <dwalluck at redhat.com> 0:213-4
+ - add pom
+ 
  * Mon Jul 13 2009 David Walluck <dwalluck at redhat.com> 0:213-3
  - release

--- NEW FILE: trilead-ssh2-build213.pom ---
<?xml version="1.0" encoding="UTF-8"?><project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.trilead</groupId>
  <artifactId>trilead-ssh2</artifactId>
  <packaging>jar</packaging>
  <version>build213</version>
  <name>Trilead SSH2</name>
  <description>A pure Java implementation of the SSH-2 protocol, a successor to Ganymed</description>
  <url>http://www.trilead.com/Products/Trilead_SSH_for_Java/</url>
  <licenses>
    <license>
      <url>http://www.trilead.com/Products/Trilead_SSH_for_Java/License/</url>
    </license>
  </licenses>
  <distributionManagement>
    <downloadUrl>http://www.trilead.com/Download/Trilead_SSH_for_Java/</downloadUrl>
  </distributionManagement>
</project>




More information about the JPackage-commits mailing list