k3b-vl.spec 8.2 KB

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