From 525403a63ae398bb570886066e23bf8fda23b466 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 13 May 2014 17:44:46 +0200 Subject: [PATCH] - new --- lxqt-policykit.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 lxqt-policykit.spec diff --git a/lxqt-policykit.spec b/lxqt-policykit.spec new file mode 100644 index 0000000..b480591 --- /dev/null +++ b/lxqt-policykit.spec @@ -0,0 +1,49 @@ +# +# Conditional build: +# +%define qtver 4.8.5 + +Summary: lxqt-policykit +Name: lxqt-policykit +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: 104b4c8272d256b539b09fe85202f7f0 +URL: http://www.lxqt.org/ +BuildRequires: cmake >= 2.8.3 +BuildRequires: liblxqt-devel >= 0.7.0 +BuildRequires: libqtxdg-devel >= 0.5.3 +BuildRequires: polkit-devel +BuildRequires: polkit-qt-1-agent-devel +BuildRequires: polkit-qt-1-devel +BuildRequires: xz-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +lxqt-policykit. + +%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-policykit-agent -- 2.44.0