File kde4-kipi-plugins.spec of Package kde4-kipi-plugins

#
# spec file for package kde4-kipi-plugins (Version 0.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Url:            http://www.kipi-plugins.org/

Name:           kde4-kipi-plugins
BuildRequires:  imlib2-devel libkde4-devel
BuildRequires:  libkdcraw7-devel libkexiv2-7-devel libkipi6-devel
BuildRequires:  cmake kdegraphics4 libexpat-devel libgcrypt-devel libkdepim4-devel
BuildRequires:  libgphoto2-devel libksane-devel
%if %suse_version > 1020
#BuildRequires:  libgpod-devel
%endif
License:        GPL v2 or later
Group:          Productivity/Graphics/Other
Summary:        KDE Plug-Ins for Image Manipulation
Version:        0.2
Release:        2
%define rversion 0.2.0
Recommends:     dcraw
Requires:       /usr/bin/jpegtran
Requires:       %{name}-lang = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        kipi-plugins-%{rversion}.tar.bz2

%description
A set of plug-ins for the KDE KIPI interface, used by some KDE imaging
applications.



Authors:
--------
    Renchi Raju <renchi at pooh.tam.uiuc.edu>
    Gilles Caulier <caulier dot gilles at free.fr>
    Jesper K. Pedersen <blackie at kde.org>
    
    CONTRIBUTORS :
    Aurelien Gateau <aurelien dot gateau at free.fr>
    Todd Shoemaker <todd at theshoemakers.net>
    Gregory Kokanosky <gregory dot kokanosky at free.fr>
    Richard Groult <Richard dot Groult at jalix.org>
    Ralf Hoelzer <kde at ralfhoelzer dot com>

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig
%lang_package

%prep
%setup -q -n kipi-plugins-%rversion

%build
%cmake_kde4 -d build
%make_jobs

%install
cd build
%makeinstall
cd ..
%kde_post_install
rm -rf $RPM_BUILD_ROOT/usr/share/locale/x-test
rm $RPM_BUILD_ROOT/usr/share/applications/kde4/dngconverter.desktop
for l in kipiplugin_acquireimages kipiplugin_batchprocessimages kipiplugin_dngconverter kipiplugin_flashexport kipiplugin_flickrexport kipiplugin_galleryexport kipiplugin_gpssync kipiplugin_htmlexport kipiplugin_imageviewer kipiplugin_jpeglossless kipiplugin_metadataedit kipiplugin_picasawebexport kipiplugin_rawconverter kipiplugin_sendimages kipiplugin_advancedslideshow kipiplugin_timeadjust kipiplugin_wallpaper kipiplugins kipiplugin_calendar kipiplugin_ipodexport kipiplugin_removeredeyes kipiplugin_facebook kipiplugin_smug kipiplugin_printimages; do
  %find_lang $l suse.lang
done

%clean
rm -rf $RPM_BUILD_ROOT

%files lang -f suse.lang
%defattr(-,root,root)

