Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
kipi-plugins
kipi-plugins.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kipi-plugins.spec of Package kipi-plugins
# # spec file for package kipi-plugins # # Copyright (c) 2011 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 %if !0%{?sles_version} %if %suse_version >= 1100 %define with_opencv 1 %else %define with_opencv 0 %endif %else %define with_opencv 0 %endif Name: kipi-plugins BuildRequires: libkdcraw-devel libkdepimlibs4-devel libkexiv2-devel libkipi-devel BuildRequires: cmake libexpat-devel libgcrypt-devel libgphoto2-devel libksane-devel BuildRequires: libqca2-devel libqjson-devel %if %{with_opencv} BuildRequires: opencv-devel %endif BuildRequires: libgpod-devel BuildRequires: gtk2-devel License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ ; MIT License (or similar) Url: http://www.kipi-plugins.org/ Group: Productivity/Graphics/Other Summary: KDE Plug-Ins for Image Manipulation Version: 1.8.0 Release: 2 %define rversion 1.8.0 Recommends: dcraw Requires: /usr/bin/jpegtran Recommends: %{name}-lang = %{version} Suggests: %{name}-doc = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %name-%{rversion}.tar.bz2 Source1: %{name}-docs.tar.bz2 Source2: %{name}-po.tar.bz2 Patch: desktop-files.diff Patch2: desktop-files-112.diff Provides: kde4-kipi-plugins = 0.2 Obsoletes: kde4-kipi-plugins <= 0.2 %requires_ge libkipi7 %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> %package doc License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ ; MIT License (or similar) Group: Productivity/Graphics/Other Summary: KDE Plug-Ins for Image Manipulation Requires: %{name} = %{version} %description doc A set of plug-ins for the KDE KIPI interface, used by some KDE imaging applications. This is the manual. 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> %package acquireimage License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ ; MIT License (or similar) Group: Productivity/Graphics/Other Summary: KDE Plug-Ins for Image Manipulation Requires: %{name} = %{version} Supplements: packageand(kipi-plugins:sane-backends) %description acquireimage This is the Acquireimage plugin from the kipi plugins package. %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %lang_package %prep %setup -q -n %name-%rversion -a 1 %patch %if %suse_version < 1130 && 0%{?kde_updatedapps} %patch2 %endif FAKE_BUILDDATE=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%b %e %Y') sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" common/libkipiplugins/tools/kpaboutdata.cpp echo "add_subdirectory( doc-translations )" >> CMakeLists.txt echo "add_subdirectory( doc )" >> CMakeLists.txt %build %cmake_kde4 -d build %make_jobs %install pushd build %makeinstall popd %suse_update_desktop_file scangui Scanning %if %suse_version > 1120 || !0%{?kde_updatedapps} %suse_update_desktop_file expoblending Graphics Photography %endif %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_piwigoexport kipiplugin_rawconverter kipiplugin_sendimages kipiplugin_advancedslideshow kipiplugin_timeadjust kipiplugin_wallpaper kipiplugins kipiplugin_calendar kipiplugin_ipodexport kipiplugin_removeredeyes kipiplugin_facebook kipiplugin_smug kipiplugin_printimages kipiplugin_kioexportimport kipiplugin_shwup kipiplugin_expoblending kipiplugin_shwup; do %find_lang $l suse.lang done %if %suse_version < 1120 mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/sv/common mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/it/common mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/et/common mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/de/common mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/pt_BR/common mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/uk/common %endif %clean rm -rf $RPM_BUILD_ROOT %files lang -f suse.lang %defattr(-,root,root) %files doc %defattr(-,root,root) %dir /usr/share/doc/kde/HTML/*/kipi-plugins %if %suse_version < 1120 %dir /usr/share/doc/kde/HTML/*/common %endif %doc %lang(de) /usr/share/doc/kde/HTML/de/* %doc %lang(en) /usr/share/doc/kde/HTML/en/* %doc %lang(it) /usr/share/doc/kde/HTML/it/* %doc %lang(sv) /usr/share/doc/kde/HTML/sv/* %doc %lang(uk) /usr/share/doc/kde/HTML/uk/* %files acquireimage %defattr(-,root,root) %_kde4_bindir/scangui %_kde4_applicationsdir/scangui.desktop %_kde4_modules/kipiplugin_acquireimages.so %_kde_share_dir/services/kipiplugin_acquireimages.desktop %files %defattr(-,root,root) %doc COPYING AUTHORS ChangeLog README %_kde4_libdir/libkipiplugins.so %_kde4_libdir/libkipiplugins.so.1 %_kde4_libdir/libkipiplugins.so.1.0.0 %_kde4_bindir/dngconverter %_kde4_bindir/dnginfo %_kde4_bindir/expoblending %_kde4_applicationsdir/expoblending.desktop %_kde4_applicationsdir/kipiplugins.desktop %_kde4_modules/kipiplugin_advancedslideshow.so %_kde4_modules/kipiplugin_batchprocessimages.so %_kde4_modules/kipiplugin_calendar.so %_kde4_modules/kipiplugin_debianscreenshots.so %_kde4_modules/kipiplugin_dngconverter.so %_kde4_modules/kipiplugin_expoblending.so %_kde4_modules/kipiplugin_facebook.so %_kde4_modules/kipiplugin_flashexport.so %_kde4_modules/kipiplugin_flickrexport.so %_kde4_modules/kipiplugin_galleryexport.so %_kde4_modules/kipiplugin_gpssync.so %_kde4_modules/kipiplugin_htmlexport.so %_kde4_modules/kipiplugin_imageviewer.so %_kde4_modules/kipiplugin_ipodexport.so %_kde4_modules/kipiplugin_jpeglossless.so %_kde4_modules/kipiplugin_kioexportimport.so %_kde4_modules/kipiplugin_kopete.so %_kde4_modules/kipiplugin_metadataedit.so %_kde4_modules/kipiplugin_piwigoexport.so %_kde4_modules/kipiplugin_picasawebexport.so %_kde4_modules/kipiplugin_printimages.so %_kde4_modules/kipiplugin_rawconverter.so %_kde4_modules/kipiplugin_sendimages.so %_kde4_modules/kipiplugin_shwup.so %_kde4_modules/kipiplugin_smug.so %_kde4_modules/kipiplugin_timeadjust.so %_kde_share_dir/services/kipiplugin_advancedslideshow.desktop %_kde_share_dir/services/kipiplugin_batchprocessimages.desktop %_kde_share_dir/services/kipiplugin_calendar.desktop %_kde_share_dir/services/kipiplugin_debianscreenshots.desktop %_kde_share_dir/services/kipiplugin_dngconverter.desktop %_kde_share_dir/services/kipiplugin_expoblending.desktop %_kde_share_dir/services/kipiplugin_facebook.desktop %_kde_share_dir/services/kipiplugin_flashexport.desktop %_kde_share_dir/services/kipiplugin_flickrexport.desktop %_kde_share_dir/services/kipiplugin_galleryexport.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_ipodexport.desktop %_kde_share_dir/services/kipiplugin_jpeglossless.desktop %_kde_share_dir/services/kipiplugin_kioexportimport.desktop %_kde_share_dir/services/kipiplugin_kopete.desktop %_kde_share_dir/services/kipiplugin_metadataedit.desktop %_kde_share_dir/services/kipiplugin_picasawebexport.desktop %_kde_share_dir/services/kipiplugin_piwigoexport.desktop %_kde_share_dir/services/kipiplugin_printimages.desktop %_kde_share_dir/services/kipiplugin_rawconverter.desktop %_kde_share_dir/services/kipiplugin_sendimages.desktop %_kde_share_dir/services/kipiplugin_shwup.desktop %_kde_share_dir/services/kipiplugin_smug.desktop %_kde_share_dir/services/kipiplugin_timeadjust.desktop %_kde_share_dir/apps/kipiplugin_expoblending %_kde_share_dir/apps/kipiplugin_flashexport %_kde_share_dir/apps/kipiplugin_galleryexport %_kde_share_dir/apps/kipiplugin_htmlexport %_kde_share_dir/apps/kipiplugin_imageviewer %_kde_share_dir/apps/kipiplugin_piwigoexport %_kde_share_dir/apps/kipiplugin_printimages %_kde4_iconsdir/oxygen/*/apps/rawconverter.* %_kde4_iconsdir/oxygen/*/apps/dngconverter.* %_kde4_iconsdir/hicolor/*/actions/borderimages.* %_kde4_iconsdir/hicolor/*/actions/colorimages.* %_kde4_iconsdir/hicolor/*/actions/convertimages.* %_kde4_iconsdir/hicolor/*/actions/debianscreenshots.* %_kde4_iconsdir/hicolor/*/actions/effectimages.* %_kde4_iconsdir/hicolor/*/actions/expoblending.* %_kde4_iconsdir/hicolor/*/actions/facebook.* %_kde4_iconsdir/hicolor/*/actions/filterimages.* %_kde4_iconsdir/hicolor/*/actions/flash.* %_kde4_iconsdir/hicolor/*/actions/flickr.* %_kde4_iconsdir/hicolor/*/actions/flip-horizontal.* %_kde4_iconsdir/hicolor/*/actions/gallery.* %_kde4_iconsdir/hicolor/*/actions/gpsimagetag.png %_kde4_iconsdir/hicolor/*/actions/grayscaleconvert.* %_kde4_iconsdir/hicolor/*/actions/hq.* %_kde4_iconsdir/hicolor/*/actions/metadataedit.* %_kde4_iconsdir/hicolor/*/actions/ogl.png %_kde4_iconsdir/hicolor/*/actions/picasa.* %_kde4_iconsdir/hicolor/*/actions/piwigo.* %_kde4_iconsdir/hicolor/*/actions/recompressimages.* %_kde4_iconsdir/hicolor/*/actions/renameimages.* %_kde4_iconsdir/hicolor/*/actions/resizeimages.* %_kde4_iconsdir/hicolor/*/actions/shwup.* %_kde4_iconsdir/hicolor/*/actions/slideshow.* %_kde4_iconsdir/hicolor/*/actions/smugmug.* %_kde4_iconsdir/hicolor/*/actions/timeadjust.* %_kde4_iconsdir/hicolor/*/actions/zooomr.* %if %{with_opencv} %_kde4_modules/kipiplugin_removeredeyes.so %_kde_share_dir/apps/kipiplugin_removeredeyes %_kde_share_dir/services/kipiplugin_removeredeyes.desktop %endif %if %suse_version < 1120 %dir /usr/share/locale/hne %dir /usr/share/locale/hne/LC_MESSAGES %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor