Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 1b50503c9ec9db65e46e22b91e22da89 > files > 3

chaplin-1.10-1mdk.src.rpm

%define name chaplin
%define version 1.10 
%define release 1mdk

Summary: A dvd chapter tool
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}-makefile.patch.bz2
License: GPL
Group: Video 
Url: http://www.lallafa.de/bp/chaplin.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: libdvdread-devel

%description
The tool parses a DVD disc or image and extracts 
the exact duration for each chapter of a given title.

%prep
%setup -q -n %{name}
%patch0

%build
make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
install chaplin $RPM_BUILD_ROOT/%{_bindir}
install chaplin-genmenu $RPM_BUILD_ROOT/%{_bindir}


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/chaplin
%{_bindir}/chaplin-genmenu

%changelog
* Fri Feb  4 2005 Erwan Velu <erwan@seanodes.com> 1.10-1mdk
- First MDK release