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

Revision 2775, 3.2 KB checked in by inagaki, 13 years ago (diff)

updated: choqok, k3b, kaffeine, kdevelop, kdevplatform,

konversation, kde-partitionmanager, qjson, self-build-k3b-extra

NEW: skrooge

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