Summary: lxqt-policykit
Name: lxqt-policykit
-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: c35c7f466e79142d6ee83e234a517f35
+Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 1a740ac879b6363e5a0c043ed6f7602a
URL: http://www.lxqt.org/
BuildRequires: cmake >= 2.8.3
BuildRequires: liblxqt-devel >= 0.8.0
install -d build
cd build
%cmake \
- -DUSE_QT5=ON \
- ../
+ ../
%{__make}
%{__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-policykit-agent
+%dir %{_datadir}/lxqt/translations/lxqt-policykit-agent