SPECS: python-musicbrainz.spec (NEW) - Initial release

beorn beorn at pld-linux.org
Sun Mar 4 14:20:59 CET 2007


Author: beorn                        Date: Sun Mar  4 13:20:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Initial release

---- Files affected:
SPECS:
   python-musicbrainz.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-musicbrainz.spec
diff -u /dev/null SPECS/python-musicbrainz.spec:1.1
--- /dev/null	Sun Mar  4 14:20:59 2007
+++ SPECS/python-musicbrainz.spec	Sun Mar  4 14:20:53 2007
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+Summary:	Python module for MusicBrainz
+Summary(pl.UTF-8):	Moduł języka Python dla MusicBrainz
+Name:		python-musicbrainz
+Version:	1.0b1
+Release:	1
+License:	LGPL
+Group:		Development/Languages/Python
+Source0:	http://icepick.info/projects_old/python-musicbrainz/%{name}-%{version}.tar.gz
+# Source0-md5:  8f07d75e67f3b2f1de89327126c0f418
+URL:		http://icepick.info/projects/python-musicbrainz/
+BuildRequires:	python-devel
+BuildRequires:	python-ctypes
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+%pyrequires_eq	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Requires:	python-ctypes
+
+%description
+The MusicBrainz client library is a development library geared towards
+developers who wish to add MusicBrainz lookup capabilities to their
+applications.
+The client library includes the following features:
+    * Lookup Audio CD metadata using CD Index Discids
+    * Calculate Relatable TRM acoustic fingerprints
+    * Search for artist/album/track titles
+    * Lookup metadata by name, TRM ids or MusicBrainz Ids
+
+%description -l pl.UTF-8
+Biblioteka klienta MusicBrainz jest biblioteką rozwojową stworzoną dla
+twórców oprogramowania, którzy chcą dodać mozliwości MusicBrainz do
+swoich aplikacji.
+Biblioteka kliencka posiada następujące możliwości:
+    * Znajdowanie metadanych płyt Audio CD przy użyciu CD Index Discid
+    * Obliczanie "odcisku palca" RTRM
+    * Wyszukiwanie danych artysty/albumu/ścieżki
+    * Wyszukiwanie metadanych po identyfikatorach TRM i MusicBrainz
+
+%prep
+%setup -q
+
+%build
+find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{py_sitescriptdir}/*.py[co]
+%{_examplesdir}/%{name}-%{version}
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/03/04 13:20:53  beorn
+- Initial release
+
================================================================


More information about the pld-cvs-commit mailing list