]>
Commit | Line | Data |
---|---|---|
7d4d3722 MB |
1 | # |
2 | %define srcname thunar-media-tags-plugin | |
3 | # | |
4 | Summary: Media Tags plugin for the Thunar file manager | |
5 | Name: Thunar-media-tags-plugin | |
6 | Version: 0.1.2 | |
7 | Release: 1 | |
8 | License: GPL | |
9 | Group: X11/Applications | |
10 | Source0: http://goodies.xfce.org/releases/thunar-media-tags-plugin/%{srcname}-%{version}.tar.bz2 | |
11 | # Source0-md5: 8a95f0ea4df6f757c1c94eb5442d2ff5 | |
12 | URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-media-tags-plugin | |
13 | BuildRequires: Thunar-devel >= 0.8.0 | |
14 | BuildRequires: autoconf >= 2.50 | |
15 | BuildRequires: automake | |
16 | BuildRequires: intltool | |
17 | BuildRequires: libtool | |
18 | BuildRequires: taglib-devel >= 1.4 | |
19 | BuildRequires: xfce4-dev-tools >= 4.4.0 | |
20 | Requires: Thunar >= 0.8.0 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | This plugin adds special features for media files to the Thunar file | |
25 | manager. It includes a special media file page for the file properties | |
26 | dialog, a tag editor for ID3 or OGG/Vorbis tags and a so-called bulk | |
27 | renamer, which allows users to rename multiple audio files at once, | |
28 | based on their tags. | |
29 | ||
30 | %prep | |
31 | %setup -q -n %{srcname}-%{version} | |
32 | ||
33 | %build | |
34 | %{__intltoolize} | |
35 | %{__libtoolize} | |
36 | %{__aclocal} | |
37 | %{__autoconf} | |
38 | %{__autoheader} | |
39 | %{__automake} | |
40 | %configure | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | rm -f $RPM_BUILD_ROOT%{_libdir}/thunarx-1/*.la | |
50 | ||
51 | %find_lang %{srcname} | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files -f %{srcname}.lang | |
57 | %defattr(644,root,root,755) | |
58 | %doc AUTHORS ChangeLog README TODO | |
59 | %attr(755,root,root) %{_libdir}/thunarx-1/thunar-media-tags-plugin.so |