]>
Commit | Line | Data |
---|---|---|
ca397ec8 WF |
1 | # |
2 | # Conditional build: | |
3 | # | |
e3873ed2 | 4 | %define qtver 5.3.1 |
ca397ec8 WF |
5 | |
6 | Summary: lxqt-config | |
7 | Name: lxqt-config | |
fbd37462 | 8 | Version: 0.11.0 |
54b9d2b9 | 9 | Release: 1 |
ca397ec8 WF |
10 | License: GPLv2 and LGPL-2.1+ |
11 | Group: X11/Applications | |
b7a67f6d | 12 | Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
fbd37462 | 13 | # Source0-md5: e50bf87b509ec57281cda154b272392c |
ca397ec8 | 14 | URL: http://www.lxqt.org/ |
e3873ed2 | 15 | BuildRequires: Qt5Concurrent-devel >= %{qtver} |
b7a67f6d | 16 | BuildRequires: Qt5Svg-devel >= %{qtver} |
ca397ec8 | 17 | BuildRequires: cmake >= 2.8.3 |
b7a67f6d | 18 | BuildRequires: kp5-libkscreen-devel |
fbd37462 WF |
19 | BuildRequires: liblxqt-devel >= 0.11.0 |
20 | BuildRequires: libqtxdg-devel >= 2.0.0 | |
ca397ec8 WF |
21 | BuildRequires: xz-devel |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | lxqt-config | |
26 | ||
27 | %prep | |
e3873ed2 | 28 | %setup -q |
ca397ec8 WF |
29 | |
30 | %build | |
31 | install -d build | |
32 | cd build | |
33 | %cmake \ | |
fbd37462 | 34 | -DPULL_TRANSLATIONS=OFF \ |
ca397ec8 WF |
35 | ../ |
36 | ||
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} -C build install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
fbd37462 | 45 | #%find_lang %{name} --all-name --with-qm |
b7a67f6d | 46 | |
ca397ec8 WF |
47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
fbd37462 | 50 | %files |
ca397ec8 | 51 | %defattr(644,root,root,755) |
54b9d2b9 | 52 | %{_sysconfdir}/xdg/menus/lxqt-config.menu |
ca397ec8 WF |
53 | %attr(755,root,root) %{_bindir}/lxqt-config |
54 | %attr(755,root,root) %{_bindir}/lxqt-config-appearance | |
55 | %attr(755,root,root) %{_bindir}/lxqt-config-file-associations | |
56 | %attr(755,root,root) %{_bindir}/lxqt-config-input | |
b7a67f6d | 57 | %attr(755,root,root) %{_bindir}/lxqt-config-locale |
e3873ed2 | 58 | %attr(755,root,root) %{_bindir}/lxqt-config-monitor |
b7a67f6d WF |
59 | %dir %{_libdir}/lxqt-config |
60 | %attr(755,root,root) %{_libdir}/lxqt-config/liblxqt-config-cursor.so | |
ca397ec8 WF |
61 | %{_desktopdir}/lxqt-config-appearance.desktop |
62 | %{_desktopdir}/lxqt-config-file-associations.desktop | |
63 | %{_desktopdir}/lxqt-config-input.desktop | |
b7a67f6d | 64 | %{_desktopdir}/lxqt-config-locale.desktop |
ca397ec8 | 65 | %{_desktopdir}/lxqt-config.desktop |
e3873ed2 | 66 | %{_desktopdir}/lxqt-config-monitor.desktop |
67 | ||
fbd37462 WF |
68 | #%dir %{_datadir}/lxqt/translations/lxqt-config |
69 | #%dir %{_datadir}/lxqt/translations/lxqt-config-appearance | |
70 | #%dir %{_datadir}/lxqt/translations/lxqt-config-cursor | |
71 | #%dir %{_datadir}/lxqt/translations/lxqt-config-file-associations | |
72 | #%dir %{_datadir}/lxqt/translations/lxqt-config-input | |
73 | #%dir %{_datadir}/lxqt/translations/lxqt-config-monitor | |
74 | ||
75 | %attr(755,root,root) %{_bindir}/lxqt-config-brightness | |
76 | %{_desktopdir}/lxqt-config-brightness.desktop | |
77 | %{_iconsdir}/hicolor/48x48/apps/brightnesssettings.svg | |
78 | %{_datadir}/lxqt/icons/monitor.svg |