Accepting request 62291 from KDE:Distro:Factory
Accepted submit request 62291 from user wstephenson OBS-URL: https://build.opensuse.org/request/show/62291 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/k3b?expand=0&rev=33
This commit is contained in:
parent
283e9b80d0
commit
46a4aad44f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 17 14:35:17 UTC 2011 - wstephenson@novell.com
|
||||
|
||||
- call update-mime-database in pre/post install scripts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 28 09:15:56 UTC 2011 - embar@super.lt
|
||||
|
||||
|
62
k3b.spec
62
k3b.spec
@ -20,40 +20,42 @@
|
||||
%bcond_with mad
|
||||
%bcond_with lame
|
||||
|
||||
Name: k3b
|
||||
BuildRequires: cups-devel libkcddb4-devel ruby-devel sqlite-devel taglib-devel
|
||||
BuildRequires: libkcompactdisc4-devel libkdepimlibs4-devel tse3-devel update-desktop-files
|
||||
BuildRequires: gstreamer010-devel libmtp-devel libvisual-devel xine-devel
|
||||
BuildRequires: flac-devel libQtWebKit-devel libdvdread-devel libvorbis-devel
|
||||
BuildRequires: dbus-1-glib-devel libogg-devel libsamplerate-devel libsndfile-devel
|
||||
BuildRequires: libmpcdec-devel libmusicbrainz-devel
|
||||
%if %{with ffmpeg}
|
||||
BuildRequires: libffmpeg-devel
|
||||
Name: k3b
|
||||
BuildRequires: cups-devel libkcddb4-devel ruby-devel sqlite-devel taglib-devel
|
||||
BuildRequires: libkcompactdisc4-devel libkdepimlibs4-devel tse3-devel update-desktop-files
|
||||
BuildRequires: gstreamer010-devel libmtp-devel libvisual-devel xine-devel
|
||||
BuildRequires: flac-devel libQtWebKit-devel libdvdread-devel libvorbis-devel
|
||||
BuildRequires: dbus-1-glib-devel libogg-devel libsamplerate-devel libsndfile-devel
|
||||
BuildRequires: libmpcdec-devel libmusicbrainz-devel
|
||||
%if %{with ffmpegg}
|
||||
BuildRequires: libffmpeg-devel
|
||||
%endif
|
||||
%if %{with mad}
|
||||
BuildRequires: libmad-devel
|
||||
BuildRequires: libmad-devel
|
||||
%endif
|
||||
%if %{with lame}
|
||||
BuildRequires: libmp3lame-devel
|
||||
BuildRequires: libmp3lame-devel
|
||||
%endif
|
||||
Url: http://k3b.sourceforge.net/
|
||||
License: GPLv2+
|
||||
Group: Productivity/Multimedia/CD/Record
|
||||
Summary: A Universal CD and DVD Burning Application
|
||||
Requires: /usr/bin/cdrecord /usr/bin/mkisofs /usr/bin/cdrdao dvd+rw-tools
|
||||
Version: 2.0.2
|
||||
Release: 2
|
||||
Url: http://k3b.sourceforge.net/
|
||||
License: GPLv2+
|
||||
Group: Productivity/Multimedia/CD/Record
|
||||
Summary: A Universal CD and DVD Burning Application
|
||||
Requires: /usr/bin/cdrecord /usr/bin/mkisofs /usr/bin/cdrdao dvd+rw-tools
|
||||
Version: 2.0.2
|
||||
Release: 2
|
||||
%define rversion %version
|
||||
# svn.kde.org/home/kde/trunk/extragear/multimedia/k3b
|
||||
Source0: k3b-%{version}.tar.bz2
|
||||
Patch1: initial-preference.diff
|
||||
Patch3: add_mimetypes_bnc661777.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: k3b-%{version}.tar.bz2
|
||||
Patch1: initial-preference.diff
|
||||
Patch3: add_mimetypes_bnc661777.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%kde4_runtime_requires
|
||||
Provides: kde4-k3b = 4.2.1.svn942189
|
||||
Provides: kde4-k3b = 4.2.2.svn951754
|
||||
Obsoletes: kde4-k3b <= 4.2.2.svn951754
|
||||
Recommends: %{name}-lang = %{version}
|
||||
Requires(post): shared-mime-info
|
||||
Requires(postun): shared-mime-info
|
||||
Provides: kde4-k3b = 4.2.1.svn942189
|
||||
Provides: kde4-k3b = 4.2.2.svn951754
|
||||
Obsoletes: kde4-k3b <= 4.2.2.svn951754
|
||||
Recommends: %{name}-lang = %{version}
|
||||
|
||||
%description
|
||||
K3b is a CD burning application that supports Ogg Vorbis, MP3 audio
|
||||
@ -108,9 +110,13 @@ Authors:
|
||||
%find_lang kio_videodvd k3b.lang
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/scalable/apps
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
Loading…
Reference in New Issue
Block a user