add desktop-file-install scriptlet

This commit is contained in:
Wolfgang Ulbrich 2015-11-06 16:08:40 +01:00
parent a15ef2e4cd
commit 286668427f
1 changed files with 6 additions and 0 deletions

View File

@ -108,6 +108,11 @@ make %{?_smp_mflags} imagedir=%{_datadir}/pixmaps
%install
%{make_install}
desktop-file-install \
--delete-original \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
@ -185,6 +190,7 @@ fi
- remove mate gwd scripts, they are in the tarball now
- remove old obsoletes for f15/16
- some spec file cleanup
- add desktop-file-install scriptlet
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.8.8-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild