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
|
|
|
#
|
2016-01-23 01:13:29 +01:00
|
|
|
# Copyright (c) 2016 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-11-04 15:32:28 +01:00
|
|
|
Version: 4.14.0
|
2011-12-14 14:33:09 +01:00
|
|
|
Release: 0
|
2015-11-04 15:32:28 +01:00
|
|
|
%define rversion 4.14.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
|
2016-01-23 01:13:29 +01:00
|
|
|
Source1: digikam-libs.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
|
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
|
2016-01-23 01:13:29 +01:00
|
|
|
%if 0%{?suse_version} <= 1310 || 0%{?suse_version} == 1320
|
|
|
|
BuildRequires: libkdcraw-devel
|
|
|
|
BuildRequires: libkexiv2-devel
|
|
|
|
BuildRequires: libkface-devel
|
2015-11-04 15:32:28 +01:00
|
|
|
BuildRequires: libkgeomap-devel
|
2016-01-23 01:13:29 +01:00
|
|
|
BuildRequires: libksane-devel
|
|
|
|
BuildRequires: libmediawiki-devel
|
|
|
|
BuildRequires: pkgconfig(libkipi) >= 2.0.0
|
|
|
|
# libkgeomap package provides older lib with same so name.
|
|
|
|
Requires: libkgeomap2
|
|
|
|
%else
|
|
|
|
BuildRequires: libexiv2-devel
|
|
|
|
BuildRequires: libmarblewidget-devel
|
|
|
|
BuildRequires: libraw-devel
|
|
|
|
BuildRequires: sane-backends-devel
|
|
|
|
%endif
|
2014-05-10 08:32:08 +02:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
2014-09-19 13:55:40 +02:00
|
|
|
%if 0%{?suse_version} > 1310
|
|
|
|
BuildRequires: baloo-devel
|
|
|
|
%endif
|
2015-01-21 22:13:12 +01:00
|
|
|
%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
|
2011-08-29 11:21:04 +02:00
|
|
|
BuildRequires: libkde4-devel
|
2011-03-09 13:35:58 +01:00
|
|
|
BuildRequires: libkdepimlibs4-devel
|
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-04-02 19:53:35 +02:00
|
|
|
BuildRequires: libkvkontakte-devel
|
2015-10-12 10:01:30 +02:00
|
|
|
%if 0%{?suse_version} < 1320 && !0%{?is_opensuse}
|
|
|
|
# from 13.2 upwards, and also Leap 42.1 (1315 && is_opensuse) we prefer lcms2
|
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
|
2015-10-12 10:01:30 +02:00
|
|
|
%if 0%{?suse_version} <= 1320 && !0%{?is_opensuse}
|
2012-02-08 15:37:30 +01:00
|
|
|
BuildRequires: marble-devel
|
2015-10-12 10:01:30 +02:00
|
|
|
%endif
|
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
|
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
|
2016-01-23 01:13:29 +01:00
|
|
|
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
|
|
|
Requires: digikam-libs
|
|
|
|
%endif
|
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
|
2016-01-23 01:13:29 +01:00
|
|
|
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
|
|
|
Requires: digikam-libs
|
|
|
|
%endif
|
2012-02-08 15:37:30 +01:00
|
|
|
|
|
|
|
%description -n kipi-plugins
|
|
|
|
A set of plug-ins for the KDE KIPI interface, used by some KDE imaging
|
|
|
|
applications.
|
|
|
|
|
2016-01-23 01:13:29 +01:00
|
|
|
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
|
|
|
%package libs
|
|
|
|
Summary: Libraries required to run digikam
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Graphics/Viewers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
#Require the lib for the shared icons
|
|
|
|
Requires: libKF5Kipi30_0_0
|
|
|
|
Requires: marble-data
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
These are the libraries libkipi, libkdcraw, libkgeomap, libkexiv2, libksane and libkface which are
|
|
|
|
required for digikam to run. Upstream these libraries have moved to KF5, but digikam is still KDE4 based
|
|
|
|
%endif
|
|
|
|
|
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
|
|
|
|
2009-04-21 00:00:19 +02:00
|
|
|
%prep
|
2016-01-23 01:13:29 +01:00
|
|
|
%setup -q -n %{name}-%{rversion} -a 1
|
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
|
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/__DATE__/\"$FAKE_BUILDDATE\"/" core/app/utils/version.h.cmake.in
|
2014-09-19 13:55:40 +02:00
|
|
|
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/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
|
2015-10-12 10:01:30 +02:00
|
|
|
%if 0%{?suse_version} < 1320 && !0%{?is_opensuse}
|
2015-11-04 15:32:28 +01:00
|
|
|
EXTRA_FLAGS="-DENABLE_LCMS2=OFF"
|
2014-05-26 14:40:25 +02:00
|
|
|
%else
|
|
|
|
EXTRA_FLAGS="-DENABLE_LCMS2=ON"
|
|
|
|
%endif
|
2016-01-23 01:13:29 +01:00
|
|
|
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
|
|
|
EXTRA_FLAGS+=" -DDIGIKAMSC_COMPILE_LIBKIPI=ON -DDIGIKAMSC_COMPILE_LIBKEXIV2=ON -DDIGIKAMSC_COMPILE_LIBKDCRAW=ON"
|
|
|
|
EXTRA_FLAGS+=" -DDIGIKAMSC_COMPILE_LIBKSANE=ON -DDIGIKAMSC_COMPILE_LIBKFACE=ON"
|
|
|
|
EXTRA_FLAGS+=" -DDIGIKAMSC_COMPILE_LIBKGEOMAP=ON -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI=ON"
|
|
|
|
%endif
|
2015-11-04 15:32:28 +01:00
|
|
|
%cmake_kde4 -d build -- -DENABLE_MYSQLSUPPORT=TRUE -DENABLE_INTERNALMYSQL=FALSE -DENABLE_KDEPIMLIBSSUPPORT=TRUE $EXTRA_FLAGS
|
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}
|
|
|
|
|
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-09-17 09:16:49 +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 photolayouteditor piwigoexport printimages rajceexport rawconverter removeredeyes sendimages shwup smug timeadjust videoslideshow vkontakte 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
|
|
|
|
|
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
|
|
|
|
|
2016-01-23 01:13:29 +01:00
|
|
|
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/cmake/Kface-3.5.0/
|
|
|
|
%_libdir/cmake/libkexiv2-2.4.0/
|
|
|
|
%_libdir/libkdcraw.so*
|
|
|
|
%_libdir/libkexiv2.so*
|
|
|
|
%_libdir/libkface.so*
|
|
|
|
%_libdir/libkgeomap.so*
|
|
|
|
%_libdir/libkipi.so*
|
|
|
|
%_libdir/libksane.so*
|
|
|
|
%_libdir/libmediawiki.so*
|
|
|
|
%_kde4_iconsdir/hicolor/*/apps/kdcraw.png
|
|
|
|
# maybe not the best way to do this, but it works and is easier to remove later
|
|
|
|
%exclude %_kde4_iconsdir/hicolor/*/apps/kipi.png
|
|
|
|
%_kde4_appsdir/kipi/
|
|
|
|
%_kde4_appsdir/libkdcraw/
|
|
|
|
%_kde4_appsdir/libkexiv2/
|
|
|
|
%_kde4_appsdir/libkface/
|
|
|
|
%_kde4_appsdir/libkgeomap/
|
|
|
|
%_kde4_servicetypesdir/kipiplugin.desktop
|
|
|
|
%exclude %_kde4_appsdir/kipi/kipiplugin_*
|
|
|
|
%exclude %_kde4_appsdir/kipi/tips
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2007-03-06 19:08:31 +01:00
|
|
|
%changelog
|