2 Summary: Qt5 Configuration Tool
8 Source0: https://downloads.sourceforge.net/qt5ct/%{name}-%{version}.tar.bz2
9 # Source0-md5: 5fe33a1cbbf84978463b92f3014c361c
10 URL: https://sourceforge.net/projects/qt5ct/
11 BuildRequires: Qt5Concurrent-devel >= %{qtver}
12 BuildRequires: Qt5Core-devel >= %{qtver}
13 BuildRequires: Qt5DBus-devel >= %{qtver}
14 BuildRequires: Qt5Gui-devel >= %{qtver}
15 BuildRequires: Qt5ThemeSupport-devel >= %{qtver}
16 BuildRequires: Qt5Widgets-devel >= %{qtver}
17 BuildRequires: qt5-linguist >= %{qtver}
18 BuildRequires: qt5-qmake >= %{qtver}
19 Requires: Qt5Core >= %{qtver}
20 Requires: Qt5DBus >= %{qtver}
21 Requires: Qt5Gui >= %{qtver}
22 Requires: Qt5Widgets >= %{qtver}
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 qt5ct allows users to configure Qt5 settings (theme, font, icons,
27 etc.) under DE/WM without Qt integration.
37 rm -rf $RPM_BUILD_ROOT
40 INSTALL_ROOT=$RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/translations
43 cp -p src/qt5ct/translations/*.qm $RPM_BUILD_ROOT%{_datadir}/%{name}/translations
45 %find_lang %{name} --with-qm
48 rm -rf $RPM_BUILD_ROOT
51 %update_desktop_database
54 %update_desktop_database_postun
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog README
59 %attr(755,root,root) %{_bindir}/qt5ct
60 %attr(755,root,root) %{_libdir}/qt5/plugins/platformthemes/libqt5ct.so
61 %attr(755,root,root) %{_libdir}/qt5/plugins/styles/libqt5ct-style.so
62 %dir %{_datadir}/qt5ct
63 %{_datadir}/qt5ct/colors
65 %{_desktopdir}/qt5ct.desktop
66 %dir %{_datadir}/qt5ct/translations