]> git.pld-linux.org Git - SPECS.git/blob - puddletag.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / puddletag.spec
1 Summary:        A tag editor for Linux based on Mp3tag
2 Name:           puddletag
3 Version:        0.9.0
4 Release:        1
5 License:        GPL v2
6 Group:          X11/Applications/Sound
7 Source0:        http://downloads.sourceforge.net/puddletag/%{name}-%{version}.tar.gz
8 # Source0-md5:  87240a3d97f9e9fe217d58f950403074
9 URL:            http://puddletag.sourceforge.net
10 BuildRequires:  python-devel
11 BuildRequires:  rpm-pythonprov
12 Requires:       python-PyQt4
13 Requires:       python-configobj
14 Requires:       python-devel-tools
15 Requires:       python-musicbrainz2
16 Requires:       python-mutagen
17 Requires:       python-pyparsing
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 puddletag is a tag editor for Linux loosely based on the Windows
22 program Mp3tag. Basically it uses a table layout so that all the tags
23 you want to edit by hand are visible and easily editable. However,
24 puddletag excels at automating repetitive task like extracting tag
25 information from filenames, renaming files based on their tags by
26 using patterns.
27
28 There're functions, which can do things like replace text, trim,
29 change the case of any tag, etc. Actions can automate repetitive
30 tasks, and then theres importing music libraries (though only
31 QuodLibet is supported for now), automatic retrieval of tags via
32 musicbrainz and more, so fire it up and explore.
33
34 Supported formats include: id3v1, id3v2 (mp3), AAC (mp4, m4a, etc.),
35 VorbisComments (ogg, flac) and APEv2 (ape).
36
37 %prep
38 %setup -q
39
40 %build
41 export CFLAGS="%{rpmcflags}"
42 %{__python} setup.py build
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 python setup.py install \
48         --root=$RPM_BUILD_ROOT \
49         --optimize=2
50
51 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
52 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
53 %py_postclean
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc NEWS README TODO THANKS
61 %attr(755,root,root) %{_bindir}/%{name}
62 %dir %{py_sitescriptdir}/puddlestuff
63 %{py_sitescriptdir}/puddlestuff/*.py[co]
64 %dir %{py_sitescriptdir}/puddlestuff/audioinfo
65 %{py_sitescriptdir}/puddlestuff/audioinfo/*.py[co]
66 %dir %{py_sitescriptdir}/puddlestuff/libraries
67 %{py_sitescriptdir}/puddlestuff/libraries/*.py[co]
68 %dir %{py_sitescriptdir}/puddlestuff/mainwin
69 %{py_sitescriptdir}/puddlestuff/mainwin/*.py[co]
70 %dir %{py_sitescriptdir}/puddlestuff/tagsources
71 %{py_sitescriptdir}/puddlestuff/tagsources/*.py[co]
72 %{py_sitescriptdir}/%{name}-*.egg-info
73 %{_desktopdir}/%{name}.desktop
74 %{_iconsdir}/%{name}.png
This page took 0.12366 seconds and 3 git commands to generate.