ffmpeg2theora/ffmpeg2theora.spec

71 lines
2.0 KiB
RPMSpec

Name: ffmpeg2theora
Version: 0.30
Release: 1mamba
Summary: A simple converter to create Ogg Theora files
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://v2v.cc/~j/ffmpeg2theora
Source: git://git.xiph.org/ffmpeg2theora.git/%{version}/ffmpeg2theora-%{version}.tar.bz2
#Source: http://v2v.cc/~j/ffmpeg2theora/downloads/ffmpeg2theora-%{version}.tar.bz2
Patch0: ffmpeg2theora-0.29-ffmpeg-2.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavdevice-ffmpeg-devel
BuildRequires: libavfilter-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libkate-devel
BuildRequires: libogg-devel
BuildRequires: libpostproc-ffmpeg-devel
BuildRequires: libswresample-ffmpeg-devel
BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
## AUTOBUILDREQ-END
BuildRequires: scons
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A simple converter to create Ogg Theora files.
%prep
%setup -q
#%patch0 -p1
%build
scons APPEND_LINKFLAGS="-lm"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
scons install \
prefix=%{buildroot}%{_prefix} \
mandir=%{buildroot}%{_mandir} \
APPEND_LINKFLAGS="-lm"
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/ffmpeg2theora
%{_mandir}/man1/ffmpeg2theora.1*
%doc AUTHORS COPYING
#ChangeLog README TODO
%changelog
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30-1mamba
- update to 0.30
* Tue Mar 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.29-2mamba
- rebuilt with ffmpeg 2.2
* Tue Sep 04 2012 Automatic Build System <autodist@mambasoft.it> 0.29-1mamba
- automatic version update by autodist
* Mon Aug 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.28-1mamba
- package created by autospec