]> git.pld-linux.org Git - SPECS.git/blob - python-mmpython.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / python-mmpython.spec
1 %define         module  mmpython
2 Summary:        Media Metadata for Python
3 Summary(pl.UTF-8):      Metadane multimedialne dla Pythona
4 Name:           python-%{module}
5 Version:        0.4.9
6 Release:        8
7 License:        LGPL
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)
20
21 %description
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.
26
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.
32
33 %prep
34 %setup -q -n %{module}-%{version}
35 %patch0 -p1
36
37 %build
38 %py_build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %py_install \
44         --install-platlib=%{py_sitescriptdir}
45
46 %py_postclean
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/*
54 %{py_sitescriptdir}/%{module}
This page took 0.299068 seconds and 3 git commands to generate.