%files
%defattr(-,root,root)
%doc COPYING AUTHORS ChangeLog README
/usr/bin/dngconverter
%_kde4_modules/kipiplugin_calendar.so
#%_kde4_modules/kipiplugin_ipodexport.so
%_kde4_modules/kipiplugin_batchprocessimages.so
%_kde4_modules/kipiplugin_dngconverter.so
%_kde4_modules/kipiplugin_facebook.so
%_kde4_modules/kipiplugin_flashexport.so
%_kde4_modules/kipiplugin_flickrexport.so
%_kde4_modules/kipiplugin_gpssync.so
%_kde4_modules/kipiplugin_htmlexport.so
%_kde4_modules/kipiplugin_imageviewer.so
%_kde4_modules/kipiplugin_jpeglossless.so
%_kde4_modules/kipiplugin_metadataedit.so
%_kde4_modules/kipiplugin_picasawebexport.so
%_kde4_modules/kipiplugin_printimages.so
%_kde4_modules/kipiplugin_rawconverter.so
%_kde4_modules/kipiplugin_sendimages.so
%_kde4_modules/kipiplugin_smug.so
%_kde4_modules/kipiplugin_timeadjust.so
%_kde_share_dir/apps/kipiplugin_htmlexport
%_kde_share_dir/apps/kipiplugin_imageviewer
%_kde_share_dir/apps/kipiplugin_metadataedit
%_kde_share_dir/services/kipiplugin_facebook.desktop
%_kde_share_dir/services/kipiplugin_flickrexport.desktop
%_kde_share_dir/services/kipiplugin_gpssync.desktop
%_kde_share_dir/services/kipiplugin_htmlexport.desktop
%_kde_share_dir/services/kipiplugin_imageviewer.desktop
%_kde_share_dir/services/kipiplugin_jpeglossless.desktop
%_kde_share_dir/services/kipiplugin_metadataedit.desktop
%_kde_share_dir/services/kipiplugin_picasawebexport.desktop
%_kde_share_dir/services/kipiplugin_rawconverter.desktop
%_kde_share_dir/services/kipiplugin_sendimages.desktop
%_kde_share_dir/services/kipiplugin_timeadjust.desktop
%_kde_share_dir/services/kipiplugin_dngconverter.desktop
%_kde_share_dir/services/kipiplugin_calendar.desktop
#%_kde_share_dir/services/kipiplugin_ipodexport.desktop
%_kde_share_dir/services/kipiplugin_smug.desktop
%_kde_share_dir/services/kipiplugin_advancedslideshow.desktop
%_libdir/libkipiplugins.so
%_libdir/libkipiplugins.so.1
%_libdir/libkipiplugins.so.1.0.0
%_kde4_modules/kipiplugin_galleryexport.so
%if 0
%_kde4_modules/kipiplugin_acquireimages.so
%_kde_share_dir/services/kipiplugin_acquireimages.desktop
%endif
%_kde_share_dir/apps/kipiplugin_facebook
%_kde_share_dir/apps/kipiplugin_flashexport
%_kde_share_dir/apps/kipiplugin_flickrexport
%_kde_share_dir/apps/kipiplugin_galleryexport
%_kde_share_dir/apps/kipiplugin_picasawebexport
%_kde_share_dir/apps/kipiplugin_smug
%_kde_share_dir/services/kipiplugin_galleryexport.desktop
/usr/share/kde4/services/kipiplugin_batchprocessimages.desktop
/usr/share/kde4/services/kipiplugin_facebook.desktop
/usr/share/kde4/services/kipiplugin_flashexport.desktop
/usr/share/kde4/services/kipiplugin_printimages.desktop
/usr/share/icons/oxygen/*/apps/rawconverter.*
/usr/share/icons/hicolor/16x16/actions/gpsimagetag.png
/usr/share/icons/hicolor/16x16/actions/ogl.png
/usr/share/icons/hicolor/22x22/actions/slideshow.png
/usr/share/icons/oxygen/*/apps/dngconverter.*
/usr/share/icons/hicolor/32x32/actions/flip-horizontal.png
/usr/share/icons/hicolor/32x32/actions/gpsimagetag.png
/usr/share/icons/hicolor/32x32/actions/grayscaleconvert.png
/usr/share/icons/hicolor/32x32/actions/ogl.png
/usr/share/icons/hicolor/32x32/actions/timeadjust.png
/usr/share/icons/hicolor/32x32/actions/borderimages.png
/usr/share/icons/hicolor/32x32/actions/colorimages.png
/usr/share/icons/hicolor/32x32/actions/convertimages.png
/usr/share/icons/hicolor/32x32/actions/effectimages.png
/usr/share/icons/hicolor/32x32/actions/filterimages.png
/usr/share/icons/hicolor/32x32/actions/recompressimages.png
/usr/share/icons/hicolor/32x32/actions/renameimages.png
/usr/share/icons/hicolor/32x32/actions/resizeimages.png
/usr/share/icons/hicolor/64x64/actions/metadataedit.png
%_kde4_modules/kipiplugin_acquireimages.so
%_kde_share_dir/services/kipiplugin_acquireimages.desktop
%_kde4_modules/kipiplugin_advancedslideshow.so
%_kde_share_dir/apps/kipiplugin_advancedslideshow

