pragha-vl.spec 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. # Review request: https://bugzilla.redhat.com/show_bug.cgi?id=721043
  2. Name: pragha
  3. Version: 1.1.0.1
  4. Release: 1%{?_dist_release}
  5. Summary: Lightweight GTK+ music manager
  6. Group: Applications/Multimedia
  7. License: GPLv3+
  8. URL: http://pragha.wikispaces.com/
  9. #VCS: git:https://github.com/matiasdelellis/pragha.git
  10. Source0: https://github.com/downloads/matiasdelellis/%{name}/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. Obsoletes: pragha < 1.0, self-build-pragha < 1.0
  13. BuildRequires: dbus-devel >= 1.1
  14. BuildRequires: dbus-glib-devel >= 0.84
  15. BuildRequires: gtk2-devel >= 2.20.0
  16. BuildRequires: flac-devel >= 1.2.1
  17. BuildRequires: keybinder-devel >= 0.2.0
  18. BuildRequires: gstreamer-devel >= 0.10
  19. BuildRequires: gstreamer-plugins-base-devel >= 0.10
  20. BuildRequires: libcddb-devel >= 1.3.0
  21. BuildRequires: libcdio-devel >= 0.80
  22. BuildRequires: curl-devel >= 7.18
  23. # libglyr is not yet in Fedora
  24. #BuildRequires: libglyr-devel >= 0.9.4
  25. #BuildRequires: libclastfm-devel >= 0.5
  26. BuildRequires: libnotify-devel >= 0.4.4
  27. #BuildRequires: libxfce4ui-devel >= 4.8.0
  28. BuildRequires: sqlite3-devel >= 3.4
  29. #BuildRequires: taglib-devel >= 1.7.0
  30. BuildRequires: taglib-devel
  31. BuildRequires: totem-pl-parser-devel
  32. BuildRequires: desktop-file-utils
  33. BuildRequires: gettext
  34. Requires: gstreamer-plugins-base
  35. %description
  36. Pragha is is a lightweight GTK+ music manager that aims to be fast, bloat-free,
  37. and light on memory consumption. It is written completely in C and GTK+.
  38. Pragha is a fork of Consonance Music Manager, discontinued by the original
  39. author.
  40. %prep
  41. %setup -q
  42. %build
  43. %configure
  44. make %{?_smp_mflags} V=1
  45. %install
  46. rm -rf %{buildroot}
  47. make install DESTDIR=%{buildroot} INSTALL='install -p'
  48. desktop-file-install \
  49. --delete-original \
  50. --add-category=Audio \
  51. --dir=%{buildroot}%{_datadir}/applications \
  52. %{buildroot}%{_datadir}/applications/%{name}.desktop
  53. %find_lang %{name}
  54. # remove duplicate docs
  55. rm -rf %{buildroot}%{_datadir}/doc/%{name}
  56. %clean
  57. rm -rf %{buildroot}
  58. %post
  59. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  60. update-desktop-database &> /dev/null || :
  61. %postun
  62. if [ $1 -eq 0 ] ; then
  63. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  64. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  65. fi
  66. update-desktop-database &> /dev/null || :
  67. %posttrans
  68. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  69. %files -f %{name}.lang
  70. %defattr(-,root,root,-)
  71. # FIXME add AUTHORS if not empty
  72. %doc ChangeLog COPYING FAQ NEWS README
  73. %{_bindir}/pragha
  74. %{_datadir}/applications/%{name}.desktop
  75. %{_datadir}/icons/hicolor/*x*/apps/%{name}.png
  76. %{_datadir}/pixmaps/%{name}/
  77. %{_mandir}/man1/pragha.1.*
  78. %changelog
  79. * Sat Jun 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.0.1-1
  80. - ported from Fedora rawhide
  81. - added Obsoletes: pragha < 1.0, self-build-pragha < 1.0
  82. * Thu Jun 21 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.0.1-1
  83. - Update to 1.1.0.1
  84. * Sun Jun 17 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.0-1
  85. - Update to 1.1.0
  86. * Sat May 05 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.2-2
  87. - Enable totem-pl-parser
  88. * Fri May 04 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.2-1
  89. - Update to 1.0.2
  90. - Drop upstreamed patches
  91. - Add README
  92. - Add VCS key
  93. * Thu Apr 05 2012 Kevin Fenzi <kevin@scrye.com> - 1.0.1-2
  94. - Rebuild for Xfce 4.10
  95. * Wed Mar 14 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-1
  96. - Update to 1.0.1
  97. * Thu Feb 02 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.0-1
  98. - Update to 1.0 Final
  99. - Enable Last.fm support
  100. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.3.rc3
  101. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  102. * Thu Dec 15 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0-0.2.cr3
  103. - Apply the cflags patch again
  104. * Wed Dec 14 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0-0.1.rc3
  105. - Update to 1.0.rc3
  106. - Require exo-devel for playlist saving throughout sessions
  107. * Sun Dec 11 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.99.0-2
  108. - Rebuild for libcdio-0.83
  109. - Compile with '-Wno-error=deprecated-declarations' (#760960)
  110. * Wed Sep 07 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.99.0-1
  111. - Update to 0.99.0
  112. * Mon Aug 22 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.98.0-1
  113. - Update to 0.98.0
  114. * Sat Jul 30 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.97.0-2
  115. - Don't compile with -O3
  116. * Wed Jul 13 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.97.0-1
  117. - Update to 0.97.0: This version is gstreamer-based. It no longer requires
  118. libmad, libmodplug, libsndfile or libvorbis but gstreamer and gstreamer-
  119. plugins-base
  120. * Tue Jul 12 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.8-2
  121. - Build with keybinder support
  122. * Tue Jul 12 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.8-1
  123. - Update to 0.8.8
  124. * Thu Mar 17 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6-1
  125. - Update to 0.8.6
  126. - Drop libnotify-patch, no longer required
  127. * Thu Dec 09 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4-1
  128. - Update to 0.8.4
  129. * Sun Oct 03 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-1
  130. - Update to 0.8.2
  131. * Sat Aug 21 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.8.0.2-3
  132. - rebuilt
  133. * Mon Aug 02 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0.2-2
  134. - Fix desktop file
  135. * Fri Jul 30 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0.2-1
  136. - Update to 0.8.0.2
  137. - Drop de.po patch, included upstream
  138. * Fri Jul 30 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0.1-1
  139. - Update to 0.8.0.1
  140. - Add COPYING and NEWS to docs
  141. * Thu Jul 29 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-1
  142. - Update to 0.8.0
  143. * Fri Jun 25 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.7.1-1
  144. - Update to 0.7.7.1
  145. * Fri Jun 25 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.7-1
  146. - Update to 0.7.7
  147. * Sat Jun 19 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.6-1
  148. - Update to 0.7.6
  149. - Remove upstreamed use-software-mixer.patch
  150. * Fri Apr 22 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.4-1
  151. - Update to 0.7.4
  152. * Mon Mar 22 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.3-2
  153. - Use software mixer by default to cope with pulseaudio
  154. - Remove executable bits from docs
  155. * Tue Mar 16 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.3-1
  156. - Update to 0.7.3
  157. * Sat Feb 20 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.2-1
  158. - Update to 0.7.2
  159. * Wed Oct 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.1-1
  160. - Upadte to 0.7.1
  161. * Sat Oct 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.0-1
  162. - Upadte to 0.7.0
  163. * Sun Aug 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.3-1
  164. - Upadte to 0.6.3
  165. * Mon Jul 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2.2-1
  166. - Initial Fedora package