kino-vl.spec 5.6 KB

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