Ticket #8344: desktopitem.patch

File desktopitem.patch, 1.6 KB (added by SF/lupusbe, 20 years ago)
  • ./scummvm.spec

    old new  
    99#------------------------------------------------------------------------------
    1010Name            : scummvm
    1111Version         : 0.6.0
    12 Release         : 1
     12Release         : 2
    1313Summary         : Graphic adventure game interpreter
    1414Group           : Interpreters
    1515License         : GPL
     
    1919Source          : %{name}-%{version}.tar.bz2
    2020Source1         : libmad-0.15.1b.tar.bz2
    2121Source2         : mpeg2dec-0.4.0b.tar.bz2
     22Source3         : %{name}.desktop
    2223BuildRoot       : %{_tmppath}/%{name}-%{version}-root
    2324
    2425#------------------------------------------------------------------------------
     
    4950install -m755 -D scummvm %{buildroot}%{_bindir}/scummvm
    5051install -m644 -D scummvm.6 %{buildroot}/%{_mandir}/man6/scummvm.6
    5152
     53desktop-file-install \
     54  --vendor fedora \
     55  --mode 644 \
     56  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
     57  --add-category X-Fedora \
     58 %{SOURCE3}
     59
     60install -D -p -m 644 scummvm.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/scummvm.xpm
     61
     62
    5263%clean
    5364rm -Rf ${RPM_BUILD_ROOT}
    5465
     
    6071%doc README NEWS COPYING scummvm.xpm
    6172%attr(0755,root,root)%{_bindir}/scummvm
    6273%{_mandir}/man6/scummvm.6*
     74%{_datadir}/applications/*-%{name}.desktop
     75%{_datadir}/pixmaps/scummvm.xpm
    6376
    6477#------------------------------------------------------------------------------
    6578#   Change Log
    6679#------------------------------------------------------------------------------
    6780%changelog
     81* Sat Jun 12 2004 (de_lupus@pandora.be Kristof Vansant)
     82  - added menu item for fedora
    6883* Mon Mar 15 2004 (0.6.0)
    6984  - included libmad and libmpeg2
    7085* Sat Aug 02 2003 (0.5.0)