This commit is contained in:
commit
434595d933
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
xpp3-1.1.3_8_src.tar.bz2
Normal file
3
xpp3-1.1.3_8_src.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d2e60a68b9dd70b9edf370acdf335f3ff4b226b86a9e451f849fcf94dec222b
|
||||
size 490583
|
5
xpp3.changes
Normal file
5
xpp3.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 12 15:33:12 CEST 2009 - mvyskocil@suse.cz
|
||||
|
||||
- Initial SUSE packaging of xpp3 1.1.3.8 (from jpp 5.0)
|
||||
|
120
xpp3.spec
Normal file
120
xpp3.spec
Normal file
@ -0,0 +1,120 @@
|
||||
#
|
||||
# spec file for package xpp3 (Version 1.1.3.8)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define section free
|
||||
%define oversion 1.1.3_8
|
||||
Summary: XML Pull Parser
|
||||
|
||||
Name: xpp3
|
||||
Version: 1.1.3.8
|
||||
Release: 2
|
||||
License: Apache 1.1 (Indiana University)
|
||||
Url: http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html
|
||||
Group: Development/Libraries/Java
|
||||
Source0: http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/xpp3-%{oversion}_src.tar.bz2
|
||||
Requires: jpackage-utils >= 1.6
|
||||
Requires: java >= 1.4.2
|
||||
BuildRequires: jpackage-utils >= 1.6
|
||||
BuildRequires: ant >= 1.6
|
||||
BuildRequires: junit
|
||||
BuildRequires: xml-commons-apis
|
||||
BuildRequires: perl
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Xml Pull Parser 3rd Edition (XPP3) MXP1 is a new XmlPull parsing engine
|
||||
that is based on ideas from XPP and in particular XPP2 but completely
|
||||
revised and rewritten to take best advantage of latest JIT JVMs such as
|
||||
Hotspot in JDK 1.4.
|
||||
|
||||
|
||||
|
||||
%package minimal
|
||||
License: Apache 1.1 (Indiana University)
|
||||
Summary: XML Pull Parser
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description minimal
|
||||
Xml Pull Parser 3rd Edition (XPP3) MXP1 is a new XmlPull parsing engine
|
||||
that is based on ideas from XPP and in particular XPP2 but completely
|
||||
revised and rewritten to take best advantage of latest JIT JVMs such as
|
||||
Hotspot in JDK 1.4.
|
||||
|
||||
|
||||
|
||||
%package javadoc
|
||||
License: Apache 1.1 (Indiana University)
|
||||
Summary: XML Pull Parser
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description javadoc
|
||||
Xml Pull Parser 3rd Edition (XPP3) MXP1 is a new XmlPull parsing engine
|
||||
that is based on ideas from XPP and in particular XPP2 but completely
|
||||
revised and rewritten to take best advantage of latest JIT JVMs such as
|
||||
Hotspot in JDK 1.4.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{oversion}
|
||||
# remove all binary libs
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath xml-commons-apis junit)
|
||||
ant xpp3 junit apidoc
|
||||
|
||||
%install
|
||||
# jars
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||
cp -p build/%{name}-%{oversion}.jar \
|
||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||
cp -p build/%{name}_min-%{oversion}.jar \
|
||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-minimal-%{version}.jar
|
||||
cp -p build/%{name}_xpath-%{oversion}.jar \
|
||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-xpath-%{version}.jar
|
||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||
# javadoc
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
cp -pr doc/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
rm -rf doc/{build.txt,api}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc README.html LICENSE.txt doc/*
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/%{name}-%{version}.jar
|
||||
%{_javadir}/%{name}-xpath.jar
|
||||
%{_javadir}/%{name}-xpath-%{version}.jar
|
||||
|
||||
%files minimal
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-minimal.jar
|
||||
%{_javadir}/%{name}-minimal-%{version}.jar
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
|
||||
%changelog
|
||||
* Tue May 12 2009 mvyskocil@suse.cz
|
||||
- Initial SUSE packaging of xpp3 1.1.3.8 (from jpp 5.0)
|
Loading…
x
Reference in New Issue
Block a user