SPECS: asylum.spec - just use cxx/cxxflags - pass proper paths in ...
qboosh
qboosh at pld-linux.org
Thu Aug 2 22:49:38 CEST 2007
Author: qboosh Date: Thu Aug 2 20:49:38 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- just use cxx/cxxflags
- pass proper paths in CFLAGS, install scores dir
---- Files affected:
SPECS:
asylum.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/asylum.spec
diff -u SPECS/asylum.spec:1.5 SPECS/asylum.spec:1.6
--- SPECS/asylum.spec:1.5 Thu Aug 2 22:31:11 2007
+++ SPECS/asylum.spec Thu Aug 2 22:49:33 2007
@@ -29,8 +29,8 @@
%build
%{__make} \
- CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -x c++"
+ CC="%{__cxx}" \
+ CFLAGS="%{rpmcxxflags} -DRESOURCEPATH=\\\"%{_datadir}/asylum\\\" -DSCOREPATH=\\\"/var/games/asylum\\\""
%install
rm -rf $RPM_BUILD_ROOT
@@ -38,14 +38,17 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/var/games/asylum
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
-%attr(755,root,root) %{_bindir}/%{name}
+%attr(2755,root,games) %{_bindir}/%{name}
%{_datadir}/%{name}
+%attr(775,root,games) %dir /var/games/asylum
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -53,6 +56,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2007/08/02 20:49:33 qboosh
+- just use cxx/cxxflags
+- pass proper paths in CFLAGS, install scores dir
+
Revision 1.5 2007/08/02 20:31:11 qboosh
- pl fix
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/asylum.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list