SPECS: freedoom.spec - updated to 0.5 - take Version from freedoom...

qboosh qboosh at pld-linux.org
Mon Oct 23 17:09:19 CEST 2006


Author: qboosh                       Date: Mon Oct 23 15:09:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.5
- take Version from freedoom version instead of doom version; epoch 1

---- Files affected:
SPECS:
   freedoom.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/freedoom.spec
diff -u SPECS/freedoom.spec:1.4 SPECS/freedoom.spec:1.5
--- SPECS/freedoom.spec:1.4	Sun Oct 31 10:31:00 2004
+++ SPECS/freedoom.spec	Mon Oct 23 17:09:13 2006
@@ -2,13 +2,15 @@
 Summary:	FreeDoom - free WAD file for DOOM games
 Summary(pl):	FreeDoom - wolnodostępny plik WAD dla gier DOOM
 Name:		freedoom
-Version:	2
-Release:	2
-License:	?
+Version:	0.5
+Release:	1
+Epoch:		1
+License:	BSD
 Group:		Applications/Games
-Source0:	http://freedoom.sourceforge.net/deutex/wads/doom2.wad.gz
-# Source0-md5:	32610843ccad90028257595c3ca1a8a5
+Source0:	http://dl.sourceforge.net/freedoom/%{name}-iwad-%{version}.zip
+# Source0-md5:	7ccaf42756a410285bc16c4587a9d51c
 URL:		http://freedoom.sourceforge.net/
+BuildRequires:	unzip
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,7 +24,7 @@
 Summary:	FreeDoom data for doomlegacy
 Summary(pl):	Dane FreeDoom dla gry doomlegacy
 Group:		Applications/Games
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name} = %{epoch}:%{version}-%{release}
 Requires:	doomlegacy-common
 
 %description -n doomlegacy-data-freedoom
@@ -31,24 +33,11 @@
 %description -n doomlegacy-data-freedoom -l pl
 Dane FreeDoom dla gry doomlegacy.
 
-%package -n prboom-data-freedoom
-Summary:	FreeDoom data for prboom
-Summary(pl):	Dane FreeDoom dla gry prboom
-Group:		Applications/Games
-Requires:	%{name} = %{version}-%{release}
-Requires:	prboom
-
-%description -n prboom-data-freedoom
-FreeDoom data for prboom.
-
-%description -n prboom-data-freedoom -l pl
-Dane FreeDoom dla gry prboom.
-
 %package -n doomsday-data-freedoom
 Summary:	FreeDoom data for doomsday
 Summary(pl):	Dane FreeDoom dla gry doomsday
 Group:		Applications/Games
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name} = %{epoch}:%{version}-%{release}
 Requires:	doomsday
 
 %description -n doomsday-data-freedoom
@@ -57,13 +46,27 @@
 %description -n doomsday-data-freedoom -l pl
 Dane FreeDoom dla gry doomsday.
 
+%package -n prboom-data-freedoom
+Summary:	FreeDoom data for prboom
+Summary(pl):	Dane FreeDoom dla gry prboom
+Group:		Applications/Games
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	prboom
+
+%description -n prboom-data-freedoom
+FreeDoom data for prboom.
+
+%description -n prboom-data-freedoom -l pl
+Dane FreeDoom dla gry prboom.
+
 %prep
+%setup -q -n %{name}-iwad-%{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/{games/{freedoom,doom},doomlegacy,deng/Data/jDoom}
 
-gzip -dc %{SOURCE0} > $RPM_BUILD_ROOT%{_datadir}/games/freedoom/doom2.wad
+install doom2.wad $RPM_BUILD_ROOT%{_datadir}/games/freedoom
 ln -sf %{_datadir}/games/freedoom/doom2.wad $RPM_BUILD_ROOT%{_datadir}/doomlegacy
 ln -sf %{_datadir}/games/freedoom/doom2.wad $RPM_BUILD_ROOT%{_datadir}/games/doom
 ln -sf %{_datadir}/games/freedoom/doom2.wad $RPM_BUILD_ROOT%{_datadir}/deng/Data/jDoom/Doom2.wad
@@ -73,26 +76,31 @@
 
 %files
 %defattr(644,root,root,755)
+%doc COPYING CREDITS ChangeLog NEWS README
 %{_datadir}/games/freedoom
 
 %files -n doomlegacy-data-freedoom
 %defattr(644,root,root,755)
 %{_datadir}/doomlegacy/doom2.wad
 
-%files -n prboom-data-freedoom
-%defattr(644,root,root,755)
-%{_datadir}/games/doom/doom2.wad
-
 %files -n doomsday-data-freedoom
 %defattr(644,root,root,755)
 %{_datadir}/deng/Data/jDoom/Doom2.wad
 
+%files -n prboom-data-freedoom
+%defattr(644,root,root,755)
+%{_datadir}/games/doom/doom2.wad
+
 %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.5  2006/10/23 15:09:13  qboosh
+- updated to 0.5
+- take Version from freedoom version instead of doom version; epoch 1
+
 Revision 1.4  2004/10/31 09:31:00  qboosh
 - strict internal deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/freedoom.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list