rpms/saxpath/devel saxpath.spec, 1.1, 1.2 saxpath-1.0.pom, 1.1, 1.2 sources, 1.1, 1.2 .cvsignore, 1.1, 1.2

Alexander Kurtakov akurtakov at fedoraproject.org
Thu Aug 20 14:22:25 UTC 2009


Author: akurtakov

Update of /cvs/pkgs/rpms/saxpath/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22557/devel

Modified Files:
	sources .cvsignore 
Added Files:
	saxpath.spec saxpath-1.0.pom 
Log Message:
Initial import.


Index: saxpath.spec
===================================================================
RCS file: saxpath.spec
diff -N saxpath.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ saxpath.spec	20 Aug 2009 14:22:25 -0000	1.2
@@ -0,0 +1,108 @@
+Name:       saxpath
+Version:    1.0
+Release:    1.6%{?dist}
+Summary:    Simple API for XPath
+
+Group:      Development/Libraries
+License:    Saxpath
+URL:        http://sourceforge.net/projects/saxpath/
+Source0:    http://downloads.sourceforge.net/saxpath/saxpath-1.0.tar.gz
+Source1:    %{name}-%{version}.pom
+BuildRoot:  %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires:  ant
+BuildRequires:  ant-junit
+BuildRequires:  ant-trax
+
+BuildArch:      noarch
+
+%description
+The SAXPath project is a Simple API for XPath. SAXPath is analogous to SAX
+in that the API abstracts away the details of parsing and provides a simple
+event based callback interface.
+
+%package javadoc
+Summary:    Javadoc for saxpath
+Group:      Documentation
+
+%description javadoc
+Java API documentation for saxpath.
+
+%prep
+%setup -q -n %{name}-%{version}-FCS
+
+find -type f -name "*.jar" -exec rm -f '{}' \;
+
+%build
+mkdir src/conf
+touch src/conf/MANIFEST.MF
+
+ant
+
+# fix rpmlint warings: saxpath-javadoc.noarch: W: wrong-file-end-of-line-encoding /usr/share/javadoc/saxpath/**/*.css
+for file in `find build/doc -type f | grep .css`; do
+    %{__sed} -i 's/\r//g' $file
+done
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+# install jar
+install -dm 755 $RPM_BUILD_ROOT/%{_javadir}
+cp -p build/saxpath.jar $RPM_BUILD_ROOT/%{_javadir}/%{name}-%{version}.jar
+ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT/%{_javadir}/%{name}.jar
+
+#install pom
+install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/maven2/poms
+cp -p %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-saxpath.pom
+
+#depmap entry
+%add_to_maven_depmap saxpath saxpath %{version}-FCS JPP saxpath
+
+# install javadoc
+install -dm 755 $RPM_BUILD_ROOT/%{_javadocdir}/%{name}
+cp -a build/doc/* $RPM_BUILD_ROOT/%{_javadocdir}/%{name}/
+
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%{_javadir}/*
+%{_datadir}/maven2/poms/*
+%{_mavendepmapfragdir}
+
+%files javadoc
+%defattr(-,root,root,-)
+%{_javadocdir}
+
+
+%changelog
+* Thu Aug 20 2009 Alexander Kurtakov <akurtako at redhat.com> 1.0-1.6
+- Fix GROUPS.
+- Wrap changelog.
+
+* Mon Jun 8 2009 Yong Yang <yyang at redhat.com> 1.0-1.5
+- Fix "saxpath-javadoc.noarch: W: wrong-file-end-of-line-encoding
+  /usr/share/javadoc/saxpath/**/*.css"
+- Fix "saxpath.src: W: mixed-use-of-spaces-and-tabs
+  (spaces: line 1, tab: line 6)"
+
+* Wed May 13 2009 Fernando Nasser <fnasser at redhat.com> 1.0-1.4
+- Fix license
+
+* Tue Mar 10 2009 Yong Yang <yyang at redhat.com> 1.0-1.3
+- rebuild with maven2 2.0.8 built in bootstrap mode
+
+* Tue Jan 06 2009 Yong Yang <yyang at redhat.com> 1.0-1.2
+- Import from dbhole's maven 2.0.8 packages
+
+* Wed Dec 03 2008 Deepak Bhole <dbhole at redhat.com> 1.0-1.1
+- Initial build.


Index: saxpath-1.0.pom
===================================================================
RCS file: saxpath-1.0.pom
diff -N saxpath-1.0.pom
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ saxpath-1.0.pom	20 Aug 2009 14:22:25 -0000	1.2
@@ -0,0 +1,6 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>saxpath</groupId>
+  <artifactId>saxpath</artifactId>
+  <version>1.0-FCS</version>
+</project>


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/saxpath/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	18 May 2009 23:31:10 -0000	1.1
+++ sources	20 Aug 2009 14:22:25 -0000	1.2
@@ -0,0 +1 @@
+cc95ecc7dfb689a29bd42323490ee702  saxpath-1.0.tar.gz


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/saxpath/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	18 May 2009 23:31:10 -0000	1.1
+++ .cvsignore	20 Aug 2009 14:22:25 -0000	1.2
@@ -0,0 +1 @@
+saxpath-1.0.tar.gz




More information about the fedora-extras-commits mailing list