diff options
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 |