amarokFS-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Name: amarokFS
  2. Version: 0.5
  3. Release: 1%{?_dist_release}
  4. Summary: full screen front-end for Amarok
  5. Summary(ja): Amarok 用のフルスクリーンフロントエンド
  6. Group: Applications/Multimedia
  7. # Python integration script is GPLv2+, everything else is LGPLv2+
  8. License: LGPLv2+ and GPLv2+
  9. URL: http://www.kde-apps.org/content/show.php?content=52641
  10. Source0: http://www.kde-apps.org/CONTENT/content-files/52641-amarokFS-%{version}.tar.gz
  11. # Source1 is an Amarok integration script
  12. Source1: http://www.kde-apps.org/CONTENT/content-files/53125-amarokFS-1.1.amarokscript.tar
  13. Source2: Vine-amarokFS.desktop
  14. Patch0: amarokFS-0.5-fedora_paths.patch
  15. Patch1: amarokFS-0.5-start_amarok.patch
  16. Patch2: amarokFS-0.5-theme_howto.patch
  17. Patch3: amarokFS-0.5-theme_prev_button.patch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. BuildRequires: kdelibs-devel desktop-file-utils ImageMagick qt-devel
  20. Requires: amarok
  21. %description
  22. AmarokFS (Amarok Full Screen) is a full screen front-end for Amarok that provides a simple and nice looking graphical user interface.
  23. It is very suitable for parties and public terminals. The front-end's appearance can be customized using themes.
  24. This package also contains a script that allows AmarokFS to be launched from within Amarok itself.
  25. %description -l ja
  26. AmarokFS (Amarokフルスクリーン)は、シンプルでナイスな GUI を提供する Amarok 用のフルスクリーン・フロント・エンドです。
  27. パーティーや公の端末向けとして非常に適しています。フロント・エンドの外観はテーマを使用する事でカスタマイズ可能です。
  28. このパッケージは、さらに AmarokFS が Amarok 上からのスタートを可能にするスクリプトを含んでいます。
  29. %prep
  30. %setup -q
  31. %patch0 -p1 -b .fedora_paths
  32. %patch1 -p1 -b .start_amarok
  33. %patch2 -p1 -b .theme_howto
  34. %patch3 -p1 -b .theme_prev_button
  35. sed -i 's/Application;//' amarokFS.desktop
  36. sed -i 's/\/usr\/share\/icons\/amarokFS.png/amarokFS/' amarokFS.desktop
  37. chmod a-x amarokFS.png
  38. chmod a-x images/*
  39. %build
  40. qmake
  41. make %{?_smp_mflags}
  42. %install
  43. %{__rm} -rf $RPM_BUILD_ROOT
  44. %{__make} install INSTALL_ROOT=$RPM_BUILD_ROOT
  45. desktop-file-install --vendor="Vine" \
  46. --dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \
  47. amarokFS.desktop
  48. # Install Amarok integration script
  49. %{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/apps/amarok/scripts
  50. cd $RPM_BUILD_ROOT%{_datadir}/apps/amarok/scripts
  51. tar -xf %{SOURCE1}
  52. # Install a 48x48 icon
  53. %{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
  54. convert $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/amarokFS.png \
  55. -sample 48x48 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/amarokFS.png
  56. # Desktop File INSTALL(source2)
  57. %{__install} -D -m 644 -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications/Vine-amarokFS.desktop
  58. %clean
  59. %{__rm} -rf $RPM_BUILD_ROOT
  60. %post
  61. touch --no-create %{_datadir}/icons/hicolor || :
  62. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  63. %postun
  64. touch --no-create %{_datadir}/icons/hicolor || :
  65. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  66. %files
  67. %defattr(-,root,root,-)
  68. %doc README theme-howto.txt
  69. %{_bindir}/amarokFS
  70. %{_datadir}/amarokFS/*
  71. %{_datadir}/applications/Vine-amarokFS.desktop
  72. %{_datadir}/icons/hicolor/48x48/apps/amarokFS.png
  73. %{_datadir}/icons/hicolor/128x128/apps/amarokFS.png
  74. %{_datadir}/apps/amarok/scripts/amarokFS
  75. %changelog
  76. * Mon Jan 12 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 0.5.4-1
  77. - Rebuild For Vine Seed
  78. - spec in utf-8
  79. * Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5-4
  80. - fix license tag
  81. * Fri Feb 22 2008 Francois Aucamp <faucamp@fedoraproject.org> - 0.5-3
  82. - Changed kdelibs-devel build dependency to kdelibs3-devel (RHBZ #434093)
  83. - Fixed animation of "prev" button in default theme
  84. - Modified "start_amarok" patch to slow down dcop calls to amarok when starting (RHBZ #247712)
  85. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5-2
  86. - Autorebuild for GCC 4.3
  87. * Thu Mar 29 2007 Francois Aucamp <faucamp@csir.co.za> - 0.5-1
  88. - Update to version 0.5
  89. - Removed "large_cover_images" patch; included upstream
  90. - Removed "config_dialog_layout" patch; included upstream
  91. - Updated "fedora_paths" patch
  92. - Updated "start_amarok" patch
  93. - Updated "theme_howto" patch
  94. - Updated amarok integration script
  95. * Mon Feb 19 2007 Francois Aucamp <faucamp@csir.co.za> - 0.4.2-4
  96. - Created "theme_prev_button" patch to fix default theme's "previous" button
  97. - Fixed file permissions of image files
  98. * Wed Feb 14 2007 Francois Aucamp <faucamp@csir.co.za> - 0.4.2-3
  99. - Added BuildRequires: ImageMagick
  100. - Create and install a 48x48 icon
  101. * Tue Feb 13 2007 Francois Aucamp <faucamp@csir.co.za> - 0.4.2-2
  102. - Added BuildRequires: desktop-file-utils
  103. - Fixed source URLs
  104. - Removed "Application" from .desktop file's "Categories" tag
  105. - Install application icon to correct location
  106. - Added KDE/GTK icon cache update scriptlets
  107. - Cleaned up the application's qmake file a bit
  108. * Sun Feb 11 2007 Francois Aucamp <faucamp@csir.co.za> - 0.4.2-1
  109. - Initial RPM build
  110. - Created "fedora_paths" patch to install files to correct directories in Fedora
  111. - Created "config_dialog_layout" patch to fix the layout of the configuration dialog
  112. - Created "large_cover_images" patch to fix filename resolution issues when displaying large CD cover images
  113. - Created "start_amarok" patch to let AmarokFS start Amarok (upon startup) if it is not already running
  114. - Created "theme_howto" patch to fix errors in the "theme howto" documentation file
  115. - Created amarokFS integration script for Asterisk