Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdegraphics3
kdegraphics3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdegraphics3.spec of Package kdegraphics3
# # spec file for package kdegraphics3 (Version 3.5.10) # # Copyright (c) 2010 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 Name: kdegraphics3 Url: http://www.kde.org # skip-check-libtool-deps BuildRequires: OpenEXR-devel fribidi-devel giflib-devel imlib-config imlib-devel kdebase3 kdelibs3-devel BuildRequires: kdelibs3-devel-doc net-snmp-devel qt3-devel-doc sane %if %suse_version > 1000 BuildRequires: xpdf-tools %endif %if %suse_version > 1010 BuildRequires: libexiv2-devel libgphoto2-devel %endif %if %suse_version > 1020 BuildRequires: texlive-devel texlive-latex %else BuildRequires: te_ams te_kpath te_latex %endif %if %suse_version > 1030 BuildRequires: libpoppler-devel libpoppler-qt3-devel %else BuildRequires: poppler-devel poppler-qt %endif License: GPL v2 or later Group: Productivity/Graphics/Viewers Provides: kuickshow kdegraphics3-kfile-plugins kgamma Obsoletes: kuickshow kdegraphics3-kfile-plugins kgamma BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3` ) Summary: Base Libraries for KDE Graphics Applications Version: 3.5.10 Release: 1.<RELEASE66> Source0: kdegraphics-%{version}.tar.bz2 Patch0: 3_5_BRANCH.diff Patch1: prefer-kpdf.diff Patch2: enable-orcad.diff Patch3: enable-agg.diff Patch6: bugzilla-113799-render-fi-correctly.patch Patch7: bugzilla-113799-disable-byte-code-interpreter.patch Patch8: use_xorg_conf.diff Patch9: better-exif.patch Patch10: fix-kcmshell-kgamma.diff Patch11: fix-kooka-desktop-icon.diff Patch12: kpdf-bug-487098.patch Patch13: xpdf-bnc546404.diff Patch14: CVE-2010-3702.diff Patch15: CVE-2010-3704.diff Patch16: bnc512559-2009-0945.diff Patch17: bnc512559-2009-1709.diff Requires: ghostscript-x11 Provides: kdegraphics3-viewer:/opt/kde3/bin/kuickshow Provides: kdegraphics3:/opt/kde3/bin/ksnapshot Obsoletes: kdegraphics3-viewer %description The base applications and libraries for KDE graphics applications. All kfile plug-ins (to generate previews in konqueror) are also in this package. More kdegraphics applications can be found in: - kdegraphics3-fax - kdegraphics3-kamera - kdegraphics3-pdf - kdegraphics3-postscript - kdegraphics3-imaging - kdegraphics3-scan - kdegraphics3-tex - kdegraphics3-extra Authors: -------- The KDE Team <kde@kde.org> %package devel License: GPL v2 or later Requires: kdegraphics3 kdelibs3-devel Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/KDE %description devel This package contains all necessary include files and libraries needed to develop applications that require these. Authors: -------- The KDE Team <kde@kde.org> %package imaging License: GPL v2 or later # usesubdirs kview kiconedit kuickshow kview kiconedit Summary: Image-Related KDE Applications Group: Productivity/Graphics/Viewers Provides: kdegraphics3:/opt/kde3/bin/kuickshow Obsoletes: kdegraphics3-viewer %description imaging * kiconedit - icon editor * kolourpaint - simple paint application * kview - another modular picture viewer * kuickshow - a fast picture viewer Authors: -------- The KDE Team <kde@kde.org> %package extra License: GPL v2 or later # usesubdirs kruler kcoloredit Summary: Small KDE Graphics Applications Group: Productivity/Graphics/Viewers Obsoletes: kdegraphics3-viewer %description extra Small KDE graphics applications. * kcolorchooser - identify color values. * kcoloredit - for editing color palettes * kruler - a desktop ruler for measuring pixels Authors: -------- The KDE Team <kde@kde.org> %package 3D License: GPL v2 or later # usesubdirs kpovmodeler Summary: 3D Scene Creator Group: Productivity/Graphics/Viewers Provides: kpovmodeler Obsoletes: kpovmodeler Requires: povray %description 3D KPovModeler can create scenes for rendering with POV-Ray. Authors: -------- The KDE Team <kde@kde.org> %package tex License: GPL v2 or later # usesubdirs kdvi # usefiles /opt/kde3/bin/kviewshell Summary: DVI File Viewer Group: Productivity/Publishing/TeX/Frontends %if %suse_version > 1020 Requires: texlive %else Requires: tetex %endif Provides: kdegraphics3:/opt/kde3/bin/kdvi Provides: kdegraphics3-viewer:/opt/kde3/bin/kviewshell Obsoletes: kdegraphics3-viewer %description tex KDVI shows and prints DVI files. DVI files are generated by TeX and LaTeX. Authors: -------- The KDE Team <kde@kde.org> %package scan License: GPL v2 or later Provides: kooka kscanlib kdegraphics3-kooka Obsoletes: kooka kscanlib kdegraphics3-kooka Summary: Kooka, the Scanning Program for KDE Group: Hardware/Scanner Requires: ocrad %description scan Kooka is an image scanning program for KDE that uses the SANE library. This offers scan capabilities to a wide range of scanner hardware. As well as a user-friendly interface, Kooka offers basic image manipulation routines like rotating, mirroring, etc. Additionally, it has a save assistant that helps to find the correct image format. The image gallery and a configurable thumbnail view makes it easy to organize the scans. Kooka supports OCR (Optical Character Recognition) on your scans. Two open source OCR programs, ocrad and gocr are available as plugins to Kooka. Authors: -------- Klaas Freitag <freitag@suse.de> %package fax License: GPL v2 or later # usesubdirs kfax kfaxview Summary: KDE fax viewer Group: Productivity/Graphics/Viewers Provides: kdegraphics3:/opt/kde3/bin/kfax Requires: tiff %description fax This package can show and print received fax files. Authors: -------- The KDE Team <kde@kde.org> %package pdf License: GPL v2 or later # usesubdirs kpdf Summary: KDE PDF File Viewer Group: Productivity/Graphics/Viewers Provides: kdegraphics3:/opt/kde3/bin/kpdf %if %suse_version > 1030 Requires: pdftools_any %else %if %suse_version > 1000 Requires: xpdf-tools %else Requires: xpdf-config %endif %endif %description pdf This package contains KPDF, an application to show and print PDF files. Authors: -------- The KDE Team <kde@kde.org> %package postscript License: GPL v2 or later # usesubdirs kghostview Summary: KDE Postscript File Viewer Group: Productivity/Graphics/Viewers Provides: kdegraphics3:/opt/kde3/bin/kghostview %description postscript This package contains KGhostView, an application to show and print Postscript files. Authors: -------- The KDE Team <kde@kde.org> %package kamera License: GPL v2 or later # usesubdirs kamera Summary: KDE digital camera application Group: Hardware/Camera Provides: kdegraphics3:/opt/kde3/lib/kde3/kio_kamera.so %description kamera Kamera is a konqueror plugin for digital cameras. It is mostly used for cameras that are connected via serial port, while usb-cameras are directly supported by the kernel. Authors: -------- The KDE Team <kde@kde.org> %prep %setup -q -n kdegraphics-%{version} %patch0 %patch1 %patch2 #%patch3 %patch6 -p1 %patch7 -p1 %patch8 %if %suse_version > 1020 %patch9 %endif %patch10 %patch11 %patch12 %patch13 %patch14 %patch15 %patch16 %patch17 # gift is not maintained anymore and broken rm -rf kmrml . /etc/opt/kde3/common_options update_admin %build export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" . /etc/opt/kde3/common_options export CXXFLAGS="-I/usr/include/agg2/ $CXXFLAGS" ./configure $configkde \ --with-gphoto2-libraries=%_libdir make %{?jobs:-j %jobs} %install . /etc/opt/kde3/common_options make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET rm $RPM_BUILD_ROOT/opt/kde3/share/applnk/Graphics/kruler.desktop mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/applnk/.hidden mv $RPM_BUILD_ROOT/opt/kde3/share/applications/kde/kgamma.desktop $RPM_BUILD_ROOT/opt/kde3/share/applnk/.hidden/ mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps/ for i in {16,32,48,64}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/devices/scanner.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kooka.png; done %suse_update_desktop_file kpovmodeler Graphics 3DGraphics %suse_update_desktop_file kolourpaint Graphics RasterGraphics %suse_update_desktop_file kiconedit Graphics RasterGraphics %suse_update_desktop_file kview Graphics Viewer %suse_update_desktop_file kuickshow Graphics Viewer %suse_update_desktop_file kooka Graphics Scanning %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 kcoloredit Utility DesktopUtility %suse_update_desktop_file -u kfax Office Viewer %suse_update_desktop_file kghostview Office Viewer %suse_update_desktop_file kdvi Office Viewer %suse_update_desktop_file kpdf Office Viewer %suse_update_desktop_file kfaxview Office Viewer %suse_update_desktop_file kamera kde_post_install %clean rm -rf $RPM_BUILD_ROOT %post %run_ldconfig %postun %run_ldconfig %post extra %run_ldconfig %post tex %run_ldconfig %post fax %run_ldconfig %post 3D %run_ldconfig %post scan %run_ldconfig %post postscript %run_ldconfig %postun extra %run_ldconfig %postun tex %run_ldconfig %postun fax %run_ldconfig %postun 3D %run_ldconfig %postun postscript %run_ldconfig %postun scan %run_ldconfig %postun imaging %run_ldconfig %post imaging %run_ldconfig %files %defattr(-,root,root) %dir /opt/kde3/share/icons/hicolor/16x16 %dir /opt/kde3/share/icons/hicolor/16x16/apps %dir /opt/kde3/share/icons/hicolor/32x32 %dir /opt/kde3/share/icons/hicolor/32x32/apps %dir /opt/kde3/share/icons/hicolor/48x48 %dir /opt/kde3/share/icons/hicolor/48x48/apps /opt/kde3/bin/ksnapshot /opt/kde3/bin/kviewshell /opt/kde3/bin/xf86gammacfg /opt/kde3/%_lib/kde3/kcm_kgamma.* /opt/kde3/%_lib/kde3/kfile_bmp.* /opt/kde3/%_lib/kde3/kfile_dvi.* /opt/kde3/%_lib/kde3/kfile_ico.* /opt/kde3/%_lib/kde3/kfile_jpeg.* /opt/kde3/%_lib/kde3/kfile_pcx.* /opt/kde3/%_lib/kde3/kfile_pn* /opt/kde3/%_lib/kde3/kfile_t* /opt/kde3/%_lib/kde3/kfile_xbm.* /opt/kde3/%_lib/kde3/kfile_ps.* /opt/kde3/%_lib/kde3/kfile_dds.* /opt/kde3/%_lib/kde3/kfile_xpm.* /opt/kde3/%_lib/kde3/gsthumbnail.* /opt/kde3/%_lib/kde3/kfile_rgb.* /opt/kde3/%_lib/kde3/emptymultipagepart.* /opt/kde3/share/services/kfile_ps.desktop /opt/kde3/%_lib/kde3/kviewerpart.* /opt/kde3/%_lib/libkmultipage.* /opt/kde3/share/applications/kde/ksnapshot.desktop %dir /opt/kde3/share/applnk/.hidden /opt/kde3/share/applnk/.hidden/kgamma.desktop /opt/kde3/share/apps/kgamma /opt/kde3/share/apps/kviewerpart /opt/kde3/share/apps/kviewshell /opt/kde3/share/apps/kviewviewer %doc %lang(en) /opt/kde3/share/doc/HTML/en/kgamma /opt/kde3/share/icons/*/*/*/kgamma.* /opt/kde3/share/icons/*/*/*/ksnapshot.* /opt/kde3/share/icons/*/*/*/kviewshell.* /opt/kde3/share/services/emptymultipage.desktop /opt/kde3/share/services/kfile_bmp.desktop /opt/kde3/share/services/kfile_dvi.desktop /opt/kde3/share/services/kfile_ico.desktop /opt/kde3/share/services/kfile_jpeg.desktop /opt/kde3/share/services/kfile_pcx.desktop /opt/kde3/share/services/kfile_pn* /opt/kde3/share/services/kfile_t* /opt/kde3/share/services/kfile_rgb.desktop /opt/kde3/share/services/kfile_xbm.desktop /opt/kde3/share/services/kfile_dds.desktop /opt/kde3/share/services/kfile_xpm.desktop /opt/kde3/share/services/gsthumbnail.desktop /opt/kde3/share/servicetypes/kmultipage.desktop /opt/kde3/share/config.kcfg/kviewshell.kcfg %doc %lang(en) /opt/kde3/share/doc/HTML/en/ksnapshot /opt/kde3/%_lib/kde3/djvuviewpart.la /opt/kde3/%_lib/kde3/djvuviewpart.so /opt/kde3/%_lib/kde3/kfile_gif.la /opt/kde3/%_lib/kde3/kfile_gif.so /opt/kde3/%_lib/kde3/kfile_raw.la /opt/kde3/%_lib/kde3/kfile_raw.so /opt/kde3/%_lib/kde3/libdjvu.la /opt/kde3/%_lib/kde3/libdjvu.so /opt/kde3/share/apps/djvumultipage.rc /opt/kde3/share/config.kcfg/djvumultipage.kcfg /opt/kde3/share/services/djvumultipage.desktop /opt/kde3/share/services/kfile_gif.desktop /opt/kde3/share/services/kfile_raw.desktop /opt/kde3/%_lib/kde3/kfile_pdf.* /opt/kde3/share/services/kfile_pdf.desktop /opt/kde3/%_lib/kde3/kfile_exr.* /opt/kde3/share/services/kfile_exr.desktop /opt/kde3/bin/printnodetest /opt/kde3/bin/svgdisplay /opt/kde3/%_lib/kde3/libksvg* /opt/kde3/%_lib/kde3/svgthumbnail.* /opt/kde3/%_lib/libksvg.* /opt/kde3/%_lib/libtext2path.* /opt/kde3/share/apps/ksvg /opt/kde3/share/services/ksvg* /opt/kde3/share/services/svgthumbnail.desktop /opt/kde3/share/servicetypes/ksvgrenderer.desktop %files imaging %defattr(-,root,root) /opt/kde3/bin/kuickshow /opt/kde3/bin/kiconedit /opt/kde3/bin/kview /opt/kde3/bin/kolourpaint /opt/kde3/%_lib/kde3/kuickshow.* /opt/kde3/share/applications/kde/kuickshow.desktop /opt/kde3/share/apps/kuickshow /opt/kde3/share/icons/*/*x*/*/kuickshow.png /opt/kde3/%_lib/kde3/kcm_kview* /opt/kde3/%_lib/kde3/kview_* /opt/kde3/%_lib/kde3/kview.* /opt/kde3/%_lib/kde3/libkview* /opt/kde3/%_lib/kde3/libphotobook.* /opt/kde3/%_lib/libkdeinit_kview.* /opt/kde3/%_lib/libkdeinit_kuickshow.* /opt/kde3/%_lib/libkimageviewer.* /opt/kde3/share/applications/kde/kiconedit.desktop /opt/kde3/share/applications/kde/kview.desktop /opt/kde3/share/applications/kde/kolourpaint.desktop /opt/kde3/share/apps/kiconedit /opt/kde3/share/apps/kview /opt/kde3/share/apps/kolourpaint /opt/kde3/share/apps/photobook /opt/kde3/share/icons/*/*/*/kolourpaint.* /opt/kde3/share/icons/*/*/*/kiconedit.* /opt/kde3/share/icons/*/*/*/kview.* /opt/kde3/share/services/kview* /opt/kde3/share/servicetypes/kimageviewer* %doc %lang(en) /opt/kde3/share/doc/HTML/en/kiconedit %doc %lang(en) /opt/kde3/share/doc/HTML/en/kview %doc %lang(en) /opt/kde3/share/doc/HTML/en/kolourpaint %doc %lang(en) /opt/kde3/share/doc/HTML/en/kuickshow /opt/kde3/share/icons/*/*/apps/photobook.* /opt/kde3/share/services/photobook.desktop %files extra %defattr(-,root,root) /opt/kde3/bin/kcolor* /opt/kde3/bin/kruler /opt/kde3/share/applications/kde/kc* /opt/kde3/share/applications/kde/kruler.desktop /opt/kde3/share/apps/kcoloredit /opt/kde3/share/apps/kruler /opt/kde3/share/icons/*/*/*/kcolorchooser.* /opt/kde3/share/icons/*/*/*/kcoloredit.* /opt/kde3/share/icons/*/*/*/kruler.* /opt/kde3/share/services/kconfiguredialog %doc %lang(en) /opt/kde3/share/doc/HTML/en/kcoloredit %doc %lang(en) /opt/kde3/share/doc/HTML/en/kruler %files scan %defattr(-,root,root) /opt/kde3/share/icons/*/??x??/*/palette_*.png /opt/kde3/share/icons/*/*/*/kooka.* /opt/kde3/%_lib/libkscan* /opt/kde3/bin/kooka /opt/kde3/share/apps/kooka /opt/kde3/share/applications/kde/kooka.desktop /opt/kde3/share/services/scanservice.desktop /opt/kde3/share/config/kookarc %doc %lang(en) /opt/kde3/share/doc/HTML/*/kooka %files 3D %defattr(-,root,root) /opt/kde3/bin/kpovmodeler /opt/kde3/%_lib/libkpovmodeler.* /opt/kde3/%_lib/kde3/libkpovmodelerpart.* /opt/kde3/share/applications/kde/kpovmodeler.desktop /opt/kde3/share/apps/kpovmodeler /opt/kde3/share/icons/*/*/*/kpovmodeler_doc.* /opt/kde3/share/icons/*/*/*/kpovmodeler.* %doc %lang(en) /opt/kde3/share/doc/HTML/en/kpovmodeler/ %files tex %defattr(-,root,root) /opt/kde3/bin/kdvi /opt/kde3/%_lib/kde3/kdvipart.* /opt/kde3/share/applications/kde/kdvi.desktop /opt/kde3/share/apps/kdvi /opt/kde3/share/config.kcfg/kdvi.kcfg /opt/kde3/share/icons/*/*/*/kdvi.* /opt/kde3/share/services/kdvimultipage.desktop %doc %lang(en) /opt/kde3/share/doc/HTML/en/kdvi %files fax %defattr(-,root,root) /opt/kde3/bin/kfax /opt/kde3/bin/kfaxview /opt/kde3/share/applications/kde/kfax.desktop /opt/kde3/share/apps/kfax /opt/kde3/share/icons/*/*/*/kfaxview.* /opt/kde3/share/icons/*/*/*/kfax.* /opt/kde3/%_lib/kde3/kfaxviewpart.la /opt/kde3/%_lib/kde3/kfaxviewpart.so /opt/kde3/%_lib/libkfaximage.la /opt/kde3/%_lib/libkfaximage.so /opt/kde3/share/applications/kde/kfaxview.desktop %dir /opt/kde3/share/apps/kfaxview /opt/kde3/share/apps/kfaxview/kviewshell.rc /opt/kde3/share/services/kfaxmultipage.desktop /opt/kde3/share/services/kfaxmultipage_tiff.desktop %files pdf %defattr(-,root,root) /opt/kde3/bin/kpdf /opt/kde3/%_lib/kde3/libkpdfpart.* /opt/kde3/share/applications/kde/kpdf.desktop /opt/kde3/share/apps/kpdf* /opt/kde3/share/icons/*/*/*/kpdf.* /opt/kde3/share/services/kpdf_part.desktop %doc %lang(en) /opt/kde3/share/doc/HTML/en/kpdf /opt/kde3/share/config.kcfg/kpdf.kcfg %files postscript %defattr(-,root,root) /opt/kde3/bin/kghostview /opt/kde3/%_lib/libkghostviewlib.* /opt/kde3/%_lib/kde3/libkghostviewpart.* /opt/kde3/share/applications/kde/kghostview.desktop /opt/kde3/share/apps/kghostview /opt/kde3/share/config.kcfg/kghostview.kcfg /opt/kde3/share/apps/kconf_update/kghostview.upd /opt/kde3/share/apps/kconf_update/update-to-xt-names.pl /opt/kde3/share/icons/*/*x*/*/kghostview.png /opt/kde3/share/services/kghostview_part.desktop %doc %lang(en) /opt/kde3/share/doc/HTML/en/kghostview %files kamera %defattr(-,root,root) /opt/kde3/%_lib/kde3/kcm_kamera.* /opt/kde3/%_lib/kde3/kio_kamera.* /opt/kde3/share/icons/*/*/*/camera.* /opt/kde3/share/icons/*/*/*/camera_test.* /opt/kde3/share/services/camera.protocol /opt/kde3/share/applications/kde/kamera.desktop %doc %lang(en) /opt/kde3/share/doc/HTML/en/kamera %files devel %defattr(-,root,root) /opt/kde3/include/dom/SVG* /opt/kde3/include/ksvg /opt/kde3/include/libtext2path-0.1 %dir /opt/kde3/include/kviewshell /opt/kde3/include/kviewshell/anchor.h /opt/kde3/include/kviewshell/bookmark.h /opt/kde3/include/kviewshell/documentPageCache.h /opt/kde3/include/kviewshell/documentRenderer.h /opt/kde3/include/kviewshell/documentWidget.h /opt/kde3/include/kviewshell/history.h /opt/kde3/include/kviewshell/hyperlink.h /opt/kde3/include/kviewshell/kmultipage.h /opt/kde3/include/kviewshell/length.h /opt/kde3/include/kviewshell/pageNumber.h /opt/kde3/include/kviewshell/pageSize.h /opt/kde3/include/kviewshell/pageView.h /opt/kde3/include/kviewshell/renderedDocumentPage.h /opt/kde3/include/kviewshell/renderedDocumentPagePixmap.h /opt/kde3/include/kviewshell/renderedDocumentPagePrinter.h /opt/kde3/include/kviewshell/selection.h /opt/kde3/include/kviewshell/simplePageSize.h /opt/kde3/include/kviewshell/textBox.h /opt/kde3/include/kviewshell/zoom.h /opt/kde3/include/kviewshell/zoomlimits.h /opt/kde3/include/*.h %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