SPECS (DEVEL): tome.spec - new build workaround (install by "make ...
lisu
lisu at pld-linux.org
Mon Feb 4 13:37:02 CET 2008
Author: lisu Date: Mon Feb 4 12:37:02 2008 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- new build workaround (install by "make install")
---- Files affected:
SPECS:
tome.spec (1.27.2.2 -> 1.27.2.3)
---- Diffs:
================================================================
Index: SPECS/tome.spec
diff -u SPECS/tome.spec:1.27.2.2 SPECS/tome.spec:1.27.2.3
--- SPECS/tome.spec:1.27.2.2 Sun Feb 3 20:49:53 2008
+++ SPECS/tome.spec Mon Feb 4 13:36:56 2008
@@ -48,18 +48,16 @@
%{__make} -f makefile.std \
COPTS="%{rpmcflags}" \
CC="%{__cc}" \
- PREFIX="%{_prefix}" \
+ LDFLAGS="%{rpmldflags}" \
TOMENAME="%{name}"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/tome,%{_pixmapsdir},%{_desktopdir},%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
-install src/tome $RPM_BUILD_ROOT%{_bindir}/%{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
+cd src
+%{__make} install -f makefile.std \
+ DESTDIR=$RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
@@ -83,6 +81,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.27.2.3 2008-02-04 12:36:56 lisu
+- new build workaround (install by "make install")
+
Revision 1.27.2.2 2008-02-03 19:49:53 lisu
- 300alpha18
- install tome.cfg to /etc
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tome.spec?r1=1.27.2.2&r2=1.27.2.3&f=u
More information about the pld-cvs-commit
mailing list