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