[packages/lxqt-powermanagement] - updated to 0.10.0 - --with-qm

witekfl witekfl at pld-linux.org
Sat Feb 20 18:29:09 CET 2016


commit d4f342ef5dc37093a3fd266ac87bc79bc1194167
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Feb 20 18:28:52 2016 +0100

    - updated to 0.10.0
    - --with-qm

 lxqt-powermanagement.spec | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/lxqt-powermanagement.spec b/lxqt-powermanagement.spec
index 27715f2..6b6a03d 100644
--- a/lxqt-powermanagement.spec
+++ b/lxqt-powermanagement.spec
@@ -5,16 +5,16 @@
 
 Summary:	lxqt-powermanagement
 Name:		lxqt-powermanagement
-Version:	0.8.0
-Release:	0.2
+Version:	0.10.0
+Release:	1
 License:	GPLv2 and LGPL-2.1+
 Group:		X11/Applications
-Source0:	http://lxqt.org/downloads/lxqt/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5:	3dfb506a077a36b822389f4679c824c9
+Source0:	http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5:	e17763f5e7c2a9f8595a58209d51cb86
 URL:		http://www.lxqt.org/
 BuildRequires:	Qt5Svg-devel >= %{qtver}
 BuildRequires:	cmake >= 2.8.3
-BuildRequires:	liblxqt-devel >= 0.8.0
+BuildRequires:	liblxqt-devel >= 0.10.0
 BuildRequires:	libqtxdg-devel >= 0.5.3
 BuildRequires:	libxcb-devel
 BuildRequires:	xz-devel
@@ -30,7 +30,6 @@ lxqt-powermanagement.
 install -d build
 cd build
 %cmake \
-    -DUSE_QT5=ON \
 	../
 
 %{__make}
@@ -41,12 +40,16 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name} --all-name --with-qm
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %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
+%dir %{_datadir}/lxqt/translations/lxqt-config-powermanagement
+%dir %{_datadir}/lxqt/translations/lxqt-powermanagement
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxqt-powermanagement.git/commitdiff/d4f342ef5dc37093a3fd266ac87bc79bc1194167



More information about the pld-cvs-commit mailing list