package is dead
This commit is contained in:
parent
86bc6793e0
commit
7f07cfbbbf
4 changed files with 1 additions and 159 deletions
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Package is dead. It was only used by sugar-browse which has moved to webkitgtk3
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
d750928c7e098842a486400fe200de44 pyxpcom-2.0-20110406hg.tar.bz2
|
||||
|
|
@ -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
|
||||
|
|
@ -1,140 +0,0 @@
|
|||
%define builddir %{_builddir}/%{name}-%{version}
|
||||
%define objdir objdir
|
||||
%define hgver 20110406hg
|
||||
|
||||
Summary: Python interface for mozilla XPCOM library
|
||||
Name: xulrunner-python
|
||||
Version: 2.0
|
||||
Release: 3.%{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
|
||||
|
||||
# ---------------------------------------------------
|
||||
|
||||
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
|
||||
|
||||
mkdir %{objdir}
|
||||
autoconf-2.13
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
%build
|
||||
export CFLAGS=$RPM_OPT_FLAGS
|
||||
export CXXFLAGS=$RPM_OPT_FLAGS
|
||||
|
||||
cd %{objdir}
|
||||
../configure --with-libxul-sdk=`pkg-config --variable=sdkdir libxul` \
|
||||
--with-system-nspr \
|
||||
--prefix=%{_prefix} \
|
||||
--libdir=%{_libdir}
|
||||
make
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
%install
|
||||
# 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
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-3.20110406hg
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-2.20110406hg
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed Apr 6 2011 Peter Robinson <pbrobinson@gmail.com> - 2.0-1.20110604hg
|
||||
- update to latest HG snapshot to compile against xulrunner 2.0
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.2-5.20100111hg
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 1.9.2-4.20100111hg
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
* Tue Mar 16 2010 Jan Horak <jhorak@redhat.com> - 1.9.2.3.20100111hg
|
||||
- Set CFLAGS and CXXFLAGS variables to $RPM_OPT_FLAGS
|
||||
|
||||
* Wed Nov 25 2009 Martin Stransky <stransky@redhat.com> 1.9.2-2.20100111hg
|
||||
- created as standalone package
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue