ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/k3b-extras-freeworld/F-14/k3b-extras-freeworld.spec
Revision: 1.7
Committed: Wed Sep 17 18:55:47 2008 UTC (4 years, 8 months ago) by rdieter
Branch: MAIN
CVS Tags: k3b-extras-freeworld-1_0_5-4_fc10, F-10-split
Changes since 1.6: +0 -6 lines
Log Message:
omit no-longer-needed libdvdread hack

Line File contents
1 %define kdelibs3 kdelibs
2 %if 0%{?fedora} > 6
3 %define kdelibs3 kdelibs3
4 %define ffmpeg ffmpeg
5 %define _with_ffmpeg --with-ffmpeg
6 %endif
7
8 Name: k3b-extras-freeworld
9 Version: 1.0.5
10 Release: 4%{?dist}
11 Summary: Additional codec plugins for the k3b CD/DVD burning application
12
13 Group: Applications/Multimedia
14 License: GPLv2+
15 URL: http://www.k3b.org
16 Source0: http://downloads.sourceforge.net/sourceforge/k3b/k3b-%{version}.tar.bz2
17 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
18
19 Patch1: k3b-1.0.5-ffmpeg.patch
20
21 ExcludeArch: s390 s390x
22
23 BuildRequires: %{kdelibs3}-devel
24 BuildRequires: lame-devel
25 BuildRequires: libdvdread-devel
26 BuildRequires: libmad-devel
27 %{?ffmpeg:BuildRequires: %{ffmpeg}-devel automake}
28 BuildRequires: libmusicbrainz-devel
29 BuildRequires: gettext
30 BuildRequires: taglib-devel
31
32 Obsoletes: k3b-mp3 < 0.12.10
33 Provides: k3b-mp3 = %{version}-%{release}
34
35 # livna upgrade
36 Obsoletes: k3b-extras-nonfree < 1.0.4-3
37 Provides: k3b-extras-nonfree = %{version}-%{release}
38
39 Requires: k3b >= %{version}
40
41
42 %description
43 Additional decoder/encoder plugins for k3b, a feature-rich and easy to
44 handle CD/DVD burning application.
45
46
47 %prep
48 %setup -q -n k3b-%{version}
49
50 %if 0%{?ffmpeg:1}
51 %patch1 -p1 -b .ffmpeg
52 make -f admin/Makefile.common
53 %endif
54
55
56 %build
57 unset QTDIR
58 [ -z "$QTDIR" ] && . /etc/profile.d/qt.sh
59
60 %configure \
61 --disable-rpath \
62 --enable-new-ldflags \
63 --disable-debug --disable-warnings \
64 --disable-dependency-tracking --enable-final \
65 --with-libdvdread \
66 --with-external-libsamplerate=no \
67 --without-oggvorbis \
68 --without-flac \
69 --without-sndfile \
70 --without-hal \
71 --without-musepack \
72 --with-k3bsetup=no \
73 %{?_with_ffmpeg} %{!?_with_ffmpeg:--without-ffmpeg} \
74 --with-lame \
75 --with-libmad
76
77 %define makeflags %{?_smp_mflags}%{nil}
78
79 # We need just a few k3b core libs.
80 # As FC k3b package no longer includes the libtool archives,
81 # we cannot simply link them anymore.
82 pushd libk3bdevice
83 #ln -s %{_libdir}/libk3bdevice.la libk3bdevice.la
84 make %makeflags
85 popd
86
87 pushd libk3b
88 #ln -s %{_libdir}/libk3b.la libk3b.la
89 make %makeflags
90 popd
91
92 # Now build individual plugins.
93 make %makeflags -C plugins/decoder/mp3
94 %{?ffmpeg:make %makeflags -C plugins/decoder/ffmpeg}
95 make %makeflags -C plugins/encoder/lame
96
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 make install DESTDIR=$RPM_BUILD_ROOT -C plugins/decoder/mp3
102 %{?ffmpeg:make install DESTDIR=$RPM_BUILD_ROOT -C plugins/decoder/ffmpeg}
103 make install DESTDIR=$RPM_BUILD_ROOT -C plugins/encoder/lame
104
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109
110 %files
111 %defattr(-,root,root,-)
112 %{?ffmpeg:%{_libdir}/kde3/libk3bffmpegdecoder.*}
113 %{?ffmpeg:%{_datadir}/apps/k3b/plugins/k3bffmpegdecoder.plugin}
114 %{_libdir}/kde3/libk3blameencoder.*
115 %{_datadir}/apps/k3b/plugins/k3blameencoder.plugin
116 %{_libdir}/kde3/libk3bmaddecoder.*
117 %{_datadir}/apps/k3b/plugins/k3bmaddecoder.plugin
118
119
120 %changelog
121 * Wed Sep 17 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-4
122 - better pkgconfig-based ffmpeg patch
123 - optimize configure
124 - License: GPLv2+
125
126 * Tue Sep 16 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-3
127 - re-enable ffmpeg support
128
129 * Mon Sep 15 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-2
130 - omit ffmpeg support (for now)
131
132 * Mon Sep 15 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-1
133 - k3b-extras-freeworld for rpmfusion
134
135 * Thu Jan 31 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.0.4-2
136 - BR: kdelibs3-devel
137
138 * Mon Nov 26 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.4-1
139 - Update to 1.0.4 (no relevant changes, however).
140
141 * Sat Nov 24 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.0.3-2
142 - rebuilt
143
144 * Tue Jul 24 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.3-1
145 - Update to 1.0.3 (fix for mp3 without tags).
146
147 * Mon Jun 25 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.2-1
148 - Update to 1.0.2.
149
150 * Wed May 30 2007 Rex Dieter <rexdieter[AT]users.sf.net>
151 - drop extraneous BR's
152
153 * Fri Apr 27 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.1-1
154 - Update to 1.0.1 (LAME encoder plugin fix).
155
156 * Sat Mar 17 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0-1
157 - Upgrade to 1.0 final.
158
159 * Sun Feb 18 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0-0.2.rc6
160 - Upgrade to 1.0rc6 (which has appeared in Rawhide).
161
162 * Tue Feb 6 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.12.17-3
163 - Rebuild for new ffmpeg.
164
165 * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.12.17-2
166 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
167
168 * Sun Sep 24 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.12.17-1
169 - Update to 0.12.17.
170
171 * Fri Mar 31 2006 Michael Schwendt <mschwendt[AT]users.sf.net> 0.12.14-2
172 - Don't build libsndfile plugin anymore, since it moves to k3b-extras.
173
174 * Wed Mar 15 2006 Michael Schwendt <mschwendt[AT]users.sf.net> 0.12.14-1
175 - Update to 0.12.14.
176 - The oh-so-clever build speed-up trick cannot be used anymore,
177 since libtool archives have been dropped from FC k3b package.
178
179 * Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
180 - switch to new release field
181
182 * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
183 - add dist
184
185 * Sat Dec 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.12.10-0.lvn.1
186 - Update to 0.12.10.
187 - Rename package to k3b-extras-nonfree.
188
189 * Sun Jul 17 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.12.2-0.lvn.1
190 - Update to 0.12.2 (for FC Development).
191 - Rename package to k3b-extras.
192 - Add plugins: ffmpeg decoder, libsndfile decoder, lame encoder.
193 - Use BR k3b to speed up build.
194 - Drop explicit Epoch 0.
195
196 * Fri May 20 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0:0.11.24-0.lvn.2
197 - Use configure-parm "--with-qt-libraries=$QTDIR/lib" to fix FC4-x86_64 build
198
199 * Wed May 11 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.11.24-0.lvn.1
200 - Update to 0.11.24 (advertised as handling mp3 errors better).
201 - Remove GCC version check which blacklists FC4's GCC (d'oh!).
202 - Explicity disable external libsamplerate, which is in FE and
203 hence FC's k3b doesn't use it either.
204 - Merge statfs patch from FC's k3b package.
205
206 * Thu Mar 24 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.11.22-0.lvn.1
207 - Update to 0.11.22 (MAD decoder update).
208 - Use new switches to disable OggVorbis and FLAC explicitly.
209
210 * Wed Jan 26 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.11.19-0.lvn.1
211 - Update to 0.11.19 (for another mp3 detection fix).
212
213 * Tue Aug 10 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.11.14-0.lvn.1
214 - Update to 0.11.14 (which obsoletes patches again).
215
216 * Tue Aug 10 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.11.13-0.lvn.1
217 - Add patch from CVS to fix mp3 decoder.
218
219 * Sat Aug 7 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.11.13-0.lvn.1
220 - Updated to 0.11.13 (includes new mp3 backport).
221 - Patch for k3bdiskinfo.cpp is obsolete.
222 - Now k3bdevice.cpp needs patch for Qt 3.1.
223 - Remove a few more unneeded BR.
224
225 * Thu May 27 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.11.10-0.lvn.1
226 - Update to 0.11.10 (includes mp3 fixes).
227 - Fix k3bdiskinfo.cpp for Qt 3.1.
228 - Remove redundant BR qt-devel.
229 - Disable RPATH (seems to work now).
230 - Rename package to k3b-mp3, build just the plugin and all depending targets.
231 - Delete old changelog entries which are no longer relevant to this package.
232
233 * Mon Mar 29 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.11.9-0.fdr.1
234 - Update to 0.11.9.
235
236 * Mon Mar 29 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.11.8-0.fdr.1
237 - Update to 0.11.8.
238
239 * Sun Mar 28 2004 Michael Schwendt <mschwendt[AT]users.sf.net>
240 - Rewrite the conditional code sections, although they work fine in
241 normal build environments and the fedora.us build system. But 'mach'
242 makes some weird assumptions about build requirements in spec files
243 and causes unexpected results.