kino-vl.spec 5.7 KB

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