source: projects/specs/trunk/nonfree/self-build-kino/kino-vl.spec @ 3143

Revision 3143, 6.1 KB checked in by munepi, 13 years ago (diff)

updated self-build-gstreamer-plugins-ffmpeg self-build-kino self-build-gstreamer-plugins-bad self-build-gstreamer-plugins-ugly self-build-ffmpeg2theora

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