restored [release 1.1.3-2mamba;Thu Dec 02 2021]
This commit is contained in:
parent
d807350b10
commit
8f43bdc801
@ -1,7 +1,6 @@
|
|||||||
# java-pentaho-libxml
|
# java-pentaho-libxml
|
||||||
|
|
||||||
LibXML is a namespace aware SAX-Parser utility library. It eases the pain of implementing non-trivial SAX input handlers. The original code of these classes had been written by Peter Becker for the JCommon library.
|
LibXML is a namespace aware SAX-Parser utility library. It eases the pain of implementing non-trivial SAX input handlers. The original code of these classes had been written by Peter Becker for the JCommon library.
|
||||||
|
|
||||||
LibXML replaces the JCommon-XML classes, which were not namespace aware.
|
LibXML replaces the JCommon-XML classes, which were not namespace aware.
|
||||||
Due to JCommons frozen API, namespace awareness could not be added to the original code without creating a mess.
|
Due to JCommons frozen API, namespace awareness could not be added to the original code without creating a mess.
|
||||||
|
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
--- build.properties 2009-11-16 10:27:58.000000000 +0100
|
|
||||||
+++ build.properties-gil 2011-01-22 14:49:56.000000000 +0100
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-project.revision=TRUNK-SNAPSHOT
|
|
||||||
+project.revision=1.1.3
|
|
||||||
ivy.artifact.group=pentaho-library
|
|
||||||
ivy.artifact.id=libxml
|
|
||||||
impl.title=LibXml
|
|
||||||
@@ -6,4 +6,6 @@
|
|
||||||
src.dir=${basedir}/source
|
|
||||||
dependency.libbase.revision=1.1.3
|
|
||||||
dependency.libloader.revision=1.1.3
|
|
||||||
-testsrc.dir=${basedir}/test
|
|
||||||
\ Manca newline alla fine del file
|
|
||||||
+testsrc.dir=${basedir}/test
|
|
||||||
+antcontrib.available=true
|
|
||||||
+build.cache.dir=lib
|
|
||||||
\ Manca newline alla fine del file
|
|
@ -1,115 +1,57 @@
|
|||||||
%define with_gcj 1
|
|
||||||
%define javahome %{_jvmdir}/jdk
|
%define javahome %{_jvmdir}/jdk
|
||||||
Name: java-pentaho-libxml
|
Name: java-pentaho-libxml
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: LibXML is a namespace aware SAX-Parser utility library
|
Summary: LibXML is a namespace aware SAX-Parser utility library
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://reporting.pentaho.org/
|
URL: https://sourceforge.net/projects/jfreereport/
|
||||||
# http://sourceforge.net/projects/jfreereport/
|
Source0: http://sourceforge.net/projects/jfreereport/files/02.%20Libraries/%{version}-stable/libxml-%{version}.zip
|
||||||
# cvs -d:pserver:anonymous@jfreereport.cvs.sourceforge.net:/cvsroot/jfreereport login
|
|
||||||
# cvs -z3 -d:pserver:anonymous@jfreereport.cvs.sourceforge.net:/cvsroot/jfreereport co -P libxml
|
|
||||||
Source0: http://sourceforge.net/projects/jfreereport/files/02.%20Libraries/1.1.3-stable/libxml-1.1.3.zip
|
|
||||||
Patch0: java-jfree-libxml-1.1.3-build_properties.patch
|
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
|
||||||
BuildRequires: java-gcj-compat
|
|
||||||
BuildRequires: libgcc
|
|
||||||
BuildRequires: libgcj4-devel
|
|
||||||
BuildRequires: libz-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: ant-contribb3
|
BuildRequires: javapackages
|
||||||
BuildRequires: java-jfree-libloader
|
Requires: javapackages
|
||||||
BuildRequires: java-jfree-libbase
|
Provides: java-jfree-libbase
|
||||||
BuildRequires: jakarta-commons-logging
|
Obsoletes: java-jfree-libbase <= 1.1.3-1mamba
|
||||||
BuildRequires: apache-ant
|
Provides: java-jfree-libloader
|
||||||
BuildRequires: java-junit3
|
Obsoletes: java-jfree-libloader <= 1.1.3-1mamba
|
||||||
BuildRequires: jpackage-utils
|
|
||||||
Requires: java-jfree-libbase
|
|
||||||
Requires: java-jfree-libloader
|
|
||||||
Requires: jpackage-utils
|
|
||||||
Obsoletes: java-jfree-libxml
|
|
||||||
Provides: java-jfree-libxml
|
Provides: java-jfree-libxml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
Obsoletes: java-jfree-libxml <= 1.1.3-1mamba
|
||||||
|
Provides: java-jfree-libpixie
|
||||||
|
Obsoletes: java-jfree-libpixie <= 1.1.3-1mamba
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LibXML is a namespace aware SAX-Parser utility library. It eases the pain of implementing non-trivial SAX input handlers. The original code of these classes had been written by Peter Becker for the JCommon library.
|
LibXML is a namespace aware SAX-Parser utility library. It eases the pain of implementing non-trivial SAX input handlers. The original code of these classes had been written by Peter Becker for the JCommon library.
|
||||||
|
|
||||||
LibXML replaces the JCommon-XML classes, which were not namespace aware.
|
LibXML replaces the JCommon-XML classes, which were not namespace aware.
|
||||||
Due to JCommons frozen API, namespace awareness could not be added to the original code without creating a mess.
|
Due to JCommons frozen API, namespace awareness could not be added to the original code without creating a mess.
|
||||||
|
|
||||||
%if %with_gcj
|
|
||||||
%package gcj
|
|
||||||
Group: System/Libraries/Java
|
|
||||||
Summary: GCJ support for %{name}
|
|
||||||
Requires: java-gcj-compat
|
|
||||||
|
|
||||||
%description gcj
|
|
||||||
LibXML is a namespace aware SAX-Parser utility library.
|
|
||||||
|
|
||||||
This package contains GCJ support for %{name}.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
LibXML is a namespace aware SAX-Parser utility library.
|
LibXML is a namespace aware SAX-Parser utility library.
|
||||||
|
|
||||||
This package contains documentation for %{name}.
|
This package contains documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%setup -q -c
|
||||||
%setup -q -c -n libxml
|
|
||||||
%patch0
|
|
||||||
for j in $(find . -name "*.jar"); do
|
|
||||||
rm -rf $j
|
|
||||||
done
|
|
||||||
|
|
||||||
for txt in ChangeLog.txt licence-LGPL.txt README.txt; do
|
|
||||||
%{__perl} -pi -e 's/\r$//g' $txt
|
|
||||||
done
|
|
||||||
|
|
||||||
mkdir -p lib/ant-contrib
|
|
||||||
ln -sf $(build-classpath libbase) lib/libbase.jar
|
|
||||||
%if "%{stage1}" != "1"
|
|
||||||
ln -sf $(build-classpath libloader) lib/libloader.jar
|
|
||||||
%endif
|
|
||||||
ln -sf $(build-classpath junit-3.8.2) lib/junit.jar
|
|
||||||
ln -sf $(build-classpath commons-logging-api) lib/
|
|
||||||
|
|
||||||
ln -s %{_javadir}/ant/* lib/ant-contrib
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CLASSPATH=$(build-classpath ant-contribb3 libbase junit-3.8.2 libloader commons-logging-api)
|
|
||||||
ant \
|
|
||||||
jar javadoc
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_javadir}
|
mkdir -p %{buildroot}%{_javadir}
|
||||||
|
install -pm 644 libxml-%{version}.jar %{buildroot}%{_javadir}/libxml-%{version}.jar
|
||||||
|
ln -sf libxml-%{version}.jar %{buildroot}%{_javadir}/libxml.jar
|
||||||
|
|
||||||
install -pm 644 dist/libxml-%{version}.jar %{buildroot}%{_javadir}/libxml-%{version}.jar
|
for f in libbase libloader libpixie; do
|
||||||
|
install -pm 644 lib/${f}-%{version}.jar %{buildroot}%{_javadir}/${f}-%{version}.jar
|
||||||
(
|
ln -sf ${f}-%{version}.jar %{buildroot}%{_javadir}/${f}.jar
|
||||||
cd %{buildroot}%{_javadir}
|
done
|
||||||
for jar in *-%{version}*; do
|
|
||||||
ln -sf ${jar} ${jar/-%{version}/}
|
|
||||||
done
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_javadocdir}/libxml
|
|
||||||
cp -pr bin/javadoc/docs/api/* %{buildroot}%{_javadocdir}/libxml
|
|
||||||
|
|
||||||
%if %with_gcj
|
|
||||||
%{_bindir}/aot-compile-rpm
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -118,30 +60,18 @@ cp -pr bin/javadoc/docs/api/* %{buildroot}%{_javadocdir}/libxml
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_javadir}/libxml-%{version}.jar
|
%{_javadir}/libxml-%{version}.jar
|
||||||
%{_javadir}/libxml.jar
|
%{_javadir}/libxml.jar
|
||||||
%doc ChangeLog.txt licence-LGPL.txt README.txt
|
%{_javadir}/libbase-%{version}.jar
|
||||||
|
%{_javadir}/libbase.jar
|
||||||
%if %with_gcj
|
%{_javadir}/libloader-%{version}.jar
|
||||||
%post gcj
|
%{_javadir}/libloader.jar
|
||||||
if [ -x %{_bindir}/rebuild-gcj-db ] ; then
|
%{_javadir}/libpixie-%{version}.jar
|
||||||
%{_bindir}/rebuild-gcj-db
|
%{_javadir}/libpixie.jar
|
||||||
fi
|
%doc licence-LGPL.txt
|
||||||
|
|
||||||
%postun gcj
|
|
||||||
if [ -x %{_bindir}/rebuild-gcj-db ] ; then
|
|
||||||
%{_bindir}/rebuild-gcj-db
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files gcj
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/gcj/java-pentaho-libxml/libxml-%{version}.jar.db
|
|
||||||
%{_libdir}/gcj/java-pentaho-libxml/libxml-%{version}.jar.so
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files javadoc
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_javadocdir}/libxml
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-2mamba
|
||||||
|
- restored
|
||||||
|
|
||||||
* Sat Jan 22 2011 gil <puntogil@libero.it> 1.1.3-1mamba
|
* Sat Jan 22 2011 gil <puntogil@libero.it> 1.1.3-1mamba
|
||||||
- update to 1.1.3
|
- update to 1.1.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user