- Initial packaging of pentaho-reporting-flow-engine 1.1.3 for SUSE (based on Fedora spec)

* add pentaho-reporting-flow-engine-1.1.2-build.patch

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/pentaho-reporting-flow-engine?expand=0&rev=1
This commit is contained in:
Michal Vyskocil 2014-01-07 15:12:52 +00:00 committed by Git OBS Bridge
commit 5f73b43b6c
5 changed files with 130 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

3
flow-engine-0.9.4.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:233f66e8d25c5dd971716d4200203a612a407649686ef3b52075d04b4c9df0dd
size 743031

View File

@ -0,0 +1,2 @@
#libserializer is java package, not native library
addFilter("explicit-lib-dependency libserializer")

View File

@ -0,0 +1,6 @@
-------------------------------------------------------------------
Tue Jan 7 14:03:13 UTC 2014 - mvyskocil@suse.com
- Initial packaging of pentaho-reporting-flow-engine 1.1.3 for SUSE (based on Fedora spec)
* add pentaho-reporting-flow-engine-1.1.2-build.patch

View File

@ -0,0 +1,96 @@
#
# spec file for package pentaho-reporting-flow-engine
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: pentaho-reporting-flow-engine
Version: 0.9.4
Release: 0
Summary: Pentaho Flow Reporting Engine
License: LGPL-2.1+
Group: System Environment/Libraries
Url: http://reporting.pentaho.org/
Source: http://downloads.sourceforge.net/jfreereport/flow-engine-%{version}.zip
BuildRequires: ant
BuildRequires: flute
BuildRequires: java-devel
BuildRequires: jpackage-utils
BuildRequires: libbase
BuildRequires: libfonts
BuildRequires: libformula
BuildRequires: liblayout
BuildRequires: libloader
BuildRequires: librepository
BuildRequires: libserializer
BuildRequires: pentaho-libxml
BuildRequires: sac
BuildRequires: xml-commons-apis
BuildRequires: unzip
Requires: flute
Requires: java
Requires: jpackage-utils
Requires: libbase >= 1.1.3
Requires: libfonts >= 1.1.3
Requires: libformula >= 1.1.3
Requires: liblayout >= 0.2.10
Requires: librepository >= 1.1.3
Requires: libserializer
Requires: pentaho-libxml
Requires: sac
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Pentaho Reporting Flow Engine is a free Java report library, formerly
known as 'JFreeReport'
%package javadoc
Summary: Javadoc for %{name}
Group: Development/Documentation
Requires: %{name} = 1:%{version}
Requires: jpackage-utils
%description javadoc
Javadoc for %{name}.
%prep
%setup -q -c
mkdir -p lib
find . -name "*.jar" -exec rm -f {} \;
build-jar-repository -s -p lib commons-logging-api libbase libloader \
libfonts libxml jaxp libformula librepository sac flute liblayout \
libserializer
%build
ant jar javadoc
%install
mkdir -p %{buildroot}%{_javadir}
cp -p build/lib/flow-engine.jar %{buildroot}%{_javadir}/flow-engine.jar
mkdir -p %{buildroot}%{_javadocdir}/%{name}
cp -rp build/api %{buildroot}%{_javadocdir}/%{name}
%files
%defattr(0644,root,root,0755)
%doc licence-LGPL.txt README.txt ChangeLog.txt
%{_javadir}/*.jar
%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}
%changelog