cvsdist 8105645
%define debug 0
cvsdist 8105645
cvsdist 3c8dd82
%define strip_bin 0
cvsdist 3c8dd82
%define final 0
cvsdist 3c8dd82
%define rpm_clean 1
cvsdist 8105645
cvsdist 3c8dd82
%define desktop_file 1
cvsdist 3c8dd82
%define desktop_file_utils_version 0.2.93
cvsdist 8105645
cvsdist 4456b17
%define monolithic 1
cvsdist 4456b17
cvsdist 4456b17
%define kpovmodeler 1
cvsdist 4456b17
cvsdist 4456b17
%define kfract 0
cvsdist 4456b17
cvsdist 4456b17
%define no_scanner_archs s390 s390x
cvsdist 4456b17
cvsdist fda71b6
Version: 3.1.2
cvsdist fda71b6
Release: 0.9x.1
cvsdist 807c342
Name: kdegraphics
cvsdist 807c342
Summary: K Desktop Environment - Graphics Applications
cvsdist 807c342
Epoch: 7
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
BuildRoot: %{_tmppath}/%{name}-buildroot
cvsdist 807c342
License: GPL
cvsdist 8105645
cvsdist 4456b17
Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
cvsdist 4456b17
Patch0: kde-libtool.patch
cvsdist 8105645
cvsdist 4456b17
%ifarch %{scanner_archs}
cvsdist 807c342
BuildRequires: sane-backends-devel >= 1.0.3-10
cvsdist d547f7f
BuildRequires: gphoto2-devel
cvsdist 807c342
%endif
cvsdist 8105645
cvsdist 4456b17
%if %{kpovmodeler}
cvsdist 4456b17
BuildRequires: glut-devel
cvsdist 4456b17
%endif
cvsdist 4456b17
BuildRequires: kdelibs-devel >= %{version}
cvsdist 3c8dd82
BuildRequires: zlib-devel
cvsdist 3c8dd82
BuildRequires: libjpeg-devel
cvsdist 3c8dd82
BuildRequires: libpng-devel
cvsdist 3c8dd82
BuildRequires: libtiff-devel
cvsdist 3c8dd82
BuildRequires: imlib-devel
cvsdist 8105645
cvsdist 3c8dd82
%if %{desktop_file}
cvsdist 3c8dd82
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
cvsdist 3c8dd82
%endif
cvsdist 807c342
cvsdist fda71b6
Requires: kdelibs >= 6:%{version}
cvsdist fda71b6
Requires: kdebase >= 6:%{version}
cvsdist 4456b17
cvsdist 4456b17
Obsoletes: kamera
cvsdist 4456b17
Obsoletes: kcoloredit
cvsdist 4456b17
Obsoletes: kdvi
cvsdist 4456b17
Obsoletes: kfax
cvsdist 4456b17
Obsoletes: kfile-pdf
cvsdist 4456b17
Obsoletes: kfile-png
cvsdist 4456b17
Obsoletes: kfract
cvsdist 4456b17
Obsoletes: kghostview
cvsdist 4456b17
Obsoletes: kiconedit
cvsdist 4456b17
Obsoletes: kooka
cvsdist 4456b17
Obsoletes: kpaint
cvsdist 4456b17
Obsoletes: kruler
cvsdist 4456b17
Obsoletes: ksnapshot
cvsdist 4456b17
Obsoletes: kuickshow
cvsdist 4456b17
Obsoletes: kview
cvsdist 4456b17
Obsoletes: kviewshell
cvsdist 4456b17
Obsoletes: libkscan
cvsdist 4456b17
cvsdist 4456b17
Provides: kamera
cvsdist 4456b17
Provides: kcoloredit
cvsdist 4456b17
Provides: kdvi
cvsdist 4456b17
Provides: kfax
cvsdist 4456b17
Provides: kfile-pdf
cvsdist 4456b17
Provides: kfile-png
cvsdist 4456b17
Provides: kfract
cvsdist 4456b17
Provides: kghostview
cvsdist 4456b17
Provides: kiconedit
cvsdist 4456b17
Provides: kooka
cvsdist 4456b17
Provides: kpaint
cvsdist 4456b17
Provides: kruler
cvsdist 4456b17
Provides: ksnapshot
cvsdist 4456b17
Provides: kuickshow
cvsdist 4456b17
Provides: kview
cvsdist 4456b17
Provides: kviewshell
cvsdist 4456b17
Provides: libkscan
cvsdist 8105645
cvsdist 807c342
%description
cvsdist 807c342
Graphics applications for the K Desktop Environment.
cvsdist 807c342
cvsdist 4456b17
Includes:
cvsdist 4456b17
  kdvi (displays TeX .dvi files)
