rpms/kxml/devel kxml.spec, NONE, 1.1 kxml2-2.2.2.pom, NONE, 1.1 sources, 1.1, 1.2 .cvsignore, 1.1, 1.2
Alexander Kurtakov
akurtakov at fedoraproject.org
Thu Sep 3 21:06:03 UTC 2009
- Previous message (by thread): rpms/slf4j/devel slf4j-1.5.8-skip-integration-tests.patch, NONE, 1.1 slf4j-pom_xml.patch, NONE, 1.1 slf4j-component-info.xml, NONE, 1.1 slf4j.spec, NONE, 1.1 slf4j-settings.xml, NONE, 1.1 slf4j-jpp-depmap.xml, NONE, 1.1 sources, 1.1, 1.2 .cvsignore, 1.1, 1.2
- Next message (by thread): rpms/slf4j/devel slf4j.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: akurtakov
Update of /cvs/pkgs/rpms/kxml/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15363/devel
Modified Files:
sources .cvsignore
Added Files:
kxml.spec kxml2-2.2.2.pom
Log Message:
Initial import.
--- NEW FILE kxml.spec ---
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the
# distribution.
# 3. Neither the name of the JPackage Project nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
Name: kxml
Version: 2.2.2
Release: 5%{?dist}
Summary: Small XML pull parser
License: BSD
URL: http://kxml.sourceforge.net/
Group: Development/Libraries
Source0: http://dl.sourceforge.net/sourceforge/kxml/kxml2-src-2.2.2.zip
Source1: http://repo1.maven.org/maven2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.pom
BuildRequires: jpackage-utils >= 0:1.7.4
BuildRequires: java-devel = 0:1.5.0
BuildRequires: ant >= 0:1.6.5
BuildRequires: xpp3 >= 0:1.1.3.1
Requires: java >= 0:1.5.0
Requires: xpp3
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires(post): jpackage-utils >= 0:1.7.4
Requires(postun): jpackage-utils >= 0:1.7.4
%description
kXML is a small XML pull parser, specially designed for constrained
environments such as Applets, Personal Java or MIDP devices.
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation
%description javadoc
API documentation for %{name}.
%prep
%setup -q -c
for j in $(find . -name "*.jar"); do
mv $j $j.no
done
ln -sf $(build-classpath xpp3) lib/xmlpull_1_1_3_1.jar
%build
ant
%install
rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
%add_to_maven_depmap net.sf.kxml %{name}2 %{version} JPP %{name}
install -m 644 %{SOURCE1} \
$RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP.%{name}.pom
# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 dist/%{name}2-%{version}.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
install -m 644 dist/%{name}2-min-%{version}.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-min-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do \
ln -sf ${jar} ${jar/-%{version}/}; done)
# javadoc
install -p -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr www/kxml2/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
(cd $RPM_BUILD_ROOT%{_javadocdir} && ln -sf %{name}-%{version} %{name})
%clean
rm -rf $RPM_BUILD_ROOT
%post
%update_maven_depmap
%postun
%update_maven_depmap
%files
%defattr(-,root,root,-)
%doc license.txt
%{_javadir}/*.jar
%{_datadir}/maven2/poms/JPP.%{name}.pom
%{_mavendepmapfragdir}/%{name}
%files javadoc
%defattr(-,root,root,-)
%dir %{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}-%{version}/*
%dir %{_javadocdir}/%{name}
%changelog
* Thu Sep 3 2009 Alexander Kurtakov <akurtako at redhat.com> 2.2.2-5
- Fix Summary and description.
- Fix line length.
- Use pom from the URL.
* Thu Sep 3 2009 Alexander Kurtakov <akurtako at redhat.com> 2.2.2-4
- Adapt for Fedora.
* Mon Dec 08 2008 Will Tatam <will.tatam at red61.com> 2.2.2-3
- Auto rebuild for JPackage 5 in mock
* Wed May 07 2008 Ralph Apel <r.apel at r-apel.de> 0:2.2.2-2jpp
- Add xpp3 (B)R
* Wed May 07 2008 Ralph Apel <r.apel at r-apel.de> 0:2.2.2-1jpp
- 2.2.2
* Thu Aug 26 2004 Fernando Nasser <fnasser at redhat.com> 0:2.1.8-4jpp
- Pro-forma rebuild with Ant 1.6.2
* Mon Jan 26 2004 David Walluck <david at anti-microsoft.org> 0:2.1.8-3jpp
- remove fractal reference
* Sun Jan 25 2004 David Walluck <david at anti-microsoft.org> 0:2.1.8-2jpp
- fix license
* Sun Jan 25 2004 David Walluck <david at anti-microsoft.org> 0:2.1.8-1jpp
- release
--- NEW FILE kxml2-2.2.2.pom ---
<?xml version="1.0" encoding="UTF-8"?><project>
<modelVersion>4.0.0</modelVersion>
<groupId>net.sf.kxml</groupId>
<artifactId>kxml2</artifactId>
<name>kXML 2</name>
<version>2.2.2</version>
<description>kXML2 is a small XmlPull parser aimed at J2ME/MIDP devices, e.g. mobile phones.</description>
<url>http://kxml.sourceforge.net/kxml2</url>
<licenses>
<license>
<name>The BSD License</name>
<url>http://www.opensource.org/licenses/bsd-license.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<issueManagement>
<url>http://sourceforge.net/tracker/?atid=109157&group_id=9157&func=browse</url>
</issueManagement>
<inceptionYear>2001</inceptionYear>
<mailingLists>
<mailingList>
<name>kXML Developer List</name>
<archive>http://sourceforge.net/mail/?group_id=9157</archive>
</mailingList>
</mailingLists>
<developers>
<developer>
<id>haustein</id>
<name>Stefan Haustein</name>
<email>sh at kobjects.org</email>
<organization></organization>
</developer>
</developers>
<scm>
<connection>scm:cvs:pserver:anonymous at cvs.sourceforge.net:/cvsroot/kxml:kxml2</connection>
<url>http://cvs.sourceforge.net/viewcvs.py/kxml/kxml2/</url>
</scm>
<organization>
<name>kObjects.org</name>
<url>http://kobjects.org/</url>
</organization>
<build>
<sourceDirectory>src/</sourceDirectory>
</build>
<dependencies>
<dependency>
<groupId>xmlpull</groupId>
<artifactId>xmlpull</artifactId>
<version>1.1.3.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<site>
<id>default</id>
<name>Default Site</name>
<url>scp://kxml.sourceforge.net//kxml2</url>
</site>
</distributionManagement>
</project>
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/kxml/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 3 Sep 2009 15:11:49 -0000 1.1
+++ sources 3 Sep 2009 21:06:02 -0000 1.2
@@ -0,0 +1 @@
+4b451a4ce39e20b8f885f5194aabbfbd kxml2-src-2.2.2.zip
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/kxml/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 3 Sep 2009 15:11:49 -0000 1.1
+++ .cvsignore 3 Sep 2009 21:06:03 -0000 1.2
@@ -0,0 +1 @@
+kxml2-src-2.2.2.zip
- Previous message (by thread): rpms/slf4j/devel slf4j-1.5.8-skip-integration-tests.patch, NONE, 1.1 slf4j-pom_xml.patch, NONE, 1.1 slf4j-component-info.xml, NONE, 1.1 slf4j.spec, NONE, 1.1 slf4j-settings.xml, NONE, 1.1 slf4j-jpp-depmap.xml, NONE, 1.1 sources, 1.1, 1.2 .cvsignore, 1.1, 1.2
- Next message (by thread): rpms/slf4j/devel slf4j.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list