]>
Commit | Line | Data |
---|---|---|
02012bc0 WF |
1 | # |
2 | # Conditional build: | |
3 | # | |
29ccbc1d | 4 | %define qtver 5.3.1 |
02012bc0 WF |
5 | |
6 | Summary: lxqt-notificationd | |
7 | Name: lxqt-notificationd | |
6e3ddba3 WF |
8 | Version: 0.10.0 |
9 | Release: 1 | |
02012bc0 WF |
10 | License: GPLv2 and LGPL-2.1+ |
11 | Group: X11/Applications | |
6e3ddba3 WF |
12 | Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
13 | # Source0-md5: 6fc72335b4cb0ae1db3cbbcc2f6e38ca | |
02012bc0 WF |
14 | URL: http://www.lxqt.org/ |
15 | BuildRequires: cmake >= 2.8.3 | |
29ccbc1d | 16 | BuildRequires: liblxqt-devel >= 0.8.0 |
17 | BuildRequires: libqtxdg-devel >= 1.0.0 | |
02012bc0 WF |
18 | BuildRequires: xz-devel |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | lxqt-notificationd | |
23 | ||
24 | %prep | |
29ccbc1d | 25 | %setup -q |
02012bc0 WF |
26 | |
27 | %build | |
28 | install -d build | |
29 | cd build | |
30 | %cmake \ | |
31 | ../ | |
32 | ||
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %{__make} -C build install \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
6e3ddba3 WF |
41 | %find_lang %{name} --all-name --with-qm |
42 | ||
02012bc0 WF |
43 | %clean |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
6e3ddba3 | 46 | %files -f %{name}.lang |
02012bc0 WF |
47 | %defattr(644,root,root,755) |
48 | %attr(755,root,root) %{_bindir}/lxqt-config-notificationd | |
49 | %attr(755,root,root) %{_bindir}/lxqt-notificationd | |
50 | %{_desktopdir}/lxqt-config-notificationd.desktop | |
6e3ddba3 WF |
51 | %dir %{_datadir}/lxqt/translations/lxqt-config-notificationd |
52 | %dir %{_datadir}/lxqt/translations/lxqt-notificationd |