%changelog
* Sat Apr 18 2009 beineri@opensuse.org
- create -lang package
* Tue Mar 17 2009 wstephenson@suse.de
- update to 0.2 release:
  General:
  * All import/export plugins now have keyboard shortcuts
  * SimpleViewer plugin has been renamed to FlashExport
  * New icons for all Export/import plugins
  JPEGLossLess:
  * XMP metadata support
  TimeAdjust:
  * XMP metadata support
  MetadataEdit:
  * XMP metadata support with EXIF, IPTC, and Comments editor to
  sync XMP tags.
  * IPTC Editor dialog is more compliant with IPTC.org
  recommendations.
  * IPTC Editor add the capability to set multiple values for a tag.
  SendImages:
  * Complete re-write of emailing tool.
  GPSSync:
  * New tool to edit GPS track list using googlemaps.
  RAWConverter:
  * XMP metadata support.
  * Raw files are decoded in 16 bits color depth using same
  auto-gamma and auto-white methods provided by dcraw with 8 bits
  color depth RAW image decoding.
  SlideShow:
  * Now filenames, captions and progress indicators can have
  transparent backgrounds with OpenGL SlideShow as well.
  * Added thumbnails into image list.
  * Now you can play your favourite music during slideshow.
  AcquireImages:
  * Under Windows, TWAIN interface is used to scan image using
  flat scanner.
  PrintImages:
  * New plugin that allow to choose old print assistant or to
  print all the selected photos directly.
  FlickrExport:
  * Add support for 23hq.com service which uses Flickr API.
* Mon Feb 16 2009 wstephenson@suse.de
- update to 0.2 rc2 release: bugfixes and
  * Facebook: Support import (download) of facebook images
  * Slideshow plugin renamed to Advanced Slideshow
* Sat Jan 24 2009 stbinner@suse.de
- update to 0.2 rc1 release: bugfixes and
  * General: Plugins now use metadata settings shared with kipi
  host application.
  * Smug   : Import (download) of images from SmugMug web service.
* Mon Jan 12 2009 stbinner@suse.de
- adapt build requires to kdegraphics 4.2
* Thu Jan 08 2009 stbinner@suse.de
- update to 0.2 beta 6 release:
  * FbExport       : New plugin to export images to Facebook
  * FlickrExport   : Add support of Photosets.
  * SmugExport     : Add support for Album Templates
* Mon Dec 29 2008 stbinner@suse.de
- update to 0.2 beta 5 release:
  * RemoveRedEyes  : Added an option to preview the correction of
  the currently selected image.
  * SmugExport     : New plugin to export images to a remote
  SmugMug web service (http://www.smugmug.com)
- update to 0.2 beta 4 release:
  * RemoveRedEyes  : New plugin to remove red eyes in batch.
  Tool is based on OpenCV library.
  * Calendar       : Ported to QT4/KDE4.
  * Calendar       : Support RAW images.
  * SlideShow      : Normal effects are back.
  * SlideShow      : New effect "Cubism".
  * SlideShow      : Added support for RAW images.
  * DNGConverter   : plugin is now available as a stand alone app
  * SlideShow      : New effect "Mosaic"
  * PrintWizard    : Ported to QT4/KDE4
  * PrintWizard    : Added a new option to skip cropping, the
  image is scaled automatically.
* Wed Nov 05 2008 stbinner@suse.de
- update to 0.2 beta 3 release:
  * Slideshow enhancements by ken-burns effects
  * fix SlideShow crashes host application
  * fix Digikam crashs after closing
* Wed Oct 15 2008 stbinner@suse.de
- fix build requires
* Mon Oct 06 2008 stbinner@suse.de
- update to 0.2 beta 2 release:
  * plugin to convert RAW camera image to Digital NeGative (DNG)
  * now you can play your favorite music during slide show.
  * adds translations
- fix build requires
* Fri Sep 19 2008 dmueller@suse.de
- Initial package (0.1.90.svn862396)
openSUSE Build Service is sponsored by