Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 55a8db8dbef46b66d23b268df7cece62 > files > 10

kino-1.3.4-12.mga3.src.rpm

Summary: 	GNOME DV-editing utility
Name: 		kino
Version:	1.3.4
Release: 	%mkrel 12
Epoch:		2
Source0: 	http://downloads.sourgeforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0:		kino-1.3.4-fix-desktop-file.patch
Patch2:		kino-1.3.2-fix-str-fmt.patch
Patch3:		kino-1.3.4-use-soundwrapper.patch
Patch4:		kino-1.3.4-videodev.h.patch
Patch5:		kino-1.3.4-ffmpeg0.8.patch
Patch6:		kino-1.3.4-libav-0.8.patch
Patch7:		kino-1.3.4-link.patch
Patch8:		kino-1.3.4-automake-1.13.patch
URL: 		http://www.kinodv.org/
License: 	GPLv2+
Group: 		Video/Editors and Converters
BuildRequires:	a52dec-devel
BuildRequires:	alsa-lib-devel
BuildRequires:	libavc1394-devel
BuildRequires:	libdv-devel
BuildRequires:	ffmpeg-devel
BuildRequires:	libglade2.0-devel
BuildRequires:	libgnomeui2-devel
BuildRequires:	libiec61883-devel
BuildRequires:	libquicktime-devel
BuildRequires:	libsamplerate-devel
BuildRequires:	libxv-devel
BuildRequires:	libv4l-devel >= 0.8.4
BuildRequires:	perl-XML-Parser
BuildRequires:	desktop-file-utils
BuildRequires:	intltool gettext-devel
BuildRequires:	imagemagick
Requires:	udev
Requires:	mjpegtools
Requires:	soundwrapper
#gw needed by the scripts in /usr/share/kino/scripts
Requires:	ffmpeg
#it needs rawplay
Requires:	smilutils

%description
The new generation of digital camcorders use the Digital Video (DV) data
format. Kino allows you to record, create, edit, and play movies recorded
with DV camcorders. Unlike other editors, this program uses many keyboard
commands for fast navigating and editing inside the movie.

%package	devel
Group:		Development/C++
Summary:	Header files for kino plugin development
Requires:	%{name} = %{epoch}:%{version}-%{release}
Requires:	libsamplerate-devel
Requires:	libdv-devel
Requires:	libgnomeui2-devel
Requires:	libxml2-devel
Requires:	libffmpeg-devel

%description	devel
This contains the C++ headers needed to build extensions for kino.

%prep
%setup -q
%patch0 -p0
%patch2 -p0
%patch3 -p1
%patch4 -p0
%patch5 -p0 -b .ffmpeg
%patch6 -p1
%patch7 -p0
%patch8 -p1 -b .automake-1_13

%build
autoreconf -fi
# More ffmpeg encoder name changes
sed -i -e 's,vcodec h264,vcodec libx264,g' scripts/exports/*
sed -i -e 's,acodec mp3,acodec libmp3lame,g' scripts/exports/ffmpeg_mp3.sh
export CPPFLAGS="%{optflags} -I%{_includedir}/libavcodec -I%{_includedir}/libavdevice -I%{_includedir}/libavformat -I%{_includedir}/libavcodec -I%{_includedir}/libpostproc -I%{_includedir}/libswscale"
%configure2_5x	--with-quicktime --disable-local-ffmpeg \
	--with-udev-rules-dir=%{_udevrulesdir}
%make

%install
mkdir -p %{buildroot}%{_bindir}
%makeinstall_std

rm -rf %{buildroot}%{_sysconfdir}/hotplug/ %{buildroot}%{_libdir}/hotplug

mkdir -p %{buildroot}%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
install -m 644 pixmaps/%{name}.png %{buildroot}%{_iconsdir}/hicolor/48x48/apps/%{name}.png
convert -scale 32 pixmaps/%{name}.png %{buildroot}%{_iconsdir}/hicolor/32x32/apps/%{name}.png
convert -scale 16 pixmaps/%{name}.png %{buildroot}%{_iconsdir}/hicolor/16x16/apps/%{name}.png

%find_lang %{name}

%files -f %{name}.lang
%doc AUTHORS BUGS ChangeLog NEWS README* TODO
%{_udevrulesdir}/kino.rules
%{_bindir}/*
%{_datadir}/mime/packages/kino.xml
%{_mandir}/man1/*
%{_datadir}/kino/
%{_datadir}/pixmaps/*
%{_iconsdir}/hicolor/*/apps/%{name}.png
%{_datadir}/applications/*
%{_libdir}/kino-gtk2/

%files devel
%{_includedir}/%{name}


%changelog

* Wed Jan 16 2013 fwang <fwang> 2:1.3.4-12.mga3
+ Revision: 388544
- correct udev rules dir

* Sat Jan 12 2013 umeabot <umeabot> 2:1.3.4-11.mga3
+ Revision: 356218
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Jan 08 2013 fwang <fwang> 2:1.3.4-10.mga3
+ Revision: 341640
- rebuild for new ffmpeg

* Sat Jan 05 2013 cjw <cjw> 2:1.3.4-9.mga3
+ Revision: 339219
- fix rpm group for current policy
- patch8: fix build with automake 1.13

* Thu May 31 2012 fwang <fwang> 2:1.3.4-8.mga3
+ Revision: 251998
- mor linkage fix
- br gettext-devel
- fix linkage
- add upstream patch to build with latest ffmpeg
- rebuild for new ffmpeg

* Fri Jun 24 2011 fwang <fwang> 2:1.3.4-7.mga2
+ Revision: 113070
- br libv4l
- cleanup spec
- fix build with ffmpeg 0.8
- fix build with latest kernel
- rebuild for new ffmpeg

* Sat Feb 26 2011 ennael <ennael> 2:1.3.4-6.mga1
+ Revision: 60137
- clean spec file
- imported package kino