rpms/gjs/devel gjs.spec,1.7,1.8

Colin Walters walters at fedoraproject.org
Mon Jul 12 19:00:27 UTC 2010


Author: walters

Update of /cvs/pkgs/rpms/gjs/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3251

Modified Files:
	gjs.spec 
Log Message:
* Mon Jul 12 2010 Colin Walters <walters at verbum.org> - 0.7.1-1
- New upstream version
- Changes to allow builds from snapshots



Index: gjs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gjs/devel/gjs.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- gjs.spec	28 May 2010 14:31:31 -0000	1.7
+++ gjs.spec	12 Jul 2010 19:00:26 -0000	1.8
@@ -1,5 +1,5 @@
 Name:           gjs
-Version:        0.7
+Version:        0.7.1
 Release:        1%{?dist}
 Summary:        Javascript Bindings for GNOME
 
@@ -11,13 +11,16 @@ Group:          System Environment/Libra
 License:        MIT and (MPLv1.1 or GPLv2+ or LGPLv2+)
 URL:            http://live.gnome.org/Gjs/
 #VCS:           git://git.gnome.org/gjs
-Source0:        ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{version}/%{name}-%{version}.tar.bz2
+Source0:        ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{version}/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: xulrunner-devel
 BuildRequires: gobject-introspection-devel
 BuildRequires: dbus-glib-devel
+BuildRequires: intltool
 BuildRequires: pkgconfig
+# Bootstrap requirements
+BuildRequires: gtk-doc gnome-common
 
 %description
 Gjs allows using GNOME libraries from Javascript. It's based on the
@@ -37,7 +40,8 @@ Files for development with %{name}.
 %setup -q
 
 %build
-%configure --disable-static
+(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
+ %configure --disable-static)
 # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -80,6 +84,10 @@ rm -rf %{buildroot}
 %{_libdir}/*.so
 
 %changelog
+* Mon Jul 12 2010 Colin Walters <walters at verbum.org> - 0.7.1-1
+- New upstream version
+- Changes to allow builds from snapshots
+
 * Fri May 28 2010 Matthias Clasen <mclasen at redhat.com> 0.7-1
 - Update to 0.7
 



More information about the scm-commits mailing list