diff options
author | Remi Collet <remi@remirepo.net> | 2017-09-22 08:54:14 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-09-22 08:54:14 +0200 |
commit | 16f16ce4ffde2b38f7e90c0406faa492d2adfaf8 (patch) | |
tree | 1f8bc365b77ba9e47dee3ef3e18b1dff855ab84c /qelectrotech.spec | |
parent | b119671cd759384b1119469f828b147f7f5f3540 (diff) |
allow build on mageia
Diffstat (limited to 'qelectrotech.spec')
-rw-r--r-- | qelectrotech.spec | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/qelectrotech.spec b/qelectrotech.spec index a609069..8b66400 100644 --- a/qelectrotech.spec +++ b/qelectrotech.spec @@ -53,8 +53,16 @@ Source0: http://download.tuxfamily.org/qet/tags/%{rdate}/qelectrotech-%{upver %endif BuildRequires: desktop-file-utils -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtsvg-devel +BuildRequires: pkgconfig(Qt5Concurrent) +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Network) +BuildRequires: pkgconfig(Qt5PrintSupport) +BuildRequires: pkgconfig(Qt5Sql) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5Xml) + Requires: qelectrotech-symbols = %{version}-%{release} %if 0%{?fedora} Recommends: electronics-menu @@ -210,7 +218,11 @@ desktop-file-install --vendor="" \ # QT translation provided by QT. rm -f %{buildroot}%{_datadir}/%{name}/lang/qt_*.qm +%if 0%{?mageia} +echo '%{_datadir}/%{name}/lang/*' >qet.lang +%else %find_lang qet --with-qt +%endif %find_lang qelectrotech --with-man cat qet.lang >>qelectrotech.lang |