Репозиторий Sisyphus
Последнее обновление: 18 декабря 2018 | Пакетов: 18647 | Посещений: 12728813
en ru br
Репозитории ALT
S:16.04.1-alt3.S1
5.1: 4.4.5-alt0.M51.1
4.1: 4.1.3-alt0.M41.2
www.altlinux.org/Changes

Группа :: Графические оболочки/KDE
Пакет: kde4base-runtime

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _kde_alternate_placement 1
%add_findpackage_path %_kde4_bindir
%add_findreq_skiplist %_K4exec/khc_*

%def_disable gcc5ready
%def_disable ntrack

%define rname kdebase-runtime
%define major 16
%define minor 04
%define bugfix 1
Name: kde4base-runtime
Version: %major.%minor.%bugfix
Release: alt3%ubt
%define libname lib%name

Group: Graphical desktop/KDE
Summary: K Desktop Environment - Runtime
License: GPLv2
Url: http://www.kde.org/

Requires: %name-core = %EVR

Source0: ftp://ftp.kde.org/pub/kde/stable/%version/src/kdebase-runtime-%version.tar
Source1: kde4
Source10: search-yandex.desktop
Source11: search-altbugzilla.desktop
# ALT
Patch1001: kdebase-runtime-4.3.2-alt-compiz.patch
Patch1002: kdebase-runtime-4.8.0-alt-def-nepomuk.patch
Patch1003: kdebase-runtime-15.12.1-alt-perl-checks.patch
Patch1004: kdebase-runtime-4.10.0-alt-def-trash.patch
Patch1005: kdebase-runtime-4.8.0-alt-nepomuk-backup-on.patch
Patch1006: kdebase-runtime-4.9.3-alt-multimedia-player-chooser.patch
Patch1007: kdebase-runtime-4.12.3-alt-use-kwallet.patch

BuildRequires(pre): kde4pimlibs-devel attica-devel rpm-build-ubt
BuildRequires: gcc-c++ cmake bzlib-devel liblzma-devel xml-utils
BuildRequires: libalsa-devel libclucene-core-devel libjpeg-devel libpcre-devel libgcrypt-devel
BuildRequires: libqt4-devel libsmbclient-devel NetworkManager-glib-devel
BuildRequires: libstrigi-devel
BuildRequires: kde4-kactivities-devel
BuildRequires: libungif-devel libxkbfile-devel openexr-devel libwebp-devel
BuildRequires: libcanberra-devel glib2-devel libpulseaudio-devel
BuildRequires: libopenslp-devel libqca2-devel libgpgme-devel
#BuildRequires: libqzeitgeist-devel
%{?_enable_ntrack:BuildRequires: libntrack-qt4-devel}
%if_enabled gcc5ready
BuildRequires: libexiv2-devel exiv2
%endif
BuildRequires: libssh-devel phonon-devel
BuildRequires: kde4libs-devel kde4pimlibs-devel

%description
Core runtime for the K Desktop Environment 4.

%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
Requires: kde-common
%description common
%name common package

%package core
Summary: Core files for %name
Group: Graphical desktop/KDE
Requires: %libname = %EVR
Requires: phonon-backend
Requires: qt4-dbus icon-theme-breeze shared-desktop-ontologies kde4pimlibs
%ifnarch s390 s390x
Requires: eject
%endif
%description core
Core files for  %name

%package -n %libname
Summary: KDE 4 library
Group: System/Libraries
Requires: %name-common = %EVR
%description -n %libname
KDE 4 library.

%package devel
Summary: Headers files for %name
Group: Development/KDE and QT
Requires: kde4libs-devel
Requires: %libname = %EVR
%description devel
Headers files needed to build applications based on kdegames applications.

%package -n kde4-menu-resources
Summary: menu resources for the original KDE menu
Group: Graphical desktop/KDE
BuildArch: noarch
Requires: %name-common = %EVR
%description -n kde4-menu-resources
Menu resources for the original KDE menu.

%prep
%setup -q -n %rname-%version
#
#%patch1 -p1
#
%patch1001 -p1
%patch1002 -p1
%patch1003 -p1
%patch1004 -p1
%patch1005 -p1
%patch1006 -p1
%patch1007 -p1

