diff --git a/kdelibs.spec b/kdelibs.spec deleted file mode 100644 index 4913982..0000000 --- a/kdelibs.spec +++ /dev/null @@ -1,856 +0,0 @@ -%define kde_major_version 2 -%define pkg kdelibs -%define is_release 1 -%define beta %{nil} -%define cups %{nil} -%define rel 2 -%define debug 0 -%define DATE 20020109 -Version: 2.2.2 -%define ver %{version}%{beta} -Summary: Various libraries for KDE. -%if %{is_release} -Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/distribution/tar/generic/source/%{pkg}-%{ver}.tar.bz2 -%else -Source: cvs://cvs.kde.org/%{pkg}-%{DATE}.tar.bz2 -%endif -Patch1: kdelibs-2.0-final.patch -Patch2: kdelibs-2.0-nodebug.patch -Patch3: klauncher-escape.patch -Patch4: kdelibs-20010205-Japanese.patch -Patch5: kdelibs-2.2.1-cookies.patch -Patch6: kdelibs-2.1-noxs.patch -Patch7: kdelibs-2.1.1-debug.patch -Patch8: kdelibs-2.1.1-cookieperms.patch -Patch10: kdelibs-2.2-ssl.patch -Patch11: kdelibs-2.1.1-path.patch -Patch14: khtml-onChange.patch -Patch15: kdelibs-2.2.1-glib.patch -# Japanese patches -Patch100: http://www.kde.gr.jp/patch/kdelibs-2.2beta1-keditcl1-20010706.diff -Patch101: http://www.kde.gr.jp/patch/kdelibs-2.2beta1-khtml-autoencode-ja-20010708.diff -Name: %{pkg} -Prefix: %{_prefix} -Requires: qt >= 2.3.1 openssl -BuildRequires: qt-devel >= 2.3.1 -Obsoletes: %{pkg}2 -BuildPrereq: flex >= 2.5.4a-13 kdoc >= %{version} libxslt-devel >= 1.0.7 -BuildPrereq: sgml-common openjade jadetex docbook-dtd31-sgml docbook-style-dsssl perl-SGMLSpm docbook-utils pcre-devel zlib-devel openssl-devel -Icon: kde-icon.xpm -Epoch: 6 -%if %{is_release} -%if "%{beta}" != "" -Release: 0.%{beta}.%{rel}%{cups} -%else -Release: %{rel}%{cups} -%endif -%else -Release: 0.cvs%{DATE}.%{rel}%{cups} -%endif -Group: System Environment/Libraries -License: LGPL -BuildRoot: %{_tmppath}/%{pkg}-buildroot -Obsoletes: kdesupport - -%description -The K Desktop Environment (KDE) is a GUI desktop for the X Window -System. The kdelibs package contains a variety of libraries used by -KDE, including: kdecore, the KDE core library; kdeui, a user interface -library; kfm, the file manager; khtmlw, HTML widgets; kfile, for file -access; kspell, the spelling checker; jscript, for javascript; kab, -the addressbook; kimgio, for image manipulation; and arts, for sound, -mixing, and animation. - -%package devel -Group: Development/Libraries -Summary: Header files and documentation for compiling KDE applications. -Requires: qt-devel >= 2.3.1, %{name} = %{version}, pcre-devel -Obsoletes: kdesupport-devel - -%description devel -This package includes the header files you will need to compile -applications for KDE. The KDE API documentation is also included in -HTML format. - -%package sound -Group: System Environment/Libraries -Summary: KDE libraries needed to support sound. -Requires: %{name} = %{version}, arts = %{version}, audiofile -Obsoletes: %{pkg}2-sound - -%description sound -The K Desktop Environment (KDE) is a GUI desktop for the X Window -System. The kdelibs-sound package contains the libraries used by KDE -to support sound. - -%package -n arts -Group: System Environment/Libraries -Summary: A modularized sound system for KDE. -Requires: audiofile - -%description -n arts -aRts (Analog Real-Time Synthesizer) is a sound system for KDE -2.x. aRts creates and processes sound using small modules that do -certain tasks. aRts modules can create waveforms (oscillators), play -samples, filter data, add signals, perform effects like -delay/flanger/chorus, or output the data to the soundcard. - -By connecting all those small modules together, you can perform -complex tasks like simulating a mixer, generating an instrument, or -playing a wave file with effects. - -%package sound-devel -Group: Development/Libraries -Summary: Header files for compiling KDE sound applications. -Requires: %{name} = %{version}, %{name}-devel = %{version}, %{name}-sound = %{version}, audiofile-devel -Obsoletes: %{pkg}2-sound-devel - -%description sound-devel -This package includes the header files needed to compile applications -using the KDE sound libraries (arts and libkmid). - -%prep -rm -rf $RPM_BUILD_ROOT - -%if %{is_release} -%setup -q -n %{pkg}-%{ver} -%else -%setup -q -n %{pkg} -%endif - -%patch1 -p1 -b .final -%if %{debug} == 0 -%patch2 -p1 -b .nodebug -%patch7 -p1 -b .debug -%endif -%patch3 -p1 -b .esc -%patch4 -p1 -b .jp -%patch5 -p1 -b .cookieesc -%patch6 -p1 -b .noxs -%patch8 -p1 -b .sec -%patch11 -p1 -b .path -%patch14 -p1 -b .onChange -%patch15 -p1 -b .glib -%patch10 -p1 -b .ssl - -%patch100 -p1 -b .jp1 -# # # patch101 -p1 -b .jp2 - -# Make the version number say what it should say -perl -pi -e 's,#define KDE_VERSION_STRING .*,#define KDE_VERSION_STRING "%{version}-%{release}",g' kdecore/kapp.h - -make -f Makefile.cvs - -# Fix some broken autogenerated files -cd arts/mcopidl -flex -oscanner.cc scanner.ll -cd ../../dcop/dcopidl -flex -oscanner.cc scanner.ll -cd ../.. - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -if [ -x /usr/bin/getconf ]; then - CPUS=`getconf _NPROCESSORS_ONLN` -fi -if test "x$CPUS" = "x" -o "x$CPUS" = "x0"; then - CPUS=1 -fi - -%if %{debug} -export FLAGS="-O0 -DDEBUG=1" -%else -export FLAGS="-O3 -DNDEBUG -UDEBUG -DNODEBUG -UDEBUG_ASYNC_TRANSFER -UVPORT_DEBUG -UDEBUG_IO -UDEBUG_MESSAGES -UDEBUG_AUTH -UDEBUG_CONNECTION_DATA -DYYDEBUG=0 -UNETWMDEBUG -UCSS_DEBUG -UCSS_STYLESHEET_DEBUG -USPEED_DEBUG -UKJS_DEBUGGER -UFORMS_DEBUG -UDEBUG_LAYOUT -UDEBUG_DRAW_BORDER -UPARSER_DEBUG -UDECODE_DEBUG -UCACHE_DEBUG -UBUFFER_DEBUG -UJPEG_DEBUG -UDEBUG_LINEBREAKS -UBOX_DEBUG -UTABLE_DEBUG -UYYERROR_VERBOSE -UKJS_DEBUG_MEM -UMIDIOUTDEBUG -UGENERAL_DEBUG_MESSAGES" -%endif - -export FLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-check-new $FLAGS -D_GNU_SOURCE" - -VERSION=`cat /etc/redhat-release |awk '{ print $5; }'` -autoconf -CXXFLAGS="$FLAGS" CFLAGS="$FLAGS" ./configure \ - --prefix=%{prefix} \ -%if "%{cups}" != "" - --enable-cups \ -%endif - --enable-mitshm \ - --includedir=%{prefix}/include/kde \ -%if "%{debug}" == "0" - --disable-debug \ - --without-debug \ - --enable-final \ -%endif - --with-distribution="Red Hat Linux $VERSION" - -make %{?_smp_mflags} - -%install -unset QTDIR || : ; . /etc/profile.d/qt.sh -export DESTDIR=$RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install-strip - -export FLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-check-new" -CXXFLAGS="$FLAGS" CFLAGS="$FLAGS" ./configure \ - --prefix=%{prefix} \ - --enable-mitshm \ - --includedir=%{prefix}/include/kde \ - --with-distribution="Red Hat Linux $VERSION" \ - --enable-static \ -%if "%{debug}" == "0" - --disable-debug \ - --without-debug \ -%endif - --disable-shared \ -%ifnarch alpha - --enable-final -%endif - -cd arts/artsc -make clean -make -install -m 644 .libs/libartsc.a $RPM_BUILD_ROOT%{prefix}/lib -cd ../.. - -chmod a+x $RPM_BUILD_ROOT%{prefix}/lib/* - -# Generate documentation -export PATH=%{prefix}/bin:$PATH -makekdedoc=`which makekdedoc` -if [ ! -z "$makekdedoc" ]; then - url=%{_docdir}/%{name}-devel-%{version} - kdocdir=$RPM_BUILD_ROOT$url - mkdir -p $kdocdir - qt2kdoc=`which qt2kdoc` - if [ ! -z "$qt2kdoc" ]; then - $qt2kdoc -z -o $kdocdir/kdoc-reference $QTDIR/doc/html - fi - $makekdedoc --srcdir . --libdir $kdocdir/kdoc-reference --outputdir $kdocdir --url $url -fi - -( cd $RPM_BUILD_ROOT%{_docdir} && ln -sf %{name}-devel-%{version} %{name}-devel-%{kde_major_version} ) - -# Make symlinks relative -pushd $RPM_BUILD_ROOT/usr/share/doc/HTML/en -for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../common $i - fi -done -popd - -mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version} -install -m 644 KDE2PORTING.html $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version} - -# Make sure KDEDIRS and KDEDIR are set -mkdir -p $RPM_BUILD_ROOT/etc/profile.d -cat >$RPM_BUILD_ROOT/etc/profile.d/kde.sh <$RPM_BUILD_ROOT/etc/profile.d/kde.csh < 2.2.2-2 -- Rename kra*** to kopaint - -* Tue Nov 20 2001 Bernhard Rosenkraenzer 2.2.2-1 -- 2.2.2 - -* Wed Oct 31 2001 Bernhard Rosenkraenzer 2.2.2-0.cvs20011031.1 -- Fix build with current toolchain -- Update to current CVS stable branch - -* Tue Sep 11 2001 Bernhard Rosenkraenzer 2.2.1-1 -- 2.2.1 - -* Sat Sep 8 2001 Bernhard Rosenkraenzer 2.2-11 -- i18n fixes -- fix desktop icon placement problem - -* Mon Sep 3 2001 Bernhard Rosenkraenzer 2.2-10 -- Real, final fix for http://www.kb.cert.org/vuls/id/476267. - This fixes #52893 - -* Thu Aug 30 2001 Bernhard Rosenkraenzer 2.2-9 -- Don't dlopen() /usr/lib/libssl.so (#52788) -- Fix up yesterday's security patch, the user should have the option to - post the data if (s)he knows the form is ok. - -* Wed Aug 29 2001 Bernhard Rosenkraenzer 2.2-8 -- Fix up csh init script (#52787) -- Fix potential security problem in kio-http - (http://www.kb.cert.org/vuls/id/476267) -- Fix a problem in nl/user.entities (allows kde-i18n to rebuild - cleanly) -- Fix memory leak in KDockTab -- Fix up the reported version number - -* Mon Aug 27 2001 Bernhard Rosenkraenzer 2.2-7 -- Set KDEDIRS and KDEDIR (for legacy compatibility) (#52372) - -* Sat Aug 25 2001 Bernhard Rosenkraenzer 2.2-6 -- Move artsc-config to kdelibs-sound-devel (#52559) -- Fix possible security bug (setuid;setgid -> setgid;setuid) - -* Mon Aug 13 2001 Bernhard Rosenkraenzer 2.2-5 -- Merge HTML rendering fixes from KDE_2_2_BRANCH. We can finally display - broken HTML like "" correctly - -* Fri Aug 10 2001 Bernhard Rosenkraenzer 2.2-4 -- Merge more fixes from KDE_2_2_BRANCH, this should get rid of the - "desktop turns gray when kpersonalizer is running" bug some people - have seen -- Fix handling of and