lives/lives.spec

316 lines
10 KiB
RPMSpec

Name: lives
Version: 2.2.2
Release: 1mamba
Summary: A video editor and VJ tool
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://lives.sourceforge.net
Source0: http://www.xs4all.nl/~salsaman/lives/current/LiVES-%{version}.tar.bz2
Source1: %{name}-16.png
Source2: %{name}-32.png
Source3: %{name}-48.png
Patch0: %{name}-2.0.3-desktop.patch
Patch1: %{name}-0.9.9.1-plugins_destdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: dvgrab
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libaudio-devel
BuildRequires: libavc1394-devel >= 0.5.3
BuildRequires: libcairo-devel
BuildRequires: libdirectfb-devel
BuildRequires: libdv-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libjack-devel >= 0.102.20
BuildRequires: libogg-devel
BuildRequires: liboil-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libraw1394-devel
BuildRequires: libSDL-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libtheora-devel
BuildRequires: libvisual-devel >= 0.1.7
BuildRequires: libvorbis-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
BuildRequires: mjpegtools-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: libaa-devel
BuildRequires: bison
BuildRequires: ImageMagick
BuildRequires: mjpegtools
BuildRequires: libalsa-devel
BuildRequires: libslang-devel
BuildRequires: libmjpegtools-devel >= 2.0.0
Requires: dvgrab
Requires: youtube-dl
Requires: mplayer
Requires: mencoder
Requires: libtheora-tools
Requires: vorbis-tools
Requires: ogmtools
Requires: libmatroska
Requires: dvgrab
Requires: x264
Requires: ffmpeg
Requires: cdrkit
Requires: liblame
Requires: frei0r-plugins
# FIXME: missing requirements in distribution:
#Requires: mkvtoolnix
#Requires: libdv-bin
BuildConflicts: libweed-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
LiVES is aimed at the digital video artist who wants to create their own content, the video editor who wants to produce professional looking video, and the VJ who wants to captivate with spectacular images.
%package -n libweed
Summary: Base library used by %{name}
Group: System/Libraries
%description -n libweed
LiVES is aimed at the digital video artist who wants to create their own content, the video editor who wants to produce professional looking video, and the VJ who wants to captivate with spectacular images.
%package -n libweed-devel
Summary: Development files for libweed
Group: Development/Libraries
Requires: libweed = %{?epoch:%epoch:}%{version}-%{release}
%description -n libweed-devel
LiVES is aimed at the digital video artist who wants to create their own content, the video editor who wants to produce professional looking video, and the VJ who wants to captivate with spectacular images.
This package contains static libraries and header files need for development.
%prep
%setup -q
%patch0 -p1
#%patch1 -p1
perl -p -i -e 's|"/usr/local/"|&get_home_dir||g' smogrify
sed -i "s|/sbin/ldconfig|/bin/true|" libweed/Makefile.in
%build
%configure
%make
cd libweed
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
rm -fr %{buildroot}%{_docdir}/LiVES-%{version}
%find_lang lives
cp smogrify midistart midistop %{buildroot}%{_bindir}
cd %{buildroot}%{_datadir}/%{name}/themes
rm -fr `find -name '.xvpics'`
cd %{buildroot}%{_bindir}
rm -fr lives
ln -s lives-exe lives
rm -rf %{buildroot}%{_datadir}/doc/%{name}-%{version}
# icon
mkdir -p %{buildroot}%{_datadir}/pixmaps
cp %{S:2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
sed -i "s|Icon=lives.png|Icon=lives.xpm|" %{buildroot}%{_datadir}/applications/LiVES.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files -f lives.lang
%defattr(-,root,root)
%{_bindir}/*
%dir %{_datadir}/lives
%{_datadir}/lives/*
%{_datadir}/applications/LiVES.desktop
%{_datadir}/pixmaps/lives.xpm
%{_datadir}/pixmaps/%{name}.png
%dir %{_libdir}/lives
%dir %{_libdir}/lives/plugins
%dir %{_libdir}/lives/plugins/effects
%dir %{_libdir}/lives/plugins/playback
%dir %{_libdir}/lives/plugins/effects/realtime
%dir %{_libdir}/lives/plugins/effects/realtime/weed
%{_libdir}/lives/plugins/effects/realtime/weed/*
%dir %{_libdir}/lives/plugins/effects/rendered
%{_libdir}/lives/plugins/effects/rendered/*
%dir %{_libdir}/lives/plugins/decoders
%{_libdir}/lives/plugins/decoders/*.la
%{_libdir}/lives/plugins/decoders/*.so
%dir %{_libdir}/lives/plugins/encoders
%{_libdir}/lives/plugins/encoders/encodedv_encoder
%{_libdir}/lives/plugins/encoders/ffmpeg_encoder
%{_libdir}/lives/plugins/encoders/mencoder_encoder
%{_libdir}/lives/plugins/encoders/mjpegtools_encoder
%{_libdir}/lives/plugins/encoders/multi_encoder
%{_libdir}/lives/plugins/encoders/pdf_encoder
%{_libdir}/lives/plugins/encoders/qtutils_encoder
%{_libdir}/lives/plugins/encoders/sswf_encoder
%{_libdir}/lives/plugins/encoders/transcode_encoder
%{_libdir}/lives/plugins/encoders/multi_encoder3
%{_libdir}/lives/plugins/encoders/x264_encoder
%dir %{_libdir}/lives/plugins/playback/video
%{_libdir}/lives/plugins/playback/video/*.la
%{_libdir}/lives/plugins/playback/video/*.so
%{_libdir}/lives/plugins/playback/audiostream/audiostreamer.pl
%{_datadir}/app-install/icons/lives.png
%files -n libweed
%defattr(-,root,root)
%{_libdir}/libweed.so.*
%{_libdir}/libweed_slice.so.*
%{_libdir}/libweed-utils.so.*
%doc AUTHORS
%files -n libweed-devel
%defattr(-,root,root)
%dir %{_includedir}/weed
%{_includedir}/weed/*.h
#%{_libdir}/libweed*.a
%{_libdir}/libweed*.la
%{_libdir}/libweed.so
%{_libdir}/libweed_slice.so
%{_libdir}/libweed-utils.so
%{_libdir}/pkgconfig/libweed*.pc
%doc BUGS C* FEATURES GETTING* NEWS README*
%doc OMC/*.txt
%changelog
* Sat Mar 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-1mamba
- update to 2.2.2
* Fri Mar 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-2mamba
- rebuilt with pulseaudio 4.0
* Tue Oct 15 2013 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
- automatic update by autodist
* Mon Jun 17 2013 Automatic Build System <autodist@mambasoft.it> 2.0.5-1mamba
- automatic version update by autodist
* Tue May 28 2013 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
- automatic version update by autodist
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
- automatic version update by autodist
* Thu Feb 28 2013 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Mon Jan 14 2013 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- update to 1.8.0
* Wed Oct 31 2012 Automatic Build System <autodist@mambasoft.it> 1.6.4-1mamba
- automatic version update by autodist
* Wed Sep 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.3-3mamba
- rebuilt with opencv 2.4.2 (devel-kde4)
* Wed Sep 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.3-2mamba
- rebuilt with mjpegtools 2.0.0
* Sun Aug 19 2012 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
- automatic version update by autodist
* Wed Jun 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-2mamba
- added recommended requirements for external tools
- new packages: libweed and libweed-devel
- add buildconflicts libweed-devel to make sure it is not built if found in system
* Wed Jun 13 2012 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Mon Jun 27 2011 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
- automatic update by autodist
* Tue Jul 06 2010 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic update by autodist
* Sun May 09 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.3.3-1mamba
- automatic update by autodist
* Thu Dec 31 2009 Automatic Build System <autodist@mambasoft.it> 1.1.8-1mamba
- automatic update by autodist
* Fri Nov 20 2009 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
- automatic update by autodist
* Thu Oct 29 2009 Automatic Build System <autodist@mambasoft.it> 1.1.5-1mamba
- automatic update by autodist
* Fri Oct 23 2009 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
- automatic update by autodist
* Thu Oct 01 2009 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic update by autodist
* Sun Jul 26 2009 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic update by autodist
* Mon Jun 29 2009 Automatic Build System <autodist@mambasoft.it> 0.9.9.9-2mamba
- automatic rebuild by autodist
* Sat Jun 13 2009 Automatic Build System <autodist@mambasoft.it> 0.9.9.9-1mamba
- automatic update by autodist
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 0.9.9.8-2mamba
- automatic rebuild by autodist
* Sat May 02 2009 Automatic Build System <autodist@mambasoft.it> 0.9.9.8-1mamba
- automatic update by autodist
* Tue Apr 21 2009 Automatic Build System <autodist@mambasoft.it> 0.9.9.7-1mamba
- automatic update by autodist
* Sun Mar 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.6-1mamba
- automatic update by autodist
* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.5-1mamba
- automatic update by autodist
* Fri Dec 12 2008 gil <puntogil@libero.it> 0.9.9.4-1mamba
- update to 0.9.9.4
- removed patch 1
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.1-3mamba
- automatic rebuild by autodist
* Sun Jul 20 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9.1-2mamba
- added patch to correctly install realtime and rendered plugins
- added requirement for dvgrab
* Wed Jul 16 2008 gil <puntogil@libero.it> 0.9.9.1-1mamba
- update to 0.9.9.1
- added patch for %{_datadir}/applications/LiVES.desktop
* Sat Feb 24 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8.2-1qilnx
- update to version 0.9.8.2 by autospec
* Tue Jun 28 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.9.1-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Sun Apr 3 2005 atteo Bernasconi <voyagernm@virgilio.it> 0.9.1-1qilnx
- first build