Группа :: Графические оболочки/KDE
Пакет: kdenetwork
Главная Изменения Спек Патчи Загрузить Bugs and FR
%define _build_lang en_US
%undefine __libtoolize
%define qtdir /usr/lib/qt3
%define unstable 0
%define etc_kppp_allow 0
%define passwdfd 0
%define bad_doc 0
%add_findprov_lib_path %_libdir/kde3
%add_findreq_skiplist %_bindir/kopete_*.sh
Name: kdenetwork
Version: 3.3.2
Release: alt4.1.M24
Group: Graphical desktop/KDE
Summary: KDE - Network Applications
Url: http://www.kde.org/
License: GPL
Requires: %name-filesharing = %version-%release
Requires: %name-kdict = %version-%release
Requires: %name-kget = %version-%release
Requires: %name-knewsticker = %version-%release
Requires: %name-kopete = %version-%release
Requires: %name-kpf = %version-%release
Requires: %name-kppp = %version-%release
Requires: %name-krdc = %version-%release
Requires: %name-krfb = %version-%release
Requires: %name-ksirc = %version-%release
Requires: %name-ktalkd = %version-%release
Requires: %name-lisa = %version-%release
Requires: %name-rss = %version-%release
#Requires: %name-file = %version-%release
Requires: %name-kwifimanager = %version-%release
#Requires: %name-kxmlrpcd = %version-%release
Source: kdenetwork-%version.tar.bz2
#Source: kdenetwork-3.0.98.tar.bz2
Source2: kdenetwork-3-kppp.pamd
Source10: kdenetwork-ktalk
Source11: kdenetwork-kotalk
Source12: kdenetwork-lisa-init
Source13: kdenetwork-lisa-sysconf
Source14: kdenetwork-kppp.control
Source15: network_neighborhood.desktop
#
Source30: kppp-new-icons.tar.gz
#
Source100: kppp-rulez-spbnit-20020312.tar.bz2
# MDK
# RH
Patch50: kdenetwork-3.1-desktop.patch
#SuSE
Patch100: kdenetwork-kppp-security.patch
# ALT
Patch5000: kdenetwork-3.3-atdp.patch
Patch5001: kdenetwork-3.0-kdict_i18n.patch
Patch5002: kppp-3.3.2-fix-crtscts-option.patch
Patch5003: kdenetwork-3.0-kppp_lock.patch
Patch5004: kdenetwork-3.1.0-kppp.allow.patch
Patch5005: kdenetwork-3.1.1-kppp-warn.patch
Patch5006: kdenetwork-3.1.2-kget-settings.patch
Patch5007: kppp-3.3.2-redial-on-nodialtone.patch
#
Patch5008: 3.3-flags.patch
Patch5009: kdenetwork-3.1.4-lisa_drop_privileges.patch
Patch5010: kdenetwork-3.2-kppp_add_devices.patch
Patch5011: kcmwifi.desktop.patch
Patch5012: kppp-3.2.3-dock-resize.patch
Patch5013: kcmsambaconf.desktop.patch
#
# security
Patch6000: post-3.3.2-kdenetwork-libgadu.patch
# Automatically added by buildreq on Thu Mar 18 2004 (-bi)
#BuildRequires: XFree86-devel XFree86-libs control fontconfig freetype2 gcc-c++ glib2 gzip-utils kdelibs-devel libarts-devel libjpeg-devel libpam-devel libqt3-devel libssl-devel libstdc++-devel libxml2-devel libxslt-devel qt3-designer wireless-tools zlib-devel
BuildRequires: XFree86-devel XFree86-libs control fontconfig freetype2 gcc-c++
BuildRequires: glib2 gzip-utils libarts-devel libjpeg-devel
BuildRequires: libpam0-devel libqt3-devel libssl-devel libstdc++-devel libxml2-devel
BuildRequires: libxslt-devel qt3-designer zlib-devel
BuildRequires: texinfo libpcre-devel libpam0-devel libxmms-devel libssl-devel
BuildRequires: xml-utils wireless-tools-devel libidn-devel
BuildRequires: kdelibs-devel-cxx = %__gcc_version_base
BuildRequires: kdelibs > 3.0 kdelibs-devel > 3.0
%description
Networking applications for the K Desktop Environment.
This is empty package for compatibility. You don't need them.
%package common
Summary: Common empty package for %name
Group: Graphical desktop/KDE
Conflicts: kdenetwork < 3.0.1-alt1
Requires: kde-common >= 3.2
#
%description common
Common empty package for %name
%package devel
Summary: Header files for %name
Group: Development/KDE and QT
Requires: %name = %version-%release
#
%description devel
Header files needed for developing kdemultimedia applications.
%package filesharing
Summary: File sharing
Group: Networking/Remote access
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description filesharing
This package contains tool allowing files sharing via
Networking File System (NFS) and Microsoft(R) Network (Samba)
%package rss
Summary: RSS support for KDE
Group: Networking/WWW
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description rss
This package contains RSS support for KDE.
RSS is the name given to a simple and well-established XML format used to
syndicate headlines. Once a website creates an RSS file they have created
a means to allow others to syndicate their headlines.
%package kwifimanager
Summary: A wireless LAN connection monitor
Group: Monitoring
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: wireless-tools
#
%description kwifimanager
A wireless LAN connection monitor
%package kfile
Summary: Kfile plugins for email messages
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: kdebase-konqueror
Requires: %name-common = %version-%release
Provides: %name-kfile-plugins = %version-%release
Obsoletes: %name-kfile-plugins
#
%description kfile
Plugin to allow the standard KDE file dialog to display
information about email messages.
%package kget
Summary: KDE Download Manager
Group: Networking/File transfer
Conflicts: %name < %version
Requires: %{get_dep kdelibs}
Requires: kdebase-wm
Requires: %name-common = %version-%release
#
%description kget
KDE Download Manager
%package kppp
Summary: K Desktop Environment - PPP Network Applications
Group: Networking/Remote access
Requires: ppp, control
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kppp
PPP Networking applications for the K Desktop Environment.
Install kppp if you intend to use KDE on a machine using
PPP networking.
%package krdc
Summary: KDE Remote Desktop Client
Group: Networking/Remote access
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#Requires: vnc
#
%description krdc
krdc is an KDE graphical client for the rfb Protocol,
used by VNC.
%package krfb
Summary: KDE Remote Screen Server
Group: Networking/Remote access
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#Requires: vnc-server
#
%description krfb
KRfb is a small server for the RFB protocol,
better known as VNC. Unlike most RFB servers,
KRfb allows you to share your X11 session.
%package ksirc
License: Artistic
Summary: IRC client for KDE
Group: Networking/IRC
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksirc
An IRC (Internet Relay Chat) client for KDE.
%package kdict
License: Artistic
Summary: A DICT (net dictionary) client for KDE
Group: Text tools
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kdict
A DICT (net dictionary) client for KDE.
%package kopete
Summary: Instant Messaging client
Group: Networking/Instant messaging
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kopete = %version-%release
Obsoletes: kopete
#
%description kopete
Kopete is an Instant Messaging client
designed to be modular and plugin based.
%package knewsticker
License: BSD derivative
Summary: A News Ticker for KDE
Group: Networking/Other
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description knewsticker
KNewsticker is a KDE applet that will display current news from Internet
sites of your choice.
%package ktalkd
License: BSD derivative
Summary: Talk (chat) protocol implementation for KDE
Group: Networking/Chat
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ktalkd
An implementation of the Talk protocol for KDE.
%package kxmlrpcd
License: BSD derivative
Summary: Remote scripting capability for KDE
Group: Networking/Other
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kxmlrpcd
KXmlRpcD allows you to execute DCOP calls from other machines using
the XmlRpc protocol.
%package lisa
Summary: LAN browser
Group: Networking/Other
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description lisa
LISa is intended to provide a kind of "network neighbourhood" but only
relying on the TCP/IP protocol stack, no smb or whatever.
%package kpf
License: BSD derivative
Summary: KDE Public Fileserver
Group: Networking/Remote access
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kpf
KPF is an easy to use public file server controlled from the KDE panel.
Simply drag a file or directory to the KPF button to share it.
%prep
%setup -q -n kdenetwork-%version
#%setup -q -n kdenetwork-3.0.98
%patch50 -p1
%if %passwdfd
%patch100 -p1
%endif
%patch5000 -p1
#%patch5001 -p1
%patch5002 -p1
%patch5003 -p1
%patch5004 -p1
%patch5005 -p1
%patch5006 -p1
%patch5007 -p1
#
%patch5008 -p1
%patch5009 -p1
%patch5010 -p1
%patch5011 -p1
%patch5012 -p1
#
# security
%patch6000 -p0
%if %bad_doc
pushd doc
rm -rf kcontrol kdict kget knewsticker kopete kpf kppp krfb ksirc ktalkd kwifimanager lisa krdc
popd
%endif
#perl -pi -e "s|^X-KDE-StartupNotify.*||" kppp/Kppp.desktop
#perl -pi -e "s|^X-DCOP-ServiceType.*||" kppp/Kppp.desktop
subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
subst "s/\.la/.so/g" admin/acinclude.m4.in
make -f admin/Makefile.common cvs ||:
%build
rm -rf %buildroot
export QTDIR=%qtdir
export KDEDIR=%prefix
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L%buildroot/%_libdir -L%buildroot/%_libdir/kde3 -L%_libdir -L/lib"
export LC_ALL=C LANG=C LANGUAGE=C
%configure --prefix=%prefix \
--sysconfdir=%_sysconfdir \
%if %unstable
--enable-debug=full \
%else
--disable-debug \
%endif
--enable-final \
--enable-shared \
--disable-static \
--disable-qt-embedded \
--disable-palm-top \
--disable-rpath \
--with-gnu-ld \
--with-pic \
--program-transform-name="" \
--with-xinerama \
--disable-slp
%make_build
%install
export PATH=%_bindir:$PATH
%if %unstable
%set_strip_method none
%endif
%make_build DESTDIR=%buildroot prefix=%prefix exec_prefix=%prefix install
mkdir -p %buildroot/%_datadir/alt/kde/desktoplnk
install -m 0644 %SOURCE15 %buildroot/%_datadir/alt/kde/desktoplnk/network_neighborhood.desktop
install -d -m 0755 %buildroot/%_sysconfdir/pam.d/
install -m 0644 %SOURCE2 %buildroot/%_sysconfdir/pam.d/kppp
%if %etc_kppp_allow
>%buildroot/%_sysconfdir/kppp.allow
%endif
%if %passwdfd
mkdir -p %buildroot/%_sysconfdir/ppp/peers
install -m 0644 kppp_peers %buildroot/%_sysconfdir/ppp/peers/kppp
%endif
mkdir -p %buildroot/%_sbindir
# Run kppp through consolehelper
#mv %buildroot/%_bindir/kppp %buildroot/%_sbindir
#ln -s consolehelper %buildroot/%_bindir/kppp
#mkdir -p %buildroot/%_sysconfdir/security/console.apps
#cat >%buildroot/%_sysconfdir/security/console.apps/kppp <<EOF
#USER=root
#PROGRAM=/usr/sbin/kppp
#SESSION=true
#EOF
install -pD -m755 %SOURCE14 %buildroot/etc/control.d/facilities/kppp
mkdir -p %buildroot/%_sysconfdir/xinetd.d
install -m 644 %SOURCE10 %buildroot/%_sysconfdir/xinetd.d/ktalk
#install -m 644 %SOURCE11 %buildroot/%_sysconfdir/xinetd.d/kotalk
mkdir -p %buildroot/%_sysconfdir/rc.d/init.d
install -m 755 %SOURCE12 %buildroot/%_sysconfdir/rc.d/init.d/lisa
#mkdir -p %buildroot/%_sysconfdir/sysconfig
#install -m 644 %SOURCE13 %buildroot/%_sysconfdir/sysconfig/lisa
# lisa
mv %buildroot/%_bindir/lisa %buildroot/%_sbindir
pushd %buildroot/%_datadir/apps/kppp/pics
tar xfz %SOURCE30
popd
# install extended kppp Rules
#mkdir -p tmpRules
#pushd tmpRules
##tar xvfj %SOURCE100
#mkdir -p %buildroot/%_datadir/apps/kppp/Rules/Russia
#cp -f *.rst %buildroot/%_datadir/apps/kppp/Rules/Russia
#
#mkdir -p %buildroot/%_datadir/apps/kppp/Provider/Russia
#cp -f * %buildroot/%_datadir/apps/kppp/Provider/Russia
#rm -f * %buildroot/%_datadir/apps/kppp/Provider/Russia/*.rst
#popd
#rm -rf tmpRules
# Create menu
install -d -m 0755 %buildroot/%_menudir/
##KDict entry
%Kd2m %name-kdict "Applications/Text tools" %Kbmenudir/kdict.desktop %Kb_menudir/%name-kdict
##KGet entry
%Kd2m %name-kget "Networking/File transfer" %Kbmenudir/kget.desktop %Kb_menudir/%name-kget
##Kit entry
%Kd2m %name-kopete "Networking/Instant messaging" %Kbmenudir/kopete.desktop %Kb_menudir/%name-kopete
##KNewsTicker entry
%Kd2m %name-knewsticker Networking/News %Kbmenudir/knewsticker-standalone.desktop %Kb_menudir/%name-knewsticker-standalone
#%Kd2m %name-knewsticker .hidden %Kbapplnk/.hidden/kcmnewsticker.desktop %Kb_menudir/%name-knewsticker kde
%Kd2m %name-knewsticker .hidden %Kbapplnk/.hidden/knewstickerstub.desktop %Kb_menudir/%name-knewstickerstub kde
##Kppp entry
%Kd2m %name-kppp "Networking/Remote access" %Kbmenudir/Kppp.desktop %Kb_menudir/%name-kppp
%Kd2m %name-kppp "Networking/Remote access" %Kbmenudir/kppplogview.desktop %Kb_menudir/%name-kppplogview
##Krdc entry
%Kd2m %name-krdc "Networking/Remote access" %Kbmenudir/krdc.desktop %Kb_menudir/%name-krdc
##Krfb entry
%Kd2m %name-krfb "Networking/Remote access" %Kbmenudir/krfb.desktop %Kb_menudir/%name-krfb
%Kd2m %name-krfb Configuration/KDE/Network %Kbmenudir/kcmkrfb.desktop %Kb_menudir/%name-kcmkrfb kde
##Ksirc entry
%Kd2m %name-ksirc Networking/Chat %Kbmenudir/ksirc.desktop %Kb_menudir/%name-ksirc
##KTalkd entry
%Kd2m %name-ktalkd Configuration/KDE/Network %Kbmenudir/kcmktalkd.desktop %Kb_menudir/%name-kcmktalkd kde
##Lisa entry
%Kd2m %name-lisa .hidden %Kbapplnk/.hidden/kcmlisa.desktop %Kb_menudir/%name-kcmlisa kde
%Kd2m %name-lisa .hidden %Kbapplnk/.hidden/kcmreslisa.desktop %Kb_menudir/%name-kcmreslisa kde
%Kd2m %name-lisa .hidden %Kbapplnk/.hidden/kcmkiolan.desktop %Kb_menudir/%name-kcmkiolan kde
%Kd2m kdebase-kcmshell Configuration/Networking %Kbmenudir/kcmwifi.desktop %Kb_menudir/%name-kcmwifi
%Kd2m %name-kwifimanager Applications/Monitoring %Kbmenudir/kwifimanager.desktop %Kb_menudir/%name-kwifimanager
%Kd2m %name-filesharing Configuration/Networking %Kbmenudir/fileshare.desktop %Kb_menudir/%name-fileshare kde
%Kd2m %name-filesharing Configuration/Networking %Kbmenudir/kcmsambaconf.desktop %Kb_menudir/%name-kcmsambaconf kde
%post filesharing
%update_menus
%postun filesharing
%clean_menus
%post kget
%update_menus
%postun kget
%clean_menus
%pre kppp
/usr/sbin/groupadd -r -f netadmin >/dev/null 2>&1
[ $1 -eq 1 ] || /usr/sbin/control-dump kppp
%post kppp
[ $1 -eq 1 ] || /usr/sbin/control-restore kppp
%update_menus
%postun kppp
%clean_menus
%post krdc
%update_menus
%postun krdc
%clean_menus
%post krfb
%update_menus
%postun krfb
%clean_menus
%post ksirc
%post_ldconfig
%update_menus
%postun ksirc
%postun_ldconfig
%clean_menus
%post kdict
%update_menus
%postun kdict
%clean_menus
%post kopete
%update_menus
%postun kopete
%clean_menus
%post knewsticker
%post_ldconfig
%update_menus
%postun knewsticker
%postun_ldconfig
%clean_menus
%post kxmlrpcd
%post_ldconfig
%update_menus
%postun kxmlrpcd
%postun_ldconfig
%clean_menus
%post lisa
%post_ldconfig
useradd -s /dev/null -r _kdelisa >/dev/null 2>&1 ||:
service lisa condrestart
%update_menus
%postun lisa
%postun_ldconfig
%clean_menus
%post rss
%post_ldconfig
%postun rss
%postun_ldconfig
%files
%files common
%files filesharing
%_libdir/kde3/fileshare_propsdlgplugin.*
%_libdir/kde3/kcm_fileshare.*
%_libdir/kde3/libkcm_kcmsambaconf.*
%_datadir/services/fileshare_propsdlgplugin.desktop
%_iconsdir/*/*/apps/kcmsambaconf.png
%Kmenudir/fileshare.desktop
%Kmenudir/kcmsambaconf.desktop
%_menudir/%name-fileshare
%_menudir/%name-kcmsambaconf
%files kwifimanager
%_bindir/kwifimanager
%_libdir/libkwireless.so*
%_libdir/kde3/kcm_kwifimanager.*
%_datadir/apps/kicker/applets/kwireless.desktop
%_datadir/apps/kwifimanager
%_iconsdir/*/*/apps/kwifimanager.*
%if !%bad_doc
%_docdir/HTML/en/kwifimanager
%endif
%Kmenudir/kcmwifi.desktop
%Kmenudir/kwifimanager.desktop
%_menudir/%name-kwifimanager
%_menudir/%name-kcmwifi
%files kget
%_bindir/kget
%_libdir/kde3/khtml_kget.*
%_datadir/apps/kget
%_datadir/apps/khtml/kpartplugins/kget_plug_in.rc
%_iconsdir/*/*/*/kget*.png
%_iconsdir/*/*/*/khtml_kget.png
%_datadir/mimelnk/application/x-kgetlist.desktop
%if !%bad_doc
%doc %_docdir/HTML/en/kget
%endif
%Kmenudir/kget.desktop
%_menudir/%name-kget
%files kppp
%attr(4711, root, root) %_bindir/kppp
%_bindir/kppplogview
#%_sbindir/kppp
%config %_sysconfdir/control.d/facilities/kppp
%if %passwdfd
%config %_sysconfdir/ppp/peers/kppp
%endif
%Kmenudir/*ppp*.desktop
%_menudir/%name-*ppp*
%_datadir/apps/kppp
%_iconsdir/*/*/*/*ppp*
%if !%bad_doc
%doc %_docdir/HTML/en/kppp
%endif
#%config(noreplace) %_sysconfdir/security/console.apps/kppp
%config(noreplace) %_sysconfdir/pam.d/kppp
%if %etc_kppp_allow
%config(noreplace) %_sysconfdir/kppp.allow
%endif
%files krdc
%_bindir/krdc
%_datadir/apps/krdc/
%_iconsdir/*/*/*/krdc.png
%_datadir/services/vnc.protocol
%Kmenudir/krdc.desktop
%_datadir/services/rdp.protocol
%_menudir/%name-krdc
%if !%bad_doc
%doc %_docdir/HTML/en/krdc
%endif
%files krfb
%_bindir/krfb*
%_libdir/kde3/kcm_krfb.*
%_libdir/kde3/kded_kinetd*
%_datadir/apps/kinetd
%_datadir/apps/krfb
%_iconsdir/*/*/*/krfb.png
%_datadir/services/kded/kinetd.desktop
%_datadir/services/kinetd_krfb*.desktop
%_datadir/servicetypes/kinetdmodule.desktop
%if !%bad_doc
%doc %_docdir/HTML/en/krfb
%endif
#
%Kmenudir/*krfb.desktop
%_menudir/%name-krfb
%_menudir/%name-kcmkrfb
%files ksirc
%_bindir/?sirc
%_libdir/*irc*
%_libdir/kde3/ksirc.*
%Kmenudir/ksirc.desktop
%_menudir/%name-ksirc
%_datadir/apps/ksirc
%if !%bad_doc
%doc %_docdir/HTML/en/ksirc
%endif
%_iconsdir/*/*/apps/ksirc*
%files kdict
%_bindir/kdict
%_datadir/apps/kdict
%_libdir/kde3/*dict*
%_datadir/apps/kicker/applets/kdictapplet.desktop
%_iconsdir/*/*/apps/kdict.png
%if !%bad_doc
%doc %_docdir/HTML/en/kdict
%endif
%Kmenudir/kdict.desktop
%_menudir/%name-kdict
%files kopete
%_bindir/kopete_latexconvert.sh
%_bindir/kopete
%_libdir/kconf_update_bin/kopete*
%_libdir/libkopete*.so*
%_libdir/kde3/kopete_*
%_libdir/kde3/kcm_kopete_*
%_libdir/kde3/libkrichtexteditpart.*
%Kmenudir/kopete.desktop
%_datadir/apps/kopete*
%_datadir/apps/kconf_update/kopete-*
%_datadir/services/kopete_*
%_datadir/services/kconfiguredialog/kopete_*
%_datadir/services/chatwindow.desktop
%_datadir/servicetypes/kopete*
%_datadir/sounds/Kopete*
%_iconsdir/*/*/apps/kopete.png
%_iconsdir/*/*/*/kopete_*.png
%_menudir/%name-kopete
%if !%bad_doc
%doc %_docdir/HTML/en/kopete
%endif
%files knewsticker
%doc debian/copyright
%_bindir/knewsticker*
%_libdir/kde3/*newsticker*
%_libdir/kde3/libkntsrcfilepropsdlg.*
%Kapplnk/.hidden/knewsticker*
%Kmenudir/knewsticker-standalone.desktop
%_menudir/%name-knewsticker-standalone
%_menudir/%name-knewstickerstub
%_datadir/apps/kconf_update/knewsticker.upd
%_datadir/apps/kicker/applets/knewsticker.desktop
%_datadir/apps/knewsticker
%_iconsdir/*/*/apps/knewsticker*
%_datadir/apps/kconf_update/knt*
%_datadir/mimelnk/application/x-kopete-emoticons.desktop
%_datadir/services/kntsrcfilepropsdlg.desktop
%_datadir/services/aim.protocol
%_datadir/services/irc.protocol
%if !%bad_doc
%doc %_docdir/HTML/en/knewsticker
%endif
%files ktalkd
%doc debian/copyright
%_bindir/mail.local
%_bindir/*talk*
%_libdir/kde3/kcm_ktalkd.*
%_iconsdir/*/*/apps/ktalkd*
%_datadir/sounds/ktalkd.wav
%if !%bad_doc
%doc %_docdir/HTML/en/ktalkd
%doc %_docdir/HTML/en/kcontrol/kcmtalkd
%endif
%config(noreplace) %_sysconfdir/xinetd.d/ktalk
#%config(noreplace) %_sysconfdir/xinetd.d/kotalk
%Kmenudir/kcmktalkd.desktop
%_menudir/%name-kcmktalkd
#%files kxmlrpcd
#%doc debian/copyright
#%_bindir/kxmlrpcd
#%_libdir/kde3/kcm_*xml*
#%_libdir/*xml*
##%_datadir/applnk/Settings/System/*xml*
##%_menudir/%name-kcmkxmlrpcd
#%_datadir/services/kxmlrpcd.desktop
#%doc %_docdir/HTML/en/kcontrol/kxmlrpcd
%files lisa
#%config(noreplace) %_sysconfdir/sysconfig/lisa
%config %_sysconfdir/rc.d/init.d/lisa
%_bindir/reslisa
%_sbindir/lisa
%_libdir/kde3/kcm_lanbrowser*.*
%_libdir/kde3/kio_lan*.*
%_datadir/apps/konqueror/dirtree/remote/lan.desktop
%_datadir/apps/konqsidebartng/virtual_folders/services/lisa.desktop
%_datadir/apps/lisa
%_datadir/services/*lan.protocol
%if !%bad_doc
%doc %_docdir/HTML/en/lisa
%doc %_docdir/HTML/en/kcontrol/lanbrowser
%endif
%Kapplnk/.hidden/*lisa.desktop
%Kapplnk/.hidden/kcmkiolan.desktop
%_datadir/alt/kde/desktoplnk/network_neighborhood.desktop
%_menudir/%name-*lisa
%_menudir/%name-kcmkiolan
%files kpf
%doc debian/copyright
%_libdir/kde3/kpf*
%_datadir/apps/kicker/applets/kpfapplet.desktop
%_iconsdir/*/*/*/kpf.png
%_datadir/services/kpf*
%if !%bad_doc
%doc %_docdir/HTML/en/kpf
%endif
%files rss
%_bindir/feedbrowser
%_bindir/rssclient
%_bindir/rssservice
%_libdir/librss.so*
%_datadir/services/rssservice.desktop
%files devel
%_includedir/rss
%changelog
…
Полный changelog можно просмотреть здесь
%undefine __libtoolize
%define qtdir /usr/lib/qt3
%define unstable 0
%define etc_kppp_allow 0
%define passwdfd 0
%define bad_doc 0
%add_findprov_lib_path %_libdir/kde3
%add_findreq_skiplist %_bindir/kopete_*.sh
Name: kdenetwork
Version: 3.3.2
Release: alt4.1.M24
Group: Graphical desktop/KDE
Summary: KDE - Network Applications
Url: http://www.kde.org/
License: GPL
Requires: %name-filesharing = %version-%release
Requires: %name-kdict = %version-%release
Requires: %name-kget = %version-%release
Requires: %name-knewsticker = %version-%release
Requires: %name-kopete = %version-%release
Requires: %name-kpf = %version-%release
Requires: %name-kppp = %version-%release
Requires: %name-krdc = %version-%release
Requires: %name-krfb = %version-%release
Requires: %name-ksirc = %version-%release
Requires: %name-ktalkd = %version-%release
Requires: %name-lisa = %version-%release
Requires: %name-rss = %version-%release
#Requires: %name-file = %version-%release
Requires: %name-kwifimanager = %version-%release
#Requires: %name-kxmlrpcd = %version-%release
Source: kdenetwork-%version.tar.bz2
#Source: kdenetwork-3.0.98.tar.bz2
Source2: kdenetwork-3-kppp.pamd
Source10: kdenetwork-ktalk
Source11: kdenetwork-kotalk
Source12: kdenetwork-lisa-init
Source13: kdenetwork-lisa-sysconf
Source14: kdenetwork-kppp.control
Source15: network_neighborhood.desktop
#
Source30: kppp-new-icons.tar.gz
#
Source100: kppp-rulez-spbnit-20020312.tar.bz2
# MDK
# RH
Patch50: kdenetwork-3.1-desktop.patch
#SuSE
Patch100: kdenetwork-kppp-security.patch
# ALT
Patch5000: kdenetwork-3.3-atdp.patch
Patch5001: kdenetwork-3.0-kdict_i18n.patch
Patch5002: kppp-3.3.2-fix-crtscts-option.patch
Patch5003: kdenetwork-3.0-kppp_lock.patch
Patch5004: kdenetwork-3.1.0-kppp.allow.patch
Patch5005: kdenetwork-3.1.1-kppp-warn.patch
Patch5006: kdenetwork-3.1.2-kget-settings.patch
Patch5007: kppp-3.3.2-redial-on-nodialtone.patch
#
Patch5008: 3.3-flags.patch
Patch5009: kdenetwork-3.1.4-lisa_drop_privileges.patch
Patch5010: kdenetwork-3.2-kppp_add_devices.patch
Patch5011: kcmwifi.desktop.patch
Patch5012: kppp-3.2.3-dock-resize.patch
Patch5013: kcmsambaconf.desktop.patch
#
# security
Patch6000: post-3.3.2-kdenetwork-libgadu.patch
# Automatically added by buildreq on Thu Mar 18 2004 (-bi)
#BuildRequires: XFree86-devel XFree86-libs control fontconfig freetype2 gcc-c++ glib2 gzip-utils kdelibs-devel libarts-devel libjpeg-devel libpam-devel libqt3-devel libssl-devel libstdc++-devel libxml2-devel libxslt-devel qt3-designer wireless-tools zlib-devel
BuildRequires: XFree86-devel XFree86-libs control fontconfig freetype2 gcc-c++
BuildRequires: glib2 gzip-utils libarts-devel libjpeg-devel
BuildRequires: libpam0-devel libqt3-devel libssl-devel libstdc++-devel libxml2-devel
BuildRequires: libxslt-devel qt3-designer zlib-devel
BuildRequires: texinfo libpcre-devel libpam0-devel libxmms-devel libssl-devel
BuildRequires: xml-utils wireless-tools-devel libidn-devel
BuildRequires: kdelibs-devel-cxx = %__gcc_version_base
BuildRequires: kdelibs > 3.0 kdelibs-devel > 3.0
%description
Networking applications for the K Desktop Environment.
This is empty package for compatibility. You don't need them.
%package common
Summary: Common empty package for %name
Group: Graphical desktop/KDE
Conflicts: kdenetwork < 3.0.1-alt1
Requires: kde-common >= 3.2
#
%description common
Common empty package for %name
%package devel
Summary: Header files for %name
Group: Development/KDE and QT
Requires: %name = %version-%release
#
%description devel
Header files needed for developing kdemultimedia applications.
%package filesharing
Summary: File sharing
Group: Networking/Remote access
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description filesharing
This package contains tool allowing files sharing via
Networking File System (NFS) and Microsoft(R) Network (Samba)
%package rss
Summary: RSS support for KDE
Group: Networking/WWW
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description rss
This package contains RSS support for KDE.
RSS is the name given to a simple and well-established XML format used to
syndicate headlines. Once a website creates an RSS file they have created
a means to allow others to syndicate their headlines.
%package kwifimanager
Summary: A wireless LAN connection monitor
Group: Monitoring
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: wireless-tools
#
%description kwifimanager
A wireless LAN connection monitor
%package kfile
Summary: Kfile plugins for email messages
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: kdebase-konqueror
Requires: %name-common = %version-%release
Provides: %name-kfile-plugins = %version-%release
Obsoletes: %name-kfile-plugins
#
%description kfile
Plugin to allow the standard KDE file dialog to display
information about email messages.
%package kget
Summary: KDE Download Manager
Group: Networking/File transfer
Conflicts: %name < %version
Requires: %{get_dep kdelibs}
Requires: kdebase-wm
Requires: %name-common = %version-%release
#
%description kget
KDE Download Manager
%package kppp
Summary: K Desktop Environment - PPP Network Applications
Group: Networking/Remote access
Requires: ppp, control
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kppp
PPP Networking applications for the K Desktop Environment.
Install kppp if you intend to use KDE on a machine using
PPP networking.
%package krdc
Summary: KDE Remote Desktop Client
Group: Networking/Remote access
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#Requires: vnc
#
%description krdc
krdc is an KDE graphical client for the rfb Protocol,
used by VNC.
%package krfb
Summary: KDE Remote Screen Server
Group: Networking/Remote access
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#Requires: vnc-server
#
%description krfb
KRfb is a small server for the RFB protocol,
better known as VNC. Unlike most RFB servers,
KRfb allows you to share your X11 session.
%package ksirc
License: Artistic
Summary: IRC client for KDE
Group: Networking/IRC
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksirc
An IRC (Internet Relay Chat) client for KDE.
%package kdict
License: Artistic
Summary: A DICT (net dictionary) client for KDE
Group: Text tools
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kdict
A DICT (net dictionary) client for KDE.
%package kopete
Summary: Instant Messaging client
Group: Networking/Instant messaging
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Provides: kopete = %version-%release
Obsoletes: kopete
#
%description kopete
Kopete is an Instant Messaging client
designed to be modular and plugin based.
%package knewsticker
License: BSD derivative
Summary: A News Ticker for KDE
Group: Networking/Other
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description knewsticker
KNewsticker is a KDE applet that will display current news from Internet
sites of your choice.
%package ktalkd
License: BSD derivative
Summary: Talk (chat) protocol implementation for KDE
Group: Networking/Chat
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ktalkd
An implementation of the Talk protocol for KDE.
%package kxmlrpcd
License: BSD derivative
Summary: Remote scripting capability for KDE
Group: Networking/Other
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kxmlrpcd
KXmlRpcD allows you to execute DCOP calls from other machines using
the XmlRpc protocol.
%package lisa
Summary: LAN browser
Group: Networking/Other
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description lisa
LISa is intended to provide a kind of "network neighbourhood" but only
relying on the TCP/IP protocol stack, no smb or whatever.
%package kpf
License: BSD derivative
Summary: KDE Public Fileserver
Group: Networking/Remote access
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kpf
KPF is an easy to use public file server controlled from the KDE panel.
Simply drag a file or directory to the KPF button to share it.
%prep
%setup -q -n kdenetwork-%version
#%setup -q -n kdenetwork-3.0.98
%patch50 -p1
%if %passwdfd
%patch100 -p1
%endif
%patch5000 -p1
#%patch5001 -p1
%patch5002 -p1
%patch5003 -p1
%patch5004 -p1
%patch5005 -p1
%patch5006 -p1
%patch5007 -p1
#
%patch5008 -p1
%patch5009 -p1
%patch5010 -p1
%patch5011 -p1
%patch5012 -p1
#
# security
%patch6000 -p0
%if %bad_doc
pushd doc
rm -rf kcontrol kdict kget knewsticker kopete kpf kppp krfb ksirc ktalkd kwifimanager lisa krdc
popd
%endif
#perl -pi -e "s|^X-KDE-StartupNotify.*||" kppp/Kppp.desktop
#perl -pi -e "s|^X-DCOP-ServiceType.*||" kppp/Kppp.desktop
subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
subst "s/\.la/.so/g" admin/acinclude.m4.in
make -f admin/Makefile.common cvs ||:
%build
rm -rf %buildroot
export QTDIR=%qtdir
export KDEDIR=%prefix
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L%buildroot/%_libdir -L%buildroot/%_libdir/kde3 -L%_libdir -L/lib"
export LC_ALL=C LANG=C LANGUAGE=C
%configure --prefix=%prefix \
--sysconfdir=%_sysconfdir \
%if %unstable
--enable-debug=full \
%else
--disable-debug \
%endif
--enable-final \
--enable-shared \
--disable-static \
--disable-qt-embedded \
--disable-palm-top \
--disable-rpath \
--with-gnu-ld \
--with-pic \
--program-transform-name="" \
--with-xinerama \
--disable-slp
%make_build
%install
export PATH=%_bindir:$PATH
%if %unstable
%set_strip_method none
%endif
%make_build DESTDIR=%buildroot prefix=%prefix exec_prefix=%prefix install
mkdir -p %buildroot/%_datadir/alt/kde/desktoplnk
install -m 0644 %SOURCE15 %buildroot/%_datadir/alt/kde/desktoplnk/network_neighborhood.desktop
install -d -m 0755 %buildroot/%_sysconfdir/pam.d/
install -m 0644 %SOURCE2 %buildroot/%_sysconfdir/pam.d/kppp
%if %etc_kppp_allow
>%buildroot/%_sysconfdir/kppp.allow
%endif
%if %passwdfd
mkdir -p %buildroot/%_sysconfdir/ppp/peers
install -m 0644 kppp_peers %buildroot/%_sysconfdir/ppp/peers/kppp
%endif
mkdir -p %buildroot/%_sbindir
# Run kppp through consolehelper
#mv %buildroot/%_bindir/kppp %buildroot/%_sbindir
#ln -s consolehelper %buildroot/%_bindir/kppp
#mkdir -p %buildroot/%_sysconfdir/security/console.apps
#cat >%buildroot/%_sysconfdir/security/console.apps/kppp <<EOF
#USER=root
#PROGRAM=/usr/sbin/kppp
#SESSION=true
#EOF
install -pD -m755 %SOURCE14 %buildroot/etc/control.d/facilities/kppp
mkdir -p %buildroot/%_sysconfdir/xinetd.d
install -m 644 %SOURCE10 %buildroot/%_sysconfdir/xinetd.d/ktalk
#install -m 644 %SOURCE11 %buildroot/%_sysconfdir/xinetd.d/kotalk
mkdir -p %buildroot/%_sysconfdir/rc.d/init.d
install -m 755 %SOURCE12 %buildroot/%_sysconfdir/rc.d/init.d/lisa
#mkdir -p %buildroot/%_sysconfdir/sysconfig
#install -m 644 %SOURCE13 %buildroot/%_sysconfdir/sysconfig/lisa
# lisa
mv %buildroot/%_bindir/lisa %buildroot/%_sbindir
pushd %buildroot/%_datadir/apps/kppp/pics
tar xfz %SOURCE30
popd
# install extended kppp Rules
#mkdir -p tmpRules
#pushd tmpRules
##tar xvfj %SOURCE100
#mkdir -p %buildroot/%_datadir/apps/kppp/Rules/Russia
#cp -f *.rst %buildroot/%_datadir/apps/kppp/Rules/Russia
#
#mkdir -p %buildroot/%_datadir/apps/kppp/Provider/Russia
#cp -f * %buildroot/%_datadir/apps/kppp/Provider/Russia
#rm -f * %buildroot/%_datadir/apps/kppp/Provider/Russia/*.rst
#popd
#rm -rf tmpRules
# Create menu
install -d -m 0755 %buildroot/%_menudir/
##KDict entry
%Kd2m %name-kdict "Applications/Text tools" %Kbmenudir/kdict.desktop %Kb_menudir/%name-kdict
##KGet entry
%Kd2m %name-kget "Networking/File transfer" %Kbmenudir/kget.desktop %Kb_menudir/%name-kget
##Kit entry
%Kd2m %name-kopete "Networking/Instant messaging" %Kbmenudir/kopete.desktop %Kb_menudir/%name-kopete
##KNewsTicker entry
%Kd2m %name-knewsticker Networking/News %Kbmenudir/knewsticker-standalone.desktop %Kb_menudir/%name-knewsticker-standalone
#%Kd2m %name-knewsticker .hidden %Kbapplnk/.hidden/kcmnewsticker.desktop %Kb_menudir/%name-knewsticker kde
%Kd2m %name-knewsticker .hidden %Kbapplnk/.hidden/knewstickerstub.desktop %Kb_menudir/%name-knewstickerstub kde
##Kppp entry
%Kd2m %name-kppp "Networking/Remote access" %Kbmenudir/Kppp.desktop %Kb_menudir/%name-kppp
%Kd2m %name-kppp "Networking/Remote access" %Kbmenudir/kppplogview.desktop %Kb_menudir/%name-kppplogview
##Krdc entry
%Kd2m %name-krdc "Networking/Remote access" %Kbmenudir/krdc.desktop %Kb_menudir/%name-krdc
##Krfb entry
%Kd2m %name-krfb "Networking/Remote access" %Kbmenudir/krfb.desktop %Kb_menudir/%name-krfb
%Kd2m %name-krfb Configuration/KDE/Network %Kbmenudir/kcmkrfb.desktop %Kb_menudir/%name-kcmkrfb kde
##Ksirc entry
%Kd2m %name-ksirc Networking/Chat %Kbmenudir/ksirc.desktop %Kb_menudir/%name-ksirc
##KTalkd entry
%Kd2m %name-ktalkd Configuration/KDE/Network %Kbmenudir/kcmktalkd.desktop %Kb_menudir/%name-kcmktalkd kde
##Lisa entry
%Kd2m %name-lisa .hidden %Kbapplnk/.hidden/kcmlisa.desktop %Kb_menudir/%name-kcmlisa kde
%Kd2m %name-lisa .hidden %Kbapplnk/.hidden/kcmreslisa.desktop %Kb_menudir/%name-kcmreslisa kde
%Kd2m %name-lisa .hidden %Kbapplnk/.hidden/kcmkiolan.desktop %Kb_menudir/%name-kcmkiolan kde
%Kd2m kdebase-kcmshell Configuration/Networking %Kbmenudir/kcmwifi.desktop %Kb_menudir/%name-kcmwifi
%Kd2m %name-kwifimanager Applications/Monitoring %Kbmenudir/kwifimanager.desktop %Kb_menudir/%name-kwifimanager
%Kd2m %name-filesharing Configuration/Networking %Kbmenudir/fileshare.desktop %Kb_menudir/%name-fileshare kde
%Kd2m %name-filesharing Configuration/Networking %Kbmenudir/kcmsambaconf.desktop %Kb_menudir/%name-kcmsambaconf kde
%post filesharing
%update_menus
%postun filesharing
%clean_menus
%post kget
%update_menus
%postun kget
%clean_menus
%pre kppp
/usr/sbin/groupadd -r -f netadmin >/dev/null 2>&1
[ $1 -eq 1 ] || /usr/sbin/control-dump kppp
%post kppp
[ $1 -eq 1 ] || /usr/sbin/control-restore kppp
%update_menus
%postun kppp
%clean_menus
%post krdc
%update_menus
%postun krdc
%clean_menus
%post krfb
%update_menus
%postun krfb
%clean_menus
%post ksirc
%post_ldconfig
%update_menus
%postun ksirc
%postun_ldconfig
%clean_menus
%post kdict
%update_menus
%postun kdict
%clean_menus
%post kopete
%update_menus
%postun kopete
%clean_menus
%post knewsticker
%post_ldconfig
%update_menus
%postun knewsticker
%postun_ldconfig
%clean_menus
%post kxmlrpcd
%post_ldconfig
%update_menus
%postun kxmlrpcd
%postun_ldconfig
%clean_menus
%post lisa
%post_ldconfig
useradd -s /dev/null -r _kdelisa >/dev/null 2>&1 ||:
service lisa condrestart
%update_menus
%postun lisa
%postun_ldconfig
%clean_menus
%post rss
%post_ldconfig
%postun rss
%postun_ldconfig
%files
%files common
%files filesharing
%_libdir/kde3/fileshare_propsdlgplugin.*
%_libdir/kde3/kcm_fileshare.*
%_libdir/kde3/libkcm_kcmsambaconf.*
%_datadir/services/fileshare_propsdlgplugin.desktop
%_iconsdir/*/*/apps/kcmsambaconf.png
%Kmenudir/fileshare.desktop
%Kmenudir/kcmsambaconf.desktop
%_menudir/%name-fileshare
%_menudir/%name-kcmsambaconf
%files kwifimanager
%_bindir/kwifimanager
%_libdir/libkwireless.so*
%_libdir/kde3/kcm_kwifimanager.*
%_datadir/apps/kicker/applets/kwireless.desktop
%_datadir/apps/kwifimanager
%_iconsdir/*/*/apps/kwifimanager.*
%if !%bad_doc
%_docdir/HTML/en/kwifimanager
%endif
%Kmenudir/kcmwifi.desktop
%Kmenudir/kwifimanager.desktop
%_menudir/%name-kwifimanager
%_menudir/%name-kcmwifi
%files kget
%_bindir/kget
%_libdir/kde3/khtml_kget.*
%_datadir/apps/kget
%_datadir/apps/khtml/kpartplugins/kget_plug_in.rc
%_iconsdir/*/*/*/kget*.png
%_iconsdir/*/*/*/khtml_kget.png
%_datadir/mimelnk/application/x-kgetlist.desktop
%if !%bad_doc
%doc %_docdir/HTML/en/kget
%endif
%Kmenudir/kget.desktop
%_menudir/%name-kget
%files kppp
%attr(4711, root, root) %_bindir/kppp
%_bindir/kppplogview
#%_sbindir/kppp
%config %_sysconfdir/control.d/facilities/kppp
%if %passwdfd
%config %_sysconfdir/ppp/peers/kppp
%endif
%Kmenudir/*ppp*.desktop
%_menudir/%name-*ppp*
%_datadir/apps/kppp
%_iconsdir/*/*/*/*ppp*
%if !%bad_doc
%doc %_docdir/HTML/en/kppp
%endif
#%config(noreplace) %_sysconfdir/security/console.apps/kppp
%config(noreplace) %_sysconfdir/pam.d/kppp
%if %etc_kppp_allow
%config(noreplace) %_sysconfdir/kppp.allow
%endif
%files krdc
%_bindir/krdc
%_datadir/apps/krdc/
%_iconsdir/*/*/*/krdc.png
%_datadir/services/vnc.protocol
%Kmenudir/krdc.desktop
%_datadir/services/rdp.protocol
%_menudir/%name-krdc
%if !%bad_doc
%doc %_docdir/HTML/en/krdc
%endif
%files krfb
%_bindir/krfb*
%_libdir/kde3/kcm_krfb.*
%_libdir/kde3/kded_kinetd*
%_datadir/apps/kinetd
%_datadir/apps/krfb
%_iconsdir/*/*/*/krfb.png
%_datadir/services/kded/kinetd.desktop
%_datadir/services/kinetd_krfb*.desktop
%_datadir/servicetypes/kinetdmodule.desktop
%if !%bad_doc
%doc %_docdir/HTML/en/krfb
%endif
#
%Kmenudir/*krfb.desktop
%_menudir/%name-krfb
%_menudir/%name-kcmkrfb
%files ksirc
%_bindir/?sirc
%_libdir/*irc*
%_libdir/kde3/ksirc.*
%Kmenudir/ksirc.desktop
%_menudir/%name-ksirc
%_datadir/apps/ksirc
%if !%bad_doc
%doc %_docdir/HTML/en/ksirc
%endif
%_iconsdir/*/*/apps/ksirc*
%files kdict
%_bindir/kdict
%_datadir/apps/kdict
%_libdir/kde3/*dict*
%_datadir/apps/kicker/applets/kdictapplet.desktop
%_iconsdir/*/*/apps/kdict.png
%if !%bad_doc
%doc %_docdir/HTML/en/kdict
%endif
%Kmenudir/kdict.desktop
%_menudir/%name-kdict
%files kopete
%_bindir/kopete_latexconvert.sh
%_bindir/kopete
%_libdir/kconf_update_bin/kopete*
%_libdir/libkopete*.so*
%_libdir/kde3/kopete_*
%_libdir/kde3/kcm_kopete_*
%_libdir/kde3/libkrichtexteditpart.*
%Kmenudir/kopete.desktop
%_datadir/apps/kopete*
%_datadir/apps/kconf_update/kopete-*
%_datadir/services/kopete_*
%_datadir/services/kconfiguredialog/kopete_*
%_datadir/services/chatwindow.desktop
%_datadir/servicetypes/kopete*
%_datadir/sounds/Kopete*
%_iconsdir/*/*/apps/kopete.png
%_iconsdir/*/*/*/kopete_*.png
%_menudir/%name-kopete
%if !%bad_doc
%doc %_docdir/HTML/en/kopete
%endif
%files knewsticker
%doc debian/copyright
%_bindir/knewsticker*
%_libdir/kde3/*newsticker*
%_libdir/kde3/libkntsrcfilepropsdlg.*
%Kapplnk/.hidden/knewsticker*
%Kmenudir/knewsticker-standalone.desktop
%_menudir/%name-knewsticker-standalone
%_menudir/%name-knewstickerstub
%_datadir/apps/kconf_update/knewsticker.upd
%_datadir/apps/kicker/applets/knewsticker.desktop
%_datadir/apps/knewsticker
%_iconsdir/*/*/apps/knewsticker*
%_datadir/apps/kconf_update/knt*
%_datadir/mimelnk/application/x-kopete-emoticons.desktop
%_datadir/services/kntsrcfilepropsdlg.desktop
%_datadir/services/aim.protocol
%_datadir/services/irc.protocol
%if !%bad_doc
%doc %_docdir/HTML/en/knewsticker
%endif
%files ktalkd
%doc debian/copyright
%_bindir/mail.local
%_bindir/*talk*
%_libdir/kde3/kcm_ktalkd.*
%_iconsdir/*/*/apps/ktalkd*
%_datadir/sounds/ktalkd.wav
%if !%bad_doc
%doc %_docdir/HTML/en/ktalkd
%doc %_docdir/HTML/en/kcontrol/kcmtalkd
%endif
%config(noreplace) %_sysconfdir/xinetd.d/ktalk
#%config(noreplace) %_sysconfdir/xinetd.d/kotalk
%Kmenudir/kcmktalkd.desktop
%_menudir/%name-kcmktalkd
#%files kxmlrpcd
#%doc debian/copyright
#%_bindir/kxmlrpcd
#%_libdir/kde3/kcm_*xml*
#%_libdir/*xml*
##%_datadir/applnk/Settings/System/*xml*
##%_menudir/%name-kcmkxmlrpcd
#%_datadir/services/kxmlrpcd.desktop
#%doc %_docdir/HTML/en/kcontrol/kxmlrpcd
%files lisa
#%config(noreplace) %_sysconfdir/sysconfig/lisa
%config %_sysconfdir/rc.d/init.d/lisa
%_bindir/reslisa
%_sbindir/lisa
%_libdir/kde3/kcm_lanbrowser*.*
%_libdir/kde3/kio_lan*.*
%_datadir/apps/konqueror/dirtree/remote/lan.desktop
%_datadir/apps/konqsidebartng/virtual_folders/services/lisa.desktop
%_datadir/apps/lisa
%_datadir/services/*lan.protocol
%if !%bad_doc
%doc %_docdir/HTML/en/lisa
%doc %_docdir/HTML/en/kcontrol/lanbrowser
%endif
%Kapplnk/.hidden/*lisa.desktop
%Kapplnk/.hidden/kcmkiolan.desktop
%_datadir/alt/kde/desktoplnk/network_neighborhood.desktop
%_menudir/%name-*lisa
%_menudir/%name-kcmkiolan
%files kpf
%doc debian/copyright
%_libdir/kde3/kpf*
%_datadir/apps/kicker/applets/kpfapplet.desktop
%_iconsdir/*/*/*/kpf.png
%_datadir/services/kpf*
%if !%bad_doc
%doc %_docdir/HTML/en/kpf
%endif
%files rss
%_bindir/feedbrowser
%_bindir/rssclient
%_bindir/rssservice
%_libdir/librss.so*
%_datadir/services/rssservice.desktop
%files devel
%_includedir/rss
%changelog
…
Полный changelog можно просмотреть здесь