gnac-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Name: gnac
  2. Version: 0.2.4.1
  3. Release: 1%{?_dist_release}
  4. Summary: Audio converter program for GNOME Desktop.
  5. Summary(ja): GNOME デスクトップ向けの音声変換プログラム
  6. Group: Applications/Multimedia
  7. License: GPLv3+
  8. URL: http://gnac.sourceforge.net/
  9. Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
  10. Requires(pre): glib2
  11. Requires(post): glib2
  12. Requires(preun): glib2
  13. Requires: gstreamer >= 0.10.31
  14. Requires: gstreamer-plugins-base >= 0.10.31
  15. BuildRequires: gstreamer-devel >= 0.10.31
  16. BuildRequires: gstreamer-plugins-base-devel >= 0.10.31
  17. BuildRequires: gstreamer-plugins-good-devel >= 0.10.31
  18. BuildRequires: libnotify-devel
  19. BuildRequires: unique3-devel
  20. BuildRequires: gnome-doc-utils
  21. BuildRequires: gettext
  22. BuildRequires: intltool
  23. BuildRequires: desktop-file-utils
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: Takemikaduchi
  27. %description
  28. Gnac is an easy to use audio conversion program for the Gnome desktop.
  29. It is designed to be powerful but simple! It provides easy audio files
  30. conversion between all GStreamer supported audio formats.
  31. %description -l ja
  32. gnac は GNOME デスクトップ向けの音声変換を容易にするためのプログラムです。
  33. 強力だがシンプルなデザインです。GStreamer がサポートするオーディオフォー
  34. マット間で容易な音声ファイルの変換を提供します。
  35. %prep
  36. %setup -q
  37. %build
  38. %configure --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make DESTDIR=$RPM_BUILD_ROOT install
  43. desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
  44. %find_lang %{name}
  45. %post
  46. update-desktop-database &> /dev/null || :
  47. touch --no-create %{_datadir}/icons/hicolor || :
  48. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  49. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  50. fi
  51. %postun
  52. update-desktop-database &> /dev/null ||
  53. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  54. %posttrans
  55. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %files -f %{name}.lang
  59. %defattr(-, root, root)
  60. %doc AUTHORS COPYING ChangeLog README NEWS
  61. %{_bindir}/%{name}
  62. %{_datadir}/%{name}/
  63. %{_datadir}/gnome/help/%{name}/
  64. %{_datadir}/applications/%{name}.desktop
  65. %{_datadir}/glib-2.0/schemas/*.xml
  66. %{_datadir}/pixmaps/%{name}.png
  67. %{_datadir}/icons/hicolor/*/*/%{name}.*
  68. %{_mandir}/man1/gnac.1.gz
  69. %changelog
  70. * Tue Jun 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.4.1-1
  71. - new upstream release
  72. - change BuildRequires: unique3-devel instead of unique-devel
  73. - remove BuildRequires: GConf2-devel
  74. - add BuildRequires: gstreamer-plugins-good-devel, libnotify-devel
  75. * Sun May 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3-1
  76. - initial build for Vine Linux
  77. * Thu Jul 22 2010 Taylon Silmer <taylon@taylon.eti.br> 0.2.2-1
  78. - Update for new release.
  79. * Sat Feb 13 2010 Taylon Silmer <taylon@taylon.eti.br> 0.2.1-2
  80. - Added the intltool build requires.
  81. - Removed the libgnomeui build requires.
  82. - Added the desktop-file-utils requires and the desktop-file-validade entry.
  83. * Wed Jan 13 2010 Taylon Silmer <taylon@taylon.eti.br> 0.2.1-1
  84. - Initial build.