1 | Name: k3b-extra |
---|
2 | Version: 2.0.3a |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: K3b additional plugins |
---|
5 | Summary(ja): K3b 追加プラグイン集 |
---|
6 | |
---|
7 | Group: Applications/Multimedia |
---|
8 | License: GPLv2+ |
---|
9 | URL: http://www.k3b.org/ |
---|
10 | |
---|
11 | Source0: http://download.kde.org/stable/k3b/k3b-%{version}.tar.xz |
---|
12 | |
---|
13 | ExcludeArch: s390 s390x |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: gettext |
---|
16 | BuildRequires: kdelibs4-devel |
---|
17 | BuildRequires: libkcddb-devel |
---|
18 | BuildRequires: libsamplerate-devel |
---|
19 | BuildRequires: libXpm-devel |
---|
20 | BuildRequires: taglib-devel |
---|
21 | BuildRequires: self-build-lame |
---|
22 | BuildRequires: self-build-libmad |
---|
23 | BuildRequires: self-build-ffmpeg |
---|
24 | |
---|
25 | Requires: k3b >= %{version} |
---|
26 | |
---|
27 | Vendor: Project Vine |
---|
28 | Distribution: Vine Linux |
---|
29 | |
---|
30 | %description |
---|
31 | This package provides the following additional plugins for K3b. |
---|
32 | |
---|
33 | - FFMpeg decoder for decoding WMA file(s) |
---|
34 | - MAD decoder for decoding MP3 file(s) |
---|
35 | - Lame MP3 encoder for encoding MP3 file(s) |
---|
36 | |
---|
37 | %description -l ja |
---|
38 | K3b 向けに以下の追加プラグインを提供します. |
---|
39 | |
---|
40 | - WMA ファイルをデコードするための FFMpeg デコーダ |
---|
41 | - MP3 ファイルをデコードするための MAD デコーダ |
---|
42 | - MP3 ファイルをエンコードするための Lame MP3 エンコーダ |
---|
43 | |
---|
44 | %prep |
---|
45 | %setup -q -n k3b-2.0.3 |
---|
46 | |
---|
47 | %build |
---|
48 | mkdir -p %{_target_platform} |
---|
49 | pushd %{_target_platform} |
---|
50 | %{cmake} \ |
---|
51 | -DCMAKE_BUILD_TYPE=release \ |
---|
52 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
53 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
54 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
55 | -DK3B_BUILD_OGGVORBIS_DECODER_PLUGIN:BOOL=OFF \ |
---|
56 | -DK3B_BUILD_OGGVORBIS_ENCODER_PLUGIN:BOOL=OFF \ |
---|
57 | -DK3B_BUILD_MUSE_DECODER_PLUGIN::BOOL=OFF \ |
---|
58 | -DK3B_BUILD_FLAC_DECODER_PLUGIN:BOOL=OFF \ |
---|
59 | -DK3B_BUILD_SNDFILE_DECODER_PLUGIN:BOOL=OFF \ |
---|
60 | -DK3B_BUILD_SOX_ENCODER_PLUGIN:BOOL=OFF \ |
---|
61 | -DK3B_BUILD_EXTERNAL_ENCODER_PLUGIN:BOOL=OFF \ |
---|
62 | -DK3B_BUILD_WAVE_DECODER_PLUGIN:BOOL=OFF \ |
---|
63 | -DK3B_BUILD_K3BSETUP:BOOL=OFF \ |
---|
64 | .. |
---|
65 | popd |
---|
66 | |
---|
67 | make %{?_smp_mflags} -C %{_target_platform}/plugins |
---|
68 | |
---|
69 | |
---|
70 | %install |
---|
71 | rm -rf $RPM_BUILD_ROOT |
---|
72 | make install/fast -C %{_target_platform}/plugins DESTDIR=$RPM_BUILD_ROOT |
---|
73 | |
---|
74 | # remove unpackage files |
---|
75 | rm -f $RPM_BUILD_ROOT%{_libdir}/kde4/k3baudiometainforenamerplugin.so |
---|
76 | rm -f $RPM_BUILD_ROOT%{_libdir}/kde4/k3baudioprojectcddbplugin.so |
---|
77 | rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/services/k3baudiometainforenamerplugin.desktop |
---|
78 | rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/services/k3baudioprojectcddbplugin.desktop |
---|
79 | |
---|
80 | %clean |
---|
81 | rm -rf $RPM_BUILD_ROOT |
---|
82 | |
---|
83 | |
---|
84 | %files |
---|
85 | %defattr(-,root,root,755) |
---|
86 | %{_libdir}/kde4/*.so |
---|
87 | %{_datadir}/kde4/services/* |
---|
88 | |
---|
89 | %changelog |
---|
90 | * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0.3a-1 |
---|
91 | - updated to 2.0.3a |
---|
92 | - moved to Applications/Multimedia Group |
---|
93 | |
---|
94 | * Fri Mar 4 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-2 |
---|
95 | - added BR: libXpm-devel |
---|
96 | |
---|
97 | * Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-1 |
---|
98 | - new upstream release |
---|
99 | |
---|
100 | * Sun Sep 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-2 |
---|
101 | - fixed %%build section to remove qt-devel dependency |
---|
102 | |
---|
103 | * Wed Sep 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Thu Jul 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.0-1 |
---|
107 | - initial build for self-build framework |
---|