Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
kdegraphics4
kdegraphics4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdegraphics4.spec of Package kdegraphics4
# # spec file for package kdegraphics4 # # 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/ # Name: kdegraphics4 BuildRequires: OpenEXR-devel fribidi-devel libkde4-devel net-snmp-devel BuildRequires: chmlib-devel libexiv2-devel libgphoto2-devel libqimageblitz-devel oxygen-icon-theme-large %if %suse_version > 1020 BuildRequires: libdjvulibre-devel texlive texlive-devel texlive-latex %else BuildRequires: djvulibre te_ams te_kpath te_latex %endif %if %suse_version > 1030 BuildRequires: libspectre-devel %endif %if 0%{?suse_version} > 1130 BuildRequires: sane-backends-devel %else BuildRequires: sane-backends %endif BuildRequires: libepub-devel libpoppler-qt4-devel libqca2-devel libsoprano-devel soprano-backend-redland License: LGPLv2.1+ Group: Productivity/Graphics/Other Summary: Base package for kdegraphics apps Url: http://www.kde.org Version: 4.6.0 Release: 6.<RELEASE3> Source0: kdegraphics-%version.tar.bz2 Patch0: 4_6_BRANCH.diff Patch1: fix_scan_dialog_bnc670968.diff Patch2: gwenview_mimetypes_bnc671581.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires Suggests: libksane0 Suggests: kcolorchooser Suggests: kio_kamera Suggests: kolourpaint Suggests: kruler Suggests: ksnapshot Suggests: okular Suggests: gwenview Suggests: kgamma Provides: kdegraphics4-devel = 3.95.1 Obsoletes: kdegraphics4-devel <= 3.95.1 Requires: libkdcraw9 = %version Requires: libkexiv2-9 = %version %description This package suggests the packages which are built from the kdegraphics module. %prep %setup -q -n kdegraphics-%version %patch0 %patch1 %patch2 %build %cmake_kde4 -d build %make_jobs %install cd build %makeinstall mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps cp /usr/share/icons/oxygen/128x128/apps/graphics-viewer-document.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/ cp /usr/share/icons/oxygen/16x16/apps/graphics-viewer-document.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/ cp /usr/share/icons/oxygen/22x22/apps/graphics-viewer-document.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps/ cp /usr/share/icons/oxygen/32x32/apps/graphics-viewer-document.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/ cp /usr/share/icons/oxygen/48x48/apps/graphics-viewer-document.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/ cp /usr/share/icons/oxygen/64x64/apps/graphics-viewer-document.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/ %create_subdir_filelist -d gwenview %create_subdir_filelist -d kamera %create_subdir_filelist -d kcolorchooser %create_subdir_filelist -d kolourpaint %create_subdir_filelist -d kruler %create_subdir_filelist -d kgamma %create_subdir_filelist -d ksnapshot %create_subdir_filelist -d libs/libksane -v libksane.devel %create_subdir_filelist -d okular -v okular.devel %create_subdir_filelist -d libs/libkdcraw -v libs/libkdcraw.devel %create_subdir_filelist -d libs/libkexiv2 -v libs/libkexiv2.devel %create_subdir_filelist -d libs/libkipi -v libs/libkipi.devel cd .. sed -ri s,.*/usr/share/icons/oxygen/.*/apps/gwenview.*,, filelists/gwenview %create_exclude_filelist %suse_update_desktop_file -r kruler Utility DesktopUtility %suse_update_desktop_file -r ksnapshot Utility DesktopUtility %suse_update_desktop_file -r kcolorchooser Utility DesktopUtility %suse_update_desktop_file -r okular Office Viewer %suse_update_desktop_file kolourpaint RasterGraphics %suse_update_desktop_file -r gwenview Graphics RasterGraphics Viewer %kde_post_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT rm -rf filelists %package -n libkdcraw9 License: LGPLv2.1+ Group: Development/Libraries/KDE Summary: Shared library interface around dcraw %requires_ge libqt4-x11 %description -n libkdcraw9 Libkdcraw is a C++ interface around dcraw binary program used to decode RAW picture files. The library documentation is available on header files. This library is used by kipi-plugins, digiKam and others kipi host programs. %files -n libkdcraw9 -f filelists/libkdcraw %defattr(-,root,root) %dir %_kde4_appsdir/libkdcraw %dir %_kde4_appsdir/libkdcraw/profiles %exclude %_kde4_libdir/pkgconfig/libkdcraw.pc %post -n libkdcraw9 -p /sbin/ldconfig %postun -n libkdcraw9 -p /sbin/ldconfig %package -n libkdcraw-devel License: LGPLv2.1+ Group: Development/Libraries/KDE Summary: Shared library interface around dcraw Requires: libkdcraw9 = %version Requires: libkde4-devel %description -n libkdcraw-devel Libkdcraw is a C++ interface around dcraw binary program used to decode RAW picture files. The library documentation is available on header files. This library is used by kipi-plugins, digiKam and others kipi host programs. %files -n libkdcraw-devel -f filelists/libkdcraw.devel %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/libkdcraw %_kde4_libdir/pkgconfig/libkdcraw.pc %package -n libkipi8 License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ ; MIT License (or similar) Group: Development/Libraries/KDE Summary: KDE Image Plug-In Interface %requires_ge libqt4-x11 %description -n libkipi8 This package provides a generic KDE image plug-in interface used by some KDE image applications. Plug-ins for this interface are in the kipi-plugins package. %files -n libkipi8 -f filelists/libkipi %defattr(-,root,root) %dir %_kde4_appsdir/kipi %dir %_kde4_appsdir/kipi/data %exclude %_kde4_libdir/pkgconfig/libkipi.pc %post -n libkipi8 -p /sbin/ldconfig %postun -n libkipi8 -p /sbin/ldconfig %package -n libkipi-devel License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ ; MIT License (or similar) Group: Development/Libraries/KDE Summary: KDE Image Plugin Interface Provides: libkipi6-devel = %version Obsoletes: libkipi6-devel <= 4.1.87 Requires: libkipi8 = %version Requires: libkde4-devel %description -n libkipi-devel This package provides a generic KDE Image Plug-in Interface used by some KDE image applications. Plug-ins for this interface are in the kipi-plugins package. %files -n libkipi-devel -f filelists/libkipi.devel %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/libkipi %_kde4_libdir/pkgconfig/libkipi.pc %package -n libkexiv2-9 License: GPLv2+ Group: Development/Libraries/KDE Summary: Library to manipulate picture meta data %description -n libkexiv2-9 Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata. %files -n libkexiv2-9 -f filelists/libkexiv2 %defattr(-,root,root) %exclude %_kde4_libdir/pkgconfig/libkexiv2.pc %dir %_kde4_appsdir/libkexiv2 %dir %_kde4_appsdir/libkexiv2/data %package -n libkexiv2-devel License: GPLv2+ Group: Development/Libraries/KDE Summary: Library to manipulate picture meta data Requires: libkexiv2-9 = %version Requires: libkde4-devel %requires_ge libqt4-x11 %description -n libkexiv2-devel Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata. %files -n libkexiv2-devel -f filelists/libkexiv2.devel %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/libkexiv2 %_kde4_libdir/pkgconfig/libkexiv2.pc %post -n libkexiv2-9 -p /sbin/ldconfig %postun -n libkexiv2-9 -p /sbin/ldconfig %package -n kcolorchooser License: GPLv2+ Group: Productivity/Graphics/Other Summary: Color Chooser Provides: kde4-kcolorchooser = 4.3.0 Obsoletes: kde4-kcolorchooser < 4.3.0 %kde4_runtime_requires %description -n kcolorchooser This is an color chooser application for KDE. %post -n kcolorchooser -p /sbin/ldconfig %postun -n kcolorchooser -p /sbin/ldconfig %files -n kcolorchooser -f filelists/kcolorchooser %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kgamma License: GPLv2+ Group: Productivity/Graphics/Other Summary: Display gamma configuration Provides: kdegraphics3:/opt/kde3/bin/xf86gammacfg Provides: kde4-kgamma = 4.3.0 Obsoletes: kde4-kgamma < 4.3.0 %kde4_runtime_requires %description -n kgamma This package contains a KDE system settings module to configure display gamma. %post -n kgamma -p /sbin/ldconfig %postun -n kgamma -p /sbin/ldconfig %files -n kgamma -f filelists/kgamma %defattr(-,root,root) %doc COPYING COPYING.DOC README %doc %lang(en) %dir %_kde4_htmldir/en/kcontrol/kgamma %doc %lang(en) %_kde4_htmldir/en/kcontrol/kgamma %package -n kio_kamera License: GPLv2+ Group: Hardware/Camera Summary: KDE I/O-Slave for Cameras Provides: kdegraphics3-kamera:/opt/kde3/share/applications/kde/kamera.desktop Provides: kde4-kio_kamera = 4.3.0 Obsoletes: kde4-kio_kamera < 4.3.0 %kde4_runtime_requires %description -n kio_kamera This package contains an KIO slave to access digital cameras. %post -n kio_kamera -p /sbin/ldconfig %postun -n kio_kamera -p /sbin/ldconfig %files -n kio_kamera -f filelists/kamera %defattr(-,root,root) %doc COPYING COPYING.DOC README %doc %lang(en) %dir /usr/share/doc/kde/HTML/en/kcontrol/kamera %doc %lang(en) %_kde4_htmldir/en/kcontrol/kamera %dir %_kde4_appsdir/solid %dir %_kde4_appsdir/solid/actions %package -n kolourpaint License: GPLv2+ Group: Productivity/Graphics/Bitmap Editors Summary: Paint Program Provides: kde4-kolourpaint = 4.3.0 Obsoletes: kde4-kolourpaint < 4.3.0 %kde4_runtime_requires %description -n kolourpaint Paint program for KDE %post -n kolourpaint -p /sbin/ldconfig %postun -n kolourpaint -p /sbin/ldconfig %files -n kolourpaint -f filelists/kolourpaint %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kruler License: GPLv2+ Group: Productivity/Graphics/Other Summary: Screen Ruler Provides: kde4-kruler = 4.3.0 Obsoletes: kde4-kruler < 4.3.0 %kde4_runtime_requires %description -n kruler A screen ruler for the K Desktop Environment %post -n kruler -p /sbin/ldconfig %postun -n kruler -p /sbin/ldconfig %files -n kruler -f filelists/kruler %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n ksnapshot License: GPLv2+ Group: Productivity/Graphics/Other Summary: Screen Capture Program Provides: kdegraphics3:/opt/kde3/bin/ksnapshot Provides: kde4-ksnapshot = 4.3.0 Obsoletes: kde4-ksnapshot < 4.3.0 %kde4_runtime_requires %description -n ksnapshot A screenshot utility for KDE %post -n ksnapshot -p /sbin/ldconfig %postun -n ksnapshot -p /sbin/ldconfig %files -n ksnapshot -f filelists/ksnapshot %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n libksane0 License: GPLv2+ Group: Productivity/Graphics/Other Summary: KDE scan library Requires: kdegraphics4 Provides: libksane0-devel = 3.95.1 Obsoletes: libksane0-devel <= 3.95.1 %description -n libksane0 This package contains a library to add scan support to KDE applications. %post -n libksane0 -p /sbin/ldconfig %postun -n libksane0 -p /sbin/ldconfig %files -n libksane0 -f filelists/libksane %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n libksane-devel License: GPLv2+ Group: Productivity/Graphics/Other Summary: KDE scan library - Development Files Requires: libksane0 = %version Requires: libkde4-devel %description -n libksane-devel This package contains a library to add scan support to KDE applications. Authors: -------- The KDE Team <kde@kde.org> %files -n libksane-devel -f filelists/libksane.devel %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/libksane %_kde4_appsdir/cmake/modules/FindKSane.cmake %package -n okular License: GPLv2+ Group: Productivity/Office/Other Summary: Document Viewer Provides: kdegraphics3-pdf = 3.5.1 Provides: kdegraphics3-postscript = 3.5.1 Obsoletes: kdegraphics3-pdf <= 3.5.1 Obsoletes: kdegraphics3-postscript <= 3.5.1 # recommend unrar for comic book plugin (bnc#467204) Recommends: unrar %requires_ge libpoppler-qt4-3 Provides: kde4-okular = 4.3.0 Obsoletes: kde4-okular < 4.3.0 %kde4_runtime_requires %description -n okular Document viewing program; supports document in PDF, PS and many other formats. Authors: -------- The KDE Team <kde@kde.org> %post -n okular -p /sbin/ldconfig %postun -n okular -p /sbin/ldconfig %files -n okular -f filelists/okular %defattr(-,root,root) %doc COPYING COPYING.DOC README %_kde4_iconsdir/hicolor/*/apps/graphics-viewer-document.* %exclude %_kde4_libdir/cmake/Okular/ %package -n okular-devel License: GPLv2+ Group: Productivity/Office/Other Summary: Document Viewer - Development Files %kde4_runtime_requires Provides: kde4-okular-devel = 4.3.0 Obsoletes: kde4-okular-devel < 4.3.0 Requires: okular Requires: libkde4-devel %description -n okular-devel Document viewing program; supports document in various formats %files -n okular-devel -f filelists/okular.devel %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/okular %dir /usr/include/okular/core %dir /usr/include/okular/interfaces %_kde4_libdir/cmake/Okular/ %package -n gwenview License: GPLv2+ Group: Productivity/Graphics/Viewers Summary: Simple Image Viewer for KDE Provides: kde4-gwenview = 4.2.90 Obsoletes: kde4-gwenview <= 4.2.90 Recommends: kipi-plugins %kde4_runtime_requires Requires: libkipi8 = %version %description -n gwenview Gwenview is a simple image viewer for KDE. It features a folder tree window and a file list window, providing easy navigation of your file hierarchy. %post -n gwenview -p /sbin/ldconfig %postun -n gwenview -p /sbin/ldconfig %files -n gwenview -f filelists/gwenview %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/gvpart %dir %_kde4_appsdir/solid %dir %_kde4_appsdir/solid/actions %files -f filelists/exclude %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_libdir/strigi %doc %lang(en) %dir /usr/share/doc/kde/HTML/en/kcontrol %_kde4_modulesdir/gsthumbnail.so %_kde4_modulesdir/svgpart.so %_kde4_appsdir/svgpart %_kde4_servicesdir/gsthumbnail.desktop %_kde4_servicesdir/svgpart.desktop %_kde4_modulesdir/mobithumbnail.so %_kde4_modulesdir/rawthumbnail.so %_kde4_libdir/strigi/strigila_mobi.so %_kde4_servicesdir/mobithumbnail.desktop %_kde4_servicesdir/rawthumbnail.desktop %_kde4_libdir/strigi/strigiea* %_kde4_bindir/xf86gammacfg %_kde4_modulesdir/ksaneplugin.so %_kde4_servicesdir/ksane_scan_service.desktop %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