]>
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 | |
b7a67f6d WF |
8 | Version: 0.10.0 |
9 | Release: 0.9 | |
ca397ec8 WF |
10 | License: GPLv2 and LGPL-2.1+ |
11 | Group: X11/Applications | |
b7a67f6d WF |
12 | Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
13 | # Source0-md5: b7a338a1348abe27911893ba6f69cbc2 | |
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 WF |
18 | BuildRequires: kp5-libkscreen-devel |
19 | BuildRequires: liblxqt-devel >= 0.10.0 | |
20 | BuildRequires: libqtxdg-devel >= 1.3.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 \ | |
34 | ../ | |
35 | ||
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %{__make} -C build install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
b7a67f6d WF |
44 | %find_lang %{name} --all-name --with-qm |
45 | ||
ca397ec8 WF |
46 | %clean |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
b7a67f6d | 49 | %files -f %{name}.lang |
ca397ec8 | 50 | %defattr(644,root,root,755) |
b7a67f6d | 51 | %{_sysconfdir}/qt5/menus/lxqt-config.menu |
ca397ec8 WF |
52 | %attr(755,root,root) %{_bindir}/lxqt-config |
53 | %attr(755,root,root) %{_bindir}/lxqt-config-appearance | |
54 | %attr(755,root,root) %{_bindir}/lxqt-config-file-associations | |
55 | %attr(755,root,root) %{_bindir}/lxqt-config-input | |
b7a67f6d | 56 | %attr(755,root,root) %{_bindir}/lxqt-config-locale |
e3873ed2 | 57 | %attr(755,root,root) %{_bindir}/lxqt-config-monitor |
b7a67f6d WF |
58 | %dir %{_libdir}/lxqt-config |
59 | %attr(755,root,root) %{_libdir}/lxqt-config/liblxqt-config-cursor.so | |
ca397ec8 WF |
60 | %{_desktopdir}/lxqt-config-appearance.desktop |
61 | %{_desktopdir}/lxqt-config-file-associations.desktop | |
62 | %{_desktopdir}/lxqt-config-input.desktop | |
b7a67f6d | 63 | %{_desktopdir}/lxqt-config-locale.desktop |
ca397ec8 | 64 | %{_desktopdir}/lxqt-config.desktop |
e3873ed2 | 65 | %{_desktopdir}/lxqt-config-monitor.desktop |
66 | ||
b7a67f6d WF |
67 | %dir %{_datadir}/lxqt/translations/lxqt-config |
68 | %dir %{_datadir}/lxqt/translations/lxqt-config-appearance | |
69 | %dir %{_datadir}/lxqt/translations/lxqt-config-cursor | |
70 | %dir %{_datadir}/lxqt/translations/lxqt-config-file-associations | |
71 | %dir %{_datadir}/lxqt/translations/lxqt-config-input | |
72 | %dir %{_datadir}/lxqt/translations/lxqt-config-monitor |