]> git.pld-linux.org Git - packages/RakNet.git/commitdiff
- BR: gcc-c++ (those are c++ files, but they don't use libstdc++) master
authorsparky <sparky@pld-linux.org>
Sun, 16 May 2010 00:48:36 +0000 (00:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- not parallel-safe - run in 1 thread
- fixed lib64 installation

Changed files:
    RakNet.spec -> 1.4

RakNet.spec

index a55ed294f2a7b4634a278407c2196eed5ea30235..6f8947650d9e92d211b7d1db6db26e2dc8eb7f0d 100644 (file)
@@ -1,6 +1,6 @@
 # NOTE
 # - RakNet 3.x is available, but it is not under GPL License
-# - lib64 fix
+# - fix linking
 # - SONAME lost?
 #
 %define                ver     %(echo %{version} | tr . _)
@@ -16,6 +16,7 @@ Source0:      http://www.sumwars.org/data/Raknet%{ver}.tar.gz
 Patch0:                %{name}-destdir.patch
 Patch1:                %{name}-flags.patch
 URL:           http://www.jenkinssoftware.com/
+BuildRequires: gcc-c++
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.553
 BuildRequires: sed >= 4.0
@@ -46,14 +47,15 @@ Pliki nagłówkowe biblioteki RakNet.
 %patch1 -p1
 
 %build
-%{__make} \
+%{__make} -j1 \
        CC="%{__cc}" \
        CFLAGS="%{rpmcflags} -fPIC" \
        LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -j1 install \
+       LIBS_DIR="%{_libdir}" \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
This page took 0.086889 seconds and 4 git commands to generate.