summaryrefslogtreecommitdiffstats
path: root/pokegen.spec
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-17 20:41:33 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-17 20:41:33 +0000
commit58e4b6d9320ae9c2d00a85e9a9cfa6f4eafbe30d (patch)
tree893bd5f4aee7a7ab96dadfa804de63773c83da4a /pokegen.spec
parenta52ab1891833bf68f23fe5ea271a7c1265a381e4 (diff)
[FIX] Pokemodr overlays are now in overlays, not images/overlays
[FIX] Better installing procedures [FIX] Desktop file now valid [FIX] Building now does not touch out of main directory [FIX] Documentation moved around to proper places git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@145 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokegen.spec')
-rw-r--r--pokegen.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/pokegen.spec b/pokegen.spec
index 6692dafb..f629b52d 100644
--- a/pokegen.spec
+++ b/pokegen.spec
@@ -22,14 +22,16 @@ It includes a network play and other tools to help create custom games.
%build
cd src
-qmake-qt4
+qmake-qt4 PREFIX="%{_prefix}" CXXFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
+make doc
%install
rm -rf %{buildroot}
mkdir %{buildroot}
-make DESTDIR=%{buildroot} install
+cd src
+make INSTALL_ROOT=%{buildroot} install
desktop-file-install --vendor="fedora" \
--dir=%{buildroot}%{_datadir}/applications \
%{SOURCE1}
@@ -43,7 +45,7 @@ rm -rf ${buildroot}
%defattr(-,root,root,-)
%doc /usr/share/doc/pokegen-%{version}/DISCLAIMER
%doc /usr/share/doc/pokegen-%{version}/LICENSE
-%doc /usr/share/doc/pokegen-%{version}/pokegen.pdf
+%doc /usr/share/doc/pokegen-%{version}/pokemodr.pdf
/usr/bin/pokemodr
%{_libdir}/libgeneral.so
%{_libdir}/libpokemod.so