Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7512386114 | ||
|
|
e69b249876 | ||
|
|
58a20cc2da |
4 changed files with 8 additions and 24 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -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 +0,0 @@
|
||||||
xulrunner-python-1_9_2-2_20100111hg_fc11:HEAD:xulrunner-python-1.9.2-2.20100111hg.fc11.src.rpm:1264808652
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
Summary: Python interface for mozilla XPCOM library
|
Summary: Python interface for mozilla XPCOM library
|
||||||
Name: xulrunner-python
|
Name: xulrunner-python
|
||||||
Version: 1.9.2
|
Version: 1.9.2
|
||||||
Release: 2.%{hgver}%{?dist}
|
Release: 3.%{hgver}%{?dist}
|
||||||
URL: http://developer.mozilla.org/en/PyXPCOM
|
URL: http://developer.mozilla.org/en/PyXPCOM
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
|
|
@ -46,7 +46,10 @@ autoconf-2.13
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd %{objdir}
|
export CFLAGS=$RPM_OPT_FLAGS
|
||||||
|
export CXXFLAGS=$RPM_OPT_FLAGS
|
||||||
|
|
||||||
|
cd %{objdir}
|
||||||
../configure --with-libxul-sdk=`pkg-config --variable=sdkdir libxul` \
|
../configure --with-libxul-sdk=`pkg-config --variable=sdkdir libxul` \
|
||||||
--with-system-nspr \
|
--with-system-nspr \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
|
|
@ -121,6 +124,9 @@ popd
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Wed Nov 25 2009 Martin Stransky <stransky@redhat.com> 1.9.2-2.20100111hg
|
||||||
- created as standalone package
|
- created as standalone package
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue