1 %define module mmpython
2 Summary: Media Metadata for Python
3 Summary(pl.UTF-8): Metadane multimedialne dla Pythona
8 Group: Libraries/Python
9 Source0: http://dl.sourceforge.net/mmpython/%{module}-%{version}.tar.gz
10 # Source0-md5: f95699c2f4249d21105d7977a15d5dcc
11 Patch0: %{name}-intypes.patch
12 URL: http://sourceforge.net/projects/mmpython/
13 BuildRequires: libdvdread-devel
14 BuildRequires: python-devel
15 BuildRequires: rpm-pythonprov
16 BuildRequires: rpmbuild(macros) >= 1.710
17 %pyrequires_eq python-modules
18 Requires: python-PyXML
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 MMPython is a Media Meta Data retrieval framework. It retrieves
23 metadata from MP3, Ogg, AVI, JPG, TIFF and other file formats. Among
24 others it thereby parses ID3v2, ID3v1, EXIF, IPTC and Vorbis data into
25 an object oriented struture.
27 %description -l pl.UTF-8
28 MMPython to szkielet do odczytywania metadanych z multimediów.
29 Odtwarza metadane z plików MP3, Ogg, AVI, JPG, TIFF i innych formatów.
30 Między innymi przetwarza dane ID3v2, TD3v1, EXIF, IPTC i Vorbis na
31 struktury zorientowane obiektowo.
34 %setup -q -n %{module}-%{version}
41 rm -rf $RPM_BUILD_ROOT
44 --install-platlib=%{py_sitescriptdir}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/*
54 %{py_sitescriptdir}/%{module}