SHA256
1
0
forked from pool/k3b

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:
Marcus Rückert 2011-02-21 22:54:44 +00:00 committed by Git OBS Bridge
parent 283e9b80d0
commit 46a4aad44f
2 changed files with 42 additions and 31 deletions

View File

@ -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 Fri Jan 28 09:15:56 UTC 2011 - embar@super.lt

View File

@ -27,7 +27,7 @@ BuildRequires: gstreamer010-devel libmtp-devel libvisual-devel xine-devel
BuildRequires: flac-devel libQtWebKit-devel libdvdread-devel libvorbis-devel BuildRequires: flac-devel libQtWebKit-devel libdvdread-devel libvorbis-devel
BuildRequires: dbus-1-glib-devel libogg-devel libsamplerate-devel libsndfile-devel BuildRequires: dbus-1-glib-devel libogg-devel libsamplerate-devel libsndfile-devel
BuildRequires: libmpcdec-devel libmusicbrainz-devel BuildRequires: libmpcdec-devel libmusicbrainz-devel
%if %{with ffmpeg} %if %{with ffmpegg}
BuildRequires: libffmpeg-devel BuildRequires: libffmpeg-devel
%endif %endif
%if %{with mad} %if %{with mad}
@ -50,6 +50,8 @@ Patch1: initial-preference.diff
Patch3: add_mimetypes_bnc661777.diff Patch3: add_mimetypes_bnc661777.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires %kde4_runtime_requires
Requires(post): shared-mime-info
Requires(postun): shared-mime-info
Provides: kde4-k3b = 4.2.1.svn942189 Provides: kde4-k3b = 4.2.1.svn942189
Provides: kde4-k3b = 4.2.2.svn951754 Provides: kde4-k3b = 4.2.2.svn951754
Obsoletes: kde4-k3b <= 4.2.2.svn951754 Obsoletes: kde4-k3b <= 4.2.2.svn951754
@ -108,9 +110,13 @@ Authors:
%find_lang kio_videodvd k3b.lang %find_lang kio_videodvd k3b.lang
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/scalable/apps 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 %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT