]> git.pld-linux.org Git - packages/lxqt-admin.git/blob - lxqt-admin.spec
- updated to 0.11.0
[packages/lxqt-admin.git] / lxqt-admin.spec
1 #
2 # Conditional build:
3 #
4 %define         qtver           5.3.1
5
6 Summary:        lxqt-admin
7 Name:           lxqt-admin
8 Version:        0.11.0
9 Release:        1
10 License:        GPLv2 and LGPL-2.1+
11 Group:          X11/Applications
12 Source0:        http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
13 # Source0-md5:  6aab9917a9cf9f5c2c5d9f542e37ed11
14 URL:            http://www.lxqt.org/
15 BuildRequires:  cmake >= 2.8.3
16 BuildRequires:  liblxqt-devel >= 0.11.0
17 BuildRequires:  xz-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 lxqt-admin.
22
23 %prep
24 %setup -q
25
26 %build
27 install -d build
28 cd build
29 %cmake \
30         -DPULL_TRANSLATIONS=OFF \
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
41 #%find_lang %{name}-time --with-qm
42 #%find_lang %{name}-user --with-qm -a %{name}-time.lang
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %post   -p /sbin/ldconfig
48 %postun -p /sbin/ldconfig
49
50 %files
51 %defattr(644,root,root,755)
52 #%dir %{_datadir}/lxqt/translations/%{name}-time
53 #%dir %{_datadir}/lxqt/translations/%{name}-user
54 %attr(755,root,root) %{_bindir}/lxqt-admin-time
55 %attr(755,root,root) %{_bindir}/lxqt-admin-user
56 %{_desktopdir}/lxqt-admin-time.desktop
57 %{_desktopdir}/lxqt-admin-user.desktop
58
59 %attr(755,root,root) %{_bindir}/lxqt-admin-user-helper
60 %{_datadir}/polkit-1/actions/org.lxqt.lxqt-admin-user.policy
This page took 0.266275 seconds and 3 git commands to generate.