]> git.pld-linux.org Git - packages/doomlegacy.git/commitdiff
- merge with HEAD: version 1.40, rel. 2
authorankry <ankry@pld-linux.org>
Fri, 7 Mar 2003 00:23:31 +0000 (00:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    doomlegacy.spec -> 1.9.2.1

doomlegacy.spec

index 9bdfdc606b7cf59b89c6e0994be16caa798d8ae2..16e64f06d8177f1221a32978f0d139fbe5b981b1 100644 (file)
@@ -1,18 +1,21 @@
 Summary:       DOOM Legacy for Linux
 Summary(pl):   DOOM Legacy dla Linuksa
 Name:          doomlegacy
-Version:       1.32
-Release:       1.beta1.1
+Version:       1.40
+Release:       2
 License:       GPL, perhaps except for doom3.wad
 Group:         Applications/Games
-Source0:       http://prdownloads.sourceforge.net/doomlegacy/legacy_132beta1_src.tar.gz
-Source1:       http://prdownloads.sourceforge.net/doomlegacy/doom3_wad_132.zip
+Source0:       http://dl.sourceforge.net/doomlegacy/legacy_140_src.tar.gz
+Source1:       http://dl.sourceforge.net/doomlegacy/doom3_wad_132.zip
+Source2:       http://dl.sourceforge.net/doomlegacy/legacy_dat.zip
+URL:           http://legacy.newdoom.com/
 Patch0:                %{name}-paths.patch
 Patch1:                %{name}-Makefile.patch
 Patch2:                %{name}-nosndstat.patch
-BuildRequires: XFree86-devel
+Patch3:                %{name}-sound.patch
 BuildRequires: OpenGL-devel
 BuildRequires: SDL_mixer-devel
+BuildRequires: XFree86-devel
 BuildRequires: nasm
 BuildRequires: unzip
 ExclusiveArch: %{ix86}
@@ -65,16 +68,23 @@ This is DOOM Legacy for Linux - SDL version.
 To jest DOOM Legacy dla Linuksa - wersja SDL.
 
 %prep
-%setup -q -c -a 1
-%patch0 -p1
+%setup -q -c -a 1 -a 2
+%patch0 -p0
 %patch1 -p0
-%patch2 -p1
+%patch2 -p0
+%patch3 -p0
 
 %build
-install -d doomlegacy/linux_x/{musserv,sndserv}/{objs,bin}
-%{__make} -C doomlegacy PGCC=1 LINUX=1 OPTFLAGS="%{rpmcflags}"
-%{__make} -C doomlegacy clean LINUX=1
-%{__make} -C doomlegacy PGCC=1 LINUX=1 SDL=1 OPTFLAGS="%{rpmcflags}"
+mkdir bin
+
+# linux_x contains some precompiled binary objects (incompatible with glibc 2.3) - kill them
+%{__make} -C doomlegacy_src clean LINUX=1
+%{__make} -C doomlegacy_src \
+       PGCC=1 LINUX=1 OPTFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
+
+%{__make} -C doomlegacy_src clean LINUX=1
+%{__make} -C doomlegacy_src \
+       PGCC=1 LINUX=1 SDL=1 OPTFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -82,18 +92,19 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/doomlegacy,%{_datadir}/doomlega
 
 install bin/llxdoom    $RPM_BUILD_ROOT%{_bindir}
 install bin/lsdldoom   $RPM_BUILD_ROOT%{_bindir}
-install doomlegacy/linux_x/sndserv/linux/llsndserv $RPM_BUILD_ROOT%{_libdir}/doomlegacy
-install doomlegacy/linux_x/musserv/linux/musserver $RPM_BUILD_ROOT%{_libdir}/doomlegacy
+install doomlegacy_src/linux_x/sndserv/linux/llsndserv $RPM_BUILD_ROOT%{_libdir}/doomlegacy
+install doomlegacy_src/linux_x/musserv/linux/musserver $RPM_BUILD_ROOT%{_libdir}/doomlegacy
 install bin/r_opengl.so        $RPM_BUILD_ROOT%{_libdir}/doomlegacy
 
 install doom3.wad      $RPM_BUILD_ROOT%{_datadir}/doomlegacy
+install legacy.dat     $RPM_BUILD_ROOT%{_datadir}/doomlegacy
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
 %files common
 %defattr(644,root,root,755)
-%doc doomlegacy/_doc/*.txt
+%doc doomlegacy_src/_doc/*.txt
 %dir %{_libdir}/doomlegacy
 %attr(755,root,root) %{_libdir}/doomlegacy/*serv*
 %{_datadir}/doomlegacy
This page took 0.074827 seconds and 4 git commands to generate.