]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | %define srcname thunar-media-tags-plugin | |
3 | # | |
4 | Summary: Media Tags plugin for the Thunar file manager | |
5 | Summary(pl.UTF-8): Wtyczka Media Tags dla zarządcy plików Thunar | |
6 | Name: Thunar-media-tags-plugin | |
7 | Version: 0.2.1 | |
8 | Release: 3 | |
9 | License: GPL | |
10 | Group: X11/Applications | |
11 | Source0: http://archive.xfce.org/src/thunar-plugins/thunar-media-tags-plugin/0.2/%{srcname}-%{version}.tar.bz2 | |
12 | # Source0-md5: 0106e900714f86ccbafdc72238d3cf8d | |
13 | URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-media-tags-plugin | |
14 | BuildRequires: Thunar-devel >= 1.6.6 | |
15 | BuildRequires: autoconf >= 2.50 | |
16 | BuildRequires: automake | |
17 | BuildRequires: exo-devel >= 0.8.0 | |
18 | BuildRequires: intltool | |
19 | BuildRequires: libtool | |
20 | BuildRequires: taglib-devel >= 1.4 | |
21 | BuildRequires: xfce4-dev-tools >= 4.12.0 | |
22 | Requires: Thunar >= 1.6.6 | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | This plugin adds special features for media files to the Thunar file | |
27 | manager. It includes a special media file page for the file properties | |
28 | dialog, a tag editor for ID3 or Ogg/Vorbis tags and a so-called bulk | |
29 | renamer, which allows users to rename multiple audio files at once, | |
30 | based on their tags. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | Ta wtyczka dodaje specjalną obsługę plików multimedialnych do zarządcy | |
34 | plików Thunar. Zawiera specjalną stronę plików multimedialnych dla | |
35 | okna właściwości, edytor znaczników ID3 i Ogg/Vorbis oraz tak zwany | |
36 | "bulk renamer", pozwalający użytkownikom zmienić nazwę wielu plików | |
37 | dźwiękowych naraz w oparciu o ich znaczniki. | |
38 | ||
39 | %prep | |
40 | %setup -q -n %{srcname}-%{version} | |
41 | ||
42 | %build | |
43 | %{__intltoolize} | |
44 | %{__libtoolize} | |
45 | %{__aclocal} | |
46 | %{__autoconf} | |
47 | %{__autoheader} | |
48 | %{__automake} | |
49 | %configure | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/thunarx-2/*.la | |
59 | ||
60 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK | |
61 | ||
62 | %find_lang %{srcname} | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files -f %{srcname}.lang | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS ChangeLog README TODO | |
70 | %attr(755,root,root) %{_libdir}/thunarx-2/thunar-media-tags-plugin.so |