]> git.pld-linux.org Git - packages/gemrb.git/commitdiff
- up to 0.5.1
authorlisu <lisu@pld-linux.org>
Fri, 28 Aug 2009 08:05:02 +0000 (08:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- install config file into _sysconfdir
- new item in TODO list

Changed files:
    gemrb.spec -> 1.19

gemrb.spec

index 7456595c29c174d3523961e8152d56cede8b4d91..7b6f219d8340b8fd9066b3f5ea7cad46c01ab441 100644 (file)
@@ -1,19 +1,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/
@@ -33,9 +34,10 @@ Baldur's Gate, Planescape: Torment, Icewind Dale) to Linux/Unix, MacOs
 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
@@ -53,10 +55,12 @@ Linux/Unix, MacOS i Windows. Silnik posiada kilka ulepszeń.
 
 %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
@@ -73,5 +77,6 @@ rm -rf $RPM_BUILD_ROOT
 %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*
This page took 0.129873 seconds and 4 git commands to generate.