]> git.pld-linux.org Git - packages/easytag.git/blob - easytag.spec
flac rebuild
[packages/easytag.git] / easytag.spec
1 #
2 # Conditional build:
3 %bcond_without  nautilus        # nautilus context menu actions module
4 #
5 Summary:        ID3 tag editor
6 Summary(hu.UTF-8):      ID3 tag szerkesztő
7 Summary(pl.UTF-8):      Edytor etykiet ID3
8 Name:           easytag
9 Version:        2.4.3
10 Release:        1
11 Epoch:          1
12 License:        GPL v2+
13 Group:          X11/Applications/Sound
14 Source0:        http://ftp.gnome.org/pub/GNOME/sources/easytag/2.4/%{name}-%{version}.tar.xz
15 # Source0-md5:  4c3ffa3b957a1f50799f1c8bfb620233
16 URL:            https://wiki.gnome.org/Apps/EasyTAG
17 BuildRequires:  appdata-tools
18 BuildRequires:  autoconf >= 2.64
19 BuildRequires:  automake >= 1:1.11
20 BuildRequires:  docbook-dtd44-xml
21 BuildRequires:  docbook-style-xsl
22 BuildRequires:  flac-devel >= 1.1.4
23 BuildRequires:  gdk-pixbuf2-devel
24 BuildRequires:  gettext-tools
25 BuildRequires:  glib2-devel >= 1:2.38.0
26 BuildRequires:  gtk+3-devel >= 3.10.0
27 BuildRequires:  id3lib-devel >= 3.8.3
28 BuildRequires:  intltool >= 0.50.0
29 BuildRequires:  libid3tag-devel
30 BuildRequires:  libogg-devel >= 2:1.0
31 BuildRequires:  libstdc++-devel
32 BuildRequires:  libtool >= 2:2.2
33 BuildRequires:  libvorbis-devel >= 1:1.0.1
34 BuildRequires:  libxslt-progs
35 %{?with_nautilus:BuildRequires: nautilus-devel >= 3.0}
36 BuildRequires:  opus-devel >= 1.0
37 BuildRequires:  opusfile-devel
38 BuildRequires:  pkgconfig >= 1:0.24
39 BuildRequires:  rpmbuild(macros) >= 1.311
40 BuildRequires:  speex-devel
41 BuildRequires:  taglib-devel >= 1.9.1
42 BuildRequires:  wavpack-devel >= 4.40
43 BuildRequires:  yelp-tools
44 Requires(post,postun):  desktop-file-utils
45 Requires(post,postun):  glib2 >= 1:2.38.0
46 Requires(post,postun):  gtk-update-icon-cache
47 Requires:       flac >= 1.1.4
48 Requires:       glib2 >= 1:2.38.0
49 Requires:       gtk+3 >= 3.10.0
50 Requires:       hicolor-icon-theme
51 Requires:       libogg >= 2:1.0
52 Requires:       libvorbis >= 1:1.0.1
53 Requires:       opus >= 1.0
54 Requires:       taglib >= 1.9.1
55 Requires:       wavpack >= 4.40
56 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57
58 %description
59 EasyTAG is an utility for viewing, editing and writing tags of your
60 MP3, MP2, FLAC, Ogg, MusePack and Monkey's Audio files. Its simple and
61 nice GTK+ interface makes tagging easier.
62
63 Features:
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.
80
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
84 egyszerű GTK+ felület ezt meg is könnyíti.
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
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
107 Audio. Prosty i miły interfejs GTK+ ułatwia to zadanie.
108
109 Możliwości:
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),
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,
119 - rekurencja przy etykietowaniu, usuwaniu, zmianie nazw, zapisywaniu
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,
125 - prosty interfejs,
126 - generowanie playlist,
127 - wyszukiwanie plików.
128
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
133 Requires:       %{name} = %{epoch}:%{version}-%{release}
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
144 %prep
145 %setup -q
146
147 %build
148 %{__intltoolize}
149 %{__libtoolize}
150 %{__aclocal} -I m4
151 %{__autoheader}
152 %{__autoconf}
153 %{__automake}
154 %configure \
155         %{!?with_nautilus:--disable-nautilus-actions} \
156         --disable-schemas-compile \
157         --disable-silent-rules
158 %{__make}
159
160 %install
161 rm -rf $RPM_BUILD_ROOT
162
163 %{__make} install \
164         DESTDIR=$RPM_BUILD_ROOT
165
166 %if %{with nautilus}
167 %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/libnautilus-easytag.la
168 %endif
169
170 %find_lang %{name} --with-gnome
171
172 %clean
173 rm -rf $RPM_BUILD_ROOT
174
175 %post
176 %update_desktop_database_post
177 %update_icon_cache hicolor
178 %glib_compile_schemas
179
180 %postun
181 %glib_compile_schemas
182 %update_desktop_database_postun
183 %update_icon_cache hicolor
184
185 %files -f %{name}.lang
186 %defattr(644,root,root,755)
187 %doc AUTHORS ChangeLog HACKING NEWS README THANKS TODO
188 %attr(755,root,root) %{_bindir}/easytag
189 %{_datadir}/appdata/easytag.appdata.xml
190 %{_datadir}/glib-2.0/schemas/org.gnome.EasyTAG.enums.xml
191 %{_datadir}/glib-2.0/schemas/org.gnome.EasyTAG.gschema.xml
192 %{_desktopdir}/easytag.desktop
193 %{_mandir}/man1/easytag.1*
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
This page took 0.081099 seconds and 3 git commands to generate.