gnac-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. Name: gnac
  2. Version: 0.2.3
  3. Release: 1%{?_dist_release}
  4. Summary: Audio converter program for GNOME Desktop.
  5. Summary(ja): GNOME デスクトップ向けの音声変換プログラム
  6. Group: Applications/Multimedia
  7. License: GPLv2+
  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.20
  14. Requires: gstreamer-plugins-base >= 0.10
  15. BuildRequires: gstreamer-devel >= 0.10.20
  16. BuildRequires: gstreamer-plugins-base-devel >= 0.10.20
  17. %if %{?_dist_release} == "vl5"
  18. BuildRequires: gnome-media
  19. %else
  20. BuildRequires: gnome-media-devel
  21. %endif
  22. BuildRequires: gnome-doc-utils
  23. BuildRequires: unique-devel
  24. BuildRequires: GConf2-devel
  25. BuildRequires: gettext
  26. BuildRequires: intltool
  27. BuildRequires: desktop-file-utils
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. Packager: Takemikaduchi
  31. %description
  32. Gnac is an easy to use audio conversion program for the Gnome desktop.
  33. It is designed to be powerful but simple! It provides easy audio files
  34. conversion between all GStreamer supported audio formats.
  35. %description -l ja
  36. gnac は GNOME デスクトップ向けの音声変換を容易にするためのプログラムです。
  37. 強力だがシンプルなデザインです。GStreamer がサポートするオーディオフォー
  38. マット間で容易な音声ファイルの変換を提供します。
  39. %prep
  40. %setup -q
  41. %build
  42. %configure
  43. make %{?_smp_mflags}
  44. %install
  45. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1;
  46. make DESTDIR=$RPM_BUILD_ROOT install
  47. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  48. desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
  49. %find_lang %{name}
  50. %post
  51. update-desktop-database &> /dev/null || :
  52. touch --no-create %{_datadir}/icons/hicolor || :
  53. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  54. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  55. fi
  56. %postun
  57. update-desktop-database &> /dev/null ||
  58. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  59. %posttrans
  60. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %files -f %{name}.lang
  64. %defattr(-, root, root)
  65. %doc AUTHORS COPYING ChangeLog README NEWS
  66. %{_bindir}/%{name}
  67. %{_datadir}/%{name}/
  68. %{_datadir}/gnome/help/%{name}/
  69. %{_datadir}/applications/%{name}.desktop
  70. %{_datadir}/glib-2.0/schemas/*.xml
  71. %{_datadir}/pixmaps/%{name}.png
  72. %{_datadir}/icons/hicolor/*/*/%{name}.*
  73. %{_mandir}/man1/gnac.1.gz
  74. %changelog
  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.