forked from pool/sqlitebrowser
Accepting request 304505 from server:database
1 OBS-URL: https://build.opensuse.org/request/show/304505 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlitebrowser?expand=0&rev=4
This commit is contained in:
commit
5ce7b74f77
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 28 21:32:32 UTC 2015 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Use QT5 for Factory builds
|
||||||
|
- Honour RPM_OPT_FLAGS.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 2 07:09:42 UTC 2015 - mpluskal@suse.com
|
Thu Apr 2 07:09:42 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -35,10 +35,18 @@ BuildRequires: cmake
|
|||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: libQtWebKit-devel
|
|
||||||
BuildRequires: libqt4-devel >= 4.6
|
|
||||||
BuildRequires: sqlite3-devel
|
BuildRequires: sqlite3-devel
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
BuildRequires: libqt5-linguist-devel
|
||||||
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
|
BuildRequires: pkgconfig(Qt5Network)
|
||||||
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||||
|
BuildRequires: pkgconfig(Qt5Test)
|
||||||
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
|
%else
|
||||||
|
BuildRequires: libqt4-devel
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1100
|
%if 0%{?suse_version} > 1100
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
%endif
|
%endif
|
||||||
@ -67,8 +75,13 @@ to:
|
|||||||
%setup -q -n sqlitebrowser-sqlitebrowser-0ddf048
|
%setup -q -n sqlitebrowser-sqlitebrowser-0ddf048
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} .
|
export CXXFLAGS="%optflags"
|
||||||
make %{?_smp_mflags}
|
cmake \
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
-DUSE_QT5=true \
|
||||||
|
%endif
|
||||||
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} .
|
||||||
|
make %{?_smp_mflags} VERBOSE=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR="%{buildroot}" install
|
make DESTDIR="%{buildroot}" install
|
||||||
|
Loading…
Reference in New Issue
Block a user