1
0
forked from pool/sqlitebrowser

Accepting request 944541 from server:database

OBS-URL: https://build.opensuse.org/request/show/944541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlitebrowser?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2022-01-07 11:46:13 +00:00 committed by Git OBS Bridge
commit ca204d2bdf
2 changed files with 15 additions and 15 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 4 12:16:26 UTC 2022 - marec <marec@detebe.org>
- Fixed build for Leap
- Added support for sqlcipher
- Removed obsolete %post and %postun section
-------------------------------------------------------------------
Mon May 24 19:09:02 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package sqlitebrowser
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -39,11 +39,8 @@ BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(sqlcipher)
BuildRequires: pkgconfig(sqlite3)
Requires(post): hicolor-icon-theme
Requires(post): update-desktop-files
Requires(postun):hicolor-icon-theme
Requires(postun):update-desktop-files
# not on SLE-12
%if 0%{?suse_version} != 1315 || 0%{?is_opensuse}
BuildRequires: antlr-devel
@ -74,6 +71,10 @@ Controls and guided dialogs are available for users to:
-DQSCINTILLA_INCLUDE_DIR=%{_includedir}/qt5/Qsci \
-DQSCINTILLA_LIBRARY=%{_libdir}/libqscintilla2_qt5.so \
-DBUILD_SHARED_LIBS=OFF \
%if 0%{?suse_version} && 0%{?suse_version} <= 1500
-DFORCE_INTERNAL_QSCINTILLA=ON \
%endif
-Dsqlcipher=1 \
-Wno-dev
%cmake_build
@ -96,14 +97,6 @@ Icon=%{name}
EOF
%suse_update_desktop_file %{name}
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%doc README.md currentrelease
%license LICENSE