]> git.pld-linux.org Git - packages/lifegeek.git/blobdiff - lifegeek.spec
- updated to 0.3
[packages/lifegeek.git] / lifegeek.spec
index 99ce13dac08b7713b0085ff3b1699df0659db927..c3694b71cc383e0d963cdeaccf1dc2ecc0851d00 100644 (file)
@@ -1,11 +1,13 @@
 Summary:       "The Life of a Geek" game
 Summary(pl):   Gra "The Life of a Geek" (¯ycie geeka)
 Name:          lifegeek
-Version:       0.2
-Release:       0.1
+Version:       0.3
+Release:       1
 License:       GPL
 Group:         Applications/Games
 Source0:       http://www.geocities.com/core_dump_000/files/%{name}-%{version}.tar.gz
+# Source0-md5: 5b0b9b77e2c9ec7b443b6e292224a5d5
+Patch0:                %{name}-path.patch
 URL:           http://www.geocities.com/core_dump_000/lifegeek.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -41,15 +43,19 @@ usuni
 
 %prep
 %setup -q -n %{name}
+%patch -p1
 
 %build
-%{__make}
+%{__make} \
+       CXX="%{__cxx}" \
+       CXXFLAGS="%{rpmcflags} -Wall"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
 
 install lifegeek $RPM_BUILD_ROOT%{_bindir}
+install *.lg   $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,3 +64,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CHANGELOG LICENSE LIFEGEEK_VERSION NOTE TODO
 %attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
This page took 0.074587 seconds and 4 git commands to generate.