]> git.pld-linux.org Git - packages/lxqt-powermanagement.git/blame - lxqt-powermanagement.spec
- updated to 0.11.0
[packages/lxqt-powermanagement.git] / lxqt-powermanagement.spec
CommitLineData
45c5ce43
WF
1#
2# Conditional build:
3#
158785bc 4%define qtver 5.3.1
45c5ce43
WF
5
6Summary: lxqt-powermanagement
7Name: lxqt-powermanagement
7a144c8a 8Version: 0.11.0
d4f342ef 9Release: 1
45c5ce43
WF
10License: GPLv2 and LGPL-2.1+
11Group: X11/Applications
d4f342ef 12Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
7a144c8a 13# Source0-md5: cde27ffc5e8000e9ba927321e5f0ba20
45c5ce43 14URL: http://www.lxqt.org/
158785bc 15BuildRequires: Qt5Svg-devel >= %{qtver}
45c5ce43 16BuildRequires: cmake >= 2.8.3
84d92dc3 17BuildRequires: kf5-solid-devel
7a144c8a
WF
18BuildRequires: liblxqt-devel >= 0.11.0
19BuildRequires: libqtxdg-devel >= 2.0.0
45c5ce43
WF
20BuildRequires: libxcb-devel
21BuildRequires: xz-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25lxqt-powermanagement.
26
27%prep
158785bc 28%setup -q
45c5ce43
WF
29
30%build
31install -d build
32cd build
33%cmake \
7a144c8a 34 -DPULL_TRANSLATIONS:BOOL=OFF \
45c5ce43
WF
35 ../
36
37%{__make}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42%{__make} -C build install \
43 DESTDIR=$RPM_BUILD_ROOT
44
7a144c8a 45#%find_lang %{name} --all-name --with-qm
d4f342ef 46
45c5ce43
WF
47%clean
48rm -rf $RPM_BUILD_ROOT
49
7a144c8a 50%files
45c5ce43
WF
51%defattr(644,root,root,755)
52%attr(755,root,root) %{_bindir}/lxqt-config-powermanagement
53%attr(755,root,root) %{_bindir}/lxqt-powermanagement
54%{_desktopdir}/lxqt-config-powermanagement.desktop
55%{_iconsdir}/hicolor/scalable/devices/laptop-lid.svg
7a144c8a
WF
56#%dir %{_datadir}/lxqt/translations/lxqt-config-powermanagement
57#%dir %{_datadir}/lxqt/translations/lxqt-powermanagement
This page took 0.047664 seconds and 4 git commands to generate.