--- /dev/null
+%include /usr/lib/rpm/macros.python
+
+%define module ID3
+
+Summary: Module for manipulating ID3 informational tags on MP3 audio files
+Summary(pl): Modu³ s³u¿±cy do manipulacji znacznikami ID3 plików MP3
+Name: python-%{module}
+Version: 1.2
+Release: 1
+License: GNU
+Group: Development/Languages/Python
+Source0: http://dl.sourceforge.net/id3-py/id3-py_%{version}.tar.gz
+# Source0-md5: de0bd6053dda674967dacb6492a90c69
+URL: http://id3-py.sourceforge.net/
+%pyrequires_eq python-modules
+BuildRequires: python-devel >= 2.3
+BuildRequires: rpm-pythonprov
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a simple Python module for retrieving and setting so-called
+ID3 tags on MP3 compressed audio files through an object-oriented
+interface. MP3 players generally use this simple information for
+display track title, artist name, and album title while playing the
+sound file.
+
+ID3.py supports ID3 version 1.1, including the track number field. I
+have no current plans to code up the monstrosity that is ID3v2
+(http://www.id3.org/id3v2.3.0.html) but if someone wants to add that
+functionality, feel free!
+
+%description -l pl
+Jest to prosty modu³ Pythona s³u¿±cy do pobierania i ustawiania tak
+zwanych znaczników ID3 ze skompresowanych plików audio MP3 poprzez
+obiektowy interfejs. Odtwarzacze MP3 korzystaj± z tych prostych
+informacji do wy¶wietlania numeru ¶cie¿ki, nazwy twórcy i tytu³u
+albumu w czasie odtwarzania pliku.
+
+ID3.py obs³uguje taki ID3 w wersji 1.1, w³±czaj±c w to numery ¶cie¿ek.
+Chwilowo nie jest planowana obs³uga ID3v2
+(http://www.id3.org/id3v2.3.0.html) - chêtni do dodania takiej obs³ugi
+proszeni s± o kontakt z autorem.
+
+%prep
+%setup -q -n id3-py-%{version}
+
+%build
+CFLAGS="%{rpmcflags}"
+export CLFAGS
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitedir}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install id3-tagger.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+python setup.py install \
+ --root=$RPM_BUILD_ROOT --optimize=2
+
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/%{module}/*.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README CHANGES
+%{py_sitedir}/*.py[co]
+%dir %{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{name}-%{version}/*