- Move to git snapshot to fix compile against xulrunner 1.9.2.1
This commit is contained in:
parent
e4684a455d
commit
7b1592c2b3
@ -1 +1 @@
|
|||||||
gjs-0.4.tar.bz2
|
gjs-0.5-20100114.tar.bz2
|
||||||
|
26
gjs.spec
26
gjs.spec
@ -1,6 +1,13 @@
|
|||||||
|
# Tarfile created using git
|
||||||
|
# git clone git://git.gnome.org/gjs
|
||||||
|
# git archive --format=tar --prefix=%{name}-%{version}/ %{git_version} | bzip2 > ~/%{name}-%{version}-%{gitdate}.tar.bz2
|
||||||
|
%define gitdate 20100114
|
||||||
|
%define git_version b3b2053
|
||||||
|
%define tarfile %{name}-%{version}-%{gitdate}.tar.bz2
|
||||||
|
|
||||||
Name: gjs
|
Name: gjs
|
||||||
Version: 0.4
|
Version: 0.5
|
||||||
Release: 1%{?dist}
|
Release: 0.1%{?dist}
|
||||||
Summary: Javascript Bindings for GNOME
|
Summary: Javascript Bindings for GNOME
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -10,7 +17,8 @@ Group: System Environment/Libraries
|
|||||||
# Stack printer (gjs/stack.c)
|
# Stack printer (gjs/stack.c)
|
||||||
License: MIT and (MPLv1.1 or GPLv2+ or LGPLv2+)
|
License: MIT and (MPLv1.1 or GPLv2+ or LGPLv2+)
|
||||||
URL: http://live.gnome.org/Gjs/
|
URL: http://live.gnome.org/Gjs/
|
||||||
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2
|
# Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2
|
||||||
|
Source0: %{tarfile}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: xulrunner-devel
|
BuildRequires: xulrunner-devel
|
||||||
@ -18,6 +26,10 @@ BuildRequires: gobject-introspection-devel
|
|||||||
BuildRequires: dbus-glib-devel
|
BuildRequires: dbus-glib-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
|
# For the git snaphot
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: gnome-common
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Gjs allows using GNOME libraries from Javascript. It's based on the
|
Gjs allows using GNOME libraries from Javascript. It's based on the
|
||||||
Spidermonkey Javascript engine from Mozilla and the GObject introspection
|
Spidermonkey Javascript engine from Mozilla and the GObject introspection
|
||||||
@ -35,6 +47,11 @@ Files for development with %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
# Don't run configure from autogen.sh
|
||||||
|
NOCONFIGURE=yes ./autogen.sh
|
||||||
|
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
|
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
|
||||||
@ -79,6 +96,9 @@ rm -rf %{buildroot}
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 14 2010 Peter Robinson <pbrobinson@gmail.com> 0.5-0.1
|
||||||
|
- Move to git snapshot to fix compile against xulrunner 1.9.2.1
|
||||||
|
|
||||||
* Thu Aug 27 2009 Peter Robinson <pbrobinson@gmail.com> 0.4-1
|
* Thu Aug 27 2009 Peter Robinson <pbrobinson@gmail.com> 0.4-1
|
||||||
- New upstream 0.4 release
|
- New upstream 0.4 release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user