diff --git a/devhelp.spec b/devhelp.spec index a318b9a..7b79b01 100644 --- a/devhelp.spec +++ b/devhelp.spec @@ -49,17 +49,14 @@ make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing" %install make install DESTDIR=$RPM_BUILD_ROOT -desktop-file-install --vendor gnome \ - --delete-original \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - $RPM_BUILD_ROOT%{_datadir}/applications/devhelp.desktop - find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';' mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books %find_lang devhelp +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/devhelp.desktop + %post /sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : @@ -82,7 +79,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_bindir}/devhelp %{_libdir}/libdevhelp*.so.* -%{_datadir}/applications/*.desktop +%{_datadir}/applications/devhelp.desktop %{_datadir}/devhelp %{_datadir}/GConf/gsettings/devhelp.convert %{_datadir}/glib-2.0/schemas/org.gnome.devhelp.gschema.xml @@ -105,6 +102,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %changelog * Wed Feb 06 2013 Kalev Lember - 1:3.7.5-1 - Update to 3.7.5 +- Remove the desktop file vendor prefix * Fri Dec 21 2012 Kalev Lember - 1:3.7.3-1 - Update to 3.7.3