2024-01-06 00:06:46 +01:00
|
|
|
Name: java-jfree-libserializer
|
|
|
|
Version: 1.1.3
|
2024-01-06 00:06:47 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 00:06:46 +01:00
|
|
|
Summary: JFree Java General Serialization Framework Library
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 00:06:47 +01:00
|
|
|
URL: https://community.hitachivantara.com/home
|
|
|
|
Source: http://sourceforge.net/projects/jfreereport/files/02.%20Libraries/%{version}-stable/libserializer-%{version}.zip
|
|
|
|
Patch0: java-jfree-libserializer-1.1.3-remove-antcontrib-support.patch
|
|
|
|
Patch1: java-jfree-libserializer-1.1.3-remove-commons-logging.patch
|
|
|
|
Patch2: java-jfree-libserializer-1.1.3-java11.patch
|
|
|
|
Patch3: java-jfree-libserializer-1.1.3-build.patch
|
2024-01-06 00:06:46 +01:00
|
|
|
License: LGPL
|
2024-01-06 00:06:47 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
2024-01-06 00:06:46 +01:00
|
|
|
BuildRequires: apache-ant
|
|
|
|
BuildRequires: java-jfree-libbase
|
|
|
|
Requires: java-jfree-libbase
|
2024-01-06 00:06:47 +01:00
|
|
|
Requires: javapackages
|
2024-01-06 00:06:46 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This library module contains a general serialization framework. It simplifies the task of writing custom serialization handlers for non-serializable classes.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
JFree Java General Serialization Framework Library.
|
|
|
|
This package contains documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 00:06:47 +01:00
|
|
|
%setup -q -c
|
|
|
|
%patch0 -p1 -b .remove-antcontrib-support
|
|
|
|
%patch1 -p1 -b .remove-commons-logging
|
|
|
|
%patch2 -p1 -b .java11
|
|
|
|
%patch3 -p1 -b .build
|
2024-01-06 00:06:46 +01:00
|
|
|
|
2024-01-06 00:06:47 +01:00
|
|
|
find . -name "*.jar" -exec rm -f {} \;
|
|
|
|
mkdir -p lib
|
|
|
|
build-jar-repository -s -p lib libbase
|
2024-01-06 00:06:46 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 00:06:47 +01:00
|
|
|
ant jar javadoc
|
2024-01-06 00:06:46 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
|
|
|
install -pm 644 dist/libserializer-%{version}.jar %{buildroot}%{_javadir}/libserializer-%{version}.jar
|
|
|
|
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
for jar in *-%{version}*; do
|
|
|
|
ln -sf ${jar} ${jar/-%{version}/}
|
|
|
|
done
|
|
|
|
)
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadocdir}/libserializer
|
|
|
|
cp -pr bin/javadoc/docs/api/* %{buildroot}%{_javadocdir}/libserializer
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/libserializer-%{version}.jar
|
|
|
|
%{_javadir}/libserializer.jar
|
2024-01-06 00:06:47 +01:00
|
|
|
%doc licence-LGPL.txt
|
2024-01-06 00:06:46 +01:00
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadocdir}/libserializer
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:06:47 +01:00
|
|
|
* Fri Dec 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-2mamba
|
|
|
|
- rebuilt without gcj and with java11
|
|
|
|
|
2024-01-06 00:06:46 +01:00
|
|
|
* Sat Jan 22 2011 gil <puntogil@libero.it> 1.1.3-1mamba
|
|
|
|
- update to 1.1.3
|
|
|
|
|
|
|
|
* Wed Dec 09 2009 gil <puntogil@libero.it> 1.0.0-1mamba
|
|
|
|
- package created by autospec
|