Compare commits

...

8 commits

Author SHA1 Message Date
Peter Robinson
7f07cfbbbf package is dead 2012-12-18 20:03:58 +00:00
Dennis Gilmore
86bc6793e0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 02:24:18 -05:00
Dennis Gilmore
e0496ed577 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 03:20:55 -06:00
Peter Robinson
6692d9829b update to latest HG snapshot to compile against xulrunner 2.0 2011-04-06 19:12:45 +01:00
Dennis Gilmore
45b1b58db3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 01:07:57 -06:00
Fedora Release Engineering
c0e141db8f dist-git conversion 2010-07-29 16:16:12 +00:00
dmalcolm
2217b8b7fa - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-26 18:24:00 +00:00
Jan Horak
cc108cb7bb Set CFLAGS and CXXFLAGS variables to 2010-03-16 06:50:33 +00:00
7 changed files with 2 additions and 167 deletions

View file

@ -1 +1,2 @@
pyxpcom-1.9.2-20100111hg.tar.bz2
/pyxpcom-2.0-20110406hg.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xulrunner-python
# $Id$
NAME := xulrunner-python
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
Package is dead. It was only used by sugar-browse which has moved to webkitgtk3

View file

@ -1 +0,0 @@
xulrunner-python-1_9_2-2_20100111hg_fc11:HEAD:xulrunner-python-1.9.2-2.20100111hg.fc11.src.rpm:1264808652

View file

@ -1 +0,0 @@
bc5b5d794ff2f79150f67dea7519a6f5 pyxpcom-1.9.2-20100111hg.tar.bz2

View file

@ -1,18 +0,0 @@
diff -up xulrunner-python-1.9.2/config/config.mk.old xulrunner-python-1.9.2/config/config.mk
--- xulrunner-python-1.9.2/config/config.mk.old 2010-01-11 11:20:07.000000000 +0100
+++ xulrunner-python-1.9.2/config/config.mk 2010-01-11 11:30:31.000000000 +0100
@@ -639,14 +639,6 @@ else
ELF_DYNSTR_GC = :
endif
-ifndef CROSS_COMPILE
-ifdef USE_ELF_DYNSTR_GC
-ifdef MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS
-ELF_DYNSTR_GC = $(DEPTH)/config/elf-dynstr-gc
-endif
-endif
-endif
-
ifeq ($(OS_ARCH),Darwin)
ifdef NEXT_ROOT
export NEXT_ROOT

View file

@ -1,126 +0,0 @@
%define builddir %{_builddir}/%{name}-%{version}
%define objdir objdir
%define hgver 20100111hg
Summary: Python interface for mozilla XPCOM library
Name: xulrunner-python
Version: 1.9.2
Release: 2.%{hgver}%{?dist}
URL: http://developer.mozilla.org/en/PyXPCOM
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
# Get by hg clone http://hg.mozilla.org/pyxpcom pyxpcom/src
Source0: pyxpcom-%{version}-%{hgver}.tar.bz2
# build patches
Patch0: xpcom-dynstr.patch
# ---------------------------------------------------
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: gecko-devel >= %{version}
BuildRequires: autoconf213
BuildRequires: python-devel
Requires: gecko-libs >= %{version}
%description
Files needed to run Gecko applications written in python.
%package devel
Summary: Development files for python XPCOM interface
Group: Development/Libraries
Requires: xulrunner-python = %{version}
%description devel
Development files for building Gecko applications written in python.
#---------------------------------------------------------------------
%prep
%setup -q -c
%patch0 -p1 -b .dynstr
mkdir %{objdir}
autoconf-2.13
#---------------------------------------------------------------------
%build
cd %{objdir}
../configure --with-libxul-sdk=`pkg-config --variable=sdkdir libxul` \
--with-system-nspr \
--prefix=%{_prefix} \
--libdir=%{_libdir}
make
#---------------------------------------------------------------------
%install
%{__rm} -rf $RPM_BUILD_ROOT
# Some helpers
%define distdir objdir/dist/bin
%define includedir objdir/dist/include
%define libdir objdir/dist/lib
%define idldir objdir/dist/idl
function add_files() {
DIRECTORY=$1
TARGET=$2
INSTALL_DIR=$3
%{__mkdir} -p $RPM_BUILD_ROOT/$INSTALL_DIR
if [ -n "$DIRECTORY" ]; then
%{__cp} -r $DIRECTORY/* $RPM_BUILD_ROOT/$INSTALL_DIR
fi
echo "%dir $INSTALL_DIR" >> %{builddir}/$TARGET
echo "$INSTALL_DIR/*" >> %{builddir}/$TARGET
}
pushd .
# Fix _xpcom.so rights
%{__chmod} 755 %{distdir}/python/xpcom/_xpcom.so
# Install package binaries
echo %defattr\(-,root,root\) > %{builddir}/files.txt
add_files %{distdir} "files.txt" `pkg-config --variable=libdir libxul`
# Install include files for devel package
echo %defattr\(-,root,root\) > %{builddir}/files-devel.txt
add_files %{includedir} "files-devel.txt" `pkg-config --variable=includedir libxul`/pyxpcom
# Install idl for devel package
add_files %{idldir} "files-devel.txt" `pkg-config --variable=idldir libxul`
# Install library for devel package
INSTALL_DIR=`pkg-config --variable=sdkdir libxul`/sdk/lib
LIB_DIR=`pkg-config --variable=libdir libxul`
%{__mkdir} -p $RPM_BUILD_ROOT/$INSTALL_DIR
ln -s $LIB_DIR/libpyxpcom.so $RPM_BUILD_ROOT/$INSTALL_DIR
add_files "" "files-devel.txt" $INSTALL_DIR
popd
#---------------------------------------------------------------------
%clean
%{__rm} -rf $RPM_BUILD_ROOT
#---------------------------------------------------------------------
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f files.txt
%files devel -f files-devel.txt
#---------------------------------------------------------------------
%changelog
* Wed Nov 25 2009 Martin Stransky <stransky@redhat.com> 1.9.2-2.20100111hg
- created as standalone package