File MiMMS.spec of Package MiMMS

# norootforbuild

Name:           mimms
Version:        3.2.1
Release:        4
License:        GPL
URL:            http://savannah.nongnu.org/projects/mimms/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc gcc-c++ libmms0 libmms-devel wget glib2-devel
BuildRequires:       python-devel >= 2.5
%if %suse_version >= 1010
BuildRequires: pkg-config
%else
BuildRequires: pkgconfig
%endif
Requires:       libmms0 >= 0.4
Requires:       python >= 2.5
Source0:        http://download.savannah.gnu.org/releases/mimms/%{name}-%{version}.tar.bz2
Group:          System/Libraries
Summary:        MiMMS is a program designed to allow you to download streams using the MMS protocol

%description
MiMMS isn't an MMS Message Sender (it's an MMS (e.g. mms://)
stream downloader). MiMMS is a program designed to allow you
to download streams using the MMS protocol and save them to
your computer, as opposed to watching them live. Similar
functionality is available in full media player suites such
as Xine and MPlayer, but MiMMS is quick and easy to use,
and for the time being, remains a useful program.

Originally, MiMMS was forked directly from the last known
version of mmsclient, which was for years unmaintained.
MiMMS started with the following goals:

- Keep a working copy of "mmsclient" (now "MiMMS") maintained
and working.
- Fix lots of the bugs that were in mmsclient
- Eventually extend the functionality of the program

With the current 2.x series, MiMMS shares no code with
mmsclient, and actually does all of it's MMS operations
using libmms, a new library based off of the xine-improved
mmsclient code, which is designed to allow multiple
implementations of MMS clients without requiring a fragmented
code base. At this point, MiMMS is freed from the details of
the horrendous MMS protocol, and can focus on usability.

%prep
%setup -q
make

%install 
python setup.py install --root "$RPM_BUILD_ROOT" --prefix %_prefix

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-, root, root)
%{_bindir}/mimms
%{py_sitedir}/libmimms/*.py
%{py_sitedir}/libmimms/*.pyc
%if %suse_version <= 1100
%{py_sitedir}/mimms-3.2-py2.5.egg-info
%else
%{py_sitedir}/mimms-3.2-py2.6.egg-info
%endif
%{_mandir}/man1/mimms.1.gz


%changelog
* Sun May 18 2008 Andrea Florio <andrea@links2linux.de>
- update to 3.2.1
* Fri Apr 28 2008 Andrea Florio <andrea@links2linux.de>
- update to 3.2
* Mon Mar 17 2008 Andrea Florio <andrea@links2linux.de>
- update to 2.0.2
* Fri Nov 23 2007 Andrea Florio <andrea@links2linux.de>
- patch applied, now build on any suse version
* Thu Nov 22 2007 Andrea Florio <andrea@links2linux.de>
- spec modify with packman standards
* Mon Oct 22 2007 - Andrea Florio - <andreafl@libero.it>
- First spec making
openSUSE Build Service is sponsored by