easytag-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. %define _glib_ver 2.4.1
  2. %define _gtk_ver 2.4.1
  3. %define _flac_ver 1.2.0
  4. %define _id3lib_ver 3.8.3-0vl7
  5. Summary: Tag Editor for MP3, Ogg Vorbis, FLAC and othe music files
  6. Summary(ja): MP3, Ogg Vorbis, FLAC 等に対応したタグエディタ
  7. Name: easytag
  8. Version: 2.1
  9. Release: 1%{?_dist_release}
  10. License: GPL
  11. Group: Applications/Multimedia
  12. URL: http://easytag.sourceforge.net/
  13. Source0: http://jaist.dl.sourceforge.net/sourceforge/easytag/easytag-%{version}.tar.bz2
  14. Source1: easytag.desktop
  15. # converted from pixmaps/EasyTag.xpm
  16. Source2: easytag.png
  17. Patch0: easytag-2.0-audio-file-player.patch
  18. BuildRequires: glib2-devel >= %{_glib_ver}, gtk2-devel >= %{_gtk_ver}
  19. BuildRequires: libogg-devel, libvorbis-devel, flac-devel >= %{_flac_ver}
  20. BuildRequires: id3lib-devel >= %{_id3lib_ver}
  21. Buildroot: %{_tmppath}/%{name}-%{version}-root
  22. Requires(post): /sbin/ldconfig desktop-file-utils
  23. Requires(postun): /sbin/ldconfig desktop-file-utils
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. %description
  27. EasyTAG is a utility for viewing and editing tags for MP3, MP2, Ogg Vorbis,
  28. FLAC and other audio files.
  29. %prep
  30. %setup -q
  31. %patch0 -p1 -b .audio-file-player
  32. # drop unneeded 'x' attribute
  33. %__chmod -x COPYING ChangeLog README THANKS TODO USERS-GUIDE
  34. %{_bindir}/find doc -type f -exec %__chmod -x "{}" \;
  35. %build
  36. %configure --disable-mp4
  37. %__make
  38. %install
  39. %__rm -rf %{buildroot}
  40. %makeinstall
  41. %find_lang %{name}
  42. # install icon
  43. %__mkdir_p %{buildroot}%{_datadir}/pixmaps
  44. %__mkdir_p %{buildroot}%{_datadir}/applications
  45. %__install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
  46. %__install -p -m644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
  47. %post
  48. /sbin/ldconfig
  49. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  50. %postun
  51. /sbin/ldconfig
  52. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  53. %clean
  54. %__rm -rf %{buildroot}
  55. %files -f %{name}.lang
  56. %defattr(-,root,root)
  57. %doc COPYING ChangeLog README THANKS TODO USERS-GUIDE
  58. %doc doc/*.html doc/users_guide_*
  59. %{_bindir}/easytag
  60. %{_datadir}/easytag
  61. %{_datadir}/pixmaps/*
  62. %{_datadir}/applications/%{name}.desktop
  63. %{_mandir}/man1/easytag.1*
  64. %changelog
  65. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 2.1-1vl5
  66. - applied new versioning policy, spec in utf-8
  67. * Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-0vl2
  68. - rebuilt with flac-1.2.0
  69. * Mon Jun 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-0vl1
  70. - new upstream release
  71. - rebuilt with new toolchain
  72. * Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0-0vl3
  73. - add audio-file-player.patch (patch0)
  74. to use audacious as default audio file player instead of xmms
  75. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0-0vl2
  76. - add Requires(post,postun): ldconfig, desktop-file-utils
  77. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0-0vl1
  78. - initial build