]> git.pld-linux.org Git - packages/python-ID3.git/blame - python-ID3.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-ID3.git] / python-ID3.spec
CommitLineData
7c1ba20b 1
f5c9eb75 2%define module ID3
7c1ba20b 3
4Summary: Module for manipulating ID3 informational tags on MP3 audio files
59086d38 5Summary(pl.UTF-8): Moduł służący do manipulacji znacznikami ID3 plików MP3
7c1ba20b 6Name: python-%{module}
7Version: 1.2
463dd4d3 8Release: 6
7c1ba20b 9License: GNU
10Group: Development/Languages/Python
11Source0: http://dl.sourceforge.net/id3-py/id3-py_%{version}.tar.gz
12# Source0-md5: de0bd6053dda674967dacb6492a90c69
13URL: http://id3-py.sourceforge.net/
60112ffa 14BuildRequires: rpmbuild(macros) >= 1.710
f87d03cc 15BuildRequires: python
62718a96 16BuildRequires: python-devel >= 1:2.3
3892cc04 17BuildRequires: python-modules
18BuildRequires: rpm-pythonprov
f87d03cc 19%pyrequires_eq python-modules
7c1ba20b 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23This is a simple Python module for retrieving and setting so-called
24ID3 tags on MP3 compressed audio files through an object-oriented
25interface. MP3 players generally use this simple information for
26display track title, artist name, and album title while playing the
27sound file.
28
29ID3.py supports ID3 version 1.1, including the track number field. I
30have no current plans to code up the monstrosity that is ID3v2
31(http://www.id3.org/id3v2.3.0.html) but if someone wants to add that
32functionality, feel free!
33
d8712734
JR
34%description -l pl.UTF-8
35Jest to prosty moduł Pythona służący do pobierania i ustawiania tak
36zwanych znaczników ID3 ze skompresowanych plików audio MP3 poprzez
37obiektowy interfejs. Odtwarzacze MP3 korzystają z tych prostych
38informacji do wyświetlania numeru ścieżki, nazwy twórcy i tytułu
7c1ba20b 39albumu w czasie odtwarzania pliku.
40
d8712734
JR
41ID3.py obsługuje taki ID3 w wersji 1.1, włączając w to numery ścieżek.
42Chwilowo nie jest planowana obsługa ID3v2
43(http://www.id3.org/id3v2.3.0.html) - chętni do dodania takiej obsługi
44proszeni są o kontakt z autorem.
7c1ba20b 45
46%prep
47%setup -q -n id3-py-%{version}
48
49%build
23e714af 50%py_build
7c1ba20b 51
52%install
53rm -rf $RPM_BUILD_ROOT
54install -d $RPM_BUILD_ROOT%{py_sitedir}
55install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
56install id3-tagger.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
23e714af 57%py_install
7c1ba20b 58
821ec46b 59rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
7c1ba20b 60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc README CHANGES
821ec46b 67%{py_sitescriptdir}/*.py[co]
7c1ba20b 68%dir %{_examplesdir}/%{name}-%{version}
69%{_examplesdir}/%{name}-%{version}/*
This page took 0.063251 seconds and 4 git commands to generate.