2006-12-19 00:35:13 +01:00
#
2011-01-25 13:06:55 +01:00
# spec file for package digikam
2006-12-19 00:35:13 +01:00
#
2015-01-25 21:16:03 +01:00
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
2006-12-19 00:35:13 +01:00
#
2008-11-06 15:23:00 +01:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2006-12-19 00:35:13 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-04-02 19:53:35 +02:00
2006-12-19 00:35:13 +01:00
Name : digikam
2015-08-02 22:44:13 +02:00
Version : 4.11.0
2011-12-14 14:33:09 +01:00
Release : 0
2015-08-02 22:44:13 +02:00
%define rversion 4.11.0
2011-03-09 13:35:58 +01:00
Summary : A KDE Photo Manager
2011-12-14 14:33:09 +01:00
License : GPL-2.0+
2007-07-11 10:44:29 +02:00
Group : Productivity/Graphics/Viewers
2011-12-14 14:33:09 +01:00
Url : http://www.digikam.org/
2014-05-26 14:40:25 +02:00
Source0 : http://download.kde.org/stable/%{name} /%{name} -%{rversion} .tar.bz2
2015-04-13 20:29:20 +02:00
# libkgeomap translations from the 4.8.0 tarball (Missing in 4.9.0)
Source2 : digikam-4.8.0-libkgeomap-translations.tar.bz2
2011-08-29 11:21:04 +02:00
# PATCH-FIX-OPENSUSE digikam-buildtime.patch -- Remove build time references so build-compare can do its work
Patch0 : digikam-buildtime.patch
2012-02-08 15:37:30 +01:00
# PATCH-FIX-OPENSUSE remove-gplv2-only.patch idoenmez@suse.de bnc#711963 -- Remove GPLv2 only files from the build system
2012-06-11 07:30:49 +02:00
Patch3 : remove-gplv2-only.patch
2014-11-14 09:18:31 +01:00
# PATCH-FIX-UPSTREAM digikam-4.4.0.no-kdcraw.version-check.patch -- version check for libkdcraw currently broken
Patch6 : digikam-4.4.0.no-kdcraw.version-check.patch
2015-01-05 04:43:00 +01:00
# PATCH-FIX-OPENSUSE digikam-4.6.0.install-libs-dev.patch nkruber@gmail.com -- install cmake module files and pkgconfig files of internally-built libraries, too
Patch7 : digikam-4.6.0.install-libs-dev.patch
2015-08-10 09:15:25 +02:00
# PATCH-FIX-UPSTREAM fix-crash-with-tags-manager-add-tag-with-null-parent.patch wbauer@tmo.at boo#940857, kde#343548 -- fix crash with tag manager when adding tags with no parent tag selected
Patch8 : fix-crash-with-tags-manager-add-tag-with-null-parent.patch
2013-06-13 16:38:55 +02:00
BuildRequires : ImageMagick-devel
2013-02-12 16:36:35 +01:00
BuildRequires : bison
2011-08-29 11:21:04 +02:00
BuildRequires : boost-devel
2011-03-09 13:35:58 +01:00
BuildRequires : doxygen
2011-08-29 11:21:04 +02:00
BuildRequires : fdupes
2013-02-12 16:36:35 +01:00
BuildRequires : flex
2013-06-13 16:38:55 +02:00
BuildRequires : gdk-pixbuf-devel
2014-05-10 08:32:08 +02:00
BuildRequires : libxml2-devel
BuildRequires : libxslt-devel
2015-05-11 19:32:08 +02:00
%if 0%{?suse_version} > 1320
BuildRequires : libkgeomap-devel
%endif
2014-09-19 13:55:40 +02:00
%if 0%{?suse_version} > 1310
BuildRequires : baloo-devel
%endif
%if 0%{?suse_version} > 1310
2015-01-21 22:13:12 +01:00
BuildRequires : libkface-devel
%endif
%if 0%{?suse_version} > 1310
2014-09-19 13:55:40 +02:00
BuildRequires : gstreamer-plugins-qt-devel
%else
2012-12-07 14:07:59 +01:00
BuildRequires : gstreamer-0_10-plugins-qt-devel
2014-04-23 17:31:45 +02:00
%endif
2011-03-09 13:35:58 +01:00
BuildRequires : lensfun-devel
2013-06-13 16:38:55 +02:00
%if 0%{?suse_version} > 1230
BuildRequires : libeigen3-devel
%endif
2012-02-08 15:37:30 +01:00
BuildRequires : libexpat-devel
2011-03-09 13:35:58 +01:00
BuildRequires : libgphoto2-devel
2012-02-08 15:37:30 +01:00
BuildRequires : libgpod-devel
2011-03-09 13:35:58 +01:00
BuildRequires : libjasper-devel
BuildRequires : libkdcraw-devel
2011-08-29 11:21:04 +02:00
BuildRequires : libkde4-devel
2011-03-09 13:35:58 +01:00
BuildRequires : libkdepimlibs4-devel
2012-02-08 15:37:30 +01:00
BuildRequires : libkexiv2-devel
2013-10-29 09:21:35 +01:00
BuildRequires : pkgconfig(libkipi) >= 2.0.0
2013-06-13 16:38:55 +02:00
%if 0%{?suse_version} > 1230
BuildRequires : libkqoauth-devel
2012-02-08 15:37:30 +01:00
%endif
2013-06-13 16:38:55 +02:00
BuildRequires : libMagick++-devel
2012-02-08 15:37:30 +01:00
BuildRequires : libksane-devel
2012-04-02 19:53:35 +02:00
BuildRequires : libkvkontakte-devel
2014-05-26 14:40:25 +02:00
%if 0%{?suse_version} < 1320
2011-08-29 11:21:04 +02:00
BuildRequires : liblcms-devel
2014-05-26 14:40:25 +02:00
%else
BuildRequires : liblcms2-devel
%endif
2011-03-09 13:35:58 +01:00
BuildRequires : liblqr-devel
2012-11-12 11:40:46 +01:00
BuildRequires : libpgf-devel
2012-02-08 15:37:30 +01:00
BuildRequires : libqca2-devel
BuildRequires : libqjson-devel
2011-08-29 11:21:04 +02:00
BuildRequires : libusb-1_0-devel
2012-10-04 19:36:40 +02:00
BuildRequires : libusb-compat-devel
2012-02-08 15:37:30 +01:00
BuildRequires : marble-devel
2013-10-18 13:33:16 +02:00
BuildRequires : opencv-devel >= 2.4.5
2012-02-08 15:37:30 +01:00
BuildRequires : pkgconfig(glib-2.0)
2012-10-29 20:02:17 +01:00
BuildRequires : pkgconfig(glu)
2011-08-29 11:21:04 +02:00
%if 0%{?suse_version}
BuildRequires : update-desktop-files
%endif
2012-06-11 07:30:49 +02:00
Requires : kipi-plugins >= %{version}
2011-11-16 17:17:41 +01:00
Requires : libqt4-sql-mysql
2012-04-02 19:53:35 +02:00
Requires : libqt4-sql-sqlite
2015-01-25 21:16:03 +01:00
# libkgeomap package provides older lib with same so name.
Requires : libkgeomap2
2011-09-05 16:27:24 +02:00
Recommends: %{name} -doc
2011-10-16 12:42:39 +02:00
Recommends: %{name} -lang
2011-08-04 10:14:41 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2012-06-11 07:30:49 +02:00
%requires_ge libkipi8
2011-08-04 10:14:41 +02:00
%kde4_runtime_requires
2006-12-19 00:35:13 +01:00
%description
2011-08-04 10:14:41 +02:00
digiKam is a simple digital photo management application for KDE, which
allows you to import and organize your digital photos easily. The
photos can be organized in albums, which can be sorted chronologically,
by directory layout, or by custom collections. An easy-to-use interface
that enables you to connect to your camera and preview, download, or
delete your images, is provided.
2007-04-23 23:16:18 +02:00
2011-09-05 16:27:24 +02:00
%package doc
Summary : Documentation of Digikam
2012-02-08 15:37:30 +01:00
License : GFDL-1.2
2011-09-05 16:27:24 +02:00
Group : Documentation/HTML
BuildArch : noarch
%description doc
This package contains the documentation for digikam
2011-08-29 11:21:04 +02:00
2012-02-08 15:37:30 +01:00
# split out acquireimage plugin in order to allow the main
# kipi-plugins package to be included on livecd (acquireimage
# requires sane-backends, which is blocked for livecd)
%package -n kipi-plugins-acquireimage
Summary : KDE Plug-Ins for Image Manipulation - Acquireimage plugin
License : GPL-2.0+
Group : Productivity/Graphics/Other
Requires : kipi-plugins = %{version}
Supplements: packageand(kipi-plugins:sane-backends)
%kde4_runtime_requires
%description -n kipi-plugins-acquireimage
This is the Acquireimage plugin from the kipi plugins package.
# split out geolocation plugin in order to allow the main
# kipi-plugins package to be included on livecd (geolocation
# requires marble, which is blocked for livecd)
%package -n kipi-plugins-geolocation
Summary : KDE Plug-Ins for Image Manipulation - Geolocation plugin
License : GPL-2.0+
Group : Productivity/Graphics/Other
Requires : kipi-plugins = %{version}
Supplements: packageand(kipi-plugins:marble)
%kde4_runtime_requires
%description -n kipi-plugins-geolocation
This is the Geolocation plugin from the kipi plugins package.
%package -n kipi-plugins
2012-06-11 07:30:49 +02:00
Summary : KDE Plug-Ins for Image Manipulation
2012-02-08 15:37:30 +01:00
License : GPL-2.0+
Group : Productivity/Graphics/Other
Recommends: ImageMagick
Recommends: enblend-enfuse
Recommends: hugin
Recommends: kipi-plugins-lang = %{version}
2012-06-11 07:30:49 +02:00
Supplements: packageand(kipi-plugins:marble)
2012-02-08 15:37:30 +01:00
%kde4_runtime_requires
%description -n kipi-plugins
A set of plug-ins for the KDE KIPI interface, used by some KDE imaging
applications.
2015-05-11 19:32:08 +02:00
%if 0%{?suse_version} <= 1320
2012-02-08 15:37:30 +01:00
%package -n libkgeomap-devel
Summary : Development files for libkgeomap
License : GPL-2.0+
Group : Development/Libraries/KDE
2014-11-28 08:47:10 +01:00
Requires : libkgeomap2 = %{version}
2012-02-08 15:37:30 +01:00
%description -n libkgeomap-devel
This package contains development files for libkgeomap.
2014-11-28 08:47:10 +01:00
%package -n libkgeomap2
2012-02-08 15:37:30 +01:00
Summary : World-Map Library interface for KDE
License : GPL-2.0+
Group : System/Libraries
Recommends: libkgeomap-lang = %{version}
2012-06-11 07:30:49 +02:00
Recommends: marble
2012-02-08 15:37:30 +01:00
# libkgeomap was last used at openSUSE 12.1 (version 2.2.0)
Provides : libkgeomap = %{version}
Obsoletes : libkgeomap < %{version}
2014-11-28 08:47:10 +01:00
# libkgeomap1 was last used at openSUSE 13.2 (version 4.4.0)
Obsoletes : libkgeomap1
2012-02-08 15:37:30 +01:00
2014-11-28 08:47:10 +01:00
%description -n libkgeomap2
2012-06-11 07:30:49 +02:00
Libkgeomap is a wrapper around different world-map components, to browse and
arrange photos over a map.
2012-02-08 15:37:30 +01:00
Currently supported map engine are:
- Marble
- OpenstreetMap (via Marble)
- GoogleMap
This library is used by kipi-plugins, digiKam and other kipi host programs.
2015-05-11 19:32:08 +02:00
%endif
2012-02-08 15:37:30 +01:00
2015-01-21 22:13:12 +01:00
%if 0%{?suse_version} < 1320
2012-02-08 15:37:30 +01:00
%package -n libkface-devel
Summary : Development files for libkface
2012-09-26 09:34:00 +02:00
License : BSD-3-Clause and GPL-2.0+ and LGPL-2.1+ and MIT
2012-02-08 15:37:30 +01:00
Group : Development/Libraries/KDE
2014-11-28 08:47:10 +01:00
Requires : libkface3 = %{version}
2012-02-08 15:37:30 +01:00
%description -n libkface-devel
This package contains development files for libkface.
2014-11-28 08:47:10 +01:00
%package -n libkface3
2012-02-08 15:37:30 +01:00
Summary : Wrapper around LibFace to perform face recognition and detection over pictures
2012-09-26 09:34:00 +02:00
License : BSD-3-Clause and GPL-2.0+ and LGPL-2.1+ and MIT
2012-02-08 15:37:30 +01:00
Group : System/Libraries
2014-11-28 08:47:10 +01:00
# libkface2 was last used at openSUSE 13.2 (version 4.4.0)
Obsoletes : libkface2
2012-02-08 15:37:30 +01:00
2014-11-28 08:47:10 +01:00
%description -n libkface3
2012-02-08 15:37:30 +01:00
Libkface is a Qt/C++ wrapper around LibFace to perform face recognition and
detection over pictures.
2015-01-21 22:13:12 +01:00
%endif
2012-02-08 15:37:30 +01:00
%package -n libmediawiki1
Summary : Interface for MediaWiki based web services
License : GPL-2.0+
Group : System/Libraries
Provides : libmediawiki = %{version}
%description -n libmediawiki1
libmediawiki is a KDE C++ interface for MediaWiki based web service as
wikipedia.org.
This package contains the shared library.
%package -n libmediawiki-devel
Summary : Development files for libmediawiki
License : GPL-2.0+
Group : Development/Libraries/C and C++
Requires : libmediawiki1 = %{version}
%description -n libmediawiki-devel
libmediawiki is a KDE C++ interface for MediaWiki based web service as
wikipedia.org.
This package contains the development files for libmediawiki.
2011-08-29 11:21:16 +02:00
%lang_package
2012-02-08 15:37:30 +01:00
2012-06-11 07:30:49 +02:00
%lang_package -n kipi-plugins
2012-02-08 15:37:30 +01:00
2015-05-11 19:32:08 +02:00
%if 0%{?suse_version} <= 1320
2012-06-11 07:30:49 +02:00
%lang_package -n libkgeomap
2015-05-11 19:32:08 +02:00
%endif
2012-02-08 15:37:30 +01:00
2009-04-21 00:00:19 +02:00
%prep
2014-04-23 17:31:45 +02:00
%setup -q -n %{name} -%{rversion}
2015-05-11 19:32:08 +02:00
%if 0%{?suse_version} <= 1320
# Don't unpack the libkgeomap translations for Tumbleweed as that they are being delivered through kde-l10n
2015-04-13 20:29:20 +02:00
tar -xjf %{SOURCE2}
2015-05-11 19:32:08 +02:00
%endif
2011-08-29 11:21:04 +02:00
%patch0
2012-02-08 15:37:30 +01:00
%patch3
2013-01-07 10:59:10 +01:00
%patch6 -p1
2014-11-28 08:47:10 +01:00
%patch7 -p1
2015-08-10 09:15:25 +02:00
%patch8 -p1
2011-11-16 17:17:41 +01:00
2011-08-29 11:21:04 +02:00
# Remove build time references so build-compare can do its work
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir} /%{name} .changes '+%%b %%e %%Y' )
2014-11-14 09:18:31 +01:00
sed -i " s / _ _ D A T E _ _ / \" $ F A K E _ B U I L D D A T E \" / " core/app/utils/version.h.cmake.in
2014-09-19 13:55:40 +02:00
sed -i " s / _ _ D A T E _ _ / \" $ F A K E _ B U I L D D A T E \" / g " extra/kipi-plugins/common/libkipiplugins/tools/kpversion.h.cmake.in
2012-02-08 15:37:30 +01:00
pushd extra/kipi-plugins
# Remove GPL-v2 only files
rm gpssync/borrowed/modeltest.cpp
rm gpssync/borrowed/modeltest.h
popd
2011-08-29 11:21:04 +02:00
2006-12-19 00:35:13 +01:00
%build
2014-05-26 14:40:25 +02:00
%if 0%{?suse_version} < 1320
2015-01-21 22:13:12 +01:00
EXTRA_FLAGS=" - D E N A B L E _ L C M S 2 = O F F - D D I G I K A M S C _ C O M P I L E _ L I B K F A C E = T R U E "
2014-05-26 14:40:25 +02:00
%else
EXTRA_FLAGS=" - D E N A B L E _ L C M S 2 = O N "
%endif
2015-05-11 19:32:08 +02:00
%if 0%{?suse_version} <= 1320
2015-08-02 22:44:13 +02:00
%cmake_kde4 -d build -- -DENABLE_MYSQLSUPPORT=TRUE -DENABLE_INTERNALMYSQL=FALSE -DENABLE_KDEPIMLIBSSUPPORT=TRUE -DDIGIKAMSC_COMPILE_LIBKGEOMAP=TRUE -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI=TRUE $EXTRA_FLAGS
2015-05-11 19:32:08 +02:00
%else
2015-08-02 22:44:13 +02:00
%cmake_kde4 -d build -- -DENABLE_MYSQLSUPPORT=TRUE -DENABLE_INTERNALMYSQL=FALSE -DENABLE_KDEPIMLIBSSUPPORT=TRUE -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI=TRUE $EXTRA_FLAGS
2015-05-11 19:32:08 +02:00
%endif
2015-01-25 21:16:03 +01:00
2012-06-19 21:40:44 +02:00
# there are files in there that are so heavy to the compiler, that one is enough
2013-06-11 06:06:44 +02:00
%make_jobs VERBOSE=1
2006-12-19 00:35:13 +01:00
%install
2012-11-12 11:40:46 +01:00
%kde4_makeinstall -C build
2011-03-09 13:35:58 +01:00
2011-08-29 11:21:04 +02:00
# Not needed, the package doesn't actually provide any shared libraries
rm -f %{buildroot} %{_kde4_libdir}/libdigikamcore.so
rm -f %{buildroot} %{_kde4_libdir}/libdigikamdatabase.so
2012-02-08 15:37:30 +01:00
rm -f %{buildroot} %{_kde4_libdir}/libkipiplugins.so
2012-06-11 07:30:49 +02:00
2012-02-08 15:37:30 +01:00
# Not needed
2014-04-23 17:31:45 +02:00
rm -fv %{buildroot} %{_kde4_libdir}/*.a
2012-02-08 15:37:30 +01:00
2011-08-29 11:21:04 +02:00
%if 0%{?suse_version}
%suse_update_desktop_file -r %{name} Qt KDE Graphics Photography
2012-06-11 07:30:49 +02:00
%suse_update_desktop_file -r showfoto Qt KDE Graphics Photography
2012-02-08 15:37:30 +01:00
%suse_update_desktop_file -r dngconverter Qt KDE Graphics Photography
%suse_update_desktop_file -r expoblending Qt KDE Graphics Photography
%suse_update_desktop_file -r panoramagui Qt KDE Graphics Photography
%suse_update_desktop_file -r scangui Qt KDE Graphics Scanning
2011-08-29 11:21:04 +02:00
%endif
2011-11-16 17:17:41 +01:00
%find_lang %{name}
2015-05-11 19:32:08 +02:00
%if 0%{?suse_version} <= 1320
2012-02-08 15:37:30 +01:00
%find_lang libkgeomap libkgeomap.lang
2015-05-11 19:32:08 +02:00
%endif
2012-02-08 15:37:30 +01:00
2013-01-07 10:59:10 +01:00
%if 0%{?kde_updatedapps}
2012-12-07 14:07:59 +01:00
%find_lang libkipi libkipi.lang
%else
rm -f %{buildroot} /usr/share/locale/*/LC_MESSAGES/libkipi.mo
%endif
2012-02-08 15:37:30 +01:00
%find_lang kipiplugins kipiplugin.lang
2015-08-02 22:44:13 +02:00
for l in acquireimages advancedslideshow batchprocessimages calendar debianscreenshots dlnaexport dngconverter dropbox expoblending facebook flashexport flickrexport galleryexport googledrive gpssync htmlexport imageshackexport imageviewer imgurexport ipodexport jalbumexport jpeglossless kioexportimport kmlexport kopete metadataedit panorama photivointegration photolayouteditor picasawebexport piwigoexport printimages rajceexport rawconverter removeredeyes sendimages shwup smug timeadjust videoslideshow vkontakte wallpaper wikimedia yandexfotki;
2012-02-08 15:37:30 +01:00
do
%find_lang kipiplugin_$l kipiplugin.lang
done
2013-01-07 10:59:10 +01:00
# this allows the icon to be used as an application icon safely
2013-06-13 16:38:55 +02:00
for res in 16x16 22x22 32x32 48x48 64x64 128x128
2013-01-07 10:59:10 +01:00
do
pushd %{buildroot} %{_kde4_iconsdir}/hicolor/$res/apps/
2013-06-13 16:38:55 +02:00
ln -s %{_kde4_iconsdir}/oxygen/$res/apps/rawconverter.png
2013-01-07 10:59:10 +01:00
popd
done
2013-06-13 16:38:55 +02:00
pushd %{buildroot} %{_kde4_iconsdir}/hicolor/scalable/apps/
ln -s %{_kde4_iconsdir}/oxygen/scalable/apps/rawconverter.svgz
popd
2013-01-07 10:59:10 +01:00
2011-08-29 11:21:04 +02:00
%fdupes -s %{buildroot}
2011-11-16 17:17:41 +01:00
2011-08-29 11:21:04 +02:00
%kde_post_install
2006-12-19 00:35:13 +01:00
2011-11-16 17:17:41 +01:00
%post -p /sbin/ldconfig
2011-11-08 17:25:52 +01:00
2008-05-17 02:33:21 +02:00
%postun -p /sbin/ldconfig
2006-12-19 00:35:13 +01:00
2012-06-11 07:30:49 +02:00
%post -n kipi-plugins -p /sbin/ldconfig
%postun -n kipi-plugins -p /sbin/ldconfig
2015-05-11 19:32:08 +02:00
%if 0%{?suse_version} <= 1320
2014-11-28 08:47:10 +01:00
%post -n libkgeomap2 -p /sbin/ldconfig
2012-06-11 07:30:49 +02:00
2014-11-28 08:47:10 +01:00
%postun -n libkgeomap2 -p /sbin/ldconfig
2015-05-11 19:32:08 +02:00
%endif
2012-06-11 07:30:49 +02:00
2015-01-21 22:13:12 +01:00
%if 0%{?suse_version} < 1320
2014-11-28 08:47:10 +01:00
%post -n libkface3 -p /sbin/ldconfig
2012-06-11 07:30:49 +02:00
2014-11-28 08:47:10 +01:00
%postun -n libkface3 -p /sbin/ldconfig
2015-01-21 22:13:12 +01:00
%endif
2012-06-11 07:30:49 +02:00
%post -n libmediawiki1 -p /sbin/ldconfig
%postun -n libmediawiki1 -p /sbin/ldconfig
2011-08-29 11:21:04 +02:00
%files
%defattr (-,root,root,-)
2014-11-28 08:47:10 +01:00
%doc core/{AUTHORS,COPYING,COPYING-CMAKE-SCRIPTS,COPYING.LIB,ChangeLog,NEWS,README}
2011-10-16 12:42:39 +02:00
%{_kde4_applicationsdir}/digikam.desktop
%{_kde4_applicationsdir}/showfoto.desktop
%{_kde4_appsdir}/digikam/
2012-06-11 07:30:49 +02:00
%{_kde4_appsdir}/kconf_update/adjustlevelstool.upd
2011-10-16 12:42:39 +02:00
%{_kde4_appsdir}/showfoto/
%{_kde4_appsdir}/solid
2011-08-29 11:21:04 +02:00
%{_kde4_bindir}/cleanup_digikamdb
%{_kde4_bindir}/digikam
%{_kde4_bindir}/digitaglinktree
%{_kde4_bindir}/showfoto
2013-01-07 10:59:10 +01:00
%dir %{_kde4_iconsdir}/hicolor/*
%dir %{_kde4_iconsdir}/hicolor/*/apps
2011-10-16 12:42:39 +02:00
%{_kde4_iconsdir}/hicolor/*/apps/digikam.*
%{_kde4_iconsdir}/hicolor/*/apps/showfoto.*
%{_kde4_libdir}/libdigikamcore.so.*
%{_kde4_libdir}/libdigikamdatabase.so.*
2011-08-29 11:21:04 +02:00
%{_kde4_modulesdir}/digikam*.so
%{_kde4_modulesdir}/kio_digikamalbums.so
%{_kde4_modulesdir}/kio_digikamdates.so
%{_kde4_modulesdir}/kio_digikammapimages.so
%{_kde4_modulesdir}/kio_digikamsearch.so
%{_kde4_modulesdir}/kio_digikamtags.so
2014-04-23 17:31:45 +02:00
%{_kde4_servicesdir}/digikam*
2011-08-29 11:21:04 +02:00
%{_kde4_servicetypesdir}/digikamimageplugin.desktop
2014-09-19 13:55:40 +02:00
%dir %{_kde4_datadir}/appdata
%{_kde4_datadir}/appdata/digikam.appdata.xml
%{_kde4_datadir}/appdata/showfoto.appdata.xml
%{_kde4_datadir}/appdata/digiKam-ImagePlugin*.metainfo.xml
2011-09-05 16:27:24 +02:00
%files doc
%defattr (-,root,root,-)
2012-06-11 07:30:49 +02:00
%doc COPYING.DOC
2014-04-23 17:31:45 +02:00
%doc %{_kde4_htmldir}/*/
2011-08-29 11:21:04 +02:00
%doc %{_mandir} /man1/cleanup_digikamdb.1%{ext_man}
2011-10-16 12:42:39 +02:00
%doc %{_mandir} /man1/digitaglinktree.1%{ext_man}
2011-03-09 13:35:58 +01:00
%files lang -f %{name}.lang
%defattr (-,root,root,-)
2015-08-02 22:44:13 +02:00
%exclude %{_kde4_htmldir}/
2007-12-10 23:50:32 +01:00
2012-02-08 15:37:30 +01:00
%files -n kipi-plugins
%defattr (-,root,root,-)
2013-06-13 16:38:55 +02:00
%doc extra/kipi-plugins/{AUTHORS,COPYING,COPYING-ADOBE,COPYING-CMAKE-SCRIPTS,ChangeLog,NEWS,README,TODO}
2012-02-08 15:37:30 +01:00
%{_kde4_applicationsdir}/*.desktop
%exclude %{_kde4_applicationsdir}/digikam.desktop
%exclude %{_kde4_applicationsdir}/showfoto.desktop
%exclude %{_kde4_applicationsdir}/scangui.desktop
%{_kde4_appsdir}/kipiplugin_*
2012-06-11 07:30:49 +02:00
%{_kde4_appsdir}/photolayoutseditor
2012-07-13 11:30:48 +02:00
%{_kde4_appsdir}/kipi/tips
2012-12-07 14:07:59 +01:00
%{_kde4_appsdir}/kipi/*ui.rc
2012-02-08 15:37:30 +01:00
%{_kde4_bindir}/dngconverter
%{_kde4_bindir}/expoblending
%{_kde4_bindir}/panoramagui
%{_kde4_bindir}/photolayoutseditor
2013-08-16 13:48:02 +02:00
%{_kde4_configkcfgdir}/photolayoutseditor.kcfg
%dir %{_kde4_iconsdir}/hicolor/24x24/apps
2012-02-08 15:37:30 +01:00
%{_kde4_iconsdir}/hicolor/*/actions/*.*
2014-04-23 17:31:45 +02:00
%{_kde4_iconsdir}/hicolor/*/apps/kipi-*.*
2013-08-16 13:48:02 +02:00
%exclude %{_kde4_iconsdir}/hicolor/*/apps/kipi-gpsimagetag.png
2012-02-08 15:37:30 +01:00
%{_kde4_iconsdir}/hicolor/*/apps/photolayoutseditor.*
2013-01-07 10:59:10 +01:00
%{_kde4_iconsdir}/hicolor/*/apps/rawconverter.*
2012-02-08 15:37:30 +01:00
%{_kde4_iconsdir}/oxygen/*/apps/rawconverter.*
2012-06-11 07:30:49 +02:00
%{_kde4_libdir}/libkipiplugins.so.*
2012-02-08 15:37:30 +01:00
%{_kde4_modulesdir}/kipiplugin_*.so
%exclude %{_kde4_modulesdir}/kipiplugin_acquireimages.so
%exclude %{_kde4_modulesdir}/kipiplugin_gpssync.so
%{_kde4_servicesdir}/kipiplugin_*.desktop
%exclude %{_kde4_servicesdir}/kipiplugin_acquireimages.desktop
%exclude %{_kde4_servicesdir}/kipiplugin_gpssync.desktop
%{_kde4_servicetypesdir}/photolayoutseditorborderplugin.desktop
%{_kde4_servicetypesdir}/photolayoutseditoreffectplugin.desktop
2012-06-11 07:30:49 +02:00
%dir %{_kde4_sharedir}/templates
%{_kde4_sharedir}/templates/kipiplugins_photolayoutseditor/
2012-02-08 15:37:30 +01:00
%files -n kipi-plugins-lang -f kipiplugin.lang
%defattr (-,root,root,-)
%exclude %{_kde4_htmldir}/en/kipi-plugins
%files -n kipi-plugins-acquireimage
%defattr (-,root,root,-)
%{_kde4_applicationsdir}/scangui.desktop
%{_kde4_bindir}/scangui
%{_kde4_modulesdir}/kipiplugin_acquireimages.so
%{_kde4_servicesdir}/kipiplugin_acquireimages.desktop
%files -n kipi-plugins-geolocation
%defattr (-,root,root)
%{_kde4_appsdir}/gpssync
2013-08-16 13:48:02 +02:00
%{_kde4_iconsdir}/hicolor/*/apps/kipi-gpsimagetag.png
2012-02-08 15:37:30 +01:00
%{_kde4_modulesdir}/kipiplugin_gpssync.so
%{_kde4_servicesdir}/kipiplugin_gpssync.desktop
2015-05-11 19:32:08 +02:00
%if 0%{?suse_version} <= 1320
2012-02-08 15:37:30 +01:00
%files -n libkgeomap-devel
%defattr (-,root,root,-)
2014-11-28 08:47:10 +01:00
%doc extra/libkgeomap/{AUTHORS,COPYING,COPYING-CMAKE-SCRIPTS,COPYING.LIB,README,TODO}
2012-02-08 15:37:30 +01:00
%{_kde4_appsdir}/cmake/modules/FindKGeoMap.cmake
2012-06-11 07:30:49 +02:00
%{_kde4_includedir}/libkgeomap/
2012-02-08 15:37:30 +01:00
%{_kde4_libdir}/pkgconfig/libkgeomap.pc
%{_kde4_libdir}/libkgeomap.so
%files -n libkgeomap-lang -f libkgeomap.lang
%defattr (-,root,root,-)
2014-11-28 08:47:10 +01:00
%files -n libkgeomap2
2012-02-08 15:37:30 +01:00
%defattr (-,root,root,-)
%{_kde4_appsdir}/libkgeomap/
2014-11-28 08:47:10 +01:00
%{_kde4_libdir}/libkgeomap.so.2*
2015-05-11 19:32:08 +02:00
%endif
2012-02-08 15:37:30 +01:00
2015-01-21 22:13:12 +01:00
%if 0%{?suse_version} < 1320
2014-11-28 08:47:10 +01:00
%files -n libkface3
2012-02-08 15:37:30 +01:00
%defattr (-,root,root,-)
%{_kde4_appsdir}/libkface
2014-11-28 08:47:10 +01:00
%{_kde4_libdir}/libkface.so.3*
2012-02-08 15:37:30 +01:00
%files -n libkface-devel
%defattr (-,root,root,-)
2013-06-13 16:38:55 +02:00
%doc extra/libkface/{AUTHORS,COPYING,COPYING-CMAKE-SCRIPTS,COPYING.LIB,README,TODO}
2012-02-08 15:37:30 +01:00
%{_kde4_libdir}/libkface.so
2012-06-11 07:30:49 +02:00
%{_kde4_includedir}/libkface/
2012-02-08 15:37:30 +01:00
%{_kde4_libdir}/pkgconfig/libkface.pc
2014-11-28 08:47:10 +01:00
%dir %{_kde4_libdir}/cmake/Kface-3.5.0/
%{_kde4_libdir}/cmake/Kface-3.5.0/*.cmake
2015-01-21 22:13:12 +01:00
%endif
2012-02-08 15:37:30 +01:00
%files -n libmediawiki1
%defattr (-,root,root,-)
2012-06-11 07:30:49 +02:00
%{_kde4_libdir}/libmediawiki.so.1*
2012-02-08 15:37:30 +01:00
%files -n libmediawiki-devel
%defattr (-,root,root,-)
2013-06-13 16:38:55 +02:00
%doc extra/libmediawiki/{AUTHORS,COPYING,COPYING-CMAKE-SCRIPTS,COPYING.LIB,README,TODO}
2012-06-11 07:30:49 +02:00
%{_kde4_includedir}/libmediawiki/
%{_kde4_libdir}/libmediawiki.so
%{_kde4_libdir}/pkgconfig/libmediawiki.pc
2012-02-08 15:37:30 +01:00
%{_kde4_appsdir}/cmake/modules/FindMediawiki.cmake
2007-03-06 19:08:31 +01:00
%changelog