source: projects/specs/trunk/nonfree/self-build-k3b-extra/k3b-extra-vl.spec @ 9290

Revision 9290, 3.1 KB checked in by inagaki, 9 years ago (diff)

2015-01-24 Ryoichi INAGAKI <ryo1@…>

  • k3b, self-build-k3b-extra, phonon-backend-gstreamer: updated


Line 
1Name: k3b-extra
2Version: 2.0.3a
3Release: 1%{?_dist_release}
4Summary: K3b additional plugins
5Summary(ja): K3b 追加プラグイン集
6
7Group: Applications/Multimedia
8License: GPLv2+
9URL: http://www.k3b.org/
10
11Source0: http://download.kde.org/stable/k3b/k3b-%{version}.tar.xz
12
13ExcludeArch: s390 s390x
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: gettext
16BuildRequires: kdelibs4-devel
17BuildRequires: libkcddb-devel
18BuildRequires: libsamplerate-devel
19BuildRequires: libXpm-devel
20BuildRequires: taglib-devel
21BuildRequires: self-build-lame
22BuildRequires: self-build-libmad
23BuildRequires: self-build-ffmpeg
24
25Requires: k3b >= %{version}
26
27Vendor: Project Vine
28Distribution: Vine Linux
29
30%description
31This 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
38K3b 向けに以下の追加プラグインを提供します.
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
48mkdir -p %{_target_platform}
49pushd %{_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    ..
65popd
66
67make %{?_smp_mflags} -C %{_target_platform}/plugins
68
69
70%install
71rm -rf $RPM_BUILD_ROOT
72make install/fast -C %{_target_platform}/plugins DESTDIR=$RPM_BUILD_ROOT
73
74# remove unpackage files
75rm -f $RPM_BUILD_ROOT%{_libdir}/kde4/k3baudiometainforenamerplugin.so
76rm -f $RPM_BUILD_ROOT%{_libdir}/kde4/k3baudioprojectcddbplugin.so
77rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/services/k3baudiometainforenamerplugin.desktop
78rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/services/k3baudioprojectcddbplugin.desktop
79
80%clean
81rm -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
Note: See TracBrowser for help on using the repository browser.