|
|
|
@ -53,17 +53,16 @@ echo -e "\ninstall(TARGETS gme_player RUNTIME DESTINATION %{_bindir})" >> player
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%make_build
|
|
|
|
|
# explicitly build the player as it has EXCLUDE_FROM_ALL set
|
|
|
|
|
make %{?_smp_mflags} gme_player
|
|
|
|
|
%make_build gme_player
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
%make_install
|
|
|
|
|
# explicitly install the player as it has EXCLUDE_FROM_ALL set
|
|
|
|
|
cd player
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
%make_install
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -71,7 +70,8 @@ cd ..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc changes.txt license.txt readme.txt
|
|
|
|
|
%doc changes.txt readme.txt
|
|
|
|
|
%license license.txt
|
|
|
|
|
%{_libdir}/libgme.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|