]> git.pld-linux.org Git - packages/lxqt-powermanagement.git/blame - lxqt-powermanagement.spec
- up to 0.8.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
158785bc 8Version: 0.8.0
9Release: 0.2
45c5ce43
WF
10License: GPLv2 and LGPL-2.1+
11Group: X11/Applications
158785bc 12Source0: http://lxqt.org/downloads/lxqt/%{version}/%{name}-%{version}.tar.xz
13# Source0-md5: 3dfb506a077a36b822389f4679c824c9
45c5ce43 14URL: http://www.lxqt.org/
158785bc 15BuildRequires: Qt5Svg-devel >= %{qtver}
45c5ce43 16BuildRequires: cmake >= 2.8.3
158785bc 17BuildRequires: liblxqt-devel >= 0.8.0
45c5ce43
WF
18BuildRequires: libqtxdg-devel >= 0.5.3
19BuildRequires: libxcb-devel
20BuildRequires: xz-devel
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24lxqt-powermanagement.
25
26%prep
158785bc 27%setup -q
45c5ce43
WF
28
29%build
30install -d build
31cd build
32%cmake \
158785bc 33 -DUSE_QT5=ON \
45c5ce43
WF
34 ../
35
36%{__make}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41%{__make} -C build install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
49%attr(755,root,root) %{_bindir}/lxqt-config-powermanagement
50%attr(755,root,root) %{_bindir}/lxqt-powermanagement
51%{_desktopdir}/lxqt-config-powermanagement.desktop
52%{_iconsdir}/hicolor/scalable/devices/laptop-lid.svg
This page took 0.164044 seconds and 4 git commands to generate.