From 4b689493115a670f2b78d033d0de935073ed3d43 Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Feb 10 2013 21:23:49 +0000 Subject: remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247 - clean up spec to follow current guidelines --- diff --git a/atomix.spec b/atomix.spec index 11045da..3574c21 100644 --- a/atomix.spec +++ b/atomix.spec @@ -1,6 +1,6 @@ Name: atomix Version: 2.14.0 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Puzzle game: Build molecules out of isolated atoms Group: Amusements/Games @@ -10,8 +10,6 @@ Source0: http://ftp.gnome.org/pub/GNOME/sources/atomix/2.14/atomix-2.14.0 Patch0: %{name}-about-dlg-close-button.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildRequires: gettext BuildRequires: perl-XML-Parser BuildRequires: desktop-file-utils @@ -38,38 +36,34 @@ make %{?_smp_mflags} %install -rm -rf ${RPM_BUILD_ROOT} -make install DESTDIR=${RPM_BUILD_ROOT} +%make_install %find_lang %{name} # move scorefile to proper place mkdir -p ${RPM_BUILD_ROOT}/%{_localstatedir}/lib/ mv ${RPM_BUILD_ROOT}%{_localstatedir}/games ${RPM_BUILD_ROOT}%{_localstatedir}/lib/ -desktop-file-install --vendor fedora \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - --delete-original \ - --add-category LogicGame \ - --remove-category PuzzleGame \ - ${RPM_BUILD_ROOT}%{_datadir}/applications/atomix.desktop - - -%clean -rm -rf ${RPM_BUILD_ROOT} - +desktop-file-install \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + --delete-original \ + --add-category LogicGame \ + --remove-category PuzzleGame \ + ${RPM_BUILD_ROOT}%{_datadir}/applications/atomix.desktop %files -f %{name}.lang -%defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README %attr(2755,games,games) %{_bindir}/atomix %{_datadir}/atomix %{_datadir}/pixmaps/atomix-icon.png %{_datadir}/gnome-2.0/ui/atomix-ui.xml -%{_datadir}/applications/fedora-atomix.desktop +%{_datadir}/applications/atomix.desktop %verify(not md5 size mtime) %config(noreplace) %attr(0664,games,games) %{_localstatedir}/lib/games/atomix.scores - %changelog +* Sun Feb 10 2013 Rahul Sundaram - 2.14.0-15 +- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247 +- clean up spec to follow current guidelines + * Wed Jul 18 2012 Fedora Release Engineering - 2.14.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild