[Jpackage-commits] dist/saxon/JPP-6 saxon-6.5.5.pom, NONE, 1.1 saxon-aelfred-6.5.5.pom, NONE, 1.1 saxon-jdom-6.5.5.pom, NONE, 1.1 saxon.spec, 1.2, 1.3

jpackage jpackage at ryu.zarb.org
Sat Dec 18 17:44:38 CET 2010


Update of /home/projects/jpackage/cvs/dist/saxon/JPP-6
In directory ryu.zarb.org:/tmp/cvs-serv14408

Modified Files:
	saxon.spec 
Added Files:
	saxon-6.5.5.pom saxon-aelfred-6.5.5.pom saxon-jdom-6.5.5.pom 
Log Message:
Add poms and depmap frags

Index: saxon.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/saxon/JPP-6/saxon.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** saxon.spec	15 Dec 2010 08:44:08 -0000	1.2
--- saxon.spec	18 Dec 2010 16:44:35 -0000	1.3
***************
*** 43,46 ****
--- 43,50 ----
  Source2:        %{name}.build.script
  Source3:        %{name}.1
+ Source4:        %{name}-%{version}.pom
+ Source5:        %{name}-aelfred-%{version}.pom
+ Source6:        %{name}-jdom-%{version}.pom
+ 
  BuildRequires:  jpackage-utils >= 0:1.7.5
  BuildRequires:  java-devel >= 0:1.6.0
***************
*** 55,58 ****
--- 59,64 ----
  BuildArch:      noarch
  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ Requires(post):    jpackage-utils >= 0:1.7.3
+ Requires(postun):  jpackage-utils >= 0:1.7.3
  
  %description
***************
*** 156,159 ****
--- 162,177 ----
      ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
  
+ # poms
+ install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
+ install -m 644 %{SOURCE4} \
+          $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
+ %add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
+ install -m 644 %{SOURCE5} \
+          $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}-aelfred.pom
+ %add_to_maven_depmap %{name} %{name}-aelfred %{version} JPP %{name}
+ install -m 644 %{SOURCE6} \
+          $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}-jdom.pom
+ %add_to_maven_depmap %{name} %{name}-jdom %{version} JPP %{name}
+ 
  # javadoc
  mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
***************
*** 186,192 ****
--- 204,214 ----
  
  %post
+ %update_maven_depmap
  update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
    jaxp_transform_impl %{_javadir}/%{name}.jar 25
  
+ %postun
+ %update_maven_depmap
+ 
  %preun
  {
***************
*** 200,203 ****
--- 222,227 ----
  %{_javadir}/%{name}-%{version}.jar
  %ghost %{_javadir}/jaxp_transform_impl.jar
+ %{_datadir}/maven2/poms/*
+ %{_mavendepmapfragdir}/*
  
  %files aelfred
***************
*** 232,235 ****
--- 256,260 ----
  - jaxp_parser_impl (B)R dropped
  - (B)R jdom >= 0:1.1
+ - Add poms and depmap frags
  
  * Sun Jun 22 2008 Fernando Nasser <fnasser at redhat.com> - 0:6.5.5-2

--- NEW FILE: saxon-jdom-6.5.5.pom ---
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>saxon</groupId>
<artifactId>saxon-jdom</artifactId>
<version>6.5.5</version>
<dependencies>
<dependency>
  <groupId>org.jdom</groupId>
  <artifactId>jdom</artifactId>
  <version>1.1</version>
</dependency>
</dependencies>
</project>

--- NEW FILE: saxon-6.5.5.pom ---
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>saxon</groupId>
<artifactId>saxon</artifactId>
<version>6.5.5</version>
</project>

--- NEW FILE: saxon-aelfred-6.5.5.pom ---
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>saxon</groupId>
<artifactId>saxon-aelfred</artifactId>
<version>6.5.5</version>
</project>




More information about the JPackage-commits mailing list