83 lines
2.3 KiB
RPMSpec
83 lines
2.3 KiB
RPMSpec
Name: java-jfree-libbase
|
|
Version: 1.1.3
|
|
Release: 2mamba
|
|
Summary: JFree Base Services
|
|
Group: System/Libraries/Java
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://community.hitachivantara.com/home
|
|
Source: https://sourceforge.net/projects/jfreereport/files/02.%20Libraries/%{version}-stable/libbase-%{version}.zip
|
|
Patch0: java-jfree-libbase-1.1.3-build.patch
|
|
Patch1: java-jfree-libbase-1.1.3-java11.patch
|
|
Patch2: java-jfree-libbase-1.1.3-remove-antcontrib-support.patch
|
|
Patch3: java-jfree-libbase-1.1.3-remove-commons-logging.patch
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: javapackages
|
|
BuildRequires: apache-ant
|
|
Requires: javapackages
|
|
|
|
%description
|
|
LibBase is a library developed to provide base services like logging, configuration and initialization to other libraries and applications. The library is the root library for all Pentaho-Reporting projects.
|
|
|
|
%package javadoc
|
|
Group: Documentation
|
|
Summary: Javadoc for %{name}
|
|
|
|
%description javadoc
|
|
JFree Base Services.
|
|
This package contains documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -c %{name}-%{version}
|
|
%patch0 -p1 -b .build
|
|
%patch1 -p1 -b .java11
|
|
%patch2 -p1 -b .remove-antcontrib-support
|
|
%patch3 -p1 -b .remove-commons-logging
|
|
|
|
find . -name "*.jar" -exec rm -f {} \;
|
|
|
|
%build
|
|
ant jar javadoc
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
|
install -pm 644 dist/libbase-%{version}.jar %{buildroot}%{_javadir}/libbase-%{version}.jar
|
|
|
|
(
|
|
cd %{buildroot}%{_javadir}
|
|
for jar in *-%{version}*; do
|
|
ln -sf ${jar} ${jar/-%{version}/}
|
|
done
|
|
)
|
|
|
|
mkdir -p %{buildroot}%{_javadocdir}/libbase
|
|
cp -pr bin/javadoc/docs/api/* %{buildroot}%{_javadocdir}/libbase
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_javadir}/libbase-%{version}.jar
|
|
%{_javadir}/libbase.jar
|
|
%doc licence-LGPL.txt
|
|
|
|
%files javadoc
|
|
%defattr(-,root,root)
|
|
%{_javadocdir}/libbase
|
|
|
|
%changelog
|
|
* Fri Dec 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-2mamba
|
|
- rebuilt without gcj and with java11
|
|
|
|
* 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
|