rpms/freedink-data/F-9 freedink-data-fix-timestamps.patch, NONE, 1.1 freedink-data.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sylvain Beucler beuc at fedoraproject.org
Sun Oct 5 16:57:38 UTC 2008


Author: beuc

Update of /cvs/pkgs/rpms/freedink-data/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8200/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	freedink-data-fix-timestamps.patch freedink-data.spec 
	import.log 
Log Message:
Import for F-9


freedink-data-fix-timestamps.patch:

--- NEW FILE freedink-data-fix-timestamps.patch ---
diff --git a/Makefile b/Makefile
index f3edfaf..776ff00 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,18 @@ all:
 
 install:
 #	Copy game data
+
+#	The final directory is '$PREFIX/share/dink/dink' ('dink'
+#	twice), as there can be site-wide D-Mods such as
+#	'$PREFIX/share/dink/island'
 	install -d -m 755 $(DESTDIR)$(DATADIR)/dink
-	cp -r dink $(DESTDIR)$(DATADIR)/dink/
+
+#	'-a' will preserve timestamps, which some distros prefer. It
+#	will also preserve symlinks, which may be useful as there are
+#	a few duplicate musics. Use a .zip archive for woe releases,
+#	it will duplicate files but avoid creating empty files instead
+#	of symlinks.
+	cp -a dink $(DESTDIR)$(DATADIR)/dink/
 
 #	Clean-up:
 #	Git files:


--- NEW FILE freedink-data.spec ---
Name:		freedink-data
Version:	1.08.20080920
Release:	3%{?dist}
Summary:	Adventure and role-playing game (game data)

Group:		Amusements/Games
License:	zlib and CC-BY-SA and (GPLv3+ or Free Art or CC-BY-SA) and OAL and Public Domain and CC-BY and GPLv2+
URL:		http://www.freedink.org/
Source0:	ftp://ftp.gnu.org/gnu/freedink/%{name}-%{version}.tar.gz
#Source0:	http://www.freedink.org/releases/%{name}-%{version}.tar.gz
# Upstream has applied this in Git trunk
Patch0:		freedink-data-fix-timestamps.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch

%description
Dink Smallwood is an adventure/role-playing game, similar to Zelda,
made by RTsoft. Besides twisted humour, it includes the actual game
editor, allowing players to create hundreds of new adventures called
Dink Modules or D-Mods for short.

This package contains architecture-independent data for the original
game, along with free sound and music replacements.


%prep
%setup -q
%patch0 -p1
# Strip DOS EOL from documentation
# https://fedoraproject.org/wiki/PackageMaintainers/Common_Rpmlint_Issues#wrong-file-end-of-line-encoding
sed -i 's/\r//' README.txt README-REPLACEMENTS.txt


%build


%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README.txt README-REPLACEMENTS.txt licenses/
%{_datadir}/dink/


%changelog
* Wed Sep 24 2008 Sylvain Beucler <beuc at beuc.net> - 1.08.20080920-3
- Actually apply patch0 (preserve timestamps)

* Tue Sep 23 2008 Sylvain Beucler <beuc at beuc.net> - 1.08.20080920-2
- Specify all licenses used by the package
- Added licenses texts in docs
- Replaced /usr by a RPM macro
- Add patch from upstream to preserve timestamps no install
- Converted DOS newlines

* Sat Sep 20 2008 Sylvain Beucler <beuc at beuc.net> - 1.08.20080920-1
- Initial package


--- NEW FILE import.log ---
freedink-data-1_08_20080920-3_fc8:F-9:freedink-data-1.08.20080920-3.fc8.src.rpm:1223225793


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/freedink-data/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Sep 2008 19:22:10 -0000	1.1
+++ .cvsignore	5 Oct 2008 16:57:07 -0000	1.2
@@ -0,0 +1 @@
+freedink-data-1.08.20080920.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/freedink-data/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Sep 2008 19:22:10 -0000	1.1
+++ sources	5 Oct 2008 16:57:07 -0000	1.2
@@ -0,0 +1 @@
+e84f9e34f1fb46ea1ed0e3a34b341f4a  freedink-data-1.08.20080920.tar.gz




More information about the scm-commits mailing list