2006-12-19 00:35:13 +01:00
|
|
|
#
|
2009-04-21 00:00:19 +02:00
|
|
|
# spec file for package digikam (Version 0.10.0)
|
2006-12-19 00:35:13 +01:00
|
|
|
#
|
2009-01-20 01:00:53 +01:00
|
|
|
# Copyright (c) 2009 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-05-08 23:04:55 +02:00
|
|
|
|
2006-12-19 00:35:13 +01:00
|
|
|
Name: digikam
|
2009-04-21 00:00:19 +02:00
|
|
|
BuildRequires: graphviz-devel libgphoto2-devel libkdepimlibs4-devel libqimageblitz-devel sqlite-devel
|
2009-07-25 18:55:45 +02:00
|
|
|
BuildRequires: libkdcraw-devel libkexiv2-devel libkipi-devel marble-devel
|
2007-04-20 15:55:37 +02:00
|
|
|
%if %suse_version > 1020
|
2009-04-21 00:00:19 +02:00
|
|
|
BuildRequires: imlib-devel libjasper-devel
|
2007-04-20 15:55:37 +02:00
|
|
|
%else
|
|
|
|
BuildRequires: libjasper
|
|
|
|
%endif
|
2009-04-21 00:00:19 +02:00
|
|
|
Url: http://www.digikam.org/
|
2007-07-11 10:44:29 +02:00
|
|
|
License: GPL v2 or later
|
|
|
|
Group: Productivity/Graphics/Viewers
|
2006-12-19 00:35:13 +01:00
|
|
|
Summary: A KDE Photo Manager
|
2009-04-21 00:00:19 +02:00
|
|
|
Version: 0.10.0
|
2009-08-21 17:56:21 +02:00
|
|
|
Release: 6
|
2009-04-21 00:00:19 +02:00
|
|
|
%define tar_version 0.10.0
|
|
|
|
Source0: %name-%{tar_version}.tar.bz2
|
|
|
|
Patch: CMakeLists.txt.diff
|
2006-12-19 00:35:13 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-07-23 18:22:14 +02:00
|
|
|
%kde4_runtime_requires
|
|
|
|
Recommends: kipi-plugins
|
2009-04-21 00:00:19 +02:00
|
|
|
Requires: oxygen-icon-theme
|
2007-05-11 15:32:30 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2009-06-02 12:59:52 +02:00
|
|
|
Provides: kde4-digikam = 0.10.0
|
2009-07-23 18:22:14 +02:00
|
|
|
Requires: libqt4-sql-sqlite
|
2009-06-02 12:59:52 +02:00
|
|
|
Obsoletes: kde4-digikam <= 0.10.0
|
2006-12-19 00:35:13 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
digiKam is a simple digital photo management application for KDE, which
|
2007-08-24 01:01:37 +02:00
|
|
|
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.
|
2006-12-19 00:35:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-23 23:16:18 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Renchi Raju <renchi@green.tam.uiuc.edu>
|
|
|
|
|
2009-04-21 00:00:19 +02:00
|
|
|
%package devel
|
2008-05-08 23:04:55 +02:00
|
|
|
License: GPL v2 or later
|
2007-07-11 10:44:29 +02:00
|
|
|
Group: Productivity/Graphics/Viewers
|
2009-04-21 00:00:19 +02:00
|
|
|
Summary: A KDE Photo Manager Build Environment
|
|
|
|
Requires: %name = %{version}
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
2009-04-21 00:00:19 +02:00
|
|
|
Renchi Raju <renchi@green.tam.uiuc.edu>
|
2007-06-19 00:15:24 +02:00
|
|
|
|
2007-05-11 15:32:30 +02:00
|
|
|
%lang_package
|
2009-04-21 00:00:19 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n %name-%{tar_version}
|
|
|
|
%patch
|
2006-12-19 00:35:13 +01:00
|
|
|
|
|
|
|
%build
|
2009-04-21 00:00:19 +02:00
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
2006-12-19 00:35:13 +01:00
|
|
|
|
|
|
|
%install
|
2009-04-21 00:00:19 +02:00
|
|
|
cd build
|
|
|
|
%makeinstall
|
|
|
|
# Move the icons back to /usr/share/icons/hicolor because digikam started installing only to datadir/icons, relying on the theme.
|
|
|
|
# This is wrong - only oxygen provides a digikam icon
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/
|
|
|
|
for i in {16,22,32,48,64,128}; do mv $RPM_BUILD_ROOT/usr/share/kde4/apps/digikam/icons/oxygen/"$i"x"$i"/apps/digikam.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$i"x"$i"/apps/;done
|
|
|
|
for i in {16,22,32,48,64,128}; do mv $RPM_BUILD_ROOT/usr/share/kde4/apps/digikam/icons/oxygen/"$i"x"$i"/apps/showfoto.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$i"x"$i"/apps/;done
|
|
|
|
cd ..
|
|
|
|
%suse_update_desktop_file digikam Graphics Photography
|
2009-08-21 17:56:21 +02:00
|
|
|
%suse_update_desktop_file -G "Photo Editor" showfoto Graphics Photography
|
2009-04-21 00:00:19 +02:00
|
|
|
%find_lang %name
|
|
|
|
%kde_post_install
|
2006-12-19 00:35:13 +01:00
|
|
|
|
2008-05-17 02:33:21 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2006-12-19 00:35:13 +01:00
|
|
|
|
2008-05-17 02:33:21 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2006-12-19 00:35:13 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2009-04-21 00:00:19 +02:00
|
|
|
rm -rf filelists
|
2006-12-19 00:35:13 +01:00
|
|
|
|
2009-04-21 00:00:19 +02:00
|
|
|
%files devel
|
2008-06-30 15:25:22 +02:00
|
|
|
%defattr(-,root,root)
|
2009-04-21 00:00:19 +02:00
|
|
|
/usr/include/digikam
|
|
|
|
/usr/include/digikam_export.h
|
|
|
|
%_libdir/libdigikamcore.so
|
|
|
|
%_libdir/libdigikamdatabase.so
|
2007-05-11 15:32:30 +02:00
|
|
|
|
2009-04-21 00:00:19 +02:00
|
|
|
%files lang -f %name.lang
|
2008-06-30 15:25:22 +02:00
|
|
|
%defattr(-,root,root)
|
2007-05-17 11:27:45 +02:00
|
|
|
|
2009-04-21 00:00:19 +02:00
|
|
|
%files
|
2006-12-19 00:35:13 +01:00
|
|
|
%defattr(-,root,root)
|
2009-04-21 00:00:19 +02:00
|
|
|
/usr/bin/digikam
|
|
|
|
/usr/bin/digikamthemedesigner
|
|
|
|
/usr/bin/digitaglinktree
|
|
|
|
/usr/bin/showfoto
|
|
|
|
%_kde4_modules/digikamimageplugin_adjustcurves.so
|
|
|
|
%_kde4_modules/digikamimageplugin_adjustlevels.so
|
|
|
|
%_kde4_modules/digikamimageplugin_blurfx.so
|
|
|
|
%_kde4_modules/digikamimageplugin_border.so
|
|
|
|
%_kde4_modules/digikamimageplugin_channelmixer.so
|
|
|
|
%_kde4_modules/digikamimageplugin_charcoal.so
|
|
|
|
%_kde4_modules/digikamimageplugin_colorfx.so
|
|
|
|
%_kde4_modules/digikamimageplugin_core.so
|
|
|
|
%_kde4_modules/digikamimageplugin_distortionfx.so
|
|
|
|
%_kde4_modules/digikamimageplugin_emboss.so
|
|
|
|
%_kde4_modules/digikamimageplugin_filmgrain.so
|
|
|
|
%_kde4_modules/digikamimageplugin_freerotation.so
|
|
|
|
%_kde4_modules/digikamimageplugin_hotpixels.so
|
|
|
|
%_kde4_modules/digikamimageplugin_infrared.so
|
|
|
|
%_kde4_modules/digikamimageplugin_inpainting.so
|
|
|
|
%_kde4_modules/digikamimageplugin_inserttext.so
|
|
|
|
%_kde4_modules/digikamimageplugin_lenscorrection.so
|
|
|
|
%_kde4_modules/digikamimageplugin_noisereduction.so
|
|
|
|
%_kde4_modules/digikamimageplugin_oilpaint.so
|
|
|
|
%_kde4_modules/digikamimageplugin_perspective.so
|
|
|
|
%_kde4_modules/digikamimageplugin_raindrop.so
|
|
|
|
%_kde4_modules/digikamimageplugin_restoration.so
|
|
|
|
%_kde4_modules/digikamimageplugin_sheartool.so
|
|
|
|
%_kde4_modules/digikamimageplugin_superimpose.so
|
|
|
|
%_kde4_modules/digikamimageplugin_texture.so
|
|
|
|
%_kde4_modules/digikamimageplugin_whitebalance.so
|
|
|
|
%_kde4_modules/kio_digikamalbums.so
|
|
|
|
%_kde4_modules/kio_digikamdates.so
|
|
|
|
%_kde4_modules/kio_digikamsearch.so
|
|
|
|
%_kde4_modules/kio_digikamtags.so
|
|
|
|
%_libdir/libdigikamcore.so.*
|
|
|
|
%_libdir/libdigikamdatabase.so.*
|
|
|
|
/usr/share/applications/kde4/digikam.desktop
|
|
|
|
/usr/share/applications/kde4/showfoto.desktop
|
|
|
|
/usr/share/icons/hicolor/128x128/apps/digikam.png
|
|
|
|
/usr/share/icons/hicolor/128x128/apps/showfoto.png
|
|
|
|
/usr/share/icons/hicolor/16x16/apps/digikam.png
|
|
|
|
/usr/share/icons/hicolor/16x16/apps/showfoto.png
|
|
|
|
/usr/share/icons/hicolor/22x22/apps/digikam.png
|
|
|
|
/usr/share/icons/hicolor/22x22/apps/showfoto.png
|
|
|
|
/usr/share/icons/hicolor/32x32/apps/digikam.png
|
|
|
|
/usr/share/icons/hicolor/32x32/apps/showfoto.png
|
|
|
|
/usr/share/icons/hicolor/48x48/apps/digikam.png
|
|
|
|
/usr/share/icons/hicolor/48x48/apps/showfoto.png
|
|
|
|
/usr/share/icons/hicolor/64x64/apps/digikam.png
|
|
|
|
/usr/share/icons/hicolor/64x64/apps/showfoto.png
|
|
|
|
%_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/digikamimageplugin_adjustcurves.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_adjustlevels.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_blurfx.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_border.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_channelmixer.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_charcoal.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_colorfx.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_core.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_distortionfx.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_emboss.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_filmgrain.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_freerotation.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_hotpixels.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_infrared.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_inpainting.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_inserttext.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_lenscorrection.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_noisereduction.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_oilpaint.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_perspective.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_raindrop.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_restoration.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_sheartool.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_superimpose.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_texture.desktop
|
|
|
|
%_kde_share_dir/services/digikamimageplugin_whitebalance.desktop
|
|
|
|
%_kde_share_dir/services/digikamsearch.protocol
|
|
|
|
%_kde_share_dir/services/digikamtags.protocol
|
|
|
|
%_kde_share_dir/servicetypes/digikamimageplugin.desktop
|
|
|
|
%_kde_share_dir/apps/showfoto/data/logo-showfoto.png
|
|
|
|
%_kde_share_dir/apps/showfoto/data/splash-showfoto.png
|
|
|
|
%_kde_share_dir/apps/showfoto/showfotoui.rc
|
2006-12-19 00:35:13 +01:00
|
|
|
/usr/share/man/man1/digitaglinktree.1.gz
|
2009-04-21 00:00:19 +02:00
|
|
|
%dir /usr/share/kde4/apps/solid
|
|
|
|
%dir /usr/share/kde4/apps/solid/actions
|
|
|
|
/usr/share/kde4/apps/solid/actions/digikam-opencamera.desktop
|
2007-12-10 23:50:32 +01:00
|
|
|
|
2007-03-06 19:08:31 +01:00
|
|
|
%changelog
|