]> git.pld-linux.org Git - packages/democracy.git/commitdiff
- fix amd64 build, pass CC
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 3 Jan 2007 01:48:14 +0000 (01:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    democracy.spec -> 1.2

democracy.spec

index a92507dd8091ac2372bec1bb97f790a693d70962..9b2d9983caf92398e148d011e88de97448076498 100644 (file)
@@ -6,6 +6,7 @@ License:        GPL
 Group:         Applications/Multimedia
 Source0:       ftp://ftp.osuosl.org/pub/pculture.org/democracy/src/Democracy-%{version}.tar.gz
 # Source0-md5: 0b92aa3efb2a93e7c066152137fcf9fa
+Patch0:                %{name}-lib64.patch
 URL:           http://www.getdemocracy.com/
 BuildRequires: boost-python-devel
 BuildRequires: libfame
@@ -30,13 +31,18 @@ and VLC media player (or Xine Media Player under GNU/Linux).
 
 %prep
 %setup -q -n Democracy-%{version}
+%if "%{_lib}" != "lib"
+%patch0 -p1
+%endif
 
 mv platform/gtk-x11/README README.gtk-x11
 
 %build
 cd platform/gtk-x11
 
-CFLAGS="%{rpmcflags}" %{__python} setup.py build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.078398 seconds and 4 git commands to generate.