Accepting request 56916 from KDE:Distro:Factory

Accepted submit request 56916 from user rwooninck

OBS-URL: https://build.opensuse.org/request/show/56916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/digikam?expand=0&rev=60
This commit is contained in:
Berthold Gunreben 2011-01-03 10:05:19 +00:00 committed by Git OBS Bridge
parent 5160afa79c
commit 109f64b127
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
--- digikam/digikam.desktop 2010-12-19 11:29:17.000000000 +0100
+++ digikam/digikam.desktop_patched 2010-12-30 12:59:47.000000000 +0100
@@ -140,3 +140,4 @@
Comment[zh_CN]=以开源的力量专业化地管理您的照片
Comment[zh_TW]=運用開放原始碼的力量像專業人士般管理您的照片
Terminal=false
+MimeType=x-content/image-dcf;x-content/image-picturecd;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 30 12:04:30 UTC 2010 - ctrippe@gmx.net
- Add MimeTypes to desktop file for better integration in GNOME (bnc#629393)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 22 22:19:01 UTC 2010 - Nico.Laus.2001@gmx.de Wed Dec 22 22:19:01 UTC 2010 - Nico.Laus.2001@gmx.de

View File

@ -32,6 +32,7 @@ Release: 1
Source0: %name-%{tar_version}.tar.bz2 Source0: %name-%{tar_version}.tar.bz2
Source1: %{name}-docs.tar.bz2 Source1: %{name}-docs.tar.bz2
Patch1: %{name}-buildtime.patch Patch1: %{name}-buildtime.patch
Patch2: add_mimetype_bnc629393.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires %kde4_runtime_requires
%kde4_pimlibs_requires %kde4_pimlibs_requires
@ -101,6 +102,7 @@ Authors:
%prep %prep
%setup -q -n %name-%{tar_version} -a 1 %setup -q -n %name-%{tar_version} -a 1
%patch1 %patch1
%patch2
FAKE_BUILDDATE=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%b %e %Y') FAKE_BUILDDATE=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%b %e %Y')
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" digikam/version.h.cmake sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" digikam/version.h.cmake
echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt