Removed duplicate desktop source

This commit is contained in:
Denis Leroy 2009-04-14 06:59:15 +00:00
parent cf2c908f90
commit 95c525fdce

View File

@ -1,16 +1,12 @@
Name: brasero
Version: 2.26.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Gnome CD/DVD burning application
Group: Applications/Multimedia
License: GPLv2+
URL: http://www.gnome.org/projects/brasero/
Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/2.26/%{name}-%{version}.tar.bz2
# http://bugzilla.gnome.org/show_bug.cgi?id=573789
# http://bugzilla.gnome.org/show_bug.cgi?id=573790
# http://bugzilla.gnome.org/show_bug.cgi?id=573791
Source1: nautilus-cd-burner.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel >= 2.15.6
@ -118,11 +114,9 @@ desktop-file-install --vendor "" \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
# See comment for source1
cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-ncb.desktop
desktop-file-install --vendor "" \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}-ncb.desktop
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}-nautilus.desktop
%clean
rm -rf $RPM_BUILD_ROOT
@ -180,7 +174,6 @@ fi
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}-open-*.desktop
%{_datadir}/applications/%{name}-copy-*.desktop
%{_datadir}/applications/%{name}-ncb.desktop
%{_datadir}/gnome/help/%{name}
%{_datadir}/omf/%{name}
%{_datadir}/icons/hicolor/*/apps/*
@ -208,6 +201,9 @@ fi
%changelog
* Mon Apr 13 2009 Denis Leroy <denis@poolshark.org> - 2.26.0-2
- Removed duplicate desktop source
* Sun Mar 29 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
- Update to 2.26.0