Name: kipi-plugins Version: 1.9.0 Release: %mkrel 1 Summary: KDE image Interface Plugins License: GPLv2+ Group: System/Libraries Source0: http://downloads.sourceforge.net/kipi/%{name}-%{version}.tar.bz2 URL: http://www.kipi-plugins.org Epoch: 1 Requires: mjpegtools Requires: vorbis-tools Requires: mpg123 Requires: imagemagick >= 5.5.4 Suggests: hugin BuildRequires: kdepimlibs4-devel BuildRequires: libkipi-devel BuildRequires: libgpod-devel BuildRequires: kdegraphics4-devel BuildRequires: tiff-devel BuildRequires: libMagick-devel BuildRequires: libxslt-devel BuildRequires: libgphoto-devel BuildRequires: imlib2-devel BuildRequires: libxml2-utils BuildRequires: libmesaglu-devel BuildRequires: opencv-devel Obsoletes: %{_lib}kipi-plugins0 < 1:0.2.0-0.824094.3 Suggests: %name-timeadjust Suggests: %name-smug Suggests: %name-shwup Suggests: %name-piwigoexport Suggests: %name-picasa Suggests: %name-metadaedit Suggests: %name-kopete Suggests: %name-kioexportimport Suggests: %name-jpeglossless Suggests: %name-ipodexport Suggests: %name-imageviewer Suggests: %name-htmlexport Suggests: %name-debianscreenshot Suggests: %name-gpssync Suggests: %name-flickr Suggests: %name-expoblending Suggests: %name-calendar Suggests: %name-batchprocess Suggests: %name-advancedslideshow Suggests: %name-printimages Suggests: %name-dngconverter Suggests: %name-galleryexport Suggests: %name-flashexport Suggests: %name-facebook Suggests: %name-acquireimages Suggests: %name-rawconverter Suggests: %name-removeredeyes Suggests: %name-sendimages %description The library of the KDE Image Plugin Interface. Libkipi allows image applications to use a plugin architecture for additional functionality such as: RawConverter, SlideShow, ImagesGallery, HTMLExport, PrintAssistant... %files -f kipiplugins.lang %defattr(-,root,root) %doc README %_kde_applicationsdir/kipiplugins.desktop #----------------------------------------------------------------------------- %package timeadjust Summary: Time Adjust kipi plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description timeadjust A Tool to adjust time and date. %files timeadjust -f kipiplugin_timeadjust.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_timeadjust.so %_kde_iconsdir/hicolor/*/actions/timeadjust.png %_kde_services/kipiplugin_timeadjust.desktop #----------------------------------------------------------------------------- %package smug Summary: Smug Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description smug A tool to import/export images to/from SmugMug web service. %files smug -f kipiplugin_smug.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_smug.so %_kde_iconsdir/hicolor/*/actions/smugmug.png %_kde_iconsdir/hicolor/scalable/actions/smugmug.svgz %_kde_services/kipiplugin_smug.desktop #----------------------------------------------------------------------------- %package shwup Summary: Shwup Kipi Plugins Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description shwup A tool to export images to a remote Shwup web service. %files shwup -f kipiplugin_shwup.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_shwup.so %_kde_iconsdir/hicolor/*/actions/shwup.png %_kde_services/kipiplugin_shwup.desktop #----------------------------------------------------------------------------- %package piwigoexport Summary: Piwi Go Export Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description piwigoexport A tool to export images to a remote Piwigo. %files piwigoexport -f kipiplugin_piwigoexport.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_piwigoexport.so %{_kde_datadir}/apps/kipiplugin_piwigoexport %_kde_services/kipiplugin_piwigoexport.desktop %_kde_iconsdir/hicolor/scalable/actions/piwigo.svgz %_kde_iconsdir/hicolor/*/actions/piwigo.png #----------------------------------------------------------------------------- %package picasa Summary: Picasa Kipi Plugins Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description picasa A tool to export images to a remote Picase Web Service %files picasa -f kipiplugin_picasawebexport.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_picasawebexport.so %_kde_services/kipiplugin_picasawebexport.desktop %_kde_iconsdir/hicolor/scalable/actions/picasa.svgz %_kde_iconsdir/hicolor/*/actions/picasa.png #----------------------------------------------------------------------------- %package metadataedit Summary: Meta Data Edit kipi plugins Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description metadataedit A tool to edit EXIF,IPTC and XMP metadata. %files metadataedit -f kipiplugin_metadataedit.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_metadataedit.so %_kde_services/kipiplugin_metadataedit.desktop %_kde_iconsdir/hicolor/*/actions/metadataedit.png #----------------------------------------------------------------------------- %package kopete Summary: Kopete kipi plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description kopete A tool to export images to an instant messaging contact. %files kopete %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_kopete.so %_kde_services/kipiplugin_kopete.desktop #----------------------------------------------------------------------------- %package kioexportimport Summary: Kio Export Import Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description kioexportimport A tool to export pictures to or import from a remote directory that is accessible via KIO. %files kioexportimport -f kipiplugin_kioexportimport.lang %defattr(-,root,root) %_kde_libdir/kde4/kipiplugin_kioexportimport.so %_kde_services/kipiplugin_kioexportimport.desktop #----------------------------------------------------------------------------- %package jpeglossless Summary: Jpeg Lossless Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description jpeglossless A tool to rotate/flip images without losing quality. %files jpeglossless -f kipiplugin_jpeglossless.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_jpeglossless.so %_kde_services/kipiplugin_jpeglossless.desktop %_kde_iconsdir/hicolor/*/actions/flip-horizontal.png %_kde_iconsdir/hicolor/*/actions/grayscaleconvert.png #----------------------------------------------------------------------------- %package ipodexport Summary: Ipod Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description ipodexport A tool to export pictures to an Ipod device. %files ipodexport -f kipiplugin_ipodexport.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_ipodexport.so %_kde_services/kipiplugin_ipodexport.desktop #----------------------------------------------------------------------------- %package imageviewer Summary: Image Viewer Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description imageviewer A tool to preview images using OpenGl. %files imageviewer -f kipiplugin_imageviewer.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_imageviewer.so %{_kde_datadir}/apps/kipiplugin_imageviewer %_kde_services/kipiplugin_imageviewer.desktop %_kde_iconsdir/hicolor/*/actions/ogl.png #----------------------------------------------------------------------------- %package htmlexport Summary: Html Export Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description htmlexport A tool to export images collections into a static XHTML page. %files htmlexport -f kipiplugin_htmlexport.lang %defattr(-,root,root) %_kde_libdir/kde4/kipiplugin_htmlexport.so %_kde_services/kipiplugin_htmlexport.desktop %_kde_appsdir/kipiplugin_htmlexport #----------------------------------------------------------------------------- %package debianscreenshot Summary: Debian Screenshot kipi plugins Group: System/Libraries Conflicts: %name < 1:1.8.0-1 %description debianscreenshot A tool to export images to Debian screenshot. %files debianscreenshot -f kipiplugin_debianscreenshots.lang %defattr(-,root,root) %_kde_libdir/kde4/kipiplugin_debianscreenshots.so %_kde_services/kipiplugin_debianscreenshots.desktop %_kde_iconsdir/hicolor/*/actions/debianscreenshots.png %_kde_iconsdir/hicolor/scalable/actions/debianscreenshots.svgz #----------------------------------------------------------------------------- %package gpssync Summary: GPS Sync Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description gpssync A tool to geolocalize pictures. %files gpssync -f kipiplugin_gpssync.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_gpssync.so %_kde_services/kipiplugin_gpssync.desktop %_kde_iconsdir/hicolor/*/actions/gpsimagetag.png #----------------------------------------------------------------------------- %package flickr Summary: Flick Export Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description flickr A tool to export images to a remote Flickr, 23 and Zoomr web services. %files flickr -f kipiplugin_flickrexport.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_flickrexport.so %_kde_services/kipiplugin_flickrexport.desktop %_kde_iconsdir/hicolor/*/actions/flickr.png %_kde_iconsdir/hicolor/*/actions/hq.png %_kde_iconsdir/hicolor/*/actions/zooomr.png %_kde_iconsdir/hicolor/scalable/actions/flickr.svgz %_kde_iconsdir/hicolor/scalable/actions/hq.svgz %_kde_iconsdir/hicolor/scalable/actions/zooomr.svgz #----------------------------------------------------------------------------- %package expoblending Summary: Expoblending Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description expoblending A tool to blend bracketed images. %files expoblending -f kipiplugin_expoblending.lang %defattr(-,root,root) %_kde_bindir/expoblending %_kde_applicationsdir/expoblending.desktop %{_kde_libdir}/kde4/kipiplugin_expoblending.so %{_kde_datadir}/apps/kipiplugin_expoblending %_kde_services/kipiplugin_expoblending.desktop %_kde_iconsdir/hicolor/*/actions/expoblending.png #----------------------------------------------------------------------------- %package calendar Summary: Calendar Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description calendar A tool to create calendars. %files calendar -f kipiplugin_calendar.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_calendar.so %_kde_services/kipiplugin_calendar.desktop #----------------------------------------------------------------------------- %package batchprocess Summary: Batch Process Images Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description batchprocess KIPI Batch Processing Images Plugin. %files batchprocess -f kipiplugin_batchprocessimages.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_batchprocessimages.so %_kde_services/kipiplugin_batchprocessimages.desktop %_kde_iconsdir/hicolor/*/actions/recompressimages.png %_kde_iconsdir/hicolor/*/actions/renameimages.png %_kde_iconsdir/hicolor/*/actions/resizeimages.png %_kde_iconsdir/hicolor/*/actions/borderimages.png %_kde_iconsdir/hicolor/*/actions/colorimages.png %_kde_iconsdir/hicolor/*/actions/convertimages.png %_kde_iconsdir/hicolor/*/actions/effectimages.png %_kde_iconsdir/hicolor/*/actions/filterimages.png #----------------------------------------------------------------------------- %package advancedslideshow Summary: Advanced Slideshow Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description advancedslideshow A tool to slide images with 2D and 3D effects using OpenGL. %files advancedslideshow -f kipiplugin_advancedslideshow.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_advancedslideshow.so %_kde_iconsdir/hicolor/*/actions/slideshow.png %_kde_services/kipiplugin_advancedslideshow.desktop #----------------------------------------------------------------------------- %package printimages Summary: Print Images Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description printimages A tool to print images in various formats. %files printimages -f kipiplugin_printimages.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_printimages.so %_kde_services/kipiplugin_printimages.desktop %_kde_appsdir/kipiplugin_printimages/ #----------------------------------------------------------------------------- %package dngconverter Summary: Dng converter Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description dngconverter A tool to convert Raw Image to Digital NeGative. %files dngconverter -f kipiplugin_dngconverter.lang %defattr(-,root,root) %_kde_bindir/dngconverter %_kde_bindir/dnginfo %_kde_applicationsdir/dngconverter.desktop %_kde_libdir/kde4/kipiplugin_dngconverter.so %_kde_services/kipiplugin_dngconverter.desktop %_kde_iconsdir/oxygen/*/apps/dngconverter.png %_kde_iconsdir/oxygen/scalable/apps/dngconverter.svgz #----------------------------------------------------------------------------- %package galleryexport Summary: Gallery Export Kipi Plugin Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description galleryexport A tool to export images to a remote Gallery. %files galleryexport -f kipiplugin_galleryexport.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_galleryexport.so %{_kde_datadir}/apps/kipiplugin_galleryexport %_kde_services/kipiplugin_galleryexport.desktop %_kde_iconsdir/hicolor/*/actions/gallery.png %_kde_iconsdir/hicolor/scalable/actions/gallery.svgz #----------------------------------------------------------------------------- %package flashexport Summary: Flash export kipi-plugins Group: System/Libraires Conflicts: %name < 1:1.8.0-1 %description flashexport A tool to export images to Flash. %files flashexport -f kipiplugin_flashexport.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_flashexport.so %{_kde_datadir}/apps/kipiplugin_flashexport %_kde_services/kipiplugin_flashexport.desktop %_kde_iconsdir/hicolor/*/actions/flash.png %_kde_iconsdir/hicolor/scalable/actions/flash.svgz #----------------------------------------------------------------------------- %package facebook Summary: Facebook kipi plugins Group: System/Libraries Conflicts: %name < 1:1.8.0-1 %description facebook A tool to import/export images to/from a remote Facebook web service. %files facebook -f kipiplugin_facebook.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_facebook.so %_kde_services/kipiplugin_facebook.desktop %_kde_iconsdir/hicolor/*/actions/facebook.png %_kde_iconsdir/hicolor/scalable/actions/facebook.svgz #----------------------------------------------------------------------------- %package acquireimages Summary: Acquireimages Group: System/Libraries Conflicts: %name < 1:1.8.0-1 %description acquireimages A tool to acquire images using flat scanner. %files acquireimages -f kipiplugin_acquireimages.lang %defattr(-,root,root) %_kde_bindir/scangui %_kde_libdir/kde4/kipiplugin_acquireimages.so %_kde_services/kipiplugin_acquireimages.desktop %_kde_applicationsdir/scangui.desktop #----------------------------------------------------------------------------- %package rawconverter Summary: Rawconverter kipi plugins Group: System/Libraries Conflicts: %name < 1:1.8.0-1 %description rawconverter A tool to convert Raw Image to JPEG/PNG/TIFF. %files rawconverter -f kipiplugin_rawconverter.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_rawconverter.so %_kde_iconsdir/oxygen/*/apps/rawconverter.png %_kde_services/kipiplugin_rawconverter.desktop %_kde_iconsdir/oxygen/scalable/apps/rawconverter.svgz #---------------------------------------------------------------------------- %package removeredeyes Summary: Remove red eyes kipi-plugins Group: System/Libraries Conflicts: %name < 1:1.8.0-1 %description removeredeyes A tool to remove red eyes automatically from images. %files removeredeyes -f kipiplugin_removeredeyes.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_removeredeyes.so %{_kde_datadir}/apps/kipiplugin_removeredeyes %_kde_services/kipiplugin_removeredeyes.desktop #--------------------------------------------------------------------------- %package sendimages Summary: Send Images kipi plugins Group: System/Libraries Conflicts: %name < 1:1.8.0-1 %description sendimages A tool to send images by e-mail. %files sendimages -f kipiplugin_sendimages.lang %defattr(-,root,root) %{_kde_libdir}/kde4/kipiplugin_sendimages.so %_kde_services/kipiplugin_sendimages.desktop #---------------------------------------------------------------------------- %define kipiplugins_major 1 %define lib_name %mklibname kipiplugins %kipiplugins_major %package -n %lib_name Summary: Library files for %{name} Group: System/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Conflicts: %{_lib}kipi-plugins0 %description -n %lib_name Library files for %{name} %files -n %lib_name %defattr(-,root,root) %{_kde_libdir}/libkipiplugins.so.%{kipiplugins_major}* #---------------------------------------------------------------------------- %package devel Summary: Development files for %{name} Group: Development/C Requires: %{lib_name} = %{epoch}:%{version}-%{release} Obsoletes: %{_lib}kipi-plugins-devel < 1:0.2.0 %description devel Development files for %{name} %files devel %defattr(-,root,root) %{_kde_libdir}/*.so #---------------------------------------------------------------------------- %prep %setup -q -n %{name}-%{version} %build %cmake_kde4 %make %install rm -rf %buildroot %makeinstall_std -C build #install -d %{buildroot}/%{_kde_datadir}/doc//%name-htmlexport/ #install -d %{buildroot}/%{_kde_datadir}/doc/%{name}-printimages/ #install -m644 %{buildroot}/%{_kde_datadir}/apps/kipiplugin_htmlexport/THEME_HOWTO -D %{buildroot}/%{_kde_datadir}/doc/%{name}-htmlexport/THEME_HOWTO #install -m644 %{buildroot}/%{_kde_datadir}/apps/kipiplugin_printimages/TEMPLATE_HOWTO -D %{buildroot}/%{_kde_datadir}/doc/%{name}-printimages/TEMPLATE_HOWTO #removing wrong files #rm -f %{buildroot}/%{_kde_datadir}/apps/kipiplugin_htmlexport/THEME_HOWTO #rm -f %{buildroot}/%{_kde_datadir}/apps/kipiplugin_printimages/TEMPLATE_HOWTO #rm -f %{buildroot}/%{_kde_datadir}/applications/kde4/*.desktop # Remove wallpaper translation since it's not compiled rm -rf %{buildroot}/usr/share/locale/*/LC_MESSAGES/kipiplugin_wallpaper.mo %find_lang kipiplugins %find_lang kipiplugin_timeadjust %find_lang kipiplugin_smug %find_lang kipiplugin_shwup %find_lang kipiplugin_piwigoexport %find_lang kipiplugin_picasawebexport %find_lang kipiplugin_metadataedit %find_lang kipiplugin_kioexportimport %find_lang kipiplugin_jpeglossless %find_lang kipiplugin_ipodexport %find_lang kipiplugin_imageviewer %find_lang kipiplugin_htmlexport %find_lang kipiplugin_gpssync %find_lang kipiplugin_flickrexport %find_lang kipiplugin_expoblending %find_lang kipiplugin_calendar %find_lang kipiplugin_batchprocessimages %find_lang kipiplugin_advancedslideshow %find_lang kipiplugin_printimages %find_lang kipiplugin_dngconverter %find_lang kipiplugin_galleryexport %find_lang kipiplugin_flashexport %find_lang kipiplugin_facebook %find_lang kipiplugin_acquireimages %find_lang kipiplugin_rawconverter %find_lang kipiplugin_removeredeyes %find_lang kipiplugin_sendimages %find_lang kipiplugin_debianscreenshots %clean rm -rf %buildroot