kexi/kexi.spec

151 lines
5.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package kexi
#
# Copyright (c) 2020 SUSE LLC
#
# 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.
Accepting request 693274 from home:wolfi323:branches:KDE:Extra - Update to 3.2.0 * Bug fixes + Add protection against invalid translation of widget names + Startup: Improve display of tried locations for resources lookup and lookup algorithm (kde#391810) + Startup: Add missing translations for "Could not open icon resource file" messages + General: Make certain views work in User mode (kde#396875) + General: Add "All files" filter to file widgets for non-Plasma systems + General: Welcome page: Always display the project file names in addition to captions + General: Welcome page: Add long localized last opening date to project tool tips + General: Welcome page: Show recent project files that start with "." / hidden files + Table View: Make zero values displayed for integer columns (kde#395189) + Table View: Fix validation of values in default input box of table view (kde#395225) + Table and Form View: Fix two-digit year formats issue: do not allow by default (kde#378481) * Years are 4 digits now in tables and forms. On the output INFO message says as explained at https://bugs.kde.org/show_bug.cgi?id=378481#c5. Data entry works based on this new year format. Changes are properly saved to db. Display output e.g. in queries and reports follow this format too. * Set AllowTwoDigitYearFormats=true in kexirc, [General] section to force using 2 digits. + Queries: Fix crash on failed opening of query in Design view + Forms: Fix crash when right-clicking in form data view on widget such as text box (kde#402923) + Reports: Fix crash in data fetching and aggregation scripts in reports (kde#392753) + Reports: Support params in report queries. KEXI now prompts for parameters in queries that use them. (kde#379694) + Import: Fix translation issue in the Database Importing Assistant (kde#399296) + Import: Skip table name if physical table is non-existing, use the new tableNames API in migration (kde#392112) + MS Access import * Fix crash on importing zero-length memo data (long text) * Fix not being able to handle binary objects larger than 16 MiB. Limit is now 256 MiB. * Fix possible crash when importing MDB file having non-latin characters in column names of unexpected length (kde#396984) + Export: Fix crash on exporting tabular data to clipboard (introduced in 3.1.0) (kde#394519) + Export: Fix filename selection for export dialogs and allow to pre-select filename in file dialogs * Improvements + Assistants: properly focus input boxes after moving to other page, make Alt+arrows work for Back/Next, make Enter accept page if applicable + Project type selection in the new project assistant: do not assume user clicked the type button but just focused it + Improve display of Finish buttons of CSV export/import dialogs + New / Import project assistants * Destination file requester is now of Save type * Use Documents location if there are no recent dirs known yet * Better preserve path while updating filename based on project caption * Buildsystem + Install the application icons + Create (and install) rcc files with kexi icons in co-installable dirs + Fix build with Qt 5.11 (missing headers) + Fix build with Qt 5.6 + Fix data install dir for Windows, make icons installed relative to that + Make appdata.xml, app icons and kexi.desktop co-installable + Make KEXI compile for MOBILE productset + Win/Mac: still install copied KEXI files but add the original ones to the binary because the copied ones do not exist yet before ecm_add_app_icon() gets called + CMake: find PostgreSQL 11 - Drop patches merged upstream: * Install-the-application-icons.patch * fix-build-with-qt5.6.patch * Fix-build-with-Qt-511.patch - Use %kf5_find_lang macro to generate the lang package filelist - BuildRequire postgresql-server-devel instead of postgresql-devel on Tumbleweed to fix building the PostgreSQL migration driver - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/693274 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=14
2019-04-11 16:49:54 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 693274 from home:wolfi323:branches:KDE:Extra - Update to 3.2.0 * Bug fixes + Add protection against invalid translation of widget names + Startup: Improve display of tried locations for resources lookup and lookup algorithm (kde#391810) + Startup: Add missing translations for "Could not open icon resource file" messages + General: Make certain views work in User mode (kde#396875) + General: Add "All files" filter to file widgets for non-Plasma systems + General: Welcome page: Always display the project file names in addition to captions + General: Welcome page: Add long localized last opening date to project tool tips + General: Welcome page: Show recent project files that start with "." / hidden files + Table View: Make zero values displayed for integer columns (kde#395189) + Table View: Fix validation of values in default input box of table view (kde#395225) + Table and Form View: Fix two-digit year formats issue: do not allow by default (kde#378481) * Years are 4 digits now in tables and forms. On the output INFO message says as explained at https://bugs.kde.org/show_bug.cgi?id=378481#c5. Data entry works based on this new year format. Changes are properly saved to db. Display output e.g. in queries and reports follow this format too. * Set AllowTwoDigitYearFormats=true in kexirc, [General] section to force using 2 digits. + Queries: Fix crash on failed opening of query in Design view + Forms: Fix crash when right-clicking in form data view on widget such as text box (kde#402923) + Reports: Fix crash in data fetching and aggregation scripts in reports (kde#392753) + Reports: Support params in report queries. KEXI now prompts for parameters in queries that use them. (kde#379694) + Import: Fix translation issue in the Database Importing Assistant (kde#399296) + Import: Skip table name if physical table is non-existing, use the new tableNames API in migration (kde#392112) + MS Access import * Fix crash on importing zero-length memo data (long text) * Fix not being able to handle binary objects larger than 16 MiB. Limit is now 256 MiB. * Fix possible crash when importing MDB file having non-latin characters in column names of unexpected length (kde#396984) + Export: Fix crash on exporting tabular data to clipboard (introduced in 3.1.0) (kde#394519) + Export: Fix filename selection for export dialogs and allow to pre-select filename in file dialogs * Improvements + Assistants: properly focus input boxes after moving to other page, make Alt+arrows work for Back/Next, make Enter accept page if applicable + Project type selection in the new project assistant: do not assume user clicked the type button but just focused it + Improve display of Finish buttons of CSV export/import dialogs + New / Import project assistants * Destination file requester is now of Save type * Use Documents location if there are no recent dirs known yet * Better preserve path while updating filename based on project caption * Buildsystem + Install the application icons + Create (and install) rcc files with kexi icons in co-installable dirs + Fix build with Qt 5.11 (missing headers) + Fix build with Qt 5.6 + Fix data install dir for Windows, make icons installed relative to that + Make appdata.xml, app icons and kexi.desktop co-installable + Make KEXI compile for MOBILE productset + Win/Mac: still install copied KEXI files but add the original ones to the binary because the copied ones do not exist yet before ecm_add_app_icon() gets called + CMake: find PostgreSQL 11 - Drop patches merged upstream: * Install-the-application-icons.patch * fix-build-with-qt5.6.patch * Fix-build-with-Qt-511.patch - Use %kf5_find_lang macro to generate the lang package filelist - BuildRequire postgresql-server-devel instead of postgresql-devel on Tumbleweed to fix building the PostgreSQL migration driver - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/693274 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=14
2019-04-11 16:49:54 +02:00
%define soVersion 3.2
%bcond_without lang
Name: kexi
Accepting request 693274 from home:wolfi323:branches:KDE:Extra - Update to 3.2.0 * Bug fixes + Add protection against invalid translation of widget names + Startup: Improve display of tried locations for resources lookup and lookup algorithm (kde#391810) + Startup: Add missing translations for "Could not open icon resource file" messages + General: Make certain views work in User mode (kde#396875) + General: Add "All files" filter to file widgets for non-Plasma systems + General: Welcome page: Always display the project file names in addition to captions + General: Welcome page: Add long localized last opening date to project tool tips + General: Welcome page: Show recent project files that start with "." / hidden files + Table View: Make zero values displayed for integer columns (kde#395189) + Table View: Fix validation of values in default input box of table view (kde#395225) + Table and Form View: Fix two-digit year formats issue: do not allow by default (kde#378481) * Years are 4 digits now in tables and forms. On the output INFO message says as explained at https://bugs.kde.org/show_bug.cgi?id=378481#c5. Data entry works based on this new year format. Changes are properly saved to db. Display output e.g. in queries and reports follow this format too. * Set AllowTwoDigitYearFormats=true in kexirc, [General] section to force using 2 digits. + Queries: Fix crash on failed opening of query in Design view + Forms: Fix crash when right-clicking in form data view on widget such as text box (kde#402923) + Reports: Fix crash in data fetching and aggregation scripts in reports (kde#392753) + Reports: Support params in report queries. KEXI now prompts for parameters in queries that use them. (kde#379694) + Import: Fix translation issue in the Database Importing Assistant (kde#399296) + Import: Skip table name if physical table is non-existing, use the new tableNames API in migration (kde#392112) + MS Access import * Fix crash on importing zero-length memo data (long text) * Fix not being able to handle binary objects larger than 16 MiB. Limit is now 256 MiB. * Fix possible crash when importing MDB file having non-latin characters in column names of unexpected length (kde#396984) + Export: Fix crash on exporting tabular data to clipboard (introduced in 3.1.0) (kde#394519) + Export: Fix filename selection for export dialogs and allow to pre-select filename in file dialogs * Improvements + Assistants: properly focus input boxes after moving to other page, make Alt+arrows work for Back/Next, make Enter accept page if applicable + Project type selection in the new project assistant: do not assume user clicked the type button but just focused it + Improve display of Finish buttons of CSV export/import dialogs + New / Import project assistants * Destination file requester is now of Save type * Use Documents location if there are no recent dirs known yet * Better preserve path while updating filename based on project caption * Buildsystem + Install the application icons + Create (and install) rcc files with kexi icons in co-installable dirs + Fix build with Qt 5.11 (missing headers) + Fix build with Qt 5.6 + Fix data install dir for Windows, make icons installed relative to that + Make appdata.xml, app icons and kexi.desktop co-installable + Make KEXI compile for MOBILE productset + Win/Mac: still install copied KEXI files but add the original ones to the binary because the copied ones do not exist yet before ecm_add_app_icon() gets called + CMake: find PostgreSQL 11 - Drop patches merged upstream: * Install-the-application-icons.patch * fix-build-with-qt5.6.patch * Fix-build-with-Qt-511.patch - Use %kf5_find_lang macro to generate the lang package filelist - BuildRequire postgresql-server-devel instead of postgresql-devel on Tumbleweed to fix building the PostgreSQL migration driver - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/693274 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=14
2019-04-11 16:49:54 +02:00
Version: 3.2.0
Release: 0
Summary: Database Application
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GFDL-1.2-only
Group: Productivity/Office/Suite
URL: http://www.kexi-project.org/
Accepting request 693274 from home:wolfi323:branches:KDE:Extra - Update to 3.2.0 * Bug fixes + Add protection against invalid translation of widget names + Startup: Improve display of tried locations for resources lookup and lookup algorithm (kde#391810) + Startup: Add missing translations for "Could not open icon resource file" messages + General: Make certain views work in User mode (kde#396875) + General: Add "All files" filter to file widgets for non-Plasma systems + General: Welcome page: Always display the project file names in addition to captions + General: Welcome page: Add long localized last opening date to project tool tips + General: Welcome page: Show recent project files that start with "." / hidden files + Table View: Make zero values displayed for integer columns (kde#395189) + Table View: Fix validation of values in default input box of table view (kde#395225) + Table and Form View: Fix two-digit year formats issue: do not allow by default (kde#378481) * Years are 4 digits now in tables and forms. On the output INFO message says as explained at https://bugs.kde.org/show_bug.cgi?id=378481#c5. Data entry works based on this new year format. Changes are properly saved to db. Display output e.g. in queries and reports follow this format too. * Set AllowTwoDigitYearFormats=true in kexirc, [General] section to force using 2 digits. + Queries: Fix crash on failed opening of query in Design view + Forms: Fix crash when right-clicking in form data view on widget such as text box (kde#402923) + Reports: Fix crash in data fetching and aggregation scripts in reports (kde#392753) + Reports: Support params in report queries. KEXI now prompts for parameters in queries that use them. (kde#379694) + Import: Fix translation issue in the Database Importing Assistant (kde#399296) + Import: Skip table name if physical table is non-existing, use the new tableNames API in migration (kde#392112) + MS Access import * Fix crash on importing zero-length memo data (long text) * Fix not being able to handle binary objects larger than 16 MiB. Limit is now 256 MiB. * Fix possible crash when importing MDB file having non-latin characters in column names of unexpected length (kde#396984) + Export: Fix crash on exporting tabular data to clipboard (introduced in 3.1.0) (kde#394519) + Export: Fix filename selection for export dialogs and allow to pre-select filename in file dialogs * Improvements + Assistants: properly focus input boxes after moving to other page, make Alt+arrows work for Back/Next, make Enter accept page if applicable + Project type selection in the new project assistant: do not assume user clicked the type button but just focused it + Improve display of Finish buttons of CSV export/import dialogs + New / Import project assistants * Destination file requester is now of Save type * Use Documents location if there are no recent dirs known yet * Better preserve path while updating filename based on project caption * Buildsystem + Install the application icons + Create (and install) rcc files with kexi icons in co-installable dirs + Fix build with Qt 5.11 (missing headers) + Fix build with Qt 5.6 + Fix data install dir for Windows, make icons installed relative to that + Make appdata.xml, app icons and kexi.desktop co-installable + Make KEXI compile for MOBILE productset + Win/Mac: still install copied KEXI files but add the original ones to the binary because the copied ones do not exist yet before ecm_add_app_icon() gets called + CMake: find PostgreSQL 11 - Drop patches merged upstream: * Install-the-application-icons.patch * fix-build-with-qt5.6.patch * Fix-build-with-Qt-511.patch - Use %kf5_find_lang macro to generate the lang package filelist - BuildRequire postgresql-server-devel instead of postgresql-devel on Tumbleweed to fix building the PostgreSQL migration driver - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/693274 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=14
2019-04-11 16:49:54 +02:00
Source0: https://download.kde.org/stable/%{name}/src/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM
Patch0: Fix-build-with-Qt-5_13.patch
# PATCH-FIX-UPSTREAM
Patch1: 0001-Include-glib.h-outside-of-the-extern-block.patch
BuildRequires: extra-cmake-modules
BuildRequires: glib2-devel
BuildRequires: kdb-devel
BuildRequires: kf5-filesystem
BuildRequires: kproperty-devel
BuildRequires: kreport-devel
BuildRequires: libmysqld-devel
BuildRequires: mysql-devel
BuildRequires: postgresql-server-devel
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5Codecs)
BuildRequires: cmake(KF5Completion)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5Crash)
BuildRequires: cmake(KF5GuiAddons)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5ItemViews)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5TextEditor)
BuildRequires: cmake(KF5TextWidgets)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Marble)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5PrintSupport)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5UiTools)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml)
# For dir ownership
BuildRequires: hicolor-icon-theme
Requires: hicolor-icon-theme
Accepting request 693274 from home:wolfi323:branches:KDE:Extra - Update to 3.2.0 * Bug fixes + Add protection against invalid translation of widget names + Startup: Improve display of tried locations for resources lookup and lookup algorithm (kde#391810) + Startup: Add missing translations for "Could not open icon resource file" messages + General: Make certain views work in User mode (kde#396875) + General: Add "All files" filter to file widgets for non-Plasma systems + General: Welcome page: Always display the project file names in addition to captions + General: Welcome page: Add long localized last opening date to project tool tips + General: Welcome page: Show recent project files that start with "." / hidden files + Table View: Make zero values displayed for integer columns (kde#395189) + Table View: Fix validation of values in default input box of table view (kde#395225) + Table and Form View: Fix two-digit year formats issue: do not allow by default (kde#378481) * Years are 4 digits now in tables and forms. On the output INFO message says as explained at https://bugs.kde.org/show_bug.cgi?id=378481#c5. Data entry works based on this new year format. Changes are properly saved to db. Display output e.g. in queries and reports follow this format too. * Set AllowTwoDigitYearFormats=true in kexirc, [General] section to force using 2 digits. + Queries: Fix crash on failed opening of query in Design view + Forms: Fix crash when right-clicking in form data view on widget such as text box (kde#402923) + Reports: Fix crash in data fetching and aggregation scripts in reports (kde#392753) + Reports: Support params in report queries. KEXI now prompts for parameters in queries that use them. (kde#379694) + Import: Fix translation issue in the Database Importing Assistant (kde#399296) + Import: Skip table name if physical table is non-existing, use the new tableNames API in migration (kde#392112) + MS Access import * Fix crash on importing zero-length memo data (long text) * Fix not being able to handle binary objects larger than 16 MiB. Limit is now 256 MiB. * Fix possible crash when importing MDB file having non-latin characters in column names of unexpected length (kde#396984) + Export: Fix crash on exporting tabular data to clipboard (introduced in 3.1.0) (kde#394519) + Export: Fix filename selection for export dialogs and allow to pre-select filename in file dialogs * Improvements + Assistants: properly focus input boxes after moving to other page, make Alt+arrows work for Back/Next, make Enter accept page if applicable + Project type selection in the new project assistant: do not assume user clicked the type button but just focused it + Improve display of Finish buttons of CSV export/import dialogs + New / Import project assistants * Destination file requester is now of Save type * Use Documents location if there are no recent dirs known yet * Better preserve path while updating filename based on project caption * Buildsystem + Install the application icons + Create (and install) rcc files with kexi icons in co-installable dirs + Fix build with Qt 5.11 (missing headers) + Fix build with Qt 5.6 + Fix data install dir for Windows, make icons installed relative to that + Make appdata.xml, app icons and kexi.desktop co-installable + Make KEXI compile for MOBILE productset + Win/Mac: still install copied KEXI files but add the original ones to the binary because the copied ones do not exist yet before ecm_add_app_icon() gets called + CMake: find PostgreSQL 11 - Drop patches merged upstream: * Install-the-application-icons.patch * fix-build-with-qt5.6.patch * Fix-build-with-Qt-511.patch - Use %kf5_find_lang macro to generate the lang package filelist - BuildRequire postgresql-server-devel instead of postgresql-devel on Tumbleweed to fix building the PostgreSQL migration driver - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/693274 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=14
2019-04-11 16:49:54 +02:00
Recommends: %{name}-lang = %{version}
Obsoletes: calligra-kexi < %{version}
Provides: calligra-kexi = %{version}
# not ported yet
Obsoletes: calligra-kexi-spreadsheet-import < %{version}
# Kexi needs breeze-icons.rcc during build and on runtime (it doesn't start without it installed)
%if 0%{?suse_version} > 1500 || "%{?_repository}" == "KDE_Applications_openSUSE_Leap_15.2" || "%{?_repository}" == "KDE_Applications_openSUSE_Leap_15.3"
BuildRequires: breeze5-icons-rcc
Requires: breeze5-icons-rcc
%else
BuildRequires: breeze5-icons
Requires: breeze5-icons
%endif
%description
Kexi is a visual database applications creator, competing with
programs like MS Access or Filemaker.
%package spreadsheet-import
Summary: Spreadsheet-to-Kexi-table import plugin
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Office/Suite
Obsoletes: calligra-kexi-spreadsheet-import < %{version}
Provides: calligra-kexi-spreadsheet-import = %{version}
%description spreadsheet-import
Kexi is a visual database applications creator, competing with
programs like MS Access or Filemaker.
This package contains a Spreadsheet-to-Kexi-table import plugin.
%lang_package
%prep
%autosetup -p1
%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}
%cmake_build
%install
Accepting request 693274 from home:wolfi323:branches:KDE:Extra - Update to 3.2.0 * Bug fixes + Add protection against invalid translation of widget names + Startup: Improve display of tried locations for resources lookup and lookup algorithm (kde#391810) + Startup: Add missing translations for "Could not open icon resource file" messages + General: Make certain views work in User mode (kde#396875) + General: Add "All files" filter to file widgets for non-Plasma systems + General: Welcome page: Always display the project file names in addition to captions + General: Welcome page: Add long localized last opening date to project tool tips + General: Welcome page: Show recent project files that start with "." / hidden files + Table View: Make zero values displayed for integer columns (kde#395189) + Table View: Fix validation of values in default input box of table view (kde#395225) + Table and Form View: Fix two-digit year formats issue: do not allow by default (kde#378481) * Years are 4 digits now in tables and forms. On the output INFO message says as explained at https://bugs.kde.org/show_bug.cgi?id=378481#c5. Data entry works based on this new year format. Changes are properly saved to db. Display output e.g. in queries and reports follow this format too. * Set AllowTwoDigitYearFormats=true in kexirc, [General] section to force using 2 digits. + Queries: Fix crash on failed opening of query in Design view + Forms: Fix crash when right-clicking in form data view on widget such as text box (kde#402923) + Reports: Fix crash in data fetching and aggregation scripts in reports (kde#392753) + Reports: Support params in report queries. KEXI now prompts for parameters in queries that use them. (kde#379694) + Import: Fix translation issue in the Database Importing Assistant (kde#399296) + Import: Skip table name if physical table is non-existing, use the new tableNames API in migration (kde#392112) + MS Access import * Fix crash on importing zero-length memo data (long text) * Fix not being able to handle binary objects larger than 16 MiB. Limit is now 256 MiB. * Fix possible crash when importing MDB file having non-latin characters in column names of unexpected length (kde#396984) + Export: Fix crash on exporting tabular data to clipboard (introduced in 3.1.0) (kde#394519) + Export: Fix filename selection for export dialogs and allow to pre-select filename in file dialogs * Improvements + Assistants: properly focus input boxes after moving to other page, make Alt+arrows work for Back/Next, make Enter accept page if applicable + Project type selection in the new project assistant: do not assume user clicked the type button but just focused it + Improve display of Finish buttons of CSV export/import dialogs + New / Import project assistants * Destination file requester is now of Save type * Use Documents location if there are no recent dirs known yet * Better preserve path while updating filename based on project caption * Buildsystem + Install the application icons + Create (and install) rcc files with kexi icons in co-installable dirs + Fix build with Qt 5.11 (missing headers) + Fix build with Qt 5.6 + Fix data install dir for Windows, make icons installed relative to that + Make appdata.xml, app icons and kexi.desktop co-installable + Make KEXI compile for MOBILE productset + Win/Mac: still install copied KEXI files but add the original ones to the binary because the copied ones do not exist yet before ecm_add_app_icon() gets called + CMake: find PostgreSQL 11 - Drop patches merged upstream: * Install-the-application-icons.patch * fix-build-with-qt5.6.patch * Fix-build-with-Qt-511.patch - Use %kf5_find_lang macro to generate the lang package filelist - BuildRequire postgresql-server-devel instead of postgresql-devel on Tumbleweed to fix building the PostgreSQL migration driver - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/693274 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=14
2019-04-11 16:49:54 +02:00
%kf5_makeinstall -C build
%if %{with lang}
%{kf5_find_lang}
%endif
Accepting request 589797 from home:wolfi323:branches:KDE:Extra - Update to 3.1.0: * General + Bump soname for the libraries to separate from incompatible 3.0.x versions * New features + Add social buttons to Kexi menu + Make KEXI examples be built and installed by default as it's likely expected by users + Add support for setting character encoding for source database to Import Table Assistant * Bug fixes + Fix location of example dir + Mark and install Kexi example file as read-only on all platforms + Fix crash when global search box is used after re-opening another project + Add MainWindow/GlobalSearchBoxEnabled (bool) option that controls display of the global search box (kde#390794) + Disable compacting action if project is not open as we do not support this case for now + Do not display "clear" icons in read-only line edits of Database connection widget + Import table assistant: allow to move back and change source connection, react on double clicking + Do not display empty message when starting without plugins, inform users about the status (kde#389844) + Do not disable contents of "Your contributions" page (part of the Welcome page) + CSV import assistant: switch back to checkboxes from command link buttons + CSV import assistant: fix layout of delimiter widget + CSV import assistant: Improve getting filename selection from the new file requester + CSV import assistant: Single click on file requester's item moves to next page + Fix broken CSV import (kde#386102) + Rework the KexiFileRequester to use a simple and light QTreeView + Update mime types info when needed + Fix "wait" cursors + Fix crash when deleting or renaming a table (kde#379078) + Table Designer: don't warn about non-existing table or query when lookup fields are cleared + Table view's combo box editor: delete the combo button when needed, this fixes possible crash when user clicks the non-deleted button + Fix possible crash when table view containing combo boxes is re-used (kde#389029) + Fix recent dirs handling for file widgets (bug from Kexi 3.0.x), move recent start/recent dirs handling to KexiUtils + Forms: Fix double moving forward/backward on tab/backtab key press + Before physical altering or deleting table ask the user to close depending table/query/report/form (kde#371896) + Queries: Synchronize the "dirty" flag between Design and Text views + SQL designer: remove possible memory leak if the parsed query object is still present on destruction + Queries: fix possible crash in data view when the query design changes in a design view + Queries: after parsing the SQL only assume the query changed if the SQL differs from the previous SQL + Fix memory leak in Project data object (list of auto-open objects) + Fix detection of single-click mode for XFCE + Reports: Make jumping to specific page possible + Reports: Keep information about type of data source (table or query). Detects if needed. (kde#385071) * Optimizations + Improve memory management of raw SQL execution and preparing * Improvements + Set Cancel as default for critical question message boxes + Use Delete verb rather than Remove for consistency + Don't use empty space by object tabs (like in web browsers) + Backport experimental scripting in Kexi + Add config file setting to force the use of KFileWidgets or simple file requesters independently of the desktop + Detect whether native operating system's dialogs should be used + Query Designer: Improve "The query you entered is incorrect. Do you want to cancel any changes made to this SQL text?" question + Query Designer: Improve "Do you want to save invalid query?" question + Import Table assistant: improve appearance of the "Finish" page and logic for buttons + Project Import assistant: support single-click accepting of source databases if needed + Translations and typo fixes + Add option to build without KFileWidget, default on Windows + Connection selector widget: select Next step on double click, don't select on highlighting + Add location edit and file filter combo work in KexiFileRequester, add filename completion + Reports: Remove traces of "external data" support, this is not supported since Kexi 2.3 + Reports: Remove no longer necessary "Set Data" button from the data source tab * Docs and examples + Fix and update Simple_Database.kexi example - Add Install-the-application-icons.patch from upstream, this makes it unnecessary to manually copy an application icon to the hicolor theme in %install - Add fix-build-with-qt5.6.patch to make it compile on Leap 42 OBS-URL: https://build.opensuse.org/request/show/589797 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=10
2018-03-22 06:58:26 +01:00
%suse_update_desktop_file -r org.kde.kexi-%{soVersion} Qt KDE Office Database
#Remove unwanted development files
for i in dataviewcommon formutils extendedwidgets relationsview main migrate utils guiutils datatable core undo
do
Accepting request 589797 from home:wolfi323:branches:KDE:Extra - Update to 3.1.0: * General + Bump soname for the libraries to separate from incompatible 3.0.x versions * New features + Add social buttons to Kexi menu + Make KEXI examples be built and installed by default as it's likely expected by users + Add support for setting character encoding for source database to Import Table Assistant * Bug fixes + Fix location of example dir + Mark and install Kexi example file as read-only on all platforms + Fix crash when global search box is used after re-opening another project + Add MainWindow/GlobalSearchBoxEnabled (bool) option that controls display of the global search box (kde#390794) + Disable compacting action if project is not open as we do not support this case for now + Do not display "clear" icons in read-only line edits of Database connection widget + Import table assistant: allow to move back and change source connection, react on double clicking + Do not display empty message when starting without plugins, inform users about the status (kde#389844) + Do not disable contents of "Your contributions" page (part of the Welcome page) + CSV import assistant: switch back to checkboxes from command link buttons + CSV import assistant: fix layout of delimiter widget + CSV import assistant: Improve getting filename selection from the new file requester + CSV import assistant: Single click on file requester's item moves to next page + Fix broken CSV import (kde#386102) + Rework the KexiFileRequester to use a simple and light QTreeView + Update mime types info when needed + Fix "wait" cursors + Fix crash when deleting or renaming a table (kde#379078) + Table Designer: don't warn about non-existing table or query when lookup fields are cleared + Table view's combo box editor: delete the combo button when needed, this fixes possible crash when user clicks the non-deleted button + Fix possible crash when table view containing combo boxes is re-used (kde#389029) + Fix recent dirs handling for file widgets (bug from Kexi 3.0.x), move recent start/recent dirs handling to KexiUtils + Forms: Fix double moving forward/backward on tab/backtab key press + Before physical altering or deleting table ask the user to close depending table/query/report/form (kde#371896) + Queries: Synchronize the "dirty" flag between Design and Text views + SQL designer: remove possible memory leak if the parsed query object is still present on destruction + Queries: fix possible crash in data view when the query design changes in a design view + Queries: after parsing the SQL only assume the query changed if the SQL differs from the previous SQL + Fix memory leak in Project data object (list of auto-open objects) + Fix detection of single-click mode for XFCE + Reports: Make jumping to specific page possible + Reports: Keep information about type of data source (table or query). Detects if needed. (kde#385071) * Optimizations + Improve memory management of raw SQL execution and preparing * Improvements + Set Cancel as default for critical question message boxes + Use Delete verb rather than Remove for consistency + Don't use empty space by object tabs (like in web browsers) + Backport experimental scripting in Kexi + Add config file setting to force the use of KFileWidgets or simple file requesters independently of the desktop + Detect whether native operating system's dialogs should be used + Query Designer: Improve "The query you entered is incorrect. Do you want to cancel any changes made to this SQL text?" question + Query Designer: Improve "Do you want to save invalid query?" question + Import Table assistant: improve appearance of the "Finish" page and logic for buttons + Project Import assistant: support single-click accepting of source databases if needed + Translations and typo fixes + Add option to build without KFileWidget, default on Windows + Connection selector widget: select Next step on double click, don't select on highlighting + Add location edit and file filter combo work in KexiFileRequester, add filename completion + Reports: Remove traces of "external data" support, this is not supported since Kexi 2.3 + Reports: Remove no longer necessary "Set Data" button from the data source tab * Docs and examples + Fix and update Simple_Database.kexi example - Add Install-the-application-icons.patch from upstream, this makes it unnecessary to manually copy an application icon to the hicolor theme in %install - Add fix-build-with-qt5.6.patch to make it compile on Leap 42 OBS-URL: https://build.opensuse.org/request/show/589797 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=10
2018-03-22 06:58:26 +01:00
rm %{buildroot}%{_kf5_libdir}/libkexi${i}%{soVersion}.so
done
Accepting request 589797 from home:wolfi323:branches:KDE:Extra - Update to 3.1.0: * General + Bump soname for the libraries to separate from incompatible 3.0.x versions * New features + Add social buttons to Kexi menu + Make KEXI examples be built and installed by default as it's likely expected by users + Add support for setting character encoding for source database to Import Table Assistant * Bug fixes + Fix location of example dir + Mark and install Kexi example file as read-only on all platforms + Fix crash when global search box is used after re-opening another project + Add MainWindow/GlobalSearchBoxEnabled (bool) option that controls display of the global search box (kde#390794) + Disable compacting action if project is not open as we do not support this case for now + Do not display "clear" icons in read-only line edits of Database connection widget + Import table assistant: allow to move back and change source connection, react on double clicking + Do not display empty message when starting without plugins, inform users about the status (kde#389844) + Do not disable contents of "Your contributions" page (part of the Welcome page) + CSV import assistant: switch back to checkboxes from command link buttons + CSV import assistant: fix layout of delimiter widget + CSV import assistant: Improve getting filename selection from the new file requester + CSV import assistant: Single click on file requester's item moves to next page + Fix broken CSV import (kde#386102) + Rework the KexiFileRequester to use a simple and light QTreeView + Update mime types info when needed + Fix "wait" cursors + Fix crash when deleting or renaming a table (kde#379078) + Table Designer: don't warn about non-existing table or query when lookup fields are cleared + Table view's combo box editor: delete the combo button when needed, this fixes possible crash when user clicks the non-deleted button + Fix possible crash when table view containing combo boxes is re-used (kde#389029) + Fix recent dirs handling for file widgets (bug from Kexi 3.0.x), move recent start/recent dirs handling to KexiUtils + Forms: Fix double moving forward/backward on tab/backtab key press + Before physical altering or deleting table ask the user to close depending table/query/report/form (kde#371896) + Queries: Synchronize the "dirty" flag between Design and Text views + SQL designer: remove possible memory leak if the parsed query object is still present on destruction + Queries: fix possible crash in data view when the query design changes in a design view + Queries: after parsing the SQL only assume the query changed if the SQL differs from the previous SQL + Fix memory leak in Project data object (list of auto-open objects) + Fix detection of single-click mode for XFCE + Reports: Make jumping to specific page possible + Reports: Keep information about type of data source (table or query). Detects if needed. (kde#385071) * Optimizations + Improve memory management of raw SQL execution and preparing * Improvements + Set Cancel as default for critical question message boxes + Use Delete verb rather than Remove for consistency + Don't use empty space by object tabs (like in web browsers) + Backport experimental scripting in Kexi + Add config file setting to force the use of KFileWidgets or simple file requesters independently of the desktop + Detect whether native operating system's dialogs should be used + Query Designer: Improve "The query you entered is incorrect. Do you want to cancel any changes made to this SQL text?" question + Query Designer: Improve "Do you want to save invalid query?" question + Import Table assistant: improve appearance of the "Finish" page and logic for buttons + Project Import assistant: support single-click accepting of source databases if needed + Translations and typo fixes + Add option to build without KFileWidget, default on Windows + Connection selector widget: select Next step on double click, don't select on highlighting + Add location edit and file filter combo work in KexiFileRequester, add filename completion + Reports: Remove traces of "external data" support, this is not supported since Kexi 2.3 + Reports: Remove no longer necessary "Set Data" button from the data source tab * Docs and examples + Fix and update Simple_Database.kexi example - Add Install-the-application-icons.patch from upstream, this makes it unnecessary to manually copy an application icon to the hicolor theme in %install - Add fix-build-with-qt5.6.patch to make it compile on Leap 42 OBS-URL: https://build.opensuse.org/request/show/589797 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=10
2018-03-22 06:58:26 +01:00
rm %{buildroot}%{_kf5_libdir}/libkformdesigner%{soVersion}.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING COPYING.*
%doc AUTHORS README.md
Accepting request 589797 from home:wolfi323:branches:KDE:Extra - Update to 3.1.0: * General + Bump soname for the libraries to separate from incompatible 3.0.x versions * New features + Add social buttons to Kexi menu + Make KEXI examples be built and installed by default as it's likely expected by users + Add support for setting character encoding for source database to Import Table Assistant * Bug fixes + Fix location of example dir + Mark and install Kexi example file as read-only on all platforms + Fix crash when global search box is used after re-opening another project + Add MainWindow/GlobalSearchBoxEnabled (bool) option that controls display of the global search box (kde#390794) + Disable compacting action if project is not open as we do not support this case for now + Do not display "clear" icons in read-only line edits of Database connection widget + Import table assistant: allow to move back and change source connection, react on double clicking + Do not display empty message when starting without plugins, inform users about the status (kde#389844) + Do not disable contents of "Your contributions" page (part of the Welcome page) + CSV import assistant: switch back to checkboxes from command link buttons + CSV import assistant: fix layout of delimiter widget + CSV import assistant: Improve getting filename selection from the new file requester + CSV import assistant: Single click on file requester's item moves to next page + Fix broken CSV import (kde#386102) + Rework the KexiFileRequester to use a simple and light QTreeView + Update mime types info when needed + Fix "wait" cursors + Fix crash when deleting or renaming a table (kde#379078) + Table Designer: don't warn about non-existing table or query when lookup fields are cleared + Table view's combo box editor: delete the combo button when needed, this fixes possible crash when user clicks the non-deleted button + Fix possible crash when table view containing combo boxes is re-used (kde#389029) + Fix recent dirs handling for file widgets (bug from Kexi 3.0.x), move recent start/recent dirs handling to KexiUtils + Forms: Fix double moving forward/backward on tab/backtab key press + Before physical altering or deleting table ask the user to close depending table/query/report/form (kde#371896) + Queries: Synchronize the "dirty" flag between Design and Text views + SQL designer: remove possible memory leak if the parsed query object is still present on destruction + Queries: fix possible crash in data view when the query design changes in a design view + Queries: after parsing the SQL only assume the query changed if the SQL differs from the previous SQL + Fix memory leak in Project data object (list of auto-open objects) + Fix detection of single-click mode for XFCE + Reports: Make jumping to specific page possible + Reports: Keep information about type of data source (table or query). Detects if needed. (kde#385071) * Optimizations + Improve memory management of raw SQL execution and preparing * Improvements + Set Cancel as default for critical question message boxes + Use Delete verb rather than Remove for consistency + Don't use empty space by object tabs (like in web browsers) + Backport experimental scripting in Kexi + Add config file setting to force the use of KFileWidgets or simple file requesters independently of the desktop + Detect whether native operating system's dialogs should be used + Query Designer: Improve "The query you entered is incorrect. Do you want to cancel any changes made to this SQL text?" question + Query Designer: Improve "Do you want to save invalid query?" question + Import Table assistant: improve appearance of the "Finish" page and logic for buttons + Project Import assistant: support single-click accepting of source databases if needed + Translations and typo fixes + Add option to build without KFileWidget, default on Windows + Connection selector widget: select Next step on double click, don't select on highlighting + Add location edit and file filter combo work in KexiFileRequester, add filename completion + Reports: Remove traces of "external data" support, this is not supported since Kexi 2.3 + Reports: Remove no longer necessary "Set Data" button from the data source tab * Docs and examples + Fix and update Simple_Database.kexi example - Add Install-the-application-icons.patch from upstream, this makes it unnecessary to manually copy an application icon to the hicolor theme in %install - Add fix-build-with-qt5.6.patch to make it compile on Leap 42 OBS-URL: https://build.opensuse.org/request/show/589797 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=10
2018-03-22 06:58:26 +01:00
%dir %{_kf5_iconsdir}/hicolor/1024x1024
%dir %{_kf5_iconsdir}/hicolor/1024x1024/apps
%{_kf5_applicationsdir}/org.kde.kexi-%{soVersion}.desktop
%{_kf5_appstreamdir}/org.kde.kexi-%{soVersion}.appdata.xml
%{_kf5_bindir}/kexi-%{soVersion}
%{_kf5_iconsdir}/hicolor/*/*/*
%{_kf5_libdir}/libkexi*.so*
%{_kf5_libdir}/libkformdesigner%{soVersion}.so*
%{_kf5_plugindir}/kexi/
%{_kf5_sharedir}/kexi/
Accepting request 693274 from home:wolfi323:branches:KDE:Extra - Update to 3.2.0 * Bug fixes + Add protection against invalid translation of widget names + Startup: Improve display of tried locations for resources lookup and lookup algorithm (kde#391810) + Startup: Add missing translations for "Could not open icon resource file" messages + General: Make certain views work in User mode (kde#396875) + General: Add "All files" filter to file widgets for non-Plasma systems + General: Welcome page: Always display the project file names in addition to captions + General: Welcome page: Add long localized last opening date to project tool tips + General: Welcome page: Show recent project files that start with "." / hidden files + Table View: Make zero values displayed for integer columns (kde#395189) + Table View: Fix validation of values in default input box of table view (kde#395225) + Table and Form View: Fix two-digit year formats issue: do not allow by default (kde#378481) * Years are 4 digits now in tables and forms. On the output INFO message says as explained at https://bugs.kde.org/show_bug.cgi?id=378481#c5. Data entry works based on this new year format. Changes are properly saved to db. Display output e.g. in queries and reports follow this format too. * Set AllowTwoDigitYearFormats=true in kexirc, [General] section to force using 2 digits. + Queries: Fix crash on failed opening of query in Design view + Forms: Fix crash when right-clicking in form data view on widget such as text box (kde#402923) + Reports: Fix crash in data fetching and aggregation scripts in reports (kde#392753) + Reports: Support params in report queries. KEXI now prompts for parameters in queries that use them. (kde#379694) + Import: Fix translation issue in the Database Importing Assistant (kde#399296) + Import: Skip table name if physical table is non-existing, use the new tableNames API in migration (kde#392112) + MS Access import * Fix crash on importing zero-length memo data (long text) * Fix not being able to handle binary objects larger than 16 MiB. Limit is now 256 MiB. * Fix possible crash when importing MDB file having non-latin characters in column names of unexpected length (kde#396984) + Export: Fix crash on exporting tabular data to clipboard (introduced in 3.1.0) (kde#394519) + Export: Fix filename selection for export dialogs and allow to pre-select filename in file dialogs * Improvements + Assistants: properly focus input boxes after moving to other page, make Alt+arrows work for Back/Next, make Enter accept page if applicable + Project type selection in the new project assistant: do not assume user clicked the type button but just focused it + Improve display of Finish buttons of CSV export/import dialogs + New / Import project assistants * Destination file requester is now of Save type * Use Documents location if there are no recent dirs known yet * Better preserve path while updating filename based on project caption * Buildsystem + Install the application icons + Create (and install) rcc files with kexi icons in co-installable dirs + Fix build with Qt 5.11 (missing headers) + Fix build with Qt 5.6 + Fix data install dir for Windows, make icons installed relative to that + Make appdata.xml, app icons and kexi.desktop co-installable + Make KEXI compile for MOBILE productset + Win/Mac: still install copied KEXI files but add the original ones to the binary because the copied ones do not exist yet before ecm_add_app_icon() gets called + CMake: find PostgreSQL 11 - Drop patches merged upstream: * Install-the-application-icons.patch * fix-build-with-qt5.6.patch * Fix-build-with-Qt-511.patch - Use %kf5_find_lang macro to generate the lang package filelist - BuildRequire postgresql-server-devel instead of postgresql-devel on Tumbleweed to fix building the PostgreSQL migration driver - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/693274 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=14
2019-04-11 16:49:54 +02:00
%if %{with lang}
%files lang -f %{name}.lang
%endif
%changelog