packages: gemrb/gemrb.spec - up to 0.5.1 - install config file into _syscon...

lisu lisu at pld-linux.org
Fri Aug 28 10:05:07 CEST 2009


Author: lisu                         Date: Fri Aug 28 08:05:07 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.5.1
- install config file into _sysconfdir
- new item in TODO list

---- Files affected:
packages/gemrb:
   gemrb.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/gemrb/gemrb.spec
diff -u packages/gemrb/gemrb.spec:1.18 packages/gemrb/gemrb.spec:1.19
--- packages/gemrb/gemrb.spec:1.18	Mon Jun 29 10:21:46 2009
+++ packages/gemrb/gemrb.spec	Fri Aug 28 10:05:02 2009
@@ -2,19 +2,20 @@
 #
 # TODO:
 # - what about libgemrb_core.so* files?
-# 
+# - set proper path to Cache dir or create it in datadir
+#
 # Conditional build:
 %bcond_without	png	# build without png
 #
 Summary:	Emulator of BioWare's Infinity game engine
 Summary(pl.UTF-8):	Emulator silnika gier Infinity firmy BioWare
 Name:		gemrb
-Version:	0.5.0
-Release:	1
+Version:	0.5.1
+Release:	0.1
 License:	GPL v2+
 Group:		Applications/Emulators
 Source0:	http://dl.sourceforge.net/gemrb/%{name}-%{version}.tar.gz
-# Source0-md5:	6b371992c1971d2cbefd06233f1edd51
+# Source0-md5:	33a04902189a5d216fbd2f8749e281eb
 Patch0:		%{name}-config_file.patch
 Patch1:		%{name}-useless_files.patch
 URL:		http://gemrb.sourceforge.net/
@@ -34,9 +35,10 @@
 X and Windows with some Enhancements.
 
 %description -l pl.UTF-8
-Silnik ten jest portem oryginalnego silnika Infinity Engine (używanego
-przez Baldur's Gate, Planescape: Torment, Icewind Dale) dla systemów
-Linux/Unix, MacOS i Windows. Silnik posiada kilka ulepszeń.
+Silnik ten jest portem oryginalnego silnika Infinity Engine
+(używanego przez Baldur's Gate, Planescape: Torment, Icewind Dale)
+dla systemów Linux/Unix, MacOS i Windows. Silnik posiada kilka
+ulepszeń.
 
 %prep
 %setup -q
@@ -54,10 +56,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install gemrb/GemRB.cfg.sample $RPM_BUILD_ROOT%{_sysconfdir}/gemrb.cfg
 rm -f $RPM_BUILD_ROOT%{_libdir}{,/gemrb,/gemrb/plugins}/*.la
 
 %clean
@@ -74,6 +78,7 @@
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 %dir %{_libdir}/gemrb/plugins
 %attr(755,root,root) %{_libdir}/gemrb/plugins/*.so*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gemrb.cfg
 %{_datadir}/gemrb
 %{_mandir}/man6/gemrb.6*
 
@@ -83,6 +88,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2009/08/28 08:05:02  lisu
+- up to 0.5.1
+- install config file into _sysconfdir
+- new item in TODO list
+
 Revision 1.18  2009/06/29 08:21:46  lisu
 - 0.5.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gemrb/gemrb.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list