%define name dvdbackup %define version 0.1.1 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Summary: DVD-Video creation framework License: GPL Group: Archiving/Cd burning Source: http://dvd-create.sourceforge.net/%{name}-%{version}.tar.bz2 URL: http://dvd-create.sourceforge.net/index.shtml BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libdvdread-devel %description DVD-Create will not just offer a free DVD Authoring solutions for Linux and Unix. DVD-Create offers you a framework that enables you to write DVD creation, editing, and backup software without needing to know all the secretes of DVD-Video. %prep %setup -q -n %{name} %build cd src gcc -o dvdbackup -I%{_includedir}/dvdread -ldvdread %{optflags} dvdbackup.c %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT%{_bindir} install -m 755 src/dvdbackup $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README INSTALL COPYING %{_bindir}/%{name} %changelog * Tue Nov 30 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.1.1-1mdk - first Mandrake release