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

megabajt megabajt at pld-linux.org
Fri Oct 9 15:20:47 CEST 2009


Author: megabajt                     Date: Fri Oct  9 13:20:47 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: packages/gjs/gjs.spec
diff -u /dev/null packages/gjs/gjs.spec:1.1
--- /dev/null	Fri Oct  9 15:20:47 2009
+++ packages/gjs/gjs.spec	Fri Oct  9 15:20:41 2009
@@ -0,0 +1,118 @@
+# $Revision$, $Date$
+Summary:	JavaScript bindings for GNOME
+Summary(pl.UTF-8):	Wiązania JavaScript dla GNOME
+Name:		gjs
+Version:	0.4
+Release:	1
+License:	MIT and (MPL v1.1 / GPL v2+ / LGPL v2+)
+Group:		Libraries
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gjs/0.4/%{name}-%{version}.tar.bz2
+# Source0-md5:	584594b22e433d56d660a7dda650809d
+URL:		http://live.gnome.org/Gjs
+BuildRequires:	autoconf >= 2.61
+BuildRequires:	automake
+BuildRequires:	dbus-glib-devel
+BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel >= 1:2.16.0
+BuildRequires:	gobject-introspection-devel >= 0.6.3
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRequires:	xulrunner-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Gjs allows using GNOME libraries from JavaScript. It is mainly based
+on Spidermonkey JavaScript engine and the GObject introspection
+framework.
+
+%description -l pl.UTF-8
+Gjs pozwala używać bibliotek GNOME z JavaScript. Bazuje głównie na
+silniku JavaScript Spidermonkey i systemie GObject introspection.
+
+%package devel
+Summary:	Header files for gjs library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki gjs
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	dbus-devel
+Requires:	gobject-introspection-devel
+Requires:	xulrunner-devel
+
+%description devel
+Header files for gjs library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki gjs.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+cp examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/gjs-1.0/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING NEWS README
+%attr(755,root,root) %{_bindir}/gjs
+%attr(755,root,root) %{_bindir}/gjs-console
+%attr(755,root,root) %{_libdir}/libgjs-dbus.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgjs-dbus.so.0
+%attr(755,root,root) %{_libdir}/libgjs-gi.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgjs-gi.so.0
+%attr(755,root,root) %{_libdir}/libgjs.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgjs.so.0
+%dir %{_libdir}/gjs-1.0
+%attr(755,root,root) %{_libdir}/gjs-1.0/console.so
+%attr(755,root,root) %{_libdir}/gjs-1.0/dbusNative.so
+%attr(755,root,root) %{_libdir}/gjs-1.0/debugger.so
+%attr(755,root,root) %{_libdir}/gjs-1.0/gettextNative.so
+%attr(755,root,root) %{_libdir}/gjs-1.0/gi.so
+%attr(755,root,root) %{_libdir}/gjs-1.0/mainloop.so
+%{_datadir}/gjs-1.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgjs-dbus.so
+%attr(755,root,root) %{_libdir}/libgjs-gi.so
+%attr(755,root,root) %{_libdir}/libgjs.so
+%{_libdir}/libgjs-dbus.la
+%{_libdir}/libgjs-gi.la
+%{_libdir}/libgjs.la
+%{_includedir}/gjs-1.0
+%{_pkgconfigdir}/gjs-1.0.pc
+%{_pkgconfigdir}/gjs-dbus-1.0.pc
+%{_pkgconfigdir}/gjs-gi-1.0.pc
+%{_examplesdir}/%{name}-%{version}
+
+%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  2009/10/09 13:20:41  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list