k3b-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. Name: k3b
  2. Version: 2.0.3a
  3. Release: 1%{?_dist_release}
  4. Summary: CD/DVD/Blu-ray burning application for KDE
  5. Summary(ja): KDE 向け CD/DVD/Blu-ray 作成アプリケーション
  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. # k3b app icon missing, https://bugzilla.redhat.com/show_bug.cgi?id=611272
  11. Source1: ox32-k3b.png
  12. Source2: k3brc
  13. ExcludeArch: s390 s390x
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: desktop-file-utils
  16. BuildRequires: flac-devel
  17. BuildRequires: gettext
  18. BuildRequires: kdelibs4-devel
  19. BuildRequires: libkcddb-devel
  20. BuildRequires: libdvdread-devel
  21. BuildRequires: libmpcdec-devel
  22. BuildRequires: libmusicbrainz-devel
  23. BuildRequires: libsamplerate-devel
  24. BuildRequires: libsndfile-devel
  25. BuildRequires: libvorbis-devel
  26. BuildRequires: libXpm-devel
  27. BuildRequires: taglib-devel
  28. # needed by k3bsetup
  29. BuildRequires: polkit-qt-devel
  30. Requires: cdrecord mkisofs
  31. Requires: cdrdao
  32. Requires: dvd+rw-tools
  33. Obsoletes: k3b-i18n
  34. Vendor: Project Vine
  35. Distribution: Vine Linux
  36. %description
  37. K3b is a CD and DVD burning application for Linux systems optimized for KDE.
  38. It provides a comfortable user interface to perform most
  39. CD/DVD burning tasks like creating an Audio CD from a set of audio files or copying a CD.
  40. [Notice]
  41. Please install self-build-k3b-extra package if you want to handle MP3 and WMA files.
  42. %description -l ja
  43. K3b は、KDE の為に最適化された Linux システム用の CD/DVD 作成アプリケーションです.
  44. 多様なCD/DVDの作成に快適なユーザーインターフェースを提供します.
  45. また、音楽データや CD の複製等、音楽 CD を簡単に作成できます.
  46. K3b にて MP3/WMA ファイルを扱いたい場合は、self-build-k3b-extra パッケージを
  47. 追加でインストールしてください.
  48. %package libs
  49. Summary: Runtime libraries for %{name}
  50. Summary(ja): %{name} のランタイムライブラリ
  51. Group: System Environment/Libraries
  52. Requires: kdelibs4 >= 4.4.0
  53. %description libs
  54. %{summary}.
  55. %description -l ja libs
  56. %{summary}.
  57. %package devel
  58. Summary: Files for the development of applications which will use %{name}
  59. Summary(ja): %{name} を使用するアプリケーションを開発するためのファイル
  60. Group: Development/Libraries
  61. Requires: %{name}-libs = %{version}-%{release}
  62. Requires: kdelibs4-devel >= 4.4.0
  63. %description devel
  64. %{summary}.
  65. %description -l ja devel
  66. %{summary}.
  67. %prep
  68. %setup -q -n %{name}-2.0.3
  69. %build
  70. mkdir -p %{_target_platform}
  71. pushd %{_target_platform}
  72. %{cmake} \
  73. -DCMAKE_BUILD_TYPE=release \
  74. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  75. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  76. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  77. -DK3B_BUILD_FFMPEG_DECODER_PLUGIN:BOOL=OFF \
  78. -DK3B_BUILD_MAD_DECODER_PLUGIN::BOOL=OFF \
  79. -DK3B_BUILD_LAME_ENCODER_PLUGIN:BOOL=OFF \
  80. ..
  81. # -DK3B_BUILD_K3BSETUP:BOOL=OFF \
  82. popd
  83. make %{?_smp_mflags} -C %{_target_platform}
  84. %install
  85. rm -rf $RPM_BUILD_ROOT
  86. make install/fast -C %{_target_platform} DESTDIR=$RPM_BUILD_ROOT
  87. %find_lang k3b --with-kde
  88. %find_lang k3bsetup
  89. %find_lang kio_videodvd
  90. %find_lang libk3b
  91. %find_lang libk3bdevice
  92. cat k3bsetup.lang >> k3b.lang
  93. cat kio_videodvd.lang >> libk3b.lang
  94. cat libk3bdevice.lang >> libk3b.lang
  95. # k3b app icon missing, https://bugzilla.redhat.com/show_bug.cgi?id=611272
  96. if [ ! -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/k3b.png ]; then
  97. echo "NOTICE: %{_datadir}/icons/hicolor/32x32/apps/k3b.png missing, borrowing oxygen version"
  98. install -pD -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/k3b.png
  99. fi
  100. %check
  101. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/k3b.desktop
  102. %clean
  103. rm -rf $RPM_BUILD_ROOT
  104. %post
  105. touch --no-create %{_datadir}/icons/hicolor ||:
  106. %postun
  107. if [ $1 -eq 0 ] ; then
  108. gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
  109. update-desktop-database -q %{_datadir}/applications > /dev/null 2>&1 ||:
  110. update-mime-database %{_datadir}/mime &> /dev/null
  111. fi
  112. %posttrans
  113. gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
  114. update-desktop-database -q %{_datadir}/applications > /dev/null 2>&1 ||:
  115. update-mime-database %{_datadir}/mime &> /dev/null
  116. %post libs -p /sbin/ldconfig
  117. %postun libs -p /sbin/ldconfig
  118. %files -f k3b.lang
  119. %defattr(-,root,root,755)
  120. %doc README COPYING COPYING.DOC ChangeLog
  121. %{_sysconfdir}/dbus-1/system.d/*.conf
  122. %{_bindir}/k3b
  123. %{_bindir}/k3bsetup
  124. %{_libdir}/kde4/*.so
  125. %{_libexecdir}/kde4/k3bsetuphelper
  126. %{_datadir}/applications/kde4/k3b.desktop
  127. %{_datadir}/dbus-1/system-services/*.service
  128. %{_datadir}/icons/hicolor/*/*/*
  129. %{_datadir}/kde4/apps/k3b/
  130. %{_datadir}/kde4/apps/konqsidebartng/virtual_folders/services/*.desktop
  131. %{_datadir}/kde4/apps/solid/actions/k3b*.desktop
  132. %{_datadir}/kde4/services/*.desktop
  133. %{_datadir}/kde4/services/*.protocol
  134. %{_datadir}/kde4/services/ServiceMenus/k3b*.desktop
  135. %{_datadir}/kde4/servicetypes/k3b*.desktop
  136. %{_datadir}/mime/packages/x-k3b.xml
  137. %{_datadir}/polkit-1/actions/*.policy
  138. %files libs -f libk3b.lang
  139. %defattr(-,root,root,-)
  140. %{_libdir}/libk3bdevice.so.6*
  141. %{_libdir}/libk3blib.so.6*
  142. %files devel
  143. %defattr(-,root,root,-)
  144. %{_includedir}/kde4/k3b*.h
  145. %{_libdir}/libk3bdevice.so
  146. %{_libdir}/libk3blib.so
  147. %changelog
  148. * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0.3a-1
  149. - updated to 2.0.3a
  150. - moved to Applications/Multimedia Group
  151. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.3-1
  152. - new upstream release
  153. * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-4
  154. - change BuildRequires: libkcddb-devel instead of kdemultimedia-devel
  155. * Fri May 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-3
  156. - add BuildRequires: soprano-devel
  157. * Fri Mar 4 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-2
  158. - added BR: libXpm-devel
  159. * Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-1
  160. - new upstream release
  161. * Sun Sep 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-2
  162. - fixed %%build section to remove qt-devel dependency
  163. * Wed Sep 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-1
  164. - new upstream release
  165. * Thu Jul 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.0-1
  166. - new upstream release
  167. - updated build dependencies
  168. * Mon Nov 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.5-6
  169. - drop required packages to resolve unmet dependency <BTS:VineLinux:797>
  170. - Requires: libstdc++2_10, libstdc++2_10-compat, dvdrecord, libzvt
  171. - BuildRequires: libzvt-devel
  172. * Mon Feb 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.5-5
  173. - changed to Requires: self-build-libmad from libmad
  174. - changed to BuildRequires: self-build-libmad from libmad-devel
  175. - added Requires: %{name} = %{version}-%{release} in k3b-i18n subpackage
  176. * Sun Jan 18 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.5-4
  177. - removed Release: tag of k3b-i18n subpackage
  178. * Sat Jan 17 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.5-3
  179. - rebuild with libdvdread.so.4 for vl4 <BTS:651>
  180. - spec in utf-8
  181. - merged the spec of 1.0.5-1vl4 release:
  182. - added --with-lame --with-libdvdread in %%configure options
  183. - set --vendor="vine" in desktop-file-install
  184. * Mon Jan 12 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.0.5-1
  185. - new upstream release
  186. - change %{_includedir}/k3b
  187. - drop {_localedir}/* (i18n)
  188. - add devel Package
  189. * Fri Jan 2 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.0.5-2vl5
  190. - It returned it: %{_libdir}/kde3/*.la
  191. * Wed Dec 31 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.0.5-1vl5
  192. - new upstream release.
  193. - spec in utf-8, and applied vine versioning policy.
  194. - Remove *.la.
  195. - specfile updates.
  196. *Tue Dec 26 2006 TOSHI <vine-jp@mail.goo.ne.jp> 0.12.17-0vl1
  197. -new upstream release
  198. *Sun Jun 18 2006 TOSHI <toshi-52@sa.il24.net> 0.12.15-0vl3
  199. -with-k3bsetup=no option is deleted.
  200. *Sat Apr 15 2006 TOSHI <toshi-52@sa.il24.net> 0.12.15-0vl1
  201. -new upstream release
  202. -Requires -> sox and libsndfile added
  203. -BuildPreReq -> sox-devel and libsndfile-devel added
  204. -with-k3bsetup=no option added
  205. *Sun Apr 9 2006 TOSHI <toshi-52@sa.il24.net> 0.12.14-0vl1
  206. -new upstream release
  207. *Tue Feb 14 2006 TOSHI <vine-jp@mail.goo.ne.jp> 0.12.10-0vl1
  208. -new upstream release
  209. -Requires -> Libstdc++2_10 and libstdc++2_10-compat added
  210. *Thu Feb 9 2006 TOSHI <vine-jp@mail.goo.ne.jp> 0.12.10-0vl1
  211. -new upstream release
  212. -added i18n to spec
  213. *Tue Aug 16 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.12.3-0vl1
  214. -new upstream release
  215. * Tue Jul 12 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.12.2-0vl1
  216. -new upstream release
  217. * Mon May 30 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.12beta2-0vl1
  218. -1st Release.