%define date 20040930 Name: udftools Version: 1.0.0 %if "%date" != "" Release: 0.%date.1ark Source: %name-%date.tar.bz2 %else Release: 1ark Source: %name-%version.tar.bz2 %endif # See http://lkml.org/lkml/2004/7/13/258 Patch: udftools-1.0-new-pktcdvd.patch Summary: Tools for handling the UDF (DVD) filesystem and CD/DVD packet writing URL: http://linux-udf.sf.net/ License: GPL Group: System Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-root Requires: kernel >= 2.6.0-1ark %description Tools for handling the UDF (DVD) filesystem and CD/DVD packet writing %prep %setup -q -n %name %patch -p1 -b .new-pktcdvd~ [ -e bootstrap ] && ./bootstrap %configure %build make %?_smp_mflags %install rm -rf $RPM_BUILD_ROOT make %?_smp_mflags install DESTDIR="$RPM_BUILD_ROOT" %files %defattr(-,root,root) %_bindir/* %_mandir/*/* # Intentionally unpackaged, as there's no point in shipping # a static library without headers: # %_libdir/libudffs.* %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version} %changelog * Thu Sep 30 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.0-0.20040930.1ark - initial RPM