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
|
|
|
#
|
2011-01-03 11:05:39 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
2011-03-09 13:36:07 +01:00
|
|
|
|
2011-08-04 10:14:41 +02:00
|
|
|
# if you want to use external libs as opposite to the ones provided inside check that they are compatible with the core
|
2011-03-09 13:36:07 +01:00
|
|
|
|
2006-12-19 00:35:13 +01:00
|
|
|
Name: digikam
|
2011-08-04 10:14:41 +02:00
|
|
|
Version: 2.0.0
|
|
|
|
Release: 1
|
|
|
|
License: GPLv2+
|
2011-03-09 13:35:58 +01:00
|
|
|
Summary: A KDE Photo Manager
|
2009-04-21 00:00:19 +02:00
|
|
|
Url: http://www.digikam.org/
|
2007-07-11 10:44:29 +02:00
|
|
|
Group: Productivity/Graphics/Viewers
|
2011-08-04 10:14:41 +02:00
|
|
|
Source0: http://sourceforge.net/projects/digikam/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
Patch1: digikam-buildtime.patch
|
|
|
|
Patch2: digikam-external-libs.patch
|
2011-03-09 13:35:58 +01:00
|
|
|
BuildRequires: doxygen
|
2011-08-04 10:14:41 +02:00
|
|
|
BuildRequires: graphviz-devel
|
2011-03-09 13:35:58 +01:00
|
|
|
BuildRequires: lensfun-devel
|
2011-08-04 10:14:41 +02:00
|
|
|
BuildRequires: libexiv2-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libgcrypt-devel
|
2011-03-09 13:35:58 +01:00
|
|
|
BuildRequires: libgphoto2-devel
|
2011-08-04 10:14:41 +02:00
|
|
|
BuildRequires: libgpod-devel
|
2011-03-09 13:35:58 +01:00
|
|
|
BuildRequires: libjasper-devel
|
|
|
|
BuildRequires: libkdcraw-devel
|
|
|
|
BuildRequires: libkdepimlibs4-devel
|
|
|
|
BuildRequires: libkexiv2-devel
|
2011-08-04 10:14:41 +02:00
|
|
|
BuildRequires: libkface-devel
|
2011-03-09 13:35:58 +01:00
|
|
|
BuildRequires: libkipi-devel
|
2011-08-04 10:14:41 +02:00
|
|
|
BuildRequires: libkgeomap-devel
|
|
|
|
BuildRequires: libksane-devel
|
2011-03-09 13:35:58 +01:00
|
|
|
BuildRequires: liblqr-devel
|
2011-08-04 10:14:41 +02:00
|
|
|
BuildRequires: libqca2-devel
|
|
|
|
BuildRequires: libqimageblitz-devel
|
|
|
|
BuildRequires: libqjson-devel
|
2011-03-09 13:35:58 +01:00
|
|
|
BuildRequires: marble-devel
|
2011-08-04 10:14:41 +02:00
|
|
|
BuildRequires: opencv-devel
|
|
|
|
BuildRequires: soprano-backend-redland
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
Requires: kipi-plugins >= 2.0.0
|
|
|
|
Requires: oxygen-icon-theme
|
2010-09-24 01:02:25 +02:00
|
|
|
Recommends: %{name}-lang = %{version}
|
2011-08-04 10:14:41 +02:00
|
|
|
Recommends: %{name}-doc = %{version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%kde4_runtime_requires
|
|
|
|
%kde4_pimlibs_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
|
|
|
|
2009-04-21 00:00:19 +02:00
|
|
|
%package devel
|
2011-08-04 10:14:41 +02:00
|
|
|
License: GPLv2+
|
2010-04-01 10:07:51 +02:00
|
|
|
Summary: Development Headers for Digikam
|
2011-03-09 13:35:58 +01:00
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} = %{version}
|
2011-08-04 10:14:41 +02:00
|
|
|
Requires: kipi-plugins >= 1.9.0
|
2007-06-19 00:15:24 +02:00
|
|
|
|
2009-04-21 00:00:19 +02:00
|
|
|
%description devel
|
|
|
|
digiKam is a simple digital photo management application for KDE. This
|
|
|
|
package contains its build environment.
|
2007-06-19 00:15:24 +02:00
|
|
|
|
2011-08-04 10:14:41 +02:00
|
|
|
%package doc
|
|
|
|
License: LGPLv2.1+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Summary: Documentation for Digikam
|
2007-06-19 00:15:24 +02:00
|
|
|
|
2011-08-04 10:14:41 +02:00
|
|
|
%description doc
|
|
|
|
This package contains the documentation for Digikam
|
2011-03-09 13:35:58 +01:00
|
|
|
|
2011-03-09 13:36:07 +01:00
|
|
|
%lang_package
|
2011-08-04 10:14:41 +02:00
|
|
|
|
2009-04-21 00:00:19 +02:00
|
|
|
%prep
|
2011-08-04 10:14:41 +02:00
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
rm po/*/kipi*
|
2010-05-18 01:47:43 +02:00
|
|
|
%patch1
|
2011-06-21 09:57:37 +02:00
|
|
|
%patch2
|
2006-12-19 00:35:13 +01:00
|
|
|
|
|
|
|
%build
|
2011-08-04 10:14:41 +02:00
|
|
|
%cmake_kde4 -d build -- -DENABLE_INTERNALMYSQL=FALSE
|
|
|
|
%make_jobs
|
2006-12-19 00:35:13 +01:00
|
|
|
|
|
|
|
%install
|
2011-08-04 10:14:41 +02:00
|
|
|
cd build
|
|
|
|
%makeinstall
|
|
|
|
cd ..
|
|
|
|
%suse_update_desktop_file digikam Graphics Photography
|
|
|
|
%suse_update_desktop_file showfoto Graphics Photography
|
2011-03-09 13:35:58 +01:00
|
|
|
|
2011-08-04 10:14:41 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/locale/x-test
|
|
|
|
rm -rf %{buildroot}%{_kde4_htmldir}/en/kipi-plugins
|
2011-03-09 13:35:58 +01:00
|
|
|
|
|
|
|
%find_lang %{name} --all-name
|
|
|
|
|
2011-08-04 10:14:41 +02:00
|
|
|
%kde_post_install
|
2006-12-19 00:35:13 +01:00
|
|
|
|
2008-05-17 02:33:21 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2006-12-19 00:35:13 +01:00
|
|
|
|
|
|
|
%clean
|
2011-03-09 13:35:58 +01:00
|
|
|
rm -rf %{buildroot}
|
2011-08-04 10:14:41 +02:00
|
|
|
rm -rf filelists
|
2011-03-09 13:35:58 +01:00
|
|
|
|
|
|
|
%files devel
|
2011-08-04 10:14:41 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libdigikamcore.so
|
|
|
|
%{_libdir}/libdigikamdatabase.so
|
2011-03-09 13:35:58 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
2011-08-04 10:14:41 +02:00
|
|
|
%exclude %{_kde4_htmldir}/en/digikam
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_kde4_htmldir}/en/digikam
|
|
|
|
%dir %{_kde4_htmldir}/en/showfoto
|
|
|
|
%doc %{_kde4_htmldir}/en/digikam/*
|
|
|
|
%doc %{_kde4_htmldir}/en/showfoto/*
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc core/ChangeLog core/NEWS
|
|
|
|
%{_bindir}/digikam
|
|
|
|
%{_bindir}/digitaglinktree
|
|
|
|
%{_bindir}/showfoto
|
|
|
|
%{_bindir}/cleanup_digikamdb
|
|
|
|
%_kde4_modules/digikam*.so
|
|
|
|
%_kde4_modules/kio_digikamalbums.so
|
|
|
|
%_kde4_modules/kio_digikamdates.so
|
|
|
|
%_kde4_modules/kio_digikamsearch.so
|
|
|
|
%_kde4_modules/kio_digikamtags.so
|
|
|
|
%{_datadir}/applications/kde4/digikam.desktop
|
|
|
|
%{_datadir}/applications/kde4/showfoto.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/digikam.*
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/showfoto.*
|
|
|
|
%_kde_share_dir/apps/digikam
|
|
|
|
%_kde_share_dir/apps/showfoto
|
|
|
|
%_kde_share_dir/services/digikamalbums.protocol
|
|
|
|
%_kde_share_dir/services/digikamdates.protocol
|
|
|
|
%_kde_share_dir/services/digikam*.desktop
|
|
|
|
%_kde_share_dir/services/digikamsearch.protocol
|
|
|
|
%_kde_share_dir/services/digikamtags.protocol
|
|
|
|
%_kde_share_dir/servicetypes/digikamimageplugin.desktop
|
|
|
|
%{_mandir}/man1/digitaglinktree.1.gz
|
|
|
|
%{_mandir}/man1/cleanup_digikamdb.1.gz
|
|
|
|
|
|
|
|
%dir %{_datadir}/kde4/apps/solid
|
|
|
|
%dir %{_datadir}/kde4/apps/solid/actions
|
|
|
|
%_kde_share_dir/apps/solid/actions/digikam-opencamera.desktop
|
|
|
|
%{_libdir}/libdigikamcore.so.*
|
|
|
|
%{_libdir}/libdigikamdatabase.so.*
|
|
|
|
%_kde4_modulesdir/kio_digikammapimages.so
|
|
|
|
%_kde4_servicesdir/digikammapimages.protocol
|
2007-12-10 23:50:32 +01:00
|
|
|
|
2007-03-06 19:08:31 +01:00
|
|
|
%changelog
|