From bf026a663720075695b58226ec4c058f1473b9a8 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 06:49:37 +0000 Subject: auto-import kdegraphics-3.0.0-5a from kdegraphics-3.0.0-5a.src.rpm --- diff --git a/kdegraphics.spec b/kdegraphics.spec index 277c0ad..1a662d8 100644 --- a/kdegraphics.spec +++ b/kdegraphics.spec @@ -1,7 +1,7 @@ %define sourcedir stable/%{version}/distribution/tar/generic/source %define is_release 1 %define beta %{nil} -%define rel 5 +%define rel 5a %define DATE 20020326 Version: 3.0.0 @@ -29,7 +29,10 @@ License: GPL %ifnarch s390 s390x BuildRequires: sane-backends-devel >= 1.0.3-10 %endif -BuildRequires: kdelibs-devel >= 3.0.0-0 zlib-devel libjpeg-devel libpng-devel libtiff-devel imlib-devel gphoto2-devel +BuildRequires: kdelibs-devel >= 3.0.0-0 zlib-devel libjpeg-devel libpng-devel libtiff-devel imlib-devel +%ifnarch s390 s390x +BuildRequires: gphoto2-devel +%endif %description Graphics applications for the K Desktop Environment. @@ -39,6 +42,7 @@ files); kfract (a fractal generator); kghostview (displays postscript files); kiconedit (icon editor); kpaint (a simple drawing program); ksnapshot (screen capture utility); kview (image viewer for GIF, JPEG, TIFF, etc.). +%ifnarch s390 s390x %package -n kamera Summary: Digital camera support for KDE Group: Applications/Multimedia @@ -48,6 +52,7 @@ Requires: gphoto2 Kamera adds support for digital cameras to KDE. After installing kamera, you can access your digital camera just like a filesystem from KDE applications. +%endif %package -n kcoloredit Summary: KDE palette editor and color chooser @@ -214,13 +219,13 @@ you wish to develop or compile applications using libkscan. rm -rf $RPM_BUILD_ROOT %if %{is_release} -%ifnarch alpha +%ifnarch alpha s390 s390x %setup -q -a 1 %else %setup -q %endif %else -%ifnarch alpha +%ifnarch alpha s390 s390x %setup -q -n %{name} -a 1 %else %setup -q -n %{name} @@ -238,7 +243,7 @@ export PATH=`pwd`:$PATH test -f Makefile.cvs && make -f Makefile.cvs %build -%ifnarch alpha +%ifnarch alpha s390 s390x # Build libgpio first, we want kamera... cd libgpio ./autogen.sh @@ -255,7 +260,7 @@ unset QTDIR || : ; . /etc/profile.d/qt.sh CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS -fno-check-new" \ ./configure --prefix=%{_prefix} --enable-final --includedir=/usr/include/kde \ --with-xinerama \ -%ifnarch alpha +%ifnarch alpha s390 s390x --with-kamera --with-gpio-includes=$RPM_BUILD_ROOT%{_includedir}/gpio --with-gpio-libraries=$RPM_BUILD_ROOT%{_libdir} %else --without-kamera @@ -287,7 +292,7 @@ done %post -n libkscan -p /sbin/ldconfig %postun -n libkscan -p /sbin/ldconfig -%ifnarch alpha +%ifnarch alpha s390 s390x %post -n kamera -p /sbin/ldconfig %postun -n kamera -p /sbin/ldconfig