1 | %define _glib_ver 2.4.1 |
---|
2 | %define _gtk_ver 2.4.1 |
---|
3 | %define _flac_ver 1.2.0 |
---|
4 | %define _id3lib_ver 3.8.3-0vl7 |
---|
5 | |
---|
6 | Summary: Tag Editor for MP3, Ogg Vorbis, FLAC and othe music files |
---|
7 | Summary(ja): MP3, Ogg Vorbis, FLAC 等に対応したタグエディタ |
---|
8 | Name: easytag |
---|
9 | Version: 2.1 |
---|
10 | Release: 1%{?_dist_release} |
---|
11 | License: GPL |
---|
12 | Group: Applications/Multimedia |
---|
13 | URL: http://easytag.sourceforge.net/ |
---|
14 | Source0: http://jaist.dl.sourceforge.net/sourceforge/easytag/easytag-%{version}.tar.bz2 |
---|
15 | Source1: easytag.desktop |
---|
16 | # converted from pixmaps/EasyTag.xpm |
---|
17 | Source2: easytag.png |
---|
18 | Patch0: easytag-2.0-audio-file-player.patch |
---|
19 | BuildRequires: glib2-devel >= %{_glib_ver}, gtk2-devel >= %{_gtk_ver} |
---|
20 | BuildRequires: libogg-devel, libvorbis-devel, flac-devel >= %{_flac_ver} |
---|
21 | BuildRequires: id3lib-devel >= %{_id3lib_ver} |
---|
22 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
23 | |
---|
24 | Requires(post): /sbin/ldconfig desktop-file-utils |
---|
25 | Requires(postun): /sbin/ldconfig desktop-file-utils |
---|
26 | |
---|
27 | Vendor: Project Vine |
---|
28 | Distribution: Vine Linux |
---|
29 | |
---|
30 | %description |
---|
31 | EasyTAG is a utility for viewing and editing tags for MP3, MP2, Ogg Vorbis, |
---|
32 | FLAC and other audio files. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q |
---|
36 | |
---|
37 | %patch0 -p1 -b .audio-file-player |
---|
38 | |
---|
39 | # drop unneeded 'x' attribute |
---|
40 | %__chmod -x COPYING ChangeLog README THANKS TODO USERS-GUIDE |
---|
41 | %{_bindir}/find doc -type f -exec %__chmod -x "{}" \; |
---|
42 | |
---|
43 | %build |
---|
44 | %configure --disable-mp4 |
---|
45 | %__make |
---|
46 | |
---|
47 | %install |
---|
48 | %__rm -rf %{buildroot} |
---|
49 | |
---|
50 | %makeinstall |
---|
51 | %find_lang %{name} |
---|
52 | |
---|
53 | # install icon |
---|
54 | %__mkdir_p %{buildroot}%{_datadir}/pixmaps |
---|
55 | %__mkdir_p %{buildroot}%{_datadir}/applications |
---|
56 | %__install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
57 | %__install -p -m644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png |
---|
58 | |
---|
59 | %post |
---|
60 | /sbin/ldconfig |
---|
61 | %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
62 | |
---|
63 | %postun |
---|
64 | /sbin/ldconfig |
---|
65 | %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
66 | |
---|
67 | %clean |
---|
68 | %__rm -rf %{buildroot} |
---|
69 | |
---|
70 | %files -f %{name}.lang |
---|
71 | %defattr(-,root,root) |
---|
72 | %doc COPYING ChangeLog README THANKS TODO USERS-GUIDE |
---|
73 | %doc doc/*.html doc/users_guide_* |
---|
74 | %{_bindir}/easytag |
---|
75 | %{_datadir}/easytag |
---|
76 | %{_datadir}/pixmaps/* |
---|
77 | %{_datadir}/applications/%{name}.desktop |
---|
78 | %{_mandir}/man1/easytag.1* |
---|
79 | |
---|
80 | %changelog |
---|
81 | * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 2.1-1vl5 |
---|
82 | - applied new versioning policy, spec in utf-8 |
---|
83 | |
---|
84 | * Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-0vl2 |
---|
85 | - rebuilt with flac-1.2.0 |
---|
86 | |
---|
87 | * Mon Jun 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-0vl1 |
---|
88 | - new upstream release |
---|
89 | - rebuilt with new toolchain |
---|
90 | |
---|
91 | * Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0-0vl3 |
---|
92 | - add audio-file-player.patch (patch0) |
---|
93 | to use audacious as default audio file player instead of xmms |
---|
94 | |
---|
95 | * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0-0vl2 |
---|
96 | - add Requires(post,postun): ldconfig, desktop-file-utils |
---|
97 | |
---|
98 | * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0-0vl1 |
---|
99 | - initial build |
---|