]>
Commit | Line | Data |
---|---|---|
ccdaf423 | 1 | Summary: Tag editor for MP3 and OGG files. |
2 | Name: easytag | |
3 | Version: 0.20 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | URL: http://easytag.sourceforge.net/ | |
7 | Group: Applications/Multimedia | |
aca68164 | 8 | Source0: ftp://ftp.sourceforge.net/pub/sourceforge/easytag/%{name}-%{version}.tar.gz |
ccdaf423 | 9 | Patch0: %{name}-ac.patch |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | Vendor: Jerome Couderc <j.couderc@ifrance.com> | |
12 | BuildRequires: gtk+-devel >= 1.2.7 | |
13 | BuildRequires: id3lib-devel >= 3.7.12 | |
14 | BuildRequires: libogg-devel >= 1.0 | |
15 | BuildRequires: libvorbis-devel >= 1.0 | |
16 | ||
17 | %define _prefix /usr/X11R6 | |
18 | ||
19 | %description | |
20 | EasyTAG is an utility for viewing, editing and writing tags of your | |
21 | MP3, MP2, FLAC and OGG files. Its simple and nice GTK+ interface makes | |
22 | tagging easier. | |
23 | ||
24 | Features: | |
25 | - View, edit, write tags of MP3, MP2, FLAC files (supporting ID3v2 and | |
26 | ID3v1.x specifications) and OGG files, | |
27 | - Auto tagging: parse filename and directory to complete automatically | |
28 | the fields (using masks), | |
29 | - Ability to rename files from the tag (using masks) or by loading a | |
30 | txt file, | |
31 | - Process all files of the selected directory, | |
32 | - Ability to browse subdirectories, | |
33 | - Recursion for tagging, removing, renaming, saving..., | |
34 | - Can set a field (artist, title,...) to all other files, | |
35 | - Read file header informations (bitrate, time, ...) and display them, | |
36 | - A tree based browser, | |
37 | - A list to select files, | |
38 | - Simple and explicit interface!, | |
39 | - A playlist generator window, | |
40 | - A file searching window, | |
41 | - Written in C and uses GTK+ 1.2 for the GUI. | |
42 | ||
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | %patch0 -p1 | |
47 | ||
48 | %build | |
49 | gettextize --copy --force | |
50 | autoheader | |
51 | aclocal | |
52 | %{__autoconf} | |
53 | %{__automake} | |
54 | %configure | |
55 | %{__make} | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | install -d $RPM_BUILD_ROOT%{_applnkdir}/Multimedia | |
63 | cat > $RPM_BUILD_ROOT%{_applnkdir}/Multimedia/easytag.desktop <<EOF | |
64 | [Desktop Entry] | |
65 | Name=EasyTAG | |
66 | Comment=An utility for viewing/editing MP3 and OGG tags with a GTK+ GUI. | |
67 | TryExec=easytag | |
68 | Exec=easytag | |
69 | Icon=EasyTAG.xpm | |
70 | Terminal=0 | |
71 | Type=Application | |
72 | EOF | |
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
79 | %doc ChangeLog INSTALL COPYING README TODO THANKS USERS-GUIDE | |
80 | %prefix/bin/easytag | |
81 | %prefix/share/gnome/apps/Multimedia/easytag.desktop | |
82 | %{_sysconfdir}/X11/applnk/Multimedia/easytag.desktop | |
83 | %prefix/share/pixmaps/* | |
84 | %prefix/share/easytag/* | |
85 | %prefix/share/locale/*/*/* |