]>
Commit | Line | Data |
---|---|---|
3f9d7a28 | 1 | %define module eyeD3 |
3f9d7a28 | 2 | Summary: Module for manipulating ID3 informational tags on MP3 audio files |
3fbfbe1b | 3 | Summary(pl.UTF-8): Moduł służący do manipulacji znacznikami ID3 plików MP3 |
3f9d7a28 | 4 | Name: python-%{module} |
ac9fff9c | 5 | Version: 0.6.18 |
bc7a6236 | 6 | Release: 5 |
3f9d7a28 | 7 | License: GNU |
8 | Group: Development/Languages/Python | |
9 | Source0: http://eyed3.nicfit.net/releases/%{module}-%{version}.tar.gz | |
ac9fff9c | 10 | # Source0-md5: ad545c55bb8bdd579e8d14c5bdaacee5 |
3f9d7a28 | 11 | URL: http://eyed3.nicfit.net/ |
40a57714 | 12 | BuildRequires: rpmbuild(macros) >= 1.710 |
3f9d7a28 | 13 | %pyrequires_eq python-modules |
9ac844bd | 14 | BuildRequires: python-devel >= 1:2.3 |
97eb74ae | 15 | BuildRequires: python-modules |
16 | BuildRequires: rpm-pythonprov | |
3f9d7a28 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | eyeD3 is a Python module and program for processing ID3 tags. | |
9707283f | 21 | Information about MP3 files (i.e bit rate, sample frequency, play |
3f9d7a28 | 22 | time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1 |
23 | and v2.3/v2.4. | |
24 | ||
8c069304 JR |
25 | %description -l pl.UTF-8 |
26 | eyeD3 to moduł języka Python oraz wykorzystujący go program, | |
27 | przetwarzający znaczniki ID3. Dostarczana jest także informacja o | |
28 | samych plikach MP3 (długość, częstotliwość próbkowania itp.). | |
29 | Obsługiwane są znaczniki ID3 w wersjach v1.0/v1.1 i v2.3/v2.4. | |
3f9d7a28 | 30 | |
31 | %prep | |
32 | %setup -q -n %{module}-%{version} | |
33 | ||
34 | %build | |
35 | %configure | |
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
f296e624 | 44 | %py_install |
3f9d7a28 | 45 | |
46 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/*.py | |
eccc2539 | 47 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{module}-%{version} |
3f9d7a28 | 48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
ac9fff9c | 54 | %doc AUTHORS ChangeLog README.html NEWS TODO |
3f9d7a28 | 55 | %attr(755,root,root) %{_bindir}/%{module} |
3f9d7a28 | 56 | %dir %{py_sitescriptdir}/%{module} |
57 | %{py_sitescriptdir}/%{module}/*.py[co] | |
30bf80c5 | 58 | %{py_sitescriptdir}/eyeD3-%{version}-*.egg-info |
3f9d7a28 | 59 | %{_mandir}/man1/%{module}.1* |