2014-01-07 13:24:19 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package libbase
|
|
|
|
|
#
|
2024-02-29 15:39:03 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-01-07 13:24:19 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2022-03-20 12:16:24 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-01-07 13:24:19 +00:00
|
|
|
#
|
|
|
|
|
|
2014-06-27 12:29:20 +00:00
|
|
|
|
2014-01-07 13:24:19 +00:00
|
|
|
Name: libbase
|
2022-04-21 11:46:17 +00:00
|
|
|
Version: 1.1.6
|
2014-01-07 13:24:19 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: JFree Base Services
|
2022-03-20 12:16:24 +00:00
|
|
|
License: LGPL-2.0-only
|
2014-01-07 13:39:34 +00:00
|
|
|
Group: Development/Libraries/Java
|
2022-03-20 12:16:24 +00:00
|
|
|
URL: http://reporting.pentaho.org/
|
2022-04-21 11:46:17 +00:00
|
|
|
Source: http://downloads.sourceforge.net/jfreereport/%{name}-%{version}.zip
|
2014-07-04 13:19:06 +00:00
|
|
|
Source99: libbase-rpmlintrc
|
2014-01-07 13:24:19 +00:00
|
|
|
#PATCH-FIX-UPSTREAM, fix some properties for build
|
2022-04-21 11:46:17 +00:00
|
|
|
Patch0: libbase-1.1.6.build.patch
|
|
|
|
|
Patch1: libbase-1.1.6-sourcetarget.patch
|
2014-01-07 13:24:19 +00:00
|
|
|
BuildRequires: ant
|
2014-01-08 14:31:22 +00:00
|
|
|
BuildRequires: ant-contrib >= 1.0b3
|
2014-01-07 13:24:19 +00:00
|
|
|
BuildRequires: apache-commons-logging
|
2022-03-20 20:21:17 +00:00
|
|
|
BuildRequires: java-devel >= 1.8
|
2014-01-07 13:24:19 +00:00
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
|
BuildRequires: unzip
|
|
|
|
|
Requires: apache-commons-logging
|
|
|
|
|
Requires: java
|
|
|
|
|
Requires: jpackage-utils
|
2014-06-27 12:29:20 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-01-07 13:24:19 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
Summary: Javadoc for %{name}
|
2014-01-07 15:19:15 +00:00
|
|
|
Group: Documentation/HTML
|
2014-01-07 13:24:19 +00:00
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
|
Javadoc for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -c
|
2024-02-29 15:39:03 +00:00
|
|
|
%patch -P 0 -p1 -b .build
|
|
|
|
|
%patch -P 1 -p1
|
2014-01-07 13:24:19 +00:00
|
|
|
mkdir -p lib
|
|
|
|
|
find . -name "*.jar" -exec rm -f {} \;
|
|
|
|
|
build-jar-repository -s -p lib commons-logging-api
|
|
|
|
|
cd lib
|
|
|
|
|
ln -s %{_javadir}/ant ant-contrib
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
ant jar javadoc
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
|
|
|
|
cp -p ./dist/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
|
cp -rp bin/javadoc/docs/api %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc ChangeLog.txt licence-LGPL.txt README.txt
|
|
|
|
|
%{_javadir}/%{name}.jar
|
|
|
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_javadocdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|