packages: lxpolkit/lxpolkit.spec (NEW) - new

glen glen at pld-linux.org
Mon Aug 15 10:18:22 CEST 2011


Author: glen                         Date: Mon Aug 15 08:18:22 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/lxpolkit:
   lxpolkit.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lxpolkit/lxpolkit.spec
diff -u /dev/null packages/lxpolkit/lxpolkit.spec:1.1
--- /dev/null	Mon Aug 15 10:18:22 2011
+++ packages/lxpolkit/lxpolkit.spec	Mon Aug 15 10:18:17 2011
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with		gtk3		# build GTK+3 disables GTK+2
+%bcond_without		gtk2	# build with GTK+2
+
+%if %{with gtk3}
+%undefine	with_gtk2
+%endif
+
+Summary:	LXPolkit is a simple PolicyKit authentication agent
+Name:		lxpolkit
+Version:	0.1.0
+Release:	1
+License:	GPL v3
+Group:		X11/Applications
+Source0:	http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
+# Source0-md5:	2597b00035fe1d695219e0f9bfa8c26f
+# FIXME: check url, if site cames back online
+URL:		http://wiki.lxde.org/en/LXPolkit
+BuildRequires:	gettext-devel
+%{?with_gtk2:BuildRequires:	gtk+2-devel >= 2:2.12.0}
+%{?with_gtk3:BuildRequires:	gtk+3-devel}
+BuildRequires:	intltool
+BuildRequires:	pkgconfig
+BuildRequires:	polkit-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LXPolkit is a simple PolicyKit authentication agent.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	%{?with_gtk3:--enable-gtk3}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/tt_RU
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS README
+/etc/xdg/autostart/lxpolkit.desktop
+%attr(755,root,root) %{_libdir}/lxpolkit
+%{_datadir}/lxpolkit
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/08/15 08:18:17  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list