]>
Commit | Line | Data |
---|---|---|
9f45a26f JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without nautilus # nautilus context menu actions module | |
4 | # | |
4c295e45 | 5 | Summary: ID3 tag editor |
e1ec4f1a | 6 | Summary(hu.UTF-8): ID3 tag szerkesztő |
7d278053 | 7 | Summary(pl.UTF-8): Edytor etykiet ID3 |
ccdaf423 | 8 | Name: easytag |
68872a42 JP |
9 | Version: 2.4.3 |
10 | Release: 1 | |
b2f600d8 | 11 | Epoch: 1 |
2cad1ccb | 12 | License: GPL v2+ |
4c295e45 | 13 | Group: X11/Applications/Sound |
9f45a26f | 14 | Source0: http://ftp.gnome.org/pub/GNOME/sources/easytag/2.4/%{name}-%{version}.tar.xz |
68872a42 | 15 | # Source0-md5: 4c3ffa3b957a1f50799f1c8bfb620233 |
8748dd3e MB |
16 | URL: https://wiki.gnome.org/Apps/EasyTAG |
17 | BuildRequires: appdata-tools | |
18 | BuildRequires: autoconf >= 2.64 | |
19 | BuildRequires: automake >= 1:1.11 | |
88bc6bf8 JB |
20 | BuildRequires: docbook-dtd44-xml |
21 | BuildRequires: docbook-style-xsl | |
8748dd3e | 22 | BuildRequires: flac-devel >= 1.1.4 |
9f45a26f | 23 | BuildRequires: gdk-pixbuf2-devel |
7827a1d4 | 24 | BuildRequires: gettext-tools |
9f45a26f JB |
25 | BuildRequires: glib2-devel >= 1:2.38.0 |
26 | BuildRequires: gtk+3-devel >= 3.10.0 | |
b2f600d8 | 27 | BuildRequires: id3lib-devel >= 3.8.3 |
8748dd3e | 28 | BuildRequires: intltool >= 0.50.0 |
e630eb8b | 29 | BuildRequires: libid3tag-devel |
c3b5a5bb | 30 | BuildRequires: libogg-devel >= 2:1.0 |
88bc6bf8 | 31 | BuildRequires: libstdc++-devel |
9f45a26f | 32 | BuildRequires: libtool >= 2:2.2 |
8748dd3e | 33 | BuildRequires: libvorbis-devel >= 1:1.0.1 |
88bc6bf8 | 34 | BuildRequires: libxslt-progs |
9f45a26f | 35 | %{?with_nautilus:BuildRequires: nautilus-devel >= 3.0} |
8748dd3e MB |
36 | BuildRequires: opus-devel >= 1.0 |
37 | BuildRequires: opusfile-devel | |
38 | BuildRequires: pkgconfig >= 1:0.24 | |
39 | BuildRequires: rpmbuild(macros) >= 1.311 | |
e630eb8b | 40 | BuildRequires: speex-devel |
8748dd3e | 41 | BuildRequires: taglib-devel >= 1.9.1 |
9787f9a1 | 42 | BuildRequires: wavpack-devel >= 4.40 |
8748dd3e | 43 | BuildRequires: yelp-tools |
0c201a78 | 44 | Requires(post,postun): desktop-file-utils |
a6bf26eb | 45 | Requires(post,postun): glib2 >= 1:2.38.0 |
8748dd3e | 46 | Requires(post,postun): gtk-update-icon-cache |
88bc6bf8 | 47 | Requires: flac >= 1.1.4 |
9f45a26f JB |
48 | Requires: glib2 >= 1:2.38.0 |
49 | Requires: gtk+3 >= 3.10.0 | |
8748dd3e | 50 | Requires: hicolor-icon-theme |
88bc6bf8 JB |
51 | Requires: libogg >= 2:1.0 |
52 | Requires: libvorbis >= 1:1.0.1 | |
53 | Requires: opus >= 1.0 | |
8748dd3e | 54 | Requires: taglib >= 1.9.1 |
88bc6bf8 | 55 | Requires: wavpack >= 4.40 |
0c8df56f | 56 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ccdaf423 | 57 | |
ccdaf423 | 58 | %description |
59 | EasyTAG is an utility for viewing, editing and writing tags of your | |
e1ec4f1a | 60 | MP3, MP2, FLAC, Ogg, MusePack and Monkey's Audio files. Its simple and |
88bc6bf8 | 61 | nice GTK+ interface makes tagging easier. |
ccdaf423 | 62 | |
63 | Features: | |
caa59357 | 64 | - View, edit, write tags of MP3, MP2, FLAC files (supporting ID3v2 and |
65 | ID3v1.x specifications), Ogg files, MusePack and Monkey's Audio | |
66 | - Auto tagging: parse filename and directory to complete automatically | |
67 | the fields (using masks), | |
68 | - Ability to rename files from the tag (using masks) or by loading a | |
69 | txt file, | |
70 | - Process all files of the selected directory, | |
71 | - Ability to browse subdirectories, | |
72 | - Recursion for tagging, removing, renaming, saving..., | |
73 | - Can set a field (artist, title,...) to all other files, | |
74 | - Read file header informations (bitrate, time, ...) and display them, | |
75 | - A tree based browser, | |
76 | - A list to select files, | |
77 | - Simple and explicit interface!, | |
78 | - A playlist generator window, | |
79 | - A file searching window. | |
ccdaf423 | 80 | |
e1ec4f1a ZU |
81 | %description -l hu.UTF-8 |
82 | EasyTag egy eszköz az MP3, MP2, FLAC, Ogg, MusePack és Monkey's Audio | |
83 | fájlok tagjeinek megtekintésére, szerkesztésére és írására. Egy | |
88bc6bf8 | 84 | egyszerű GTK+ felület ezt meg is könnyíti. |
e1ec4f1a ZU |
85 | |
86 | Lehetőségek: | |
87 | - MP3, MP2, FLAC (ID3v2 és ID3v1.x is), Ogg, MusePack és Monkey's | |
88 | Audio fájlok tag-jeine megtekintése, szerkesztése és mentése | |
89 | - Automatikus tag-szerkesztés: fájlnév és könyvtár feldolgozása | |
90 | alapján tölti ki a mezőket | |
91 | - Fájlok átnevezése a mezők alapján vagy egy betöltött txt-fájl | |
92 | segítségével | |
93 | - A kijelölt könyvtár összes fájljának feldolgozása | |
94 | - Alkönyvtárak böngészése | |
95 | - Rekurzió gyakorlatilag mindenre | |
96 | - Összes fájlra mező beállítása (előadó, számcím) | |
97 | - Header információk olvasása (bitráta, hossz, ...) és megjelenítése | |
98 | - Fastruktúrás böngészés | |
99 | - Fájlok listájának kijelölése | |
100 | - Egyszerű és gyors felület | |
101 | - Lejátszási lista generálás | |
102 | - Fájlkeresés | |
103 | ||
5c7c6473 JR |
104 | %description -l pl.UTF-8 |
105 | EasyTAG to narzędzie do przeglądania, modyfikowania i zapisywania | |
106 | etykiet (tagów) w plikach MP3, MP2, FLAC, Ogg, MusePack i Monkey's | |
88bc6bf8 | 107 | Audio. Prosty i miły interfejs GTK+ ułatwia to zadanie. |
0c8df56f | 108 | |
5c7c6473 | 109 | Możliwości: |
e1ec4f1a ZU |
110 | - przeglądanie, modyfikowanie, zapisywanie etykiet w plikach MP3, MP2, |
111 | FLAC (z obsługą formatów ID3v2 i ID3v1.x), Ogg, MusePack i Monkey's | |
112 | Audio, | |
113 | - automatyczne etykietowanie: tworzenie pól na podstawie nazwy pliku i | |
114 | katalogu (przy użyciu masek), | |
5c7c6473 JR |
115 | - możliwość zmiany nazw plików na podstawie etykiet (przy użyciu |
116 | masek) lub wczytując je z pliku tekstowego | |
117 | - obróbka wszystkich plików w podanym katalogu, | |
118 | - możliwość przeglądania podkatalogów, | |
caa59357 | 119 | - rekurencja przy etykietowaniu, usuwaniu, zmianie nazw, zapisywaniu |
5c7c6473 JR |
120 | - możliwość ustawienia pola (wykonawca, tytuł...) we wszystkich |
121 | pozostałych plikach, | |
122 | - wczytywanie i wyświetlanie informacji z nagłówka (czas, jakość), | |
123 | - przeglądarka bazująca na drzewie, | |
124 | - lista z wyborem plików, | |
b2f600d8 MC |
125 | - prosty interfejs, |
126 | - generowanie playlist, | |
5c7c6473 | 127 | - wyszukiwanie plików. |
ccdaf423 | 128 | |
9f45a26f JB |
129 | %package -n nautilus-extension-easytag |
130 | Summary: Nautilus extension to open files with EasyTAG | |
131 | Summary(pl.UTF-8): Rozszerzenie Nautilusa do otwierania plików w programie EasyTAG | |
132 | Group: X11/Applications | |
74d3e32f | 133 | Requires: %{name} = %{epoch}:%{version}-%{release} |
9f45a26f JB |
134 | Requires: nautilus >= 3.0.0 |
135 | ||
136 | %description -n nautilus-extension-easytag | |
137 | Nautilus extension to open directories and audio files with EasyTAG | |
138 | using the context menu. | |
139 | ||
140 | %description -n nautilus-extension-easytag -l pl.UTF-8 | |
141 | Rozszerzenie Nautilusa do otwierania katalogów i plików dźwiękowych w | |
142 | programie EasyTAG przy użyciu menu kontekstowego. | |
143 | ||
ccdaf423 | 144 | %prep |
145 | %setup -q | |
ccdaf423 | 146 | |
147 | %build | |
8748dd3e | 148 | %{__intltoolize} |
9f45a26f | 149 | %{__libtoolize} |
8748dd3e MB |
150 | %{__aclocal} -I m4 |
151 | %{__autoheader} | |
152 | %{__autoconf} | |
153 | %{__automake} | |
e2d416e4 | 154 | %configure \ |
9f45a26f | 155 | %{!?with_nautilus:--disable-nautilus-actions} \ |
a6bf26eb | 156 | --disable-schemas-compile \ |
8748dd3e | 157 | --disable-silent-rules |
ccdaf423 | 158 | %{__make} |
159 | ||
160 | %install | |
161 | rm -rf $RPM_BUILD_ROOT | |
c3b5a5bb | 162 | |
ccdaf423 | 163 | %{__make} install \ |
4c295e45 | 164 | DESTDIR=$RPM_BUILD_ROOT |
ccdaf423 | 165 | |
9f45a26f JB |
166 | %if %{with nautilus} |
167 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/libnautilus-easytag.la | |
9f45a26f JB |
168 | %endif |
169 | ||
8748dd3e | 170 | %find_lang %{name} --with-gnome |
0c8df56f | 171 | |
ccdaf423 | 172 | %clean |
173 | rm -rf $RPM_BUILD_ROOT | |
174 | ||
0c201a78 MB |
175 | %post |
176 | %update_desktop_database_post | |
8748dd3e | 177 | %update_icon_cache hicolor |
a6bf26eb | 178 | %glib_compile_schemas |
0c201a78 MB |
179 | |
180 | %postun | |
a6bf26eb | 181 | %glib_compile_schemas |
0c201a78 | 182 | %update_desktop_database_postun |
8748dd3e | 183 | %update_icon_cache hicolor |
0c201a78 | 184 | |
0c8df56f | 185 | %files -f %{name}.lang |
ccdaf423 | 186 | %defattr(644,root,root,755) |
8748dd3e MB |
187 | %doc AUTHORS ChangeLog HACKING NEWS README THANKS TODO |
188 | %attr(755,root,root) %{_bindir}/easytag | |
189 | %{_datadir}/appdata/easytag.appdata.xml | |
9f45a26f JB |
190 | %{_datadir}/glib-2.0/schemas/org.gnome.EasyTAG.enums.xml |
191 | %{_datadir}/glib-2.0/schemas/org.gnome.EasyTAG.gschema.xml | |
8748dd3e MB |
192 | %{_desktopdir}/easytag.desktop |
193 | %{_mandir}/man1/easytag.1* | |
9f45a26f JB |
194 | %{_iconsdir}/hicolor/*x*/apps/easytag.png |
195 | %{_iconsdir}/hicolor/scalable/apps/easytag.svg | |
196 | %{_iconsdir}/hicolor/symbolic/apps/easytag-symbolic.svg | |
197 | ||
198 | %if %{with nautilus} | |
199 | %files -n nautilus-extension-easytag | |
200 | %defattr(644,root,root,755) | |
201 | %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-easytag.so | |
202 | %{_datadir}/appdata/easytag-nautilus.metainfo.xml | |
203 | %endif |