%define name mimms %define version 0.0.9 %define release 1.te %define miroot %{_builddir}/%{name}-%{version} Summary: A simple client to download MMS protocol streams Name: %{name} Version: %{version} Release: %{release} Group: Applications/Internet License: GPL Vendor: Wesley J. Landaker Packager: Troy Engel Source0: %{name}-%{version}.tar.gz Source1: txt2man Patch0: %{name}-%{version}-Makefile.patch URL: http://savannah.nongnu.org/projects/mimms/ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description MiMMS, a maintained version of "mmsclient", is a simple client to download streaming audio and/or video media from the internet using the MMS protocol (i.e. from mms:// type URLs, generally found in asx files). Downloaded streams can then be replayed offline at your leisure, using any compatible media player of your choice. %prep %setup -q %patch0 -p1 %{__cp} %{SOURCE1} %{miroot} %build %{__make} %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} make DESTDIR=%{buildroot} install %{__strip} %{buildroot}/usr/bin/mimms %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} [ "%{miroot}" != "/" ] && rm -rf %{miroot} %files %defattr(-,root,root) %attr(0644,root,root) %doc AUTHORS ChangeLog COPYING DOCS NEWS README THANKS mmsurls %attr(-,root,root) %{_bindir}/* %attr(-,root,root) %{_mandir}/man1/* %changelog * Fri Sep 23 2005 Troy Engel 0.0.9-1.te - Initial RPM build - Include 'txt2man' in the source RPM to build the manpage