SPECS: nexuiz.spec - separate data files to other spec

jackass jackass at pld-linux.org
Tue Jan 30 17:30:15 CET 2007


Author: jackass                      Date: Tue Jan 30 16:30:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate data files to other spec

---- Files affected:
SPECS:
   nexuiz.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/nexuiz.spec
diff -u SPECS/nexuiz.spec:1.1 SPECS/nexuiz.spec:1.2
--- SPECS/nexuiz.spec:1.1	Tue Jan 30 16:38:30 2007
+++ SPECS/nexuiz.spec	Tue Jan 30 17:30:10 2007
@@ -2,16 +2,17 @@
 Summary:	nexuiz - engine for first-person shoter game
 Summary(pl):	nexuiz - silnik do strzelaniny w pierwszej osobie
 Name:		nexuiz
-Version:	223
+Version:	2.2.3
 Release:	1
 License:	GPL
 Group:		Applications/Games
-Source0:	http://dl.sourceforge.net/nexuiz/%{name}-%{version}.zip
+Source0:	http://dl.sourceforge.net/nexuiz/%{name}-223.zip
 # Source0-md5:	953fda1555fc1f9ca040bdbb797eb0fd
 Patch0:		%{name}-datadir.patch
 URL:		http://nexuiz.com/
 BuildRequires:	SDL-devel
 BuildRequires:	alsa-lib-devel
+BuildRequires:	sed
 BuildRequires:	unzip
 Requires:	nexuiz-data
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,18 +34,6 @@
 totalnie przepisany kod obsługi sieci, dzięki któremu mogą walczyć 64
 osoby na pojedynczym serwerze.
 
-%package data
-Summary:	Data files for nexuiz
-Summary(pl):	Pliki gry nexuiz
-Group:		Applications/Games
-BuildArch:	noarch
-
-%description data
-Data files with textures, sound etc for nexuiz.
-
-%description data -l pl
-Pliki z texturami, dźwiękami itd dla gry nexuiz.
-
 %prep
 %setup -q -n Nexuiz
 cd sources
@@ -59,10 +48,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
-install -d $RPM_BUILD_ROOT%{_datadir}/games/%{name}/data
 install sources/darkplaces/nexuiz-* $RPM_BUILD_ROOT%{_bindir}
-install data/* $RPM_BUILD_ROOT%{_datadir}/games/%{name}/data
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -70,16 +56,15 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
 
-%files data
-%defattr(644,root,root,755)
-%{_datadir}/games/%{name}
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/01/30 16:30:10  jackass
+- separate data files to other spec
+
 Revision 1.1  2007/01/30 15:38:30  jackass
 - initial release
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nexuiz.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list