SPECS (DEVEL): tome.spec - 300alpha18 - install tome.cfg to /etc
lisu
lisu at pld-linux.org
Sun Feb 3 20:49:58 CET 2008
Author: lisu Date: Sun Feb 3 19:49:58 2008 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- 300alpha18
- install tome.cfg to /etc
---- Files affected:
SPECS:
tome.spec (1.27.2.1 -> 1.27.2.2)
---- Diffs:
================================================================
Index: SPECS/tome.spec
diff -u SPECS/tome.spec:1.27.2.1 SPECS/tome.spec:1.27.2.2
--- SPECS/tome.spec:1.27.2.1 Fri Oct 26 17:24:34 2007
+++ SPECS/tome.spec Sun Feb 3 20:49:53 2008
@@ -1,10 +1,9 @@
# $Revision$, $Date$
# TODO:
-# - move tome.cfg to proper /etc directory
# - fix putting scores into /var/games/tome
#
%define file_version %(echo %{version} | tr -d .)
-%define _alpha alpha17
+%define _alpha alpha18
Summary: Troubles of Middle Earth - a roguelike game
Summary(pl.UTF-8): Gra roguelike "Troubles of Middle Earth"
Name: tome
@@ -13,12 +12,13 @@
License: distributable
Group: Applications/Games
Source0: http://t-o-m-e.net/dl/src/%{name}-%{file_version}%{_alpha}-src.tar.bz2
-# Source0-md5: 9e33b9c4fe4c79319e9523b06ddbbd15
+# Source0-md5: c3d99855380c2c43c33269c7cd64a23c
Source1: %{name}.png
Source2: %{name}.desktop
Patch0: %{name}-makefile.patch
#to be fixed
#Patch1: %{name}-paths.patch
+Patch2: %{name}-config.patch
URL: http://www.t-o-m-e.net/
BuildRequires: lua51-devel
BuildRequires: ncurses-devel
@@ -39,6 +39,7 @@
%setup -q -n %{name}-%{file_version}%{_alpha}-src
%patch0 -p1
#%%patch1 -p1
+%patch2 -p1
%build
# Only build ncurses version (see makefile patch), because I didn't
@@ -52,10 +53,10 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/tome,%{_pixmapsdir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/tome,%{_pixmapsdir},%{_desktopdir},%{_sysconfdir}}
install src/tome $RPM_BUILD_ROOT%{_bindir}/%{name}
-install tome.cfg $RPM_BUILD_ROOT%{_datadir}/games/%{name}
+install tome.cfg $RPM_BUILD_ROOT%{_sysconfdir}
cp -r game $RPM_BUILD_ROOT%{_datadir}/games/%{name}
# do not copy placeholders; bones are unnecessary
#cp -r lib/{apex,save,data} $RPM_BUILD_ROOT/var/games/tome
@@ -68,6 +69,7 @@
%files
%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tome.cfg
%doc *.txt
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/games/%{name}
@@ -81,6 +83,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.27.2.2 2008-02-03 19:49:53 lisu
+- 300alpha18
+- install tome.cfg to /etc
+
Revision 1.27.2.1 2007-10-26 15:24:34 lisu
- 3.0.0alpha17
- BR: lua51-devel (used to find paths)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tome.spec?r1=1.27.2.1&r2=1.27.2.2&f=u
More information about the pld-cvs-commit
mailing list