cvsdist 4456b17
  kfax (displays faxfiles)
cvsdist 4456b17
  kghostview (displays postscript files)
cvsdist 4456b17
  kcoloredit (palette editor and color chooser)
cvsdist 4456b17
  kamera (digital camera support)
cvsdist 4456b17
  kiconedit (icon editor)
cvsdist 4456b17
  kpaint (a simple drawing program)
cvsdist 4456b17
  ksnapshot (screen capture utility)
cvsdist 4456b17
  kview (image viewer for GIF, JPEG, TIFF, etc.)
cvsdist 4456b17
  kuickshow (quick picture viewer)
cvsdist 4456b17
  kooka (scanner application)
cvsdist 4456b17
  kruler (screen ruler and color measurement tool)
cvsdist 4456b17
cvsdist 4456b17
%package devel
cvsdist 4456b17
Summary: Development files for kdegraphics
cvsdist 4456b17
Requires: %{name} = %{version}-%{release}
cvsdist 4456b17
Group: Development/Libraries
cvsdist 4456b17
cvsdist 4456b17
Obsoletes: kviewshell-devel
cvsdist 4456b17
Obsoletes: libkscan-devel
cvsdist 4456b17
cvsdist 4456b17
Provides: kviewshell-devel
cvsdist 4456b17
Provides: libkscan-devel
cvsdist 4456b17
cvsdist 4456b17
%description devel
cvsdist 4456b17
Graphic applications for the K Desktop Environment.
cvsdist 4456b17
This package contains header files for developing applications using kdegraphics.
cvsdist 807c342
cvsdist 807c342
%package -n kamera
cvsdist 807c342
Summary: Digital camera support for KDE
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 568582a
Requires: gphoto2
cvsdist 807c342
cvsdist 807c342
%description -n kamera
cvsdist 807c342
Kamera adds support for digital cameras to KDE.
cvsdist 807c342
After installing kamera, you can access your digital camera just like
cvsdist 807c342
a filesystem from KDE applications.
cvsdist 807c342
cvsdist 807c342
%package -n kcoloredit
cvsdist 807c342
Summary: KDE palette editor and color chooser
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kcoloredit
cvsdist 807c342
KDE palette editor and color chooser.
cvsdist 807c342
kcoloredit can be used by other programs (and scripts) to pick a color or
cvsdist 807c342
edit a palette.
cvsdist 807c342
cvsdist 807c342
%package -n kdvi
cvsdist 807c342
Summary: KDE DVI (TeX output) file viewer
cvsdist 807c342
Group: Applications/Publishing
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kdvi
cvsdist 807c342
A DVI (TeX output) file viewer for KDE.
cvsdist 807c342
cvsdist 807c342
%package -n kfax
cvsdist 807c342
Summary: KDE Fax viewer
cvsdist 807c342
Group: Applications/Communications
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kfax
cvsdist 807c342
A KDE viewer for incoming faxes
cvsdist 807c342
cvsdist 4456b17
%package -n kfile
cvsdist 4456b17
Summary: KFile module for reading image file
cvsdist 807c342
Group: Applications/File
cvsdist 4456b17
Obsoletes: kfile-png
cvsdist 4456b17
Obsoletes: kfile-pdf
cvsdist 807c342
cvsdist 4456b17
%description -n kfile
cvsdist 4456b17
The KFile plugin allows all applications using KFile (e.g. Konqueror) to
cvsdist 4456b17
view information on image files.
cvsdist 807c342
cvsdist 807c342
%package -n kfract
cvsdist 807c342
Summary: KDE Fractal Generator
cvsdist 807c342
Group: Applications/Engineering
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kfract
cvsdist 807c342
A Fractal generator for KDE
cvsdist 807c342
cvsdist 807c342
%package -n kghostview
cvsdist 807c342
Summary: PostScript viewer for KDE
cvsdist 807c342
Group: Applications/Publishing
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kghostview
cvsdist 807c342
A PostScript and PDF file viewer for KDE.
cvsdist 807c342
In addition to being a standalone viewer application, kghostview acts as
cvsdist 807c342
a Konqueror plugin.
cvsdist 807c342
cvsdist 807c342
%package -n kiconedit
cvsdist 807c342
Summary: An icon editor for creating KDE icons
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kiconedit
cvsdist 807c342
An icon editor for creating KDE icons
cvsdist 807c342
cvsdist 807c342
%package -n kooka
cvsdist 807c342
Summary: KDE scanner application
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Requires: libkscan = %{version}-%{release}, sane-backends
cvsdist 807c342
cvsdist 807c342
%description -n kooka
cvsdist 807c342
Kooka is a KDE application for previewing, cutting and receiving images
cvsdist 807c342
from a scanner.
cvsdist 807c342
cvsdist 807c342
%package -n kpaint
cvsdist 807c342
Summary: A simple paint program for KDE
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kpaint
cvsdist 807c342
A simple bitmap paint program for KDE.
cvsdist 807c342
cvsdist 807c342
%package -n kruler
cvsdist 807c342
Summary: A screen ruler and color measurement tool
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kruler
cvsdist 807c342
A screen ruler and color measurement tool
cvsdist 807c342
cvsdist 807c342
%package -n ksnapshot
cvsdist 807c342
Summary: A KDE applet for taking snapshots of the desktop
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n ksnapshot
cvsdist 807c342
A KDE applet for taking screenshots.
cvsdist 807c342
ksnapshot allows both capturing the whole desktop and capturing just
cvsdist 807c342
the active window.
cvsdist 807c342
cvsdist 807c342
%package -n kuickshow
cvsdist 807c342
Summary: Quick picture viewer for KDE
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kuickshow
cvsdist 807c342
Kuickshow is a picture viewer for KDE. It displays the directory structure,
cvsdist 807c342
displaying images as thumbnails.
cvsdist 807c342
Clicking on an image shows the image in its normal size.
cvsdist 807c342
cvsdist 807c342
%package -n kview
cvsdist 807c342
Summary: KDE Image Viewer
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kview
cvsdist 807c342
KView is a KDE image viewer, supporting a wide range of graphics file formats.
cvsdist 807c342
cvsdist 807c342
%package -n kviewshell
cvsdist 807c342
Summary: Plugin integration for KView
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Requires: kview
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n kviewshell
cvsdist 807c342
KViewShell allows the kview image viewer to be embedded into other KDE
cvsdist 807c342
applications.
cvsdist 807c342
cvsdist 807c342
%package -n kviewshell-devel
cvsdist 807c342
Summary: Development files for kviewshell
cvsdist 807c342
Group: Development/Libraries
cvsdist 807c342
Requires: kviewshell
cvsdist 807c342
Obsoletes: kdegraphics-devel
cvsdist 807c342
cvsdist 807c342
%description -n kviewshell-devel
cvsdist 807c342
Development files for KViewShell.
cvsdist 807c342
Install kdegraphics-kviewshell-devel if you wish to develop or compile
cvsdist 807c342
applications using kviewshell.
cvsdist 807c342
cvsdist 807c342
%package -n libkscan
cvsdist 807c342
Summary: KDE library for scanner support.
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Requires: sane-backends
cvsdist 807c342
Obsoletes: kdegraphics
cvsdist 807c342
cvsdist 807c342
%description -n libkscan
cvsdist 807c342
KDE library for scanner support.
cvsdist 807c342
cvsdist 807c342
%package -n libkscan-devel
cvsdist 807c342
Summary: Development files for libkscan
cvsdist 807c342
Group: Applications/Multimedia
cvsdist 807c342
Requires: libkscan = %{version}-%{release}
cvsdist 807c342
Obsoletes: kdegraphics-devel
cvsdist 807c342
cvsdist 807c342
%description -n libkscan-devel
cvsdist 807c342
Development files for libkscan - install kdegraphics-libkscan-devel if
cvsdist 807c342
you wish to develop or compile applications using libkscan.
cvsdist 807c342
cvsdist 4456b17
%package -n kmrml
cvsdist 4456b17
Summary: MRML (Multimedia Retrieval Markup Language) client
cvsdist 4456b17
Group: Applications/Multimedia
cvsdist 807c342
cvsdist 4456b17
%description -n kmrml
cvsdist 4456b17
This package contains an MRML (Multimedia Retrieval Markup Language, http://www.mrml.net/) client
cvsdist 4456b17
for Konqueror.
cvsdist 8105645
cvsdist 4456b17
%package -n kpovmodeler
cvsdist 4456b17
Summary: Model editor for the PovRay raytracer
cvsdist 4456b17
Group: Applications/Multimedia
cvsdist 807c342
cvsdist 4456b17
%description -n kpovmodeler
cvsdist 4456b17
This package contains a model editor for the PovRay raytracer.
cvsdist 4456b17
cvsdist 4456b17
%prep
cvsdist 4456b17
%setup -q
cvsdist 4456b17
%patch0 -p1 -b .libtool
cvsdist d00c5a7
cvsdist 807c342
# Workaround for legacy auto* tools
cvsdist 807c342
[ -x /usr/bin/autoconf-2.5? ] && ln -s /usr/bin/autoconf-2.5? autoconf
cvsdist 807c342
[ -x /usr/bin/autoheader-2.5? ] && ln -s /usr/bin/autoheader-2.5? autoheader
cvsdist 807c342
[ -x /usr/bin/aclocal-1.5 ] && ln -s /usr/bin/aclocal-1.5 aclocal
cvsdist 807c342
[ -x /usr/bin/automake-1.5 ] && ln -s /usr/bin/automake-1.5 automake
cvsdist 807c342
export PATH=`pwd`:$PATH
cvsdist 4456b17
# End workaround
cvsdist 4456b17
cvsdist 807c342
test -f Makefile.cvs && make -f Makefile.cvs
cvsdist 807c342
cvsdist 807c342
%build
cvsdist 3c8dd82
export PATH=`pwd`:$PATH
cvsdist 4456b17
export CFLAGS="$RPM_OPT_FLAGS"
cvsdist 4456b17
export CXXFLAGS="$RPM_OPT_FLAGS -fno-use-cxa-atexit"
cvsdist 807c342
export KDEDIR=%{_prefix}
cvsdist 807c342
unset QTDIR || : ; . /etc/profile.d/qt.sh
cvsdist 807c342
cvsdist 4456b17
%configure \
cvsdist 4456b17
   --with-qt-libraries=$QTDIR/lib \
cvsdist 8105645
   --enable-final \
cvsdist 8105645
   --includedir=/usr/include/kde \
cvsdist 8105645
   --with-xinerama \
cvsdist 4456b17
%ifnarch %{no_scanner_archs}
cvsdist 8105645
   --with-kamera \
cvsdist 807c342
%else
cvsdist 8105645
   --without-kamera
cvsdist 807c342
%endif
cvsdist 3c8dd82
cvsdist 807c342
make %{?smp_mflags}
cvsdist 807c342
cvsdist 807c342
%install
cvsdist 4456b17
rm -rf $RPM_BUILD_ROOT
cvsdist 4456b17
cvsdist 807c342
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 807c342
cvsdist 8105645
pushd $RPM_BUILD_ROOT/usr/share/doc/HTML/en
cvsdist 807c342
for i in *; do
cvsdist 8105645
   if [ -d $i -a -L $i/common ]; then
cvsdist 8105645
      rm -f $i/common
cvsdist 8105645
      ln -sf ../common $i
cvsdist 8105645
   fi
cvsdist 8105645
done
cvsdist 8105645
popd
cvsdist 3c8dd82
cvsdist 4456b17
# move desktop files back
cvsdist 4456b17
pushd $RPM_BUILD_ROOT%{_datadir}/applnk
cvsdist 4456b17
for i in `find . -name "More"`; do
cvsdist 4456b17
   if /bin/ls $i/*.desktop >& /dev/null ; then
cvsdist 4456b17
      pushd $i
cvsdist 4456b17
      for j in *.desktop ; do
cvsdist 4456b17
         grep "Hidden=true" $j >& /dev/null || mv -f $j ..
cvsdist 4456b17
      done
cvsdist 4456b17
      popd
cvsdist 4456b17
   fi
cvsdist 4456b17
done
cvsdist 4456b17
popd
cvsdist 4456b17
cvsdist 4456b17
%if ! %{kpovmodeler}
cvsdist 4456b17
rm -rf $RPM_BUILD_ROOT%{_docdir}/HTML/en/kpovmodeler
cvsdist 4456b17
%endif
cvsdist 4456b17
cvsdist 3c8dd82
%if %{desktop_file}
cvsdist 3c8dd82
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cvsdist 3c8dd82
cvsdist 3c8dd82
desktop-file-install --vendor kde \
cvsdist 3c8dd82
   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
cvsdist 4456b17
   --delete-original \
cvsdist 3c8dd82
   --add-category "Application;Graphics;X-Red-Hat-Base" \
cvsdist 3c8dd82
   --copy-generic-name-to-name \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kcoloredit.desktop \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kdvi.desktop \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kfax.desktop
cvsdist 3c8dd82
cvsdist 3c8dd82
desktop-file-install --vendor kde \
cvsdist 3c8dd82
   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
cvsdist 4456b17
   --delete-original \
cvsdist 3c8dd82
   --add-category "Application;Graphics;X-Red-Hat-Base" \
cvsdist 3c8dd82
   --copy-generic-name-to-name \
cvsdist 3c8dd82
   --add-only-show-in KDE \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/ksnapshot.desktop
cvsdist 3c8dd82
cvsdist 3c8dd82
desktop-file-install --vendor kde \
cvsdist 3c8dd82
   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
cvsdist 4456b17
   --delete-original \
cvsdist 3c8dd82
   --add-category "Application;Graphics;X-Red-Hat-Extra" \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kuickshow.desktop
cvsdist 3c8dd82
cvsdist 3c8dd82
desktop-file-install --vendor kde \
cvsdist 3c8dd82
   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
cvsdist 4456b17
   --delete-original \
cvsdist 3c8dd82
   --add-category "Application;Graphics;X-Red-Hat-Extra" \
cvsdist 3c8dd82
   --copy-generic-name-to-name \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kghostview.desktop \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kiconedit.desktop \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kpaint.desktop \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kruler.desktop \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kview.desktop \
cvsdist 4456b17
%if "%{kpovmodeler}" == "1"
cvsdist 4456b17
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kpovmodeler.desktop \
cvsdist 4456b17
%endif
cvsdist 4456b17
%ifnarch %{no_scanner_archs}
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kooka.desktop \
cvsdist 3c8dd82
%endif
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kcolorchooser.desktop
cvsdist 3c8dd82
cvsdist 4456b17
for i in Accessibility Components FileBrowsing Information LookNFeel Network \
cvsdist 4456b17
   Peripherals Personalization PowerControl Sound WebBrowsing Security \
cvsdist 4456b17
   Desktop LookNFeel/Desktop LookNFeel/Themes LookNFeel/Windows System; do
cvsdist 3c8dd82
   case $i in
cvsdist 4456b17
      Accessibility) catagory="X-KDE-Accessibility";;
cvsdist 3c8dd82
      FileBrowsing) catagory="X-KDE-FileBrowsing";;
cvsdist 3c8dd82
      Databases) catagory="X-KDE-Database";;
cvsdist 4456b17
      Desktop) catagory="X-KDE-Desktop";;
cvsdist 3c8dd82
      Help) catagory="X-KDE-Help";;
cvsdist 3c8dd82
      Information) catagory="X-KDE-Information";;
cvsdist 3c8dd82
      LookNFeel) catagory="X-KDE-LookNFeel";;
cvsdist 4456b17
      LookNFeel/Desktop) catagory="X-KDE-LookNFeel-Desktop";;
cvsdist 4456b17
      LookNFeel/Themes) catagory="X-KDE-LookNFeel-Theme";;
cvsdist 4456b17
      LookNFeel/Windows) catagory="X-KDE-LookNFeel-Window";;
cvsdist 3c8dd82
      Network) catagory="X-KDE-Network";;
cvsdist 3c8dd82
      Peripherals) catagory="X-KDE-Peripherals";;
cvsdist 3c8dd82
      Personalization) catagory="X-KDE-Personalization";;
cvsdist 4456b17
      Components) catagory="X-KDE-Components";;
cvsdist 4456b17
      Security) catagory="X-KDE-Security";;
cvsdist 3c8dd82
      PowerControl) catagory="X-KDE-PowerControl";;
cvsdist 3c8dd82
      Sound) catagory="X-KDE-Sound";;
cvsdist 3c8dd82
      System) catagory="X-KDE-System";;
cvsdist 3c8dd82
      WebBrowsing) catagory="X-KDE-WebBrowsing";;
cvsdist 3c8dd82
   esac
cvsdist 3c8dd82
   if /bin/ls $RPM_BUILD_ROOT%{_datadir}/applnk/Settings/$i/*.desktop >& /dev/null ; then
cvsdist 3c8dd82
     desktop-file-install --vendor kde \
cvsdist 3c8dd82
       --dir $RPM_BUILD_ROOT%{_datadir}/applications \
cvsdist 4456b17
       --delete-original \
cvsdist 3c8dd82
       --add-category "$catagory" \
cvsdist 3c8dd82
       --add-only-show-in KDE \
cvsdist 3c8dd82
       $RPM_BUILD_ROOT%{_datadir}/applnk/Settings/$i/*.desktop
cvsdist 3c8dd82
   fi
cvsdist 3c8dd82
done
cvsdist 3c8dd82
cvsdist 4456b17
%ifnarch %{no_scanner_archs}
cvsdist 3c8dd82
mkdir -p $RPM_BUILD_ROOT%{_datadir}/apps/kcontrol/applnk
cvsdist 3c8dd82
mv $RPM_BUILD_ROOT%{_datadir}/applnk/Settings \
cvsdist 3c8dd82
   $RPM_BUILD_ROOT%{_datadir}/apps/kcontrol/applnk/Preferences
cvsdist 3c8dd82
%endif
cvsdist 807c342
cvsdist 4456b17
rm -rfv $RPM_BUILD_ROOT%{_datadir}/applnk
cvsdist 3c8dd82
%endif
cvsdist 807c342
cvsdist 4456b17
%clean
cvsdist 4456b17
rm -rf $RPM_BUILD_ROOT
cvsdist 807c342
cvsdist 4456b17
%post -p /sbin/ldconfig
cvsdist 807c342
cvsdist 4456b17
%postun -p /sbin/ldconfig
cvsdist 807c342
cvsdist 4456b17
%files
cvsdist 807c342
%defattr(-,root,root)
cvsdist 4456b17
%doc %{_docdir}/HTML/en/*
cvsdist 4456b17
%{_bindir}/*
cvsdist 4456b17
%{_libdir}/*.so*
cvsdist 4456b17
%{_libdir}/*.la
cvsdist 4456b17
%{_libdir}/kde3/*
cvsdist 4456b17
%{_datadir}/icons/*/*/*/*
cvsdist 4456b17
%ifnarch %{no_scanner_archs}
cvsdist 4456b17
%{_datadir}/config/*
cvsdist 4456b17
%endif
cvsdist 4456b17
%{_datadir}/services/*
cvsdist 4456b17
%{_datadir}/servicetypes/*
cvsdist 4456b17
%{_datadir}/apps/*
cvsdist 4456b17
%{_datadir}/mimelnk/text/*
cvsdist 3c8dd82
%if %{desktop_file}
cvsdist 4456b17
%{_datadir}/applications/*
cvsdist 3c8dd82
%else
cvsdist 4456b17
%{_datadir}/applnk/*
cvsdist 3c8dd82
%endif
cvsdist 807c342
cvsdist 4456b17
%files devel
cvsdist 807c342
%defattr(-,root,root)
cvsdist 4456b17
%{_includedir}/kde/*
cvsdist 807c342
cvsdist 4456b17
%changelog
cvsdist fda71b6
* Wed May 14 2003 Than Ngo <than@redhat.com> 3.1.2-0.9x.1
cvsdist fda71b6
- 3.1.2
cvsdist fda71b6
cvsdist fda71b6
* Tue Apr 22 2003 Than Ngo <than@redhat.com> 3.1.1-2
cvsdist b5f9252
- PS/PDF file handling vulnerability
cvsdist b5f9252
cvsdist fda71b6
* Thu Mar 20 2003 Than Ngo <than@redhat.com> 3.1.1-1
cvsdist fda71b6
- 3.1.1
cvsdist fda71b6
cvsdist 4456b17
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 4456b17
- debuginfo rebuild
cvsdist 807c342
cvsdist 4456b17
* Fri Feb 21 2003 Than Ngo <than@redhat.com> 3.1-3
cvsdist 4456b17
- get rid of gcc path from dependency_libs
cvsdist 807c342
cvsdist 4456b17
* Wed Feb 19 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 4456b17
- BuildRequires: glut-devel if kpovmodeler
cvsdist 807c342
cvsdist 4456b17
* Tue Jan 28 2003 Than Ngo <than@redhat.com> 3.1-1
cvsdist 4456b17
- 3.1 release
cvsdist 4456b17
- remove excludearch ia64
cvsdist 4456b17
- remove some unneeded macros
cvsdist 807c342
cvsdist 4456b17
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 4456b17
- rebuilt
cvsdist 807c342
cvsdist 4456b17
* Mon Jan 13 2003 Thomas Woerner <twoerner@redhat.com> 3.1-0.3
cvsdist 4456b17
- rc6
cvsdist 4456b17
- exclude ia64
cvsdist 807c342
cvsdist 4456b17
* Thu Nov 28 2002 Than Ngo <than@redhat.com> 3.1-0.2
cvsdist 4456b17
- fix desktop file issues
cvsdist 4456b17
- get rid of su packages
cvsdist d00c5a7
cvsdist 4456b17
* Sun Nov 24 2002 Than Ngo <than@redhat.com> 3.1-0.1
cvsdist 4456b17
- update to 3.1 rc4
cvsdist 8105645
cvsdist 8105645
* Sun Nov 10 2002 Than Ngo <than@redhat.com> 3.0.5-1
cvsdist 8105645
- update to 3.0.5
cvsdist 8105645
cvsdist 8105645
* Tue Oct 15 2002 Than Ngo <than@redhat.com> 3.0.4-1
cvsdist 8105645
- 3.0.4
cvsdist f1ae2b2
cvsdist 2b77f26
* Sun Aug 25 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 2b77f26
- compile on mainframe
cvsdist 2b77f26
cvsdist d547f7f
* Wed Aug 14 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist d547f7f
- change spec file to work for more archs
cvsdist d547f7f
cvsdist 3c8dd82
* Mon Aug 12 2002 Than Ngo <than@redhat.com> 3.0.3-1
cvsdist 4414d82
- 3.0.3
cvsdist 3c8dd82
- build using gcc-3.2-0.3
cvsdist 3c8dd82
cvsdist 3c8dd82
* Fri Aug  9 2002 Than Ngo <than@redhat.com> 3.0.2-4
cvsdist 3c8dd82
- desktop files issues (bug #71018)
cvsdist 3c8dd82
cvsdist 3c8dd82
* Tue Jul 23 2002 Tim Powers <timp@redhat.com> 3.0.2-3
cvsdist 3c8dd82
- build using gcc-3.2-0.1
cvsdist 3c8dd82
cvsdist 3c8dd82
* Sat Jul 20 2002 Than Ngo <than@redhat.com> 3.0.2-2
cvsdist 3c8dd82
- fix desktop files issue
cvsdist 3c8dd82
cvsdist 3c8dd82
* Tue Jul 09 2002 Than Ngo <than@redhat.com> 3.0.2-1
cvsdist 3c8dd82
- 3.0.2
cvsdist 3c8dd82
- use desktop-file-install
cvsdist 3c8dd82
cvsdist 3c8dd82
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 3c8dd82
- automated rebuild
cvsdist 3c8dd82
cvsdist 3c8dd82
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist 3c8dd82
- automated rebuild
cvsdist 3c8dd82
cvsdist 3c8dd82
* Tue May 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-1
cvsdist 3c8dd82
- 3.0.1
cvsdist 4414d82
cvsdist 568582a
* Tue Apr 16 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-5
cvsdist 568582a
- rename libraries
cvsdist 568582a
cvsdist 568582a
* Mon Apr  8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-4
cvsdist 568582a
- Fix libkviewpart.* duplication (kview and kviewshell, #62749)
cvsdist 568582a
- Shut up rpmlint
cvsdist 568582a
cvsdist 807c342
* Fri Mar 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-3
cvsdist 807c342
- Obsolete the old monolithic package
cvsdist 807c342
- Fix build with gcc 3.1
cvsdist 807c342
cvsdist 807c342
* Thu Mar 28 2002 Than Ngo <than@redhat.com> 3.0.0-2
cvsdist 807c342
- fix deps problem
cvsdist 807c342
cvsdist 807c342
* Wed Mar 27 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-1
cvsdist 807c342
- 3.0.0 final
cvsdist 807c342
cvsdist 807c342
* Thu Mar 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20020321.1
cvsdist 807c342
- Add docs for kooka and kuickshow and kfile PostScript plugin
cvsdist 807c342
cvsdist 807c342
* Wed Mar  6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20020306.1
cvsdist 807c342
- Update
cvsdist 807c342
- Rename subpackages
cvsdist 807c342
- Don't build kamera on alpha
cvsdist 807c342
cvsdist 807c342
* Wed Dec 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20011226.1
cvsdist 807c342
- Update
cvsdist 807c342
- Reorganize package
cvsdist 807c342
cvsdist 807c342
* Thu Jul 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-0.cvs20010726.1
cvsdist 807c342
- The -devel package has kscan-related files -n only. Since kscan isn't built
cvsdist 807c342
  on s390/s390x, don't build the devel package there.
cvsdist 807c342
cvsdist 807c342
* Tue Jul 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-0.cvs20010724.1
cvsdist 807c342
- Add more build dependencies (#48970)
cvsdist 807c342
- Remove ia64 workarounds, no longer needed
cvsdist 807c342
- Update
cvsdist 807c342
cvsdist 807c342
* Mon Jul 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-0.cvs20010723.1
cvsdist 807c342
- Restore -devel package, got lost during the update
cvsdist 807c342
- Fix build on s390/s390x
cvsdist 807c342
- Update
cvsdist 807c342
cvsdist 807c342
* Sun Jul 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-0.cvs20010722.2
cvsdist 807c342
- Make symlinks relative
cvsdist 807c342
- Update
cvsdist 807c342
cvsdist 807c342
* Wed Feb 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- 2.1-respin
cvsdist 807c342
cvsdist 807c342
* Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- 2.1
cvsdist 807c342
cvsdist 807c342
* Fri Feb 16 2001 Than Ngo <than@redhat.com>
cvsdist 807c342
- fix to build against glibc
cvsdist 807c342
cvsdist 807c342
* Tue Feb  6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- Get rid of libkdefakes.so.0 dependency
cvsdist 807c342
cvsdist 807c342
* Mon Jan 22 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- Update
cvsdist 807c342
cvsdist 807c342
* Mon Jan  1 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- Update
cvsdist 807c342
cvsdist 807c342
* Wed Dec 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- Update
cvsdist 807c342
- Stop excluding ia64
cvsdist 807c342
cvsdist 807c342
* Wed Nov 15 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- Update to HEAD
cvsdist 807c342
cvsdist 807c342
* Fri Nov  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- Update to KDE_2_0_BRANCH
cvsdist 807c342
cvsdist 807c342
* Mon Oct 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- 2.0 final
cvsdist 807c342
cvsdist 807c342
* Thu Aug 24 2000 Than Ngo <than@redhat.com>
cvsdist 807c342
- update to kdegraphics-1.93
cvsdist 807c342
cvsdist 807c342
* Sun Aug 20 2000 Than Ngo <than@redhat.com>
cvsdist 807c342
- add missing kdegraphic2 package
cvsdist 807c342
cvsdist 807c342
* Mon Aug  7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- new version
cvsdist 807c342
cvsdist 807c342
* Tue Jul 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- new snapshot
cvsdist 807c342
- work around compiler bug by disabling kcoloredit for now, FIXME
cvsdist 807c342
cvsdist 807c342
* Fri Jul 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- new snapshot
cvsdist 807c342
- SMPify build
cvsdist 807c342
cvsdist 807c342
* Sun Jul 16 2000 Than Ngo <than@redhat.de>
cvsdist 807c342
- use gcc 2.96
cvsdist 807c342
- new snapshot
cvsdist 807c342
- fix docdir
cvsdist 807c342
cvsdist 807c342
* Fri Jun 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- Add Epoch - for some reason, rpm thinks 1.1.2 > 1.92.20000623.
cvsdist 807c342
cvsdist 807c342
* Tue Jun 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- new snapshot
cvsdist 807c342
- ExcludeArch ia64 for now
cvsdist 807c342
cvsdist 807c342
* Sat Mar 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 807c342
- new snapshot
cvsdist 807c342
- move it to /usr, where it belongs
cvsdist 807c342
cvsdist 807c342
* Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.de>
cvsdist 807c342
- Fix compilation
cvsdist 807c342
cvsdist 807c342
* Fri Oct 22 1999 Bernhard Rosenkraenzer <bero@redhat.de>
cvsdist 807c342
- 2.0 CVS
cvsdist 807c342
cvsdist 807c342
* Fri Sep 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 807c342
- mark doc files as such
cvsdist 807c342
cvsdist 807c342
* Wed Sep 08 1999 Preston Brown <pbrown@redhat.com>
cvsdist 807c342
- upgraded to 1.1.2 release
cvsdist 807c342
cvsdist 807c342
* Fri Jun 11 1999 Preston Brown <pbrown@redhat.com>
cvsdist 807c342
- snapshot, includes kde 1.1.1 + fixes
cvsdist 807c342
cvsdist 807c342
* Mon Apr 19 1999 Preston Brown <pbrown@redhat.com>
cvsdist 807c342
- last snapshot before release
cvsdist 807c342
cvsdist 807c342
* Mon Apr 12 1999 Preston Brown <pbrown@redhat.com>
cvsdist 807c342
- latest stable snapshot
cvsdist 807c342
cvsdist 807c342
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 807c342
- Injected new description and group.
cvsdist 807c342
cvsdist 807c342
* Mon Feb 08 1999 Preston Brown <pbrown@redhat.com>
cvsdist 807c342
- upgraded to KDE 1.1 final.
cvsdist 807c342
cvsdist 807c342
* Sat Feb 06 1999 Preston Brown <pbrown@redhat.com>
cvsdist 807c342
- updates to new libstdc++ and rpm standards.
cvsdist 807c342
cvsdist 807c342
* Wed Jan 06 1999 Preston Brown <pbrown@redhat.com>
cvsdist 807c342
- re-merged in updates from Duncan Haldane
cvsdist 807c342