Drop the desktop file vendor prefix

This commit is contained in:
Kalev Lember 2013-02-21 00:46:43 +01:00
parent 67a9734270
commit 1cb504c22a

View File

@ -8,7 +8,7 @@
Summary: Eye of GNOME image viewer
Name: eog
Version: 3.7.4
Release: 4%{?dist}
Release: 5%{?dist}
URL: http://projects.gnome.org/eog/
#VCS: git:git://git.gnome.org/eog
Source: http://download.gnome.org/sources/eog/3.7/%{name}-%{version}.tar.xz
@ -76,14 +76,12 @@ make %{?_smp_mflags}
%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/*
%find_lang %{name} --with-gnome
rm -rf $RPM_BUILD_ROOT%{_libdir}/eog/plugins/*.la
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/eog.desktop
%post
update-desktop-database >&/dev/null || :
@ -104,7 +102,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%files -f %{name}.lang
%doc AUTHORS COPYING NEWS README
%{_datadir}/eog
%{_datadir}/applications/*
%{_datadir}/applications/eog.desktop
%{_datadir}/icons/hicolor/*/apps/*
%{_bindir}/*
%{_libdir}/eog
@ -118,6 +116,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%{_datadir}/gtk-doc/
%changelog
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.4-5
- Drop the desktop file vendor prefix
* Wed Feb 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.4-4
- Rebuilt for libgnome-desktop soname bump