source: projects/specs/branches/6/nonfree/self-build-k3b-extra/k3b-extra-vl.spec @ 2857

Revision 2857, 3.4 KB checked in by inagaki, 13 years ago (diff)

update: k3b, self-build-k3b-extra, shared-desktop-ontologies

Line 
1Name: k3b-extra
2Summary: K3b additional plugins
3Summary(ja): K3b 追加プラグイン集
4Version: 2.0.2
5Release: 2%{?_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: libXpm-devel
23BuildRequires: taglib-devel
24BuildRequires: self-build-lame
25BuildRequires: self-build-libmad
26BuildRequires: self-build-ffmpeg
27
28Requires: k3b >= %{version}
29Requires(post,postun): desktop-file-utils
30
31Vendor: Project Vine
32Distribution: Vine Linux
33
34%description
35This 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
42K3b 向けに以下の追加プラグインを提供します.
43
44- WMA ファイルをデコードするための FFMpeg デコーダ
45- MP3 ファイルをデコードするための MAD デコーダ
46- MP3 ファイルをエンコードするための Lame MP3 エンコーダ
47
48%prep
49%setup -q -n k3b-%{version}
50
51%build
52mkdir -p %{_target_platform}
53pushd %{_target_platform}
54unset 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    ..
70popd
71
72make %{?_smp_mflags} -C %{_target_platform}/plugins
73
74
75%install
76rm -rf $RPM_BUILD_ROOT
77make install/fast -C %{_target_platform}/plugins DESTDIR=$RPM_BUILD_ROOT
78
79# remove unpackage files
80rm -f $RPM_BUILD_ROOT%{_libdir}/kde4/k3baudiometainforenamerplugin.so
81rm -f $RPM_BUILD_ROOT%{_libdir}/kde4/k3baudioprojectcddbplugin.so
82rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/services/k3baudiometainforenamerplugin.desktop
83rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/services/k3baudioprojectcddbplugin.desktop
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%postun
89if [ $1 -eq 0 ] ; then
90    update-desktop-database -q %{_datadir}/applications > /dev/null 2>&1 ||:
91fi
92
93%posttrans
94update-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
Note: See TracBrowser for help on using the repository browser.