Группа :: Графические оболочки/KDE
Пакет: kdeaddons
Главная Изменения Спек Патчи Загрузить Bugs and FR
%undefine __libtoolize
%define unstable 0
%define qtdir /usr/lib/qt3
%define with_knewsticker 0
%add_findprov_lib_path %_libdir/kde3
Name: kdeaddons
Version: 3.3.2
Release: alt1.9.M24
Source0: kdeaddons-%version.tar.bz2
#Source0: kdeaddons-3.0.98.tar.bz2
# ALT
Patch100: kdeaddons-3.1.4-knewsticker-stock.pl.patch
Patch101: kdeaddons-3.1.4-webarchiver_quote.patch
Patch102: 3.2.0-flags.patch
Patch103: no-rellinks.patch
Group: Graphical desktop/KDE
Summary: KDE addons
License: GPL
Requires: %name-atlantik-designer = %version-%release
Requires: %name-kaddressbook = %version-%release
Requires: %name-kate = %version-%release
Requires: %name-kfile = %version-%release
Requires: %name-kicker = %version-%release
%if %with_knewsticker
Requires: %name-knewsticker = %version-%release
%endif
Requires: %name-konqueror = %version-%release
Requires: %name-ksig = %version-%release
Requires: %name-noatun = %version-%release
Requires: %name-vim = %version-%release
#Requires: %name-kontact = %version-%release
# Automatically added by buildreq on Mon Apr 12 2004 (-bi)
#BuildRequires: XFree86-devel XFree86-libs esound fontconfig freetype2 gcc-c++ gcc-g77 glib-devel glib2 gtk+-devel kde-settings kdebase-devel kdebase-konqueror kdebase-libkonq kdebase-wm kdegames-atlantik kdegames-devel kdegames-libs kdelibs-devel kdemultimedia-arts kdemultimedia-devel kdemultimedia-noatun kdepim-devel kdepim-kaddressbook kdepim-kontact kdepim-libs libSDL-devel libarts-devel libarts-qt libjpeg-devel libpng-devel libqt3-devel libstdc++-devel libxmms-devel menu-devel perl-Finance-Quote perl-MIME-tools perl-NNTPClient perl-URI perl-libwww-perl python qt3-designer xml-utils zlib-devel
BuildRequires: XFree86-devel XFree86-libs esound fontconfig freetype2
BuildRequires: gcc-c++ glib-devel glib2 gtk+-devel
BuildRequires: kdebase-devel kdebase-konqueror kdebase-libkonq kdebase-wm
BuildRequires: kdegames-atlantik kdegames-devel kdegames-libs
BuildRequires: kdemultimedia-arts kdemultimedia-devel kdemultimedia-noatun
BuildRequires: kdepim-devel kdepim-kaddressbook kdepim-kontact kdepim-libs
BuildRequires: libSDL-devel libarts-devel libjpeg-devel libpng-devel
BuildRequires: libqt3-devel libstdc++-devel libxmms-devel menu-devel
BuildRequires: perl-Finance-Quote perl-MIME-tools perl-NNTPClient perl-URI perl-libwww-perl
BuildRequires: qt3-designer xml-utils zlib-devel python
BuildRequires: kdelibs-devel-cxx = %__gcc_version_base
BuildRequires: kdelibs >= 3.0.0 kdelibs-devel >= 3.0.0
BuildRequires: kdebase >= 3.2 kdebase-devel >= 3.2
%description
Plugins for some KDE applications: kdeaddons extends the functionality
of Konqueror, noatun (media player), kate (text editor), kicker (some applets)
and knewstiker.
%package common
Summary: Common empty package for %name
Group: Graphical desktop/KDE
Requires: kde-common >= 3.2
Conflicts: kdeaddons <= 3.0
#
%description common
Common empty package for %name
%package kaddressbook
Summary: KAB KWorldClock XXPort Plugin
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#Requires: kdepim-kaddressbook
#
%description kaddressbook
KAB KWorldClock XXPort Plugin
%package kontact
Summary: KNewsTicker plugin for Kontact
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#Requires: kdepim-kontact
#
%description kontact
KNewsTicker plugin for Kontact
%package ksig
Summary: Graphical tool for managing multiple email signatures
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksig
Graphical tool for managing multiple email signatures
%package vim
Summary: Vim component for KDE
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: vim-X11-gtk2
#
%description vim
The Vim component may need to be configured before it can be used.
This configuration can be done through the KDE Components section
of the KDE Control Center.
%package atlantik-designer
Summary: Designer for atlantik monopoly game client
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description atlantik-designer
This is designer for atlantik - monopoly like game client
%package kate
Summary: Plugins for the Kate text editor
Group: Editors
Requires: %{get_dep kdelibs}
Requires: kdebase-kate
Requires: %name-common = %version-%release
#
%description kate
%name-kate contains plugins extending the functionality of the Kate
(KDE Advanced Text Editor) editor.
%name-kate adds, among other things, DCOP support, project management
and text filtering capabilities.
%package kicker
Summary: Plugins and additional applets for Kicker (the KDE panel)
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: kdebase-wm
Requires: %name-common = %version-%release
#
%description kicker
Plugins and additional applets for Kicker (the KDE panel)
%package kfile
Summary: KDE file dialog plugins for text files and folders
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: kdebase-konqueror
Requires: %name-common = %version-%release
#
%description kfile
This is a collection of plugins for the KDE file dialog. These plugins
extend the file dialog to offer advanced meta-information for text,
HTML and desktop files, as well as for folders.
This package is part of the KDE add-ons module.
%package knewsticker
Summary: Scripts extending the functionality of KNewsTicker
Group: Networking/Other
Requires: kdenetwork-knewsticker
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description knewsticker
Scripts extending the functionality of KNewsTicker
%package konqueror
Summary: Plugins extending the functionality of Konqueror
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: kdebase-konqueror
#Requires: samba-client
#
%description konqueror
Plugins extending the functionality of Konqueror.
%name-konqueror contains, among other things, plugins for translating web
pages, checking web pages for valid HTML code, and viewing the DOM tree of
web pages.
%package noatun
Summary: Plugins extending the functionality of the noatun media player
Group: Sound
Requires: kdemultimedia-noatun
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description noatun
Plugins extending the functionality of the noatun media player
%prep
%setup -q -nkdeaddons-%version
#%setup -q -nkdeaddons-3.0.98
#
#%patch100 -p1
#%patch101 -p1
%patch102 -p1
%patch103 -p1
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 CXXFLAGS="-I/usr/include"
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L%buildroot/%_libdir -L%buildroot/%_libdir/kde3 -L%_libdir"
%configure \
%if %unstable
--enable-debug=full \
%else
--disable-debug \
%endif
--enable-final \
--enable-shared \
--disable-static \
--disable-embedded \
--disable-qtopia \
--disable-rpath \
--with-gnu-ld \
--with-pic \
--program-transform-name="" \
--with-xinerama
%make_build
%make_build -C atlantikdesigner
%install
%if %unstable
%set_strip_method none
%endif
export PATH=%_bindir:$PATH
%make_build DESTDIR=%buildroot prefix=%prefix exec_prefix=%prefix install
%make_build DESTDIR=%buildroot prefix=%prefix exec_prefix=%prefix install -C atlantikdesigner
install -d %buildroot/%_menudir/
%Kd2m %name-atlantik Amusement/Boards %Kbmenudir/atlantikdesigner.desktop %Kb_menudir/%name-atlantikdesigner
%Kd2m %name-kate .hidden %Kbapplnk/.hidden/katefll.desktop %Kb_menudir/%name-katefll kde
%Kd2m %name-konqueror .hidden %Kbapplnk/.hidden/kcmkuick.desktop %Kb_menudir/%name-kcmkuick kde
#%Kd2m %name-konqueror .hidden %Kapplnk/.hidden/arkplugin.desktop %Kb_menudir/%name-arkplugin kde
%Kd2m %name-vim Configuration/KDE/Components %Kbmenudir/kcmvim.desktop %Kb_menudir/%name-kcmvim kde
%Kd2m %name-ksig Networking/Mail %Kbmenudir/ksig.desktop %Kb_menudir/%name-ksig kde
%Kd2m %name-kfile Applications/Accessibility %Kbmenudir/lnkforward.desktop %Kb_menudir/%name-lnkforward kde
%post atlantik-designer
%update_menus
%postun atlantik-designer
%clean_menus
%post konqueror
%update_menus
%postun konqueror
%clean_menus
%post ksig
%update_menus
%postun ksig
%clean_menus
%files
%files common
%files kaddressbook
%_libdir/kde3/libkaddrbk_geo_xxport.*
%_datadir/apps/kaddressbook
%_datadir/services/kaddressbook
#%files kontact
#%_libdir/kde3/kcm_kontactknt.*
#%_libdir/kde3/libkontact_newstickerplugin.*
#%_datadir/services/kcmkontactknt.desktop
#%_datadir/services/kontact
%files ksig
%_bindir/ksig
%_datadir/apps/ksig/ksigui.rc
%_iconsdir/*/*/apps/ksig.png
%Kmenudir/ksig.desktop
%_menudir/%name-ksig
%files vim
%_libdir/libxvim.so*
%_libdir/kde3/kcm_vim.*
%_libdir/kde3/libvimpart.*
%_datadir/apps/kcontrol/pics/kvim.png
%_datadir/apps/vimpart
%_datadir/services/vimpart.desktop
%Kmenudir/kcmvim.desktop
%_menudir/%name-kcmvim
%files atlantik-designer
%_bindir/atlantikdesigner
%_datadir/apps/atlantikdesigner
%_iconsdir/*/*/apps/atlantikdesigner.png
%Kmenudir/atlantikdesigner.desktop
%_menudir/kdeaddons-atlantikdesigner
%files kate
#%_bindir/dcop_kate
#%_bindir/testor
%_libdir/kde3/libkatetabbarextensionplugin.*
%_libdir/kde3/kate*.*
%_datadir/apps/kate/
%_datadir/apps/katexmltools
%_datadir/services/kate*.desktop
%doc %_docdir/HTML/en/kate-plugins
%_datadir/applnk/.hidden/katefll.desktop
%_menudir/kdeaddons-katefll
%files kicker
%_libdir/kde3/math_panelapplet.*
%_libdir/kde3/ktimemon*.*
%_libdir/kde3/kolour*.*
%_libdir/kde3/mediacontrol_panelapplet.*
%_libdir/kde3/kbinaryclock_panelapplet.*
%_datadir/icons/*/*/*/ktimemon.png
%_datadir/apps/kicker/applets
%_datadir/apps/mediacontrol
%doc %_docdir/HTML/en/kicker-applets
%files kfile
%_libdir/kde3/kfile_*.*
%_libdir/kde3/libren*
%_datadir/services/kfile_*
%_datadir/services/ren*
#%doc %_docdir/HTML/en/kdeaddons-kfile-plugins
%if %with_knewsticker
%files knewsticker
%_datadir/apps/knewsticker/scripts/*
%endif
%files konqueror
%_bindir/exif.py
%_bindir/orient.py
%_bindir/fsview
%_bindir/jpegorient
#%_libdir/kde3/librellinksplugin.*
%_libdir/kde3/libsearchbarplugin.*
%_libdir/kde3/kcm_kuick.*
%_libdir/kde3/konq_sidebarnews.*
%_libdir/kde3/konq_smbmounterplugin.*
%_libdir/kde3/konqsidebar_mediaplayer.*
%_libdir/kde3/libarkplugin.*
%_libdir/kde3/libautorefresh.*
%_libdir/kde3/libbabelfishplugin.*
%_libdir/kde3/libcrashesplugin.*
%_libdir/kde3/libdirfilterplugin.*
%_libdir/kde3/libdomtreeviewerplugin.*
%_libdir/kde3/libfsviewpart.*
%_libdir/kde3/libkhtmlsettingsplugin.*
%_libdir/kde3/libkimgallery.*
%_libdir/kde3/libkuickplugin.*
%_libdir/kde3/libminitoolsplugin.*
%_libdir/kde3/libuachangerplugin.*
%_libdir/kde3/libvalidatorsplugin.*
%_libdir/kde3/libwebarchiverplugin.*
%_libdir/kde3/webarchivethumbnail.*
%Kapplnk/.hidden/arkplugin.desktop
%Kapplnk/.hidden/babelfishplugin.desktop
%Kapplnk/.hidden/crashesplugin.desktop
%Kapplnk/.hidden/dirfilterplugin.desktop
%Kapplnk/.hidden/domtreeviewerplugin.desktop
%Kapplnk/.hidden/kcmkuick.desktop
%Kapplnk/.hidden/khtmlsettingsplugin.desktop
%Kapplnk/.hidden/kimgalleryplugin.desktop
%Kapplnk/.hidden/kuickplugin.desktop
%Kapplnk/.hidden/mediaplayerplugin.desktop
%Kapplnk/.hidden/minitoolsplugin.desktop
%Kapplnk/.hidden/searchbarplugin.desktop
%Kapplnk/.hidden/smbmounterplugin.desktop
%Kapplnk/.hidden/uachangerplugin.desktop
%Kapplnk/.hidden/validatorsplugin.desktop
%Kapplnk/.hidden/webarchiverplugin.desktop
%_datadir/apps/fsview
%_datadir/apps/khtml/kpartplugins
%_datadir/apps/konqiconview
%_datadir/apps/konqlistview
%_datadir/apps/konqsidebartng
%_datadir/apps/konqueror/servicemenus
%_datadir/mimelnk/application/*webarchive*.desktop
%_datadir/services/ark_plugin.desktop
%_datadir/services/fsview_part.desktop
%_datadir/services/kuick_plugin.desktop
%_datadir/services/webarchivethumbnail.desktop
%_iconsdir/*/*/actions/babelfish.png
%_iconsdir/*/*/actions/cssvalidator.png
%_iconsdir/*/*/actions/domtreeviewer.png
%_iconsdir/*/*/actions/htmlvalidator.png
%_iconsdir/*/*/actions/imagegallery.png
%_iconsdir/*/*/actions/validators.png
%_iconsdir/*/*/actions/webarchiver.png
%_iconsdir/*/*/apps/autorefresh.png
%_iconsdir/*/*/apps/fsview.png
%_iconsdir/*/*/apps/konqsidebar_*.png
%doc %_docdir/HTML/en/konq-plugins
%_menudir/kdeaddons-kcmkuick
# lnkforward
%_bindir/lnkforward
%_datadir/mimelnk/application/x-win-lnk.desktop
%Kmenudir/lnkforward.desktop
%_menudir/%name-lnkforward
%files noatun
%_bindir/noatun*
%_libdir/kde3/noatun*.*
%_datadir/apps/noatun/*
#%_datadir/apps/dub
%_iconsdir/*/*/apps/synaescope.png
%changelog
…
Полный changelog можно просмотреть здесь
%define unstable 0
%define qtdir /usr/lib/qt3
%define with_knewsticker 0
%add_findprov_lib_path %_libdir/kde3
Name: kdeaddons
Version: 3.3.2
Release: alt1.9.M24
Source0: kdeaddons-%version.tar.bz2
#Source0: kdeaddons-3.0.98.tar.bz2
# ALT
Patch100: kdeaddons-3.1.4-knewsticker-stock.pl.patch
Patch101: kdeaddons-3.1.4-webarchiver_quote.patch
Patch102: 3.2.0-flags.patch
Patch103: no-rellinks.patch
Group: Graphical desktop/KDE
Summary: KDE addons
License: GPL
Requires: %name-atlantik-designer = %version-%release
Requires: %name-kaddressbook = %version-%release
Requires: %name-kate = %version-%release
Requires: %name-kfile = %version-%release
Requires: %name-kicker = %version-%release
%if %with_knewsticker
Requires: %name-knewsticker = %version-%release
%endif
Requires: %name-konqueror = %version-%release
Requires: %name-ksig = %version-%release
Requires: %name-noatun = %version-%release
Requires: %name-vim = %version-%release
#Requires: %name-kontact = %version-%release
# Automatically added by buildreq on Mon Apr 12 2004 (-bi)
#BuildRequires: XFree86-devel XFree86-libs esound fontconfig freetype2 gcc-c++ gcc-g77 glib-devel glib2 gtk+-devel kde-settings kdebase-devel kdebase-konqueror kdebase-libkonq kdebase-wm kdegames-atlantik kdegames-devel kdegames-libs kdelibs-devel kdemultimedia-arts kdemultimedia-devel kdemultimedia-noatun kdepim-devel kdepim-kaddressbook kdepim-kontact kdepim-libs libSDL-devel libarts-devel libarts-qt libjpeg-devel libpng-devel libqt3-devel libstdc++-devel libxmms-devel menu-devel perl-Finance-Quote perl-MIME-tools perl-NNTPClient perl-URI perl-libwww-perl python qt3-designer xml-utils zlib-devel
BuildRequires: XFree86-devel XFree86-libs esound fontconfig freetype2
BuildRequires: gcc-c++ glib-devel glib2 gtk+-devel
BuildRequires: kdebase-devel kdebase-konqueror kdebase-libkonq kdebase-wm
BuildRequires: kdegames-atlantik kdegames-devel kdegames-libs
BuildRequires: kdemultimedia-arts kdemultimedia-devel kdemultimedia-noatun
BuildRequires: kdepim-devel kdepim-kaddressbook kdepim-kontact kdepim-libs
BuildRequires: libSDL-devel libarts-devel libjpeg-devel libpng-devel
BuildRequires: libqt3-devel libstdc++-devel libxmms-devel menu-devel
BuildRequires: perl-Finance-Quote perl-MIME-tools perl-NNTPClient perl-URI perl-libwww-perl
BuildRequires: qt3-designer xml-utils zlib-devel python
BuildRequires: kdelibs-devel-cxx = %__gcc_version_base
BuildRequires: kdelibs >= 3.0.0 kdelibs-devel >= 3.0.0
BuildRequires: kdebase >= 3.2 kdebase-devel >= 3.2
%description
Plugins for some KDE applications: kdeaddons extends the functionality
of Konqueror, noatun (media player), kate (text editor), kicker (some applets)
and knewstiker.
%package common
Summary: Common empty package for %name
Group: Graphical desktop/KDE
Requires: kde-common >= 3.2
Conflicts: kdeaddons <= 3.0
#
%description common
Common empty package for %name
%package kaddressbook
Summary: KAB KWorldClock XXPort Plugin
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#Requires: kdepim-kaddressbook
#
%description kaddressbook
KAB KWorldClock XXPort Plugin
%package kontact
Summary: KNewsTicker plugin for Kontact
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#Requires: kdepim-kontact
#
%description kontact
KNewsTicker plugin for Kontact
%package ksig
Summary: Graphical tool for managing multiple email signatures
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksig
Graphical tool for managing multiple email signatures
%package vim
Summary: Vim component for KDE
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: vim-X11-gtk2
#
%description vim
The Vim component may need to be configured before it can be used.
This configuration can be done through the KDE Components section
of the KDE Control Center.
%package atlantik-designer
Summary: Designer for atlantik monopoly game client
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description atlantik-designer
This is designer for atlantik - monopoly like game client
%package kate
Summary: Plugins for the Kate text editor
Group: Editors
Requires: %{get_dep kdelibs}
Requires: kdebase-kate
Requires: %name-common = %version-%release
#
%description kate
%name-kate contains plugins extending the functionality of the Kate
(KDE Advanced Text Editor) editor.
%name-kate adds, among other things, DCOP support, project management
and text filtering capabilities.
%package kicker
Summary: Plugins and additional applets for Kicker (the KDE panel)
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: kdebase-wm
Requires: %name-common = %version-%release
#
%description kicker
Plugins and additional applets for Kicker (the KDE panel)
%package kfile
Summary: KDE file dialog plugins for text files and folders
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: kdebase-konqueror
Requires: %name-common = %version-%release
#
%description kfile
This is a collection of plugins for the KDE file dialog. These plugins
extend the file dialog to offer advanced meta-information for text,
HTML and desktop files, as well as for folders.
This package is part of the KDE add-ons module.
%package knewsticker
Summary: Scripts extending the functionality of KNewsTicker
Group: Networking/Other
Requires: kdenetwork-knewsticker
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description knewsticker
Scripts extending the functionality of KNewsTicker
%package konqueror
Summary: Plugins extending the functionality of Konqueror
Group: Graphical desktop/KDE
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
Requires: kdebase-konqueror
#Requires: samba-client
#
%description konqueror
Plugins extending the functionality of Konqueror.
%name-konqueror contains, among other things, plugins for translating web
pages, checking web pages for valid HTML code, and viewing the DOM tree of
web pages.
%package noatun
Summary: Plugins extending the functionality of the noatun media player
Group: Sound
Requires: kdemultimedia-noatun
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description noatun
Plugins extending the functionality of the noatun media player
%prep
%setup -q -nkdeaddons-%version
#%setup -q -nkdeaddons-3.0.98
#
#%patch100 -p1
#%patch101 -p1
%patch102 -p1
%patch103 -p1
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 CXXFLAGS="-I/usr/include"
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L%buildroot/%_libdir -L%buildroot/%_libdir/kde3 -L%_libdir"
%configure \
%if %unstable
--enable-debug=full \
%else
--disable-debug \
%endif
--enable-final \
--enable-shared \
--disable-static \
--disable-embedded \
--disable-qtopia \
--disable-rpath \
--with-gnu-ld \
--with-pic \
--program-transform-name="" \
--with-xinerama
%make_build
%make_build -C atlantikdesigner
%install
%if %unstable
%set_strip_method none
%endif
export PATH=%_bindir:$PATH
%make_build DESTDIR=%buildroot prefix=%prefix exec_prefix=%prefix install
%make_build DESTDIR=%buildroot prefix=%prefix exec_prefix=%prefix install -C atlantikdesigner
install -d %buildroot/%_menudir/
%Kd2m %name-atlantik Amusement/Boards %Kbmenudir/atlantikdesigner.desktop %Kb_menudir/%name-atlantikdesigner
%Kd2m %name-kate .hidden %Kbapplnk/.hidden/katefll.desktop %Kb_menudir/%name-katefll kde
%Kd2m %name-konqueror .hidden %Kbapplnk/.hidden/kcmkuick.desktop %Kb_menudir/%name-kcmkuick kde
#%Kd2m %name-konqueror .hidden %Kapplnk/.hidden/arkplugin.desktop %Kb_menudir/%name-arkplugin kde
%Kd2m %name-vim Configuration/KDE/Components %Kbmenudir/kcmvim.desktop %Kb_menudir/%name-kcmvim kde
%Kd2m %name-ksig Networking/Mail %Kbmenudir/ksig.desktop %Kb_menudir/%name-ksig kde
%Kd2m %name-kfile Applications/Accessibility %Kbmenudir/lnkforward.desktop %Kb_menudir/%name-lnkforward kde
%post atlantik-designer
%update_menus
%postun atlantik-designer
%clean_menus
%post konqueror
%update_menus
%postun konqueror
%clean_menus
%post ksig
%update_menus
%postun ksig
%clean_menus
%files
%files common
%files kaddressbook
%_libdir/kde3/libkaddrbk_geo_xxport.*
%_datadir/apps/kaddressbook
%_datadir/services/kaddressbook
#%files kontact
#%_libdir/kde3/kcm_kontactknt.*
#%_libdir/kde3/libkontact_newstickerplugin.*
#%_datadir/services/kcmkontactknt.desktop
#%_datadir/services/kontact
%files ksig
%_bindir/ksig
%_datadir/apps/ksig/ksigui.rc
%_iconsdir/*/*/apps/ksig.png
%Kmenudir/ksig.desktop
%_menudir/%name-ksig
%files vim
%_libdir/libxvim.so*
%_libdir/kde3/kcm_vim.*
%_libdir/kde3/libvimpart.*
%_datadir/apps/kcontrol/pics/kvim.png
%_datadir/apps/vimpart
%_datadir/services/vimpart.desktop
%Kmenudir/kcmvim.desktop
%_menudir/%name-kcmvim
%files atlantik-designer
%_bindir/atlantikdesigner
%_datadir/apps/atlantikdesigner
%_iconsdir/*/*/apps/atlantikdesigner.png
%Kmenudir/atlantikdesigner.desktop
%_menudir/kdeaddons-atlantikdesigner
%files kate
#%_bindir/dcop_kate
#%_bindir/testor
%_libdir/kde3/libkatetabbarextensionplugin.*
%_libdir/kde3/kate*.*
%_datadir/apps/kate/
%_datadir/apps/katexmltools
%_datadir/services/kate*.desktop
%doc %_docdir/HTML/en/kate-plugins
%_datadir/applnk/.hidden/katefll.desktop
%_menudir/kdeaddons-katefll
%files kicker
%_libdir/kde3/math_panelapplet.*
%_libdir/kde3/ktimemon*.*
%_libdir/kde3/kolour*.*
%_libdir/kde3/mediacontrol_panelapplet.*
%_libdir/kde3/kbinaryclock_panelapplet.*
%_datadir/icons/*/*/*/ktimemon.png
%_datadir/apps/kicker/applets
%_datadir/apps/mediacontrol
%doc %_docdir/HTML/en/kicker-applets
%files kfile
%_libdir/kde3/kfile_*.*
%_libdir/kde3/libren*
%_datadir/services/kfile_*
%_datadir/services/ren*
#%doc %_docdir/HTML/en/kdeaddons-kfile-plugins
%if %with_knewsticker
%files knewsticker
%_datadir/apps/knewsticker/scripts/*
%endif
%files konqueror
%_bindir/exif.py
%_bindir/orient.py
%_bindir/fsview
%_bindir/jpegorient
#%_libdir/kde3/librellinksplugin.*
%_libdir/kde3/libsearchbarplugin.*
%_libdir/kde3/kcm_kuick.*
%_libdir/kde3/konq_sidebarnews.*
%_libdir/kde3/konq_smbmounterplugin.*
%_libdir/kde3/konqsidebar_mediaplayer.*
%_libdir/kde3/libarkplugin.*
%_libdir/kde3/libautorefresh.*
%_libdir/kde3/libbabelfishplugin.*
%_libdir/kde3/libcrashesplugin.*
%_libdir/kde3/libdirfilterplugin.*
%_libdir/kde3/libdomtreeviewerplugin.*
%_libdir/kde3/libfsviewpart.*
%_libdir/kde3/libkhtmlsettingsplugin.*
%_libdir/kde3/libkimgallery.*
%_libdir/kde3/libkuickplugin.*
%_libdir/kde3/libminitoolsplugin.*
%_libdir/kde3/libuachangerplugin.*
%_libdir/kde3/libvalidatorsplugin.*
%_libdir/kde3/libwebarchiverplugin.*
%_libdir/kde3/webarchivethumbnail.*
%Kapplnk/.hidden/arkplugin.desktop
%Kapplnk/.hidden/babelfishplugin.desktop
%Kapplnk/.hidden/crashesplugin.desktop
%Kapplnk/.hidden/dirfilterplugin.desktop
%Kapplnk/.hidden/domtreeviewerplugin.desktop
%Kapplnk/.hidden/kcmkuick.desktop
%Kapplnk/.hidden/khtmlsettingsplugin.desktop
%Kapplnk/.hidden/kimgalleryplugin.desktop
%Kapplnk/.hidden/kuickplugin.desktop
%Kapplnk/.hidden/mediaplayerplugin.desktop
%Kapplnk/.hidden/minitoolsplugin.desktop
%Kapplnk/.hidden/searchbarplugin.desktop
%Kapplnk/.hidden/smbmounterplugin.desktop
%Kapplnk/.hidden/uachangerplugin.desktop
%Kapplnk/.hidden/validatorsplugin.desktop
%Kapplnk/.hidden/webarchiverplugin.desktop
%_datadir/apps/fsview
%_datadir/apps/khtml/kpartplugins
%_datadir/apps/konqiconview
%_datadir/apps/konqlistview
%_datadir/apps/konqsidebartng
%_datadir/apps/konqueror/servicemenus
%_datadir/mimelnk/application/*webarchive*.desktop
%_datadir/services/ark_plugin.desktop
%_datadir/services/fsview_part.desktop
%_datadir/services/kuick_plugin.desktop
%_datadir/services/webarchivethumbnail.desktop
%_iconsdir/*/*/actions/babelfish.png
%_iconsdir/*/*/actions/cssvalidator.png
%_iconsdir/*/*/actions/domtreeviewer.png
%_iconsdir/*/*/actions/htmlvalidator.png
%_iconsdir/*/*/actions/imagegallery.png
%_iconsdir/*/*/actions/validators.png
%_iconsdir/*/*/actions/webarchiver.png
%_iconsdir/*/*/apps/autorefresh.png
%_iconsdir/*/*/apps/fsview.png
%_iconsdir/*/*/apps/konqsidebar_*.png
%doc %_docdir/HTML/en/konq-plugins
%_menudir/kdeaddons-kcmkuick
# lnkforward
%_bindir/lnkforward
%_datadir/mimelnk/application/x-win-lnk.desktop
%Kmenudir/lnkforward.desktop
%_menudir/%name-lnkforward
%files noatun
%_bindir/noatun*
%_libdir/kde3/noatun*.*
%_datadir/apps/noatun/*
#%_datadir/apps/dub
%_iconsdir/*/*/apps/synaescope.png
%changelog
…
Полный changelog можно просмотреть здесь