k3b-extra-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Name: k3b-extra
  2. Version: 2.0.3a
  3. Release: 1%{?_dist_release}
  4. Summary: K3b additional plugins
  5. Summary(ja): K3b 追加プラグイン集
  6. Group: Applications/Multimedia
  7. License: GPLv2+
  8. URL: http://www.k3b.org/
  9. Source0: http://download.kde.org/stable/k3b/k3b-%{version}.tar.xz
  10. ExcludeArch: s390 s390x
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gettext
  13. BuildRequires: kdelibs4-devel
  14. BuildRequires: libkcddb-devel
  15. BuildRequires: libsamplerate-devel
  16. BuildRequires: libXpm-devel
  17. BuildRequires: taglib-devel
  18. BuildRequires: self-build-lame
  19. BuildRequires: self-build-libmad
  20. BuildRequires: self-build-ffmpeg
  21. Requires: k3b >= %{version}
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. This package provides the following additional plugins for K3b.
  26. - FFMpeg decoder for decoding WMA file(s)
  27. - MAD decoder for decoding MP3 file(s)
  28. - Lame MP3 encoder for encoding MP3 file(s)
  29. %description -l ja
  30. K3b 向けに以下の追加プラグインを提供します.
  31. - WMA ファイルをデコードするための FFMpeg デコーダ
  32. - MP3 ファイルをデコードするための MAD デコーダ
  33. - MP3 ファイルをエンコードするための Lame MP3 エンコーダ
  34. %prep
  35. %setup -q -n k3b-2.0.3
  36. %build
  37. mkdir -p %{_target_platform}
  38. pushd %{_target_platform}
  39. %{cmake} \
  40. -DCMAKE_BUILD_TYPE=release \
  41. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  42. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  43. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  44. -DK3B_BUILD_OGGVORBIS_DECODER_PLUGIN:BOOL=OFF \
  45. -DK3B_BUILD_OGGVORBIS_ENCODER_PLUGIN:BOOL=OFF \
  46. -DK3B_BUILD_MUSE_DECODER_PLUGIN::BOOL=OFF \
  47. -DK3B_BUILD_FLAC_DECODER_PLUGIN:BOOL=OFF \
  48. -DK3B_BUILD_SNDFILE_DECODER_PLUGIN:BOOL=OFF \
  49. -DK3B_BUILD_SOX_ENCODER_PLUGIN:BOOL=OFF \
  50. -DK3B_BUILD_EXTERNAL_ENCODER_PLUGIN:BOOL=OFF \
  51. -DK3B_BUILD_WAVE_DECODER_PLUGIN:BOOL=OFF \
  52. -DK3B_BUILD_K3BSETUP:BOOL=OFF \
  53. ..
  54. popd
  55. make %{?_smp_mflags} -C %{_target_platform}/plugins
  56. %install
  57. rm -rf $RPM_BUILD_ROOT
  58. make install/fast -C %{_target_platform}/plugins DESTDIR=$RPM_BUILD_ROOT
  59. # remove unpackage files
  60. rm -f $RPM_BUILD_ROOT%{_libdir}/kde4/k3baudiometainforenamerplugin.so
  61. rm -f $RPM_BUILD_ROOT%{_libdir}/kde4/k3baudioprojectcddbplugin.so
  62. rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/services/k3baudiometainforenamerplugin.desktop
  63. rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/services/k3baudioprojectcddbplugin.desktop
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %files
  67. %defattr(-,root,root,755)
  68. %{_libdir}/kde4/*.so
  69. %{_datadir}/kde4/services/*
  70. %changelog
  71. * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0.3a-1
  72. - updated to 2.0.3a
  73. - moved to Applications/Multimedia Group
  74. * Fri Mar 4 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-2
  75. - added BR: libXpm-devel
  76. * Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-1
  77. - new upstream release
  78. * Sun Sep 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-2
  79. - fixed %%build section to remove qt-devel dependency
  80. * Wed Sep 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-1
  81. - new upstream release
  82. * Thu Jul 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.0-1
  83. - initial build for self-build framework