]> git.pld-linux.org Git - packages/lxqt-powermanagement.git/commitdiff
- new
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 13 May 2014 16:01:13 +0000 (18:01 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 13 May 2014 16:01:13 +0000 (18:01 +0200)
lxqt-powermanagement.spec [new file with mode: 0644]

diff --git a/lxqt-powermanagement.spec b/lxqt-powermanagement.spec
new file mode 100644 (file)
index 0000000..d5961aa
--- /dev/null
@@ -0,0 +1,50 @@
+#
+# Conditional build:
+#
+%define                qtver           4.8.5
+
+Summary:       lxqt-powermanagement
+Name:          lxqt-powermanagement
+Version:       0.7.0
+Release:       0.1
+License:       GPLv2 and LGPL-2.1+
+Group:         X11/Applications
+Source0:       http://lxqt.org/downloads/lxqt/0.7.0/%{name}-%{version}.tar.xz
+# Source0-md5: 87121de21ecf7ac6d3b8a5c873adc921
+URL:           http://www.lxqt.org/
+BuildRequires: cmake >= 2.8.3
+BuildRequires: liblxqt-devel >= 0.7.0
+BuildRequires: libqtxdg-devel >= 0.5.3
+BuildRequires: libxcb-devel
+BuildRequires: xz-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+lxqt-powermanagement.
+
+%prep
+%setup -q -c %{name}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       ../
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/lxqt-config-powermanagement
+%attr(755,root,root) %{_bindir}/lxqt-powermanagement
+%{_desktopdir}/lxqt-config-powermanagement.desktop
+%{_iconsdir}/hicolor/scalable/devices/laptop-lid.svg
This page took 0.566619 seconds and 4 git commands to generate.