kino-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. Name: kino
  2. Version: 1.3.4
  3. Release: 4%{?_dist_release}
  4. Summary: Kino - A simple non-linear video editor
  5. Summary(ja): Kino - シンプルなノンリニアビデオ編集ツール
  6. Group: Applications/Multimedia
  7. License: GPLv2+
  8. URL: http://www.kinodv.org/
  9. Source0: http://prdownloads.sourceforge.net/kino/%{name}-%{version}.tar.gz
  10. #Patch0: kino-udev.patch
  11. Patch1: kino-1.3.4-dso.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtk2-devel >= 2.6.0
  14. BuildRequires: glib2-devel
  15. BuildRequires: libxml2-devel
  16. BuildRequires: libraw1394-devel
  17. BuildRequires: libavc1394-devel
  18. BuildRequires: libiec61883-devel
  19. BuildRequires: libdv-devel
  20. BuildRequires: libXv-devel
  21. BuildRequires: libbonoboui-devel
  22. BuildRequires: libogg-devel
  23. BuildRequires: libvorbis-devel
  24. BuildRequires: imlib-devel
  25. BuildRequires: desktop-file-utils
  26. BuildRequires: libsamplerate-devel
  27. BuildRequires: zlib-devel
  28. BuildRequires: gettext
  29. BuildRequires: intltool
  30. BuildRequires: perl(XML::Parser)
  31. BuildRequires: libICE-devel
  32. BuildRequires: libSM-devel
  33. BuildRequires: alsa-lib-devel
  34. BuildRequires: XOrg-devel
  35. # *-devel packages provided by other self-build-* should only be listed
  36. # in self-build-%{name}.spec as Requires(post).
  37. # BuildRequires: libquicktime-devel
  38. # BuildRequires: ffmpeg-devel
  39. Requires: libdv
  40. Requires: libavc1394
  41. Requires: libraw1394
  42. Requires: libogg
  43. Requires: libvorbis
  44. Requires: gtk2
  45. Requires: imlib
  46. Requires: libxml2
  47. Requires(post): shared-mime-info
  48. # These packages provided by other self-build-* should only be listed
  49. # in self-build-%{name}.spec as Requires(post).
  50. # Requires: mjpegtools
  51. # Requires: mplayer
  52. # Requires: ffmpeg
  53. # Requires: ffmpeg2theora
  54. %description
  55. The new generation of digital camcorders use the Digital Video (DV) data
  56. format. Kino allows you to record, create, edit, and play movies recorded
  57. with DV camcorders. Unlike other editors, this program uses many keyboard
  58. commands for fast navigating and editing inside the movie.
  59. %description -l ja
  60. デジタルビデオカメラの新世代は
  61. Digital Video (DV) データフォーマットを使います。
  62. Kino は DV デジタルビデオカメラで録画された動画を
  63. 録画、作成、編集、再生できます。
  64. 他の編集ソフトとは異なり、
  65. 動画の中へ素早く移動や編集するために
  66. 多くのキーボードコマンドを使えます。
  67. %package devel
  68. Summary: Development package for %{name}
  69. Group: Development/Libraries
  70. Requires: %{name} = %{version}-%{release}
  71. %description devel
  72. The new generation of digital camcorders use the Digital Video (DV) data
  73. format. Kino allows you to record, create, edit, and play movies recorded
  74. with DV camcorders. Unlike other editors, this program uses many keyboard
  75. commands for fast navigating and editing inside the movie.
  76. This package contains development files to build kino plugins.
  77. %prep
  78. %setup -q
  79. #%patch0 -p1 -b .udev
  80. %patch1 -p1 -b .dso
  81. %build
  82. %configure \
  83. --disable-static \
  84. --disable-dependency-tracking \
  85. --disable-local-ffmpeg \
  86. --enable-quicktime \
  87. ;
  88. %__make %{?_smp_mflags}
  89. %install
  90. %__rm -rf $RPM_BUILD_ROOT
  91. %__make install DESTDIR=$RPM_BUILD_ROOT
  92. %__ln_s -f kino $RPM_BUILD_ROOT%{_bindir}/kino2raw
  93. %__rm $RPM_BUILD_ROOT%{_datadir}/applications/Kino.desktop
  94. %__ln_s Kino.desktop kino.desktop
  95. %find_lang kino
  96. desktop-file-install \
  97. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  98. --add-category AudioVideoEditing \
  99. --add-category X-AudioVideoCapture \
  100. kino.desktop
  101. ## remove unuse files
  102. %__rm -f %{buildroot}%{_libdir}/kino-gtk2/lib*.la
  103. %check
  104. %__make check
  105. %post
  106. %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
  107. %postun
  108. %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
  109. %clean
  110. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  111. %files -f kino.lang
  112. %defattr(-,root,root,-)
  113. %doc AUTHORS BUGS COPYING ChangeLog NEWS README* TODO
  114. %{_bindir}/kino
  115. %{_bindir}/kino2raw
  116. %{_mandir}/man1/*
  117. %{_datadir}/kino
  118. %{_datadir}/applications/*kino.desktop
  119. %{_datadir}/pixmaps/kino.png
  120. %exclude %config(noreplace) %{_sysconfdir}/udev/rules.d/kino.rules
  121. %{_datadir}/mime/packages/kino.xml
  122. %{_libdir}/kino-gtk2
  123. %files devel
  124. %defattr(-,root,root,-)
  125. %{_includedir}/kino
  126. %changelog
  127. * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-4
  128. - applied kino-1.3.4-dso.patch from RPM Fusion development
  129. - rebuilt for gcc bug
  130. - drop the udev rules patch
  131. * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-3
  132. - change release to sync with self-build-kino.spec
  133. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-2
  134. - change release to sync with self-build-kino.spec
  135. * Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-1
  136. - new upstream release
  137. - with recent ffmpeg
  138. * Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.3-2
  139. - added devel subpackage
  140. - dropped Obsoletes: %{name}-devel
  141. - added BuildRequires:
  142. - desktop-file-utils
  143. - gettext
  144. - intltool
  145. - added --disable-local-ffmpeg --enable-quicktime in configure options
  146. * Fri Jun 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.3-1
  147. - new upstream release
  148. - added BuildRequires: libiec61883-devel
  149. - added %%description -l ja
  150. - dropped --with-avcodec and added --disable-static in configure options
  151. * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.2-1vl5
  152. - new upstream release
  153. - fixed gnome-kino.desktop
  154. - remove lib*.la
  155. - applied new versioning policy, spec in utf-8
  156. * Thu May 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.1-0vl1
  157. - new upstream release
  158. - run update-mime-database at %post and %postun section
  159. - rebuilt with new libraw1394
  160. * Sun May 16 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-0vl2
  161. - added BuildRequires: libsamplerate-devel
  162. * Thu Apr 15 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-0vl1
  163. - new upstream release
  164. * Wed Jan 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0vl1
  165. - new upstream release
  166. - gtk2 version
  167. * Tue Sep 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.4-0vl1
  168. - Build for Vine Linux
  169. - add Japanese translation for summary and desktop files.
  170. * Mon Feb 24 2003 Dag Wieers <dag@wieers.com> - 0.6.4-0
  171. - Updated to 0.6.4.
  172. * Wed Feb 12 2003 Dag Wieers <dag@wieers.com> - 0.6.3-0
  173. - Initial package. (using dar)