corrected makeinstall macros

This commit is contained in:
Sergey Zhemoitel 2014-10-06 19:08:30 +04:00
parent 9ce7b16445
commit 997eace275

View file

@ -25,16 +25,15 @@ customizable, and reasonably lightweight.
%build %build
qmake-qt5 qmake-qt5
#make %{?_smp_mflags}
%make %make
%install %install
#make INSTALL_ROOT=%{buildroot} install %make INSTALL_ROOT=%{buildroot} install
%makeinstall #makeinstall_std
desktop-file-install \ desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{name}.desktop %{name}.desktop
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -42,9 +41,6 @@ desktop-file-install \
%{_bindir}/%{name} %{_bindir}/%{name}
%{_libdir}/qt5/qml/ %{_libdir}/qt5/qml/
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
# FIXME: Icon
#{_datadir}/pixmaps/{name}.png
#{_datadir}/icons/hicolor/*/*/*
%clean %clean