install -m 0644 %SOURCE10 kurifilter-plugins/ikws/searchproviders/yandex.desktop
install -m 0644 %SOURCE11 kurifilter-plugins/ikws/searchproviders/altbugzilla.desktop

cat %SOURCE1 >kde4

%build
%K4build \
   -DKDE4_ENABLE_FPIE:BOOL=ON

%install
%K4install
mkdir -p %buildroot/%_K4doc/en/common

%ifdef _kde_alternate_placement
mkdir -p %buildroot/%_K4bindir/
pushd %buildroot/%_kde4_bindir
for f in *4
do
   ln -sf `relative %buildroot/%_kde4_bindir/$f %buildroot/%_K4bindir/$f` %buildroot/%_K4bindir/$f
done
popd
ln -sf `relative %_kde4_bindir/kde4 %_K4bindir/kde4` %buildroot/%_K4bindir/kde4
%endif


%files
%files common
%files core
%_K4conf_bin/*
%_K4plug/phonon_platform/kde.so
%dir %_K4apps/kcm_phonon/
%_K4apps/kcm_phonon/listview-background.png
%dir %_K4apps/libphonon/
%_K4apps/libphonon/hardwaredatabase
%dir %_K4apps/phonon/
%_K4apps/phonon/phonon.notifyrc
#
%_K4dbus_services/*
#
%exclude %_kde4_xdg_menu/*.menu
%_kde4_bindir/*
%ifdef _kde_alternate_placement
%_K4bindir/*4
%endif
%attr(2711,root,nobody) %_K4exec/kdesud
%_K4exec/drkonqi
%_K4exec/kcmremotewidgetshelper
%_K4exec/kdeeject
%_K4exec/kdesu
%_K4exec/kdontchangethehostname
%_K4exec/khc_*
%_K4exec/kioexec
#%_K4exec/klocaldomainurifilterhelper
%_K4exec/knetattach
%_K4libdir/attica_kde.so
%_K4libdir/libkdeinit4_*.so
%_K4libdir/libknotifyplugin.so
#%_K4libdir/strigi/*.so*
%_K4lib/*.so*
%_K4lib/platformimports/touch/org/kde/*
%_K4lib/imports/org/kde/*
%_K4lib/plugins/imageformats/kimg_*.so
#%_K4start/nepomukcontroller.desktop
%_K4apps/desktoptheme/
%_K4apps/kglobalaccel
%_K4apps/khelpcenter/
%_K4apps/ksmserver/
%_K4apps/konqsidebartng/
%_K4apps/kwalletd/
%_K4apps/hardwarenotifications/
%_K4cfg/*
%_K4conf/*
%_K4emo/kde4/
%ifdef _kde_alternate_placement
%_kde4_iconsdir/hicolor/index.theme
%endif
%_kde4_iconsdir/hicolor/*/*/*
%_kde4_xdg_apps/*
%_K4xdg_mime/network.xml
%_K4xdg_mime/webp.xml
%_K4i18n/*
%_K4snd/*
%_K4srv/*
%_K4srvtyp/*
%_man1dir/*
%_K4doc/en/*
%_K4dbus_system/org.kde.kcontrol.kcmremotewidgets.conf
%_K4dbus_sys_services/org.kde.kcontrol.kcmremotewidgets.service
%_datadir/polkit-1/actions/org.kde.kcontrol.kcmremotewidgets.policy
%exclude %_K4doc/en/common

%_K4apps/drkonqi/
%_K4apps/kcm_componentchooser/
%_K4apps/kcmlocale/
%_K4apps/kconf_update/
%_K4apps/kde/
%_K4apps/kio_*/
%_K4apps/konqueror/
%_K4apps/remoteview/

%files -n kde4-menu-resources
%_kde4_xdg_dirs/*.directory

%files -n %libname
%_K4libdir/lib*.so.*

%files devel
%_K4link/*.so
%_K4includedir/*
%_K4apps/cmake/
%_K4dbus_interfaces/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin