General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

fftv spec file : Dries RPM Repository

Back to the fftv rpms

Current spec in pydar2:


# $Id: fftv.spec 4303 2006-04-18 22:05:03Z dries $
# Authority: dag
# Upstream: Fabrice Bellard 
# Upstream: 

%define desktop_vendor rpmforge

Summary: Advanced television viewing and recording program
Name: fftv
Version: 0.8.3
Release: 1.2
License: GPL
Group: Applications/Multimedia
URL: http://fftv.sourceforge.net/

Source: http://dl.sf.net/fftv/fftv-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: a52dec-devel, faad2-devel, faac-devel, libvorbis-devel
BuildRequires: tcron-devel >= 0.4.3
Requires: xawtv, ffmpeg

%description
fftv is an advanced TV viewing and recording program.

%prep
%setup

%{__cat} <fftv.desktop
[Desktop Entry]
Name=FFTV Television Viewer
Comment=Watch television on your computer
Icon=fftv.png
Exec=fftv
Terminal=false
Type=Application
Categories=Application;AudioVideo;
EOF

%build
%configure \
	--x-libraries="%{_prefix}/X11R6/%{_lib}" \
	--disable-mmx \
	--enable-mp3lame \
	--enable-vorbis \
	--enable-a52 \
	--enable-faad \
	--enable-faac \
	--enable-gpl
#	--enable-shared

### FIXME: Make buildsystem use standard autotools directories (Fix upstream please)
%{__perl} -pi.orig -e 's|^(FFTV_SHARE_ICON)=share/(.*)$|$1=$2|;' config.mak

%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%{__install} -d -m0755 %{buildroot}%{_datadir}/applications
desktop-file-install --vendor %{desktop_vendor}    \
	--add-category X-Red-Hat-Base              \
	--dir %{buildroot}%{_datadir}/applications \
	fftv.desktop

### FIXME: Clean up buildroot to make it co-exist with ffmpeg/ffmpeg-devel (Fix upstream please)
%{__rm} -f %{buildroot}%{_libdir}/vhook/{drawtext,fish,imlib2,null}.so

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changelog* COPYING CREDITS* INSTALL README
%doc doc/*.html doc/*.txt
%doc %{_mandir}/man1/*
%{_bindir}/*
#%{_libdir}/*.so
%{_libdir}/fftv/
%{_libdir}/menu/*
%{_libdir}/vhook/
%{_datadir}/icons/*.png
%{_datadir}/icons/fftv/
%{_datadir}/applications/*.desktop
#%{_includedir}/ffmpeg/

%changelog
* Sat Apr 08 2006 Dries Verachtert  - 0.8.3-1.2
- Rebuild for Fedora Core 5.

* Tue Jan 17 2006 Dag Wieers  - 0.8.3-1
- Updated to release 0.8.3.

* Wed Jun 02 2004 Dag Wieers  - 0.7.9-1
- Updated to release 0.7.9.

* Sun Apr 11 2004 Dag Wieers  - 0.7.5-1
- Updated to release 0.7.5.

* Tue Mar 23 2004 Dag Wieers  - 0.7.4-1
- Updated to release 0.7.4.

* Mon Mar 22 2004 Dag Wieers  - 0.7.3-1
- Updated to release 0.7.3.

* Tue Mar 16 2004 Dag Wieers  - 0.7.2-1
- Updated to release 0.7.2.

* Tue Mar 09 2004 Dag Wieers  - 0.6.9-1
- Updated to release 0.6.9.

* Thu Jan 15 2004 Dag Wieers  - 0.6.4-0
- Initial package. (using DAR)