packages: luakit/luakit.spec (NEW) - initial PLD release

pawelz pawelz at pld-linux.org
Mon Aug 9 14:25:19 CEST 2010


Author: pawelz                       Date: Mon Aug  9 12:25:19 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: packages/luakit/luakit.spec
diff -u /dev/null packages/luakit/luakit.spec:1.1
--- /dev/null	Mon Aug  9 14:25:20 2010
+++ packages/luakit/luakit.spec	Mon Aug  9 14:25:14 2010
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+Summary:	WebKitGTK+ based browser
+Name:		luakit
+Version:	2010.08.07
+Release:	0.1
+License:	GPL v3 + MIT
+Group:		Applications
+Source0:	http://github.com/mason-larobina/luakit/tarball/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	fa0037354e1d603ba9e3b303c070046f
+Patch0:		%{name}-make.patch
+URL:		http://luakit.org
+BuildRequires:	glib-devel
+BuildRequires:	gtk+2-devel
+BuildRequires:	gtk-webkit-devel
+BuildRequires:	libxdg-basedir-devel
+BuildRequires:	lua51-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+luakit is a highly configurable, micro-browser framework based on the
+WebKit web content engine and the GTK+ toolkit. It is very fast,
+extensible by Lua
+
+%prep
+%setup -qc
+mv mason-larobina-%{name}-*/* .
+
+%patch0 -p1
+
+%build
+CFLAGS='%{rpmcflags}' \
+LDFLAGS='%{rpmldflags}' \
+PREFIX=%{_prefix} \
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+PREFIX=%{_prefix} \
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING PATCHES README.md
+
+%dir %{_sysconfdir}/xdg/luakit
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/luakit/rc.lua
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/luakit
+
+%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  2010/08/09 12:25:14  pawelz
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list