Sync from SUSE:SLFO:Main xpp3 revision 424c6bb7969f7e3ec4ebad455ae9cb29
This commit is contained in:
parent
ec4d2c8252
commit
fd62ddb417
16
xpp3.changes
16
xpp3.changes
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 30 11:54:40 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Simplify the spec: remove old macros and avoid versioned jars
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 5 13:51:18 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Fetch the tarball from internet archives in order to have at least
|
||||||
|
some trackability of the sources after the main domain disappeared
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 21 10:56:08 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of deprecated %patchN.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 12 11:37:59 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Fri Jan 12 11:37:59 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
55
xpp3.spec
55
xpp3.spec
@ -22,10 +22,9 @@ Release: 0
|
|||||||
Summary: XML Pull Parser
|
Summary: XML Pull Parser
|
||||||
License: Apache-1.1
|
License: Apache-1.1
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html
|
# The http://www.extreme.indiana.edu/ does not exist anymore
|
||||||
# The http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/ does not exist any
|
URL: https://web.archive.org/web/20201024082744/http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html
|
||||||
# more. So we used our cached tarball
|
Source0: https://web.archive.org/web/20201024082744/http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/xpp3-%{version}_src.tgz
|
||||||
Source0: xpp3-%{version}_src.tgz
|
|
||||||
Source1: https://repo1.maven.org/maven2/xpp3/xpp3/%{version}/xpp3-%{version}.pom
|
Source1: https://repo1.maven.org/maven2/xpp3/xpp3/%{version}/xpp3-%{version}.pom
|
||||||
Source2: https://repo1.maven.org/maven2/xpp3/xpp3_min/%{version}/xpp3_min-%{version}.pom
|
Source2: https://repo1.maven.org/maven2/xpp3/xpp3_min/%{version}/xpp3_min-%{version}.pom
|
||||||
Source3: https://repo1.maven.org/maven2/xpp3/xpp3_xpath/%{version}/xpp3_xpath-%{version}.pom
|
Source3: https://repo1.maven.org/maven2/xpp3/xpp3_xpath/%{version}/xpp3_xpath-%{version}.pom
|
||||||
@ -67,7 +66,7 @@ Hotspot in JDK 1.4.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch -P 0 -p1
|
||||||
# remove all binary libs
|
# remove all binary libs
|
||||||
find . -name "*.jar" -exec rm -f {} \;
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
# "src/java/addons_tests" does not exist
|
# "src/java/addons_tests" does not exist
|
||||||
@ -82,16 +81,15 @@ jar ufm build/%{name}-%{version}.jar %{SOURCE4}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
# jars
|
# jars
|
||||||
mkdir -p %{buildroot}%{_javadir}
|
install -d -m 0755 %{buildroot}%{_javadir}
|
||||||
cp -p build/%{name}-%{version}.jar \
|
install -p -m 0644 build/%{name}-%{version}.jar \
|
||||||
%{buildroot}%{_javadir}/%{name}-%{version}.jar
|
%{buildroot}%{_javadir}/%{name}.jar
|
||||||
cp -p build/%{name}_min-%{version}.jar \
|
install -p -m 0644 build/%{name}_min-%{version}.jar \
|
||||||
%{buildroot}%{_javadir}/%{name}-minimal-%{version}.jar
|
%{buildroot}%{_javadir}/%{name}-minimal.jar
|
||||||
cp -p build/%{name}_xpath-%{version}.jar \
|
install -p -m 0644 build/%{name}_xpath-%{version}.jar \
|
||||||
%{buildroot}%{_javadir}/%{name}-xpath-%{version}.jar
|
%{buildroot}%{_javadir}/%{name}-xpath.jar
|
||||||
(cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
|
||||||
# javadoc
|
# javadoc
|
||||||
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -pr doc/api/* %{buildroot}%{_javadocdir}/%{name}
|
cp -pr doc/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
rm -rf doc/{build.txt,api}
|
rm -rf doc/{build.txt,api}
|
||||||
|
|
||||||
@ -102,36 +100,13 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|||||||
%{mvn_install_pom} %{SOURCE3} %{buildroot}%{_mavenpomdir}/%{name}-xpath.pom
|
%{mvn_install_pom} %{SOURCE3} %{buildroot}%{_mavenpomdir}/%{name}-xpath.pom
|
||||||
%add_maven_depmap %{name}.pom %{name}.jar
|
%add_maven_depmap %{name}.pom %{name}.jar
|
||||||
%add_maven_depmap %{name}-minimal.pom %{name}-minimal.jar -f minimal
|
%add_maven_depmap %{name}-minimal.pom %{name}-minimal.jar -f minimal
|
||||||
%add_maven_depmap %{name}-xpath.pom %{name}-xpath.jar -f xpath
|
%add_maven_depmap %{name}-xpath.pom %{name}-xpath.jar
|
||||||
|
|
||||||
%files
|
%files -f .mfiles
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.html doc/*
|
%doc README.html doc/*
|
||||||
%{_javadir}/%{name}.jar
|
|
||||||
%{_javadir}/%{name}-%{version}.jar
|
|
||||||
%{_javadir}/%{name}-xpath.jar
|
|
||||||
%{_javadir}/%{name}-xpath-%{version}.jar
|
|
||||||
%{_mavenpomdir}/%{name}.pom
|
|
||||||
%{_mavenpomdir}/%{name}-xpath.pom
|
|
||||||
%if %{defined _maven_repository}
|
|
||||||
%{_mavendepmapfragdir}/%{name}
|
|
||||||
%{_mavendepmapfragdir}/%{name}-xpath
|
|
||||||
%else
|
|
||||||
%{_datadir}/maven-metadata/%{name}.xml*
|
|
||||||
%{_datadir}/maven-metadata/%{name}-xpath.xml*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files minimal
|
%files minimal -f .mfiles-minimal
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{_javadir}/%{name}-minimal.jar
|
|
||||||
%{_javadir}/%{name}-minimal-%{version}.jar
|
|
||||||
%{_mavenpomdir}/%{name}-minimal.pom
|
|
||||||
%if %{defined _maven_repository}
|
|
||||||
%{_mavendepmapfragdir}/%{name}-minimal
|
|
||||||
%else
|
|
||||||
%{_datadir}/maven-metadata/%{name}-minimal.xml*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
|
Loading…
Reference in New Issue
Block a user