%define name veejay %define version 0.5.3 %define release 1mdk %define major 0.5 %define libname %mklibname %name %major %define _requires_exceptions devel(libavcodec) Name: %{name} Summary: Video editor, mixer, and effector Version: %{version} Release: %{release} Source: %{name}-%{version}.tar.bz2 Patch: %{name}-0.5.3-ffmpeg-link.patch.bz2 URL: http://veejay.sourceforge.net/ License: GPL Group: Video BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: pkgconfig jpeg-devel libquicktime-devel libdv-devel BuildRequires: XFree86-devel SDL-devel libdirectfb-devel libxml2-devel BuildRequires: nasm gtk-doc %description Veejay is a live performance tool featuring non-linear editing and mixing from multiple sources. You can load multiple video clips, cut and paste portions of video/audio and save it as an EditList. Also, you can create video samples from clips or tags from (live) streams. %package -n %{libname} Summary: Dynamic libraries from %name Group: System/Libraries %description -n %{libname} Veejay is a live performance tool featuring non-linear editing and mixing from multiple sources. You can load multiple video clips, cut and paste portions of video/audio and save it as an EditList. Also, you can create video samples from clips or tags from (live) streams. %package -n %{libname}-devel Summary: Header files and static libraries from %name Group: Development/C Requires: %{libname} >= %{version} Provides: lib%{name}-devel = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Obsoletes: %name-devel %description -n %{libname}-devel Libraries and includes files for developing programs based on %name. %prep %setup -q %patch %build # NOTE: must build ffmpeg before main pushd ffmpeg ./configure %make popd %configure --with-dv=%_includedir/libdv/ --with-quicktime=%_includedir/quicktime/ %make %install rm -rf %buildroot %makeinstall %clean rm -rf $RPM_BUILD_ROOT %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-,root,root) %doc README %{_bindir}/* %{_mandir}/man1/* %files -n %{libname} %defattr(-,root,root) %{_libdir}/*.so.* %files -n %{libname}-devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %changelog * Fri Dec 12 2003 Austin Acton <austin@linux.ca> 0.5.3-1mdk - initial package