rpms/gjs/F-11 gjs.spec,NONE,1.1 .cvsignore,1.1,1.2 sources,1.1,1.2

Peter Robinson pbrobinson at fedoraproject.org
Sat Aug 8 09:47:02 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/gjs/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29431

Modified Files:
	.cvsignore sources 
Added Files:
	gjs.spec 
Log Message:
- initial import


--- NEW FILE gjs.spec ---
Name:           gjs
Version:        0.3
Release:        2%{?dist}
Summary:        Javascript Bindings for GNOME

Group:          System Environment/Libraries
# The following files contain code from Mozilla which
# is triple licensed under MPL1.1/LGPLv2+/GPLv2+:
# The console module (modules/console.c)
# Stack printer (gjs/stack.c)
License:        MIT and (MPLv1.1 or GPLv2+ or LGPLv2+)
URL:            http://live.gnome.org/Gjs/
Source0:        ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.2/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: xulrunner-devel
BuildRequires: gobject-introspection-devel
BuildRequires: dbus-glib-devel
BuildRequires: pkgconfig

%description
Gjs allows using GNOME libraries from Javascript. It's based on the
Spidermonkey Javascript engine from Mozilla and the GObject introspection
framework.

%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig

%description devel
Files for development with %{name}.

%prep
%setup -q

%build
%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

make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

#Remove libtool archives.
find %{buildroot} -name '*.la' -exec rm -f {} ';'

%check
#make check

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING NEWS README
%{_bindir}/gjs-console
%{_libdir}/*.so.*
%{_libdir}/gjs-1.0
%{_datadir}/gjs-1.0

%files devel
%defattr(-,root,root,-)
%doc examples/*
%{_includedir}/gjs-1.0
%{_libdir}/pkgconfig/gjs-1.0.pc
%{_libdir}/pkgconfig/gjs-gi-1.0.pc
%{_libdir}/pkgconfig/gjs-dbus-1.0.pc
%{_libdir}/*.so

%changelog
* Fri Aug  7 2009 Peter Robinson <pbrobinson at gmail.com> 0.3-2
- Updates from the review request

* Wed Jul  8 2009 Peter Robinson <pbrobinson at gmail.com> 0.3-1
- New upstream release. Clarify licensing for review

* Sat Jun 27 2009 Peter Robinson <pbrobinson at gmail.com> 0.2-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gjs/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	7 Aug 2009 20:00:43 -0000	1.1
+++ .cvsignore	8 Aug 2009 09:47:02 -0000	1.2
@@ -0,0 +1 @@
+gjs-0.3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gjs/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	7 Aug 2009 20:00:43 -0000	1.1
+++ sources	8 Aug 2009 09:47:02 -0000	1.2
@@ -0,0 +1 @@
+3dead54a91b2e00a746efa7def7e5e9c  gjs-0.3.tar.bz2




More information about the fedora-extras-commits mailing list