rpms/werken-xpath/F-12 werken-xpath-0.9.4.pom, NONE, 1.1 werken-xpath.spec, 1.11, 1.12

mef mef at fedoraproject.org
Sat Feb 13 21:54:44 UTC 2010


Author: mef

Update of /cvs/pkgs/rpms/werken-xpath/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29540/F-12

Modified Files:
	werken-xpath.spec 
Added Files:
	werken-xpath-0.9.4.pom 
Log Message:
Add maven pom


--- NEW FILE werken-xpath-0.9.4.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>werken-xpath</groupId>
  <artifactId>werken-xpath</artifactId>
  <version>0.9.4</version>
</project>


Index: werken-xpath.spec
===================================================================
RCS file: /cvs/pkgs/rpms/werken-xpath/F-12/werken-xpath.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- werken-xpath.spec	10 Aug 2009 10:15:41 -0000	1.11
+++ werken-xpath.spec	13 Feb 2010 21:54:44 -0000	1.12
@@ -38,13 +38,14 @@
 
 Name:           werken-xpath
 Version:        0.9.4
-Release:        4.beta.12.3
+Release:        5.beta.12.3
 Epoch:          0
 Summary:        XPath implementation using JDOM
 # Worth noting that this ASL 1.1 has slightly different wording.
 # It may be GPL compatible as a result.
 License:        ASL 1.1
 Source0:        %{dotname}-%{version}-beta-src.tar.gz
+Source1:        http://repo1.maven.org/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom
 Patch0:         %{name}-ElementNamespaceContext.patch
 Patch1:         %{name}-Partition.patch
 Patch2:         %{name}-ParentStep.patch
@@ -116,6 +117,8 @@ for j in $(find . -name "*.jar"); do
 	mv $j $j.no
 done
 
+cp %{SOURCE1} .
+
 #pushd lib
 #ln -sf $(build-classpath antlr) antlr-runtime.jar
 #ln -sf $(build-classpath jdom) jdom.jar
@@ -147,6 +150,13 @@ ln -sf %{name}.jar %{dotname}.jar)
 mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 cp -pr build/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 
+# maven
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+install -pm 644 %{name}-%{version}.pom \
+        $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}.pom
+%add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
+
+
 # -----------------------------------------------------------------------------
 
 %if %{gcj_support}
@@ -170,6 +180,7 @@ fi
 # -----------------------------------------------------------------------------
 
 %post
+%update_maven_depmap
 %if %{gcj_support}
 if [ -x %{_bindir}/rebuild-gcj-db ]
 then
@@ -178,6 +189,7 @@ fi
 %endif
 
 %postun
+%update_maven_depmap
 %if %{gcj_support}
 if [ -x %{_bindir}/rebuild-gcj-db ]
 then
@@ -189,6 +201,8 @@ fi
 %defattr(0644,root,root,0755)
 %doc INSTALL LICENSE LIMITATIONS README TODO
 %{_javadir}/*
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
 
 %if %{gcj_support}
 %attr(-,root,root) %{_libdir}/gcj/%{name}/werken-xpath-0.9.4.jar.*
@@ -201,6 +215,9 @@ fi
 # -----------------------------------------------------------------------------
 
 %changelog
+* Sat Feb 13 2010 Mary Ellen Foster <mefoster at gmail.com> - 0:0.9.4-5.beta.12.3
+- Add maven dependency information
+
 * Mon Aug 10 2009 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.4-4.beta.12.3
 - Convert specfile to UTF-8.
 



More information about the scm-commits mailing list