From 5cd6a30c6605b98e7fb5dfbc6d1780a03c773dfcd267f471e6bade5796805530 Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Wed, 11 Jan 2017 12:56:06 +0000 Subject: [PATCH] Accepting request 449673 from home:wolfi323:branches:KDE:Extra - initial package based on version 3.0.0 OBS-URL: https://build.opensuse.org/request/show/449673 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + kexi-3.0.0.tar.xz | 3 + kexi.changes | 5 ++ kexi.spec | 140 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 172 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 kexi-3.0.0.tar.xz create mode 100644 kexi.changes create mode 100644 kexi.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/kexi-3.0.0.tar.xz b/kexi-3.0.0.tar.xz new file mode 100644 index 0000000..031496e --- /dev/null +++ b/kexi-3.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8acfdf9f933139544aa8a8f53b04f5266c1cec6b3844963d04404e8b7f72ffe0 +size 3678724 diff --git a/kexi.changes b/kexi.changes new file mode 100644 index 0000000..bce5daf --- /dev/null +++ b/kexi.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Jan 11 11:22:54 UTC 2017 - wbauer@tmo.at + +- initial package based on version 3.0.0 + diff --git a/kexi.spec b/kexi.spec new file mode 100644 index 0000000..0fc4edc --- /dev/null +++ b/kexi.spec @@ -0,0 +1,140 @@ +# +# spec file for package kexi +# +# Copyright (c) 2017 SUSE LINUX 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: kexi +Version: 3.0.0 +Release: 0 +License: GPL-2.0+ and LGPL-2.1+ and GFDL-1.2 +Summary: Database Application +Group: Productivity/Office/Suite +Url: http://www.kexi-project.org/ +Source0: http://download.kde.org/stable/%{name}/src/%{name}-%{version}.tar.xz +BuildRequires: breeze5-icons +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5PrintSupport) +BuildRequires: cmake(Qt5UiTools) +BuildRequires: cmake(Qt5Widgets) +BuildRequires: cmake(Qt5Xml) +BuildRequires: cmake(Qt5Network) +BuildRequires: cmake(Qt5Test) +BuildRequires: cmake(Qt5WebKit) +BuildRequires: cmake(Qt5WebKitWidgets) +BuildRequires: extra-cmake-modules +BuildRequires: fdupes +BuildRequires: glib2-devel +BuildRequires: kf5-filesystem +BuildRequires: karchive-devel +BuildRequires: kdb-devel +BuildRequires: kcodecs-devel +BuildRequires: kcompletion-devel +BuildRequires: kconfig-devel +BuildRequires: kconfigwidgets-devel +BuildRequires: kcoreaddons-devel +BuildRequires: kcrash-devel +BuildRequires: kguiaddons-devel +BuildRequires: ki18n-devel +BuildRequires: kiconthemes-devel +BuildRequires: kio-devel +BuildRequires: kitemviews-devel +BuildRequires: kproperty-devel +BuildRequires: kreport-devel +BuildRequires: ktexteditor-devel +BuildRequires: ktextwidgets-devel +BuildRequires: kwidgetsaddons-devel +BuildRequires: kxmlgui-devel +BuildRequires: libmysqld-devel +BuildRequires: marble-devel +BuildRequires: mysql-devel +BuildRequires: postgresql-devel +BuildRequires: update-desktop-files +Recommends: %{name}-lang = %{version} +Obsoletes: calligra-kexi < %{version} +Provides: calligra-kexi = %{version} +# not ported yet +Obsoletes: calligra-kexi-spreadsheet-import < %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Kexi is an open source visual database applications creator, +a long-awaited competitor for programs like MS Access +or Filemaker. + +%package spreadsheet-import +Summary: Spreadsheet-to-Kexi-table import plugin +License: GPL-2.0+ and LGPL-2.1+ +Group: Productivity/Office/Suite +Obsoletes: calligra-kexi-spreadsheet-import < %{version} +Provides: calligra-kexi-spreadsheet-import = %{version} + +%description spreadsheet-import +Kexi is an open source visual database applications creator, +a long-awaited competitor for programs like MS Access +or Filemaker. + +This package contains a Spreadsheet-to-Kexi-table import plugin. + +%lang_package + +%prep +%setup -q + +%build +# install translations to %{_kf5_localedir} so they don't clash with the kexi translations in calligra-l10n (KDE4 based) +# can probably be changed back to the standard location when we have calligra 3 in all supported distributions... +%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} +%make_jobs + +%install +cd build +%kf5_makeinstall + +mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps +cp %{_kf5_iconsdir}/breeze/apps/48/calligrakexi.svg %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/ + +%suse_update_desktop_file -r org.kde.kexi Qt KDE Office Database + +#Remove unwanted development files +for i in dataviewcommon formutils extendedwidgets relationsview main migrate utils guiutils datatable core undo +do + rm %{buildroot}%{_kf5_libdir}/libkexi${i}.so +done +rm %{buildroot}%{_kf5_libdir}/libkformdesigner.so + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_bindir}/kexi +%{_libdir}/libkexi*.so* +%{_libdir}/libkformdesigner.so* +%dir %{_kf5_appstreamdir} +%{_kf5_appstreamdir}/org.kde.kexi.appdata.xml +%{_kf5_applicationsdir}/org.kde.kexi.desktop +%{_kf5_iconsdir}/hicolor/*/*/* +%{_kf5_sharedir}/kexi/ +%{_kf5_plugindir}/kexi/ + +%files lang +%defattr(-,root,root,-) +%{_kf5_localedir} + +%changelog