]> git.pld-linux.org Git - packages/doomlegacy.git/commitdiff
- initial release
authorwaszi <waszi@pld-linux.org>
Sat, 30 Jun 2001 09:43:16 +0000 (09:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need check

Changed files:
    doomlegacy.spec -> 1.1

doomlegacy.spec [new file with mode: 0644]

diff --git a/doomlegacy.spec b/doomlegacy.spec
new file mode 100644 (file)
index 0000000..5f31e53
--- /dev/null
@@ -0,0 +1,47 @@
+Summary:       DOOM Legacy for Linux X-Windows and Mesa
+Name:          doomlegacy
+Version:       1.32
+Release:       1.beta1
+Source0:       http://prdownloads.sourceforge.net/doomlegacy/legacy_132beta1_src.tar.gz
+Source1:       http://prdownloads.sourceforge.net/doomlegacy/doom3_wad_132.zip
+Patch0:                %{name}-paths.patch
+Patch1:                %{name}-Makefile.patch
+License:       GPL, perhaps except for doom3.wad
+Group:         Amusements/Games
+Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix /usr/X11R6
+
+%description
+This is Doom Legacy for Linux X11 and Mesa.
+
+%prep
+%setup -q -n doomlegacy -a 1
+%patch0 -p1
+%patch1 -p1
+
+%build
+install -d {,linux_x/{musserv,sndesrv}/}{objs,bin}
+%{__make} PGCC=1 LINUX=1 OPTFLAGS="%{!?debug:%{rpmcflags}} %{?debug:-O1 -g}"
+
+%install
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/doom,%{_datadir}/games/doom}
+
+install ../bin/llxdoom                 $RPM_BUILD_ROOT%{_bindir}
+install linux_x/sndserv/linux/llsndserv $RPM_BUILD_ROOT%{_bindir}
+install linux_x/musserv/linux/musserver $RPM_BUILD_ROOT%{_bindir}
+install ../bin/r_opengl.so             $RPM_BUILD_ROOT%{_libdir}/doom
+
+install doom3.wad                      $RPM_BUILD_ROOT%{_datadir}/games/doom
+
+gzip -9nf _doc/*.txt
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%defattr(644,root,root,755)
+%doc _doc/*.txt.gz
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/*
+%{_datadir}/games/doom/doom3.wad
This page took 0.034484 seconds and 4 git commands to generate.