Accepting request 304859 from home:elvigia:branches:Publishing
- In factory, compile against QT5. OBS-URL: https://build.opensuse.org/request/show/304859 OBS-URL: https://build.opensuse.org/package/show/Publishing/equalx?expand=0&rev=9
This commit is contained in:
parent
7010c10a7a
commit
e1c83f743d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 30 20:52:09 UTC 2015 - crrodriguez@opensuse.org
|
||||
|
||||
- In factory, compile against QT5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 26 21:55:57 UTC 2014 - badshah400@gmail.com
|
||||
|
||||
|
18
equalx.spec
18
equalx.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package equalx
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@ -32,11 +32,16 @@ BuildRequires: fdupes
|
||||
BuildRequires: ghostscript
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: inkscape
|
||||
BuildRequires: libqt4-devel >= 4.8.0
|
||||
BuildRequires: pkg-config
|
||||
%if 0%{?suse_version} > 1320
|
||||
BuildRequires: pkgconfig(Qt5Sql)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
%else
|
||||
BuildRequires: libqt4-devel >= 4.8.0
|
||||
Requires: libqt4-sql-sqlite
|
||||
%endif
|
||||
BuildRequires: pkgconfig(exempi-2.0)
|
||||
Requires: ghostscript
|
||||
Requires: libqt4-sql-sqlite
|
||||
Requires: poppler-tools
|
||||
Requires: texlive-latex
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -60,7 +65,12 @@ Features included:
|
||||
sed -i 's/\r$//' LICENSE README
|
||||
|
||||
%build
|
||||
qmake DESTDIR="./bin/" QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags"
|
||||
%if 0%{?suse_version} > 1320
|
||||
qmake-qt5 \
|
||||
%else
|
||||
qmake \
|
||||
%endif
|
||||
DESTDIR="./bin/" QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Loading…
x
Reference in New Issue
Block a user