[puddletag] Importing puddletag.

terjeros terjeros at fedoraproject.org
Thu Jan 6 19:07:31 UTC 2011


commit 40c009db35492b1374ec48259e11ad42470f86b7
Author: Terje Røsten <terje.rosten at ntnu.no>
Date:   Thu Jan 6 20:07:05 2011 +0100

    Importing puddletag.

 .gitignore                 |    1 +
 puddletag-0.9.11-xdg.patch |   11 +++++
 puddletag.spec             |   89 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 4 files changed, 102 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..20eb405 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/puddletag-0.9.11.tar.gz
diff --git a/puddletag-0.9.11-xdg.patch b/puddletag-0.9.11-xdg.patch
new file mode 100644
index 0000000..3df24f1
--- /dev/null
+++ b/puddletag-0.9.11-xdg.patch
@@ -0,0 +1,11 @@
+--- puddletag-0.9.11/puddlestuff/tagmodel.py~	2010-12-17 21:43:00.000000000 +0100
++++ puddletag-0.9.11/puddlestuff/tagmodel.py	2011-01-06 20:01:26.000000000 +0100
+@@ -1325,7 +1325,7 @@
+             ('Show &row numbers', True),
+             ('Automatically resize columns to contents', False),
+             ('&Preserve file modification times', True),
+-            ('Program to &play files with:', 'amarok -p')
++            ('Program to &play files with:', 'xdg-open')
+             ]
+ 
+         status['selectedrows'] = self._getSelectedRows
diff --git a/puddletag.spec b/puddletag.spec
new file mode 100644
index 0000000..3dbb05d
--- /dev/null
+++ b/puddletag.spec
@@ -0,0 +1,89 @@
+Summary:        Feature rich, easy to use tag editor
+Name:           puddletag
+Version:        0.9.11
+Release:        2%{?dist}
+Group:          Applications/Multimedia
+License:        GPLv2 and GPLv2+
+URL:            http://puddletag.sourceforge.net
+Source0:        http://downloads.sourceforge.net/puddletag/puddletag-%{version}.tar.gz
+Patch0:         puddletag-0.9.11-xdg.patch
+BuildArch:      noarch
+BuildRequires:  python-setuptools
+Buildrequires:  desktop-file-utils
+# Dependencies on Python modules are not automatic yet.
+Requires:       PyQt4
+Requires:       pyparsing >= 1.5.5
+Requires:       python-mutagen
+Requires:       python-imaging
+Requires:       python-configobj
+Requires:       python-musicbrainz2 
+Requires:       quodlibet
+
+%description
+Puddletag is an audio tag editor.
+
+Unlike most taggers, it uses a spreadsheet-like layout so that all the
+tags you want to edit by hand are visible and easily editable.
+
+The usual tag editor features are supported like extracting tag
+information from filenames, renaming files based on their tags by
+using patterns (that you define, not crappy, uneditable ones).
+
+Then there're Functions, which can do things like replace text, trim,
+change the case of tags, etc. Actions can automate repetitive
+tasks. You can import your QuodLibet library, lookup tags using
+MusicBrainz, FreeDB or Amazon (though it's only good for cover art)
+and more.
+
+Supported formats: ID3v1, ID3v2 (mp3), MP4 (mp4, m4a, etc.),
+VorbisComments (ogg, flac), Musepack (mpc), Monkey's Audio (.ape) and
+WavPack (wv).
+
+%prep
+%setup -q
+%patch0 -p1
+%{__chmod} 0644 NEWS
+%{__sed} -i  '/^#![ ]*\/usr\/bin\/env/d' \
+    puddlestuff/{webdb,puddlesettings,puddletag,puddleobjects,releasewidget}.py
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%doc HACKING LICENSE NEWS README THANKS TODO 
+%{_bindir}/%{name}
+%{python_sitelib}/puddlestuff/
+%{python_sitelib}/%{name}-%{version}-py*.egg-info
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+
+%changelog
+* Thu Jan  6 2011 Terje Rosten <terje.rosten at ntnu.no> - 0.9.11-2
+- add dep on quodlibet
+- add xdg-open patch
+
+* Mon Dec 27 2010 Terje Rosten <terje.rosten at ntnu.no> - 0.9.11-1
+- 0.9.11
+- fix license
+- add comment about py reqs
+- add slash to dir in files
+- fix typo in description
+- remove buildroot tag
+- remove define of python macro
+- remove python req
+- fix sed expression
+
+* Mon Dec  6 2010 Terje Rosten <terje.rosten at ntnu.no> - 0.9.7-1
+- 0.9.7
+
+* Thu Oct 21 2010 Terje Rosten <terje.rosten at ntnu.no> - 0.9.6-1
+- initial build
diff --git a/sources b/sources
index e69de29..aeaae4e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5c34ce2e2475b66cfc1aba9d44439424  puddletag-0.9.11.tar.gz


More information about the scm-commits mailing list