You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
758 lines
23 KiB
758 lines
23 KiB
13 years ago
|
# Default version for this component
|
||
|
%if "%{?version}" == ""
|
||
|
%define version 3.5.12
|
||
|
%endif
|
||
13 years ago
|
%define release 15
|
||
13 years ago
|
|
||
13 years ago
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||
|
%if "%{?_prefix}" != "/usr"
|
||
|
%define _variant .opt
|
||
|
%define _docdir %{_prefix}/share/doc
|
||
|
%endif
|
||
|
|
||
13 years ago
|
# TDE 3.5.12 specific building variables
|
||
|
BuildRequires: autoconf automake libtool m4
|
||
|
%define tde_docdir %{_docdir}
|
||
|
%define tde_libdir %{_libdir}/kde3
|
||
|
|
||
13 years ago
|
# Older RHEL/Fedora versions use packages named "qt", "qt-devel", ..
|
||
|
# whereas newer versions use "qt3", "qt3-devel" ...
|
||
|
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8
|
||
|
%define _qt_suffix 3
|
||
|
%endif
|
||
|
|
||
13 years ago
|
|
||
|
Name: trinity-kdebase
|
||
13 years ago
|
Version: %{?version}
|
||
|
Release: %{?release}%{?dist}%{?_variant}
|
||
13 years ago
|
License: GPL
|
||
|
Summary: Trinity KDE Base Programs
|
||
13 years ago
|
Group: User Interface/Desktops
|
||
13 years ago
|
|
||
13 years ago
|
Vendor: Trinity Project
|
||
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||
|
URL: http://www.trinitydesktop.org/
|
||
|
|
||
13 years ago
|
Prefix: %{_prefix}
|
||
13 years ago
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
13 years ago
|
|
||
13 years ago
|
Source0: kdebase-%{version}.tar.gz
|
||
13 years ago
|
|
||
|
# Wrapper script to prevent Plasma launch at Trinity Startup
|
||
|
Source1: plasma-desktop
|
||
|
|
||
13 years ago
|
# Pam configuration files for RHEL / Fedora
|
||
|
Source2: pamd.kdm-trinity%{?dist}
|
||
|
Source3: pamd.kdm-trinity-np%{?dist}
|
||
|
Source4: pamd.kcheckpass-trinity%{?dist}
|
||
|
Source5: pamd.kscreensaver-trinity%{?dist}
|
||
|
|
||
13 years ago
|
# TDE Official patches (from SVN), unmodified
|
||
|
# [kdebase/kcontrol] fix for openssl 1.0
|
||
|
Patch1: http://www.trinitydesktop.org/patches/r1201523.diff
|
||
|
# [kdebase/kcontrol] make it compatible with openssl < 1.0
|
||
|
Patch2: http://www.trinitydesktop.org/patches/r1201705.diff
|
||
|
# Fix My Documents shortcut on desktop
|
||
13 years ago
|
Patch3: http://www.trinitydesktop.org/patches/r1182808.diff
|
||
13 years ago
|
# [kdebase] fixed an incompatibility with gcc 4.5
|
||
13 years ago
|
Patch4: http://www.trinitydesktop.org/patches/r1221326.diff
|
||
13 years ago
|
|
||
|
# TDE Official patches (from SVN), modified
|
||
|
# [kdebase/ksmserver/shutdowndlg.cpp] Fixed invalid constructor per GCC 4.5.2
|
||
13 years ago
|
Patch5: kdebase-3.5.12-r1220975.patch
|
||
13 years ago
|
# [kdebase] Another invalid constructor per gcc 4.5
|
||
13 years ago
|
Patch6: kdebase-3.5.12-r1220927.patch
|
||
|
|
||
|
# TDE unofficial patches, fixing FTBFS
|
||
|
## Fix for DBUS include files in RHEL6
|
||
|
Patch7: kdebase-3.5.12-shutdowndlg-dbus-include.patch
|
||
|
## [kdebase/kcontrol]: disable components that depends of krandr (old distros)
|
||
|
Patch8: kdebase-3.5.12-disable-krandr.patch
|
||
13 years ago
|
|
||
|
# TDE for RHEL/Fedora specific patches
|
||
13 years ago
|
## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box
|
||
13 years ago
|
Patch10: kdebase-3.5.12-kdesu-noignorebutton.patch
|
||
13 years ago
|
## [kdebase/kdesktop] Modifies 'open terminal here' on desktop
|
||
13 years ago
|
Patch11: kdebase-3.5.12-desktop-openterminalhere.patch
|
||
13 years ago
|
## [kdebase/kioslave] Forces HAL backend to use HAL mount options
|
||
13 years ago
|
Patch12: kdebase-3.5.12-halmountoptions.patch
|
||
13 years ago
|
## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession'
|
||
13 years ago
|
Patch13: kdebase-3.5.13-genkdmconf_Xsession_location.patch
|
||
13 years ago
|
## [kdebase/kicker/kicker/ui] Fix kickoff menu issues
|
||
13 years ago
|
Patch14: kdebase-3.5.12-kickoff_unstable.patch
|
||
13 years ago
|
## [kdebase/startkde] Sets default Start Icon in 'kickerrc'
|
||
13 years ago
|
Patch15: kdebase-3.5.13-startkde_icon.patch
|
||
13 years ago
|
## [kdebase/startkde] Fixes duplicate and incorrect TDE directories location
|
||
|
Patch16: kdebase-3.5.12-startkde_directories.patch
|
||
13 years ago
|
|
||
13 years ago
|
# TDE unofficial patches for enhanced features
|
||
13 years ago
|
## [kdebase/kate] Restores the 'number of files' and sorting widgets to the Kate configuration
|
||
13 years ago
|
Patch20: kdebase-3.5.13-kate_mru.patch
|
||
13 years ago
|
## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db'
|
||
13 years ago
|
Patch21: kdebase-3.5.12-kio_man_utf8.patch
|
||
13 years ago
|
## [kdebase/konqueror] Re-enable 'open tab in background'
|
||
13 years ago
|
Patch22: kdebase-3.5.12-konq_menu_tab_background.patch
|
||
|
## [kdebase/konqueror/sidebar] Fix error message on documents parent folder
|
||
|
Patch23: kdebase-3.5.13-konqsidebar_documents.patch
|
||
13 years ago
|
## [kdebase/kdesktop/lock] Fix missing black background
|
||
|
Patch29: kdebase-3.5.12-kdesktop_lock_fix.patch
|
||
|
## [kdebase/kdm/kfrontend] Allows to hide KDM menu button
|
||
|
Patch30: kdebase-3.5.12-kdm_hide_menu_button.patch
|
||
13 years ago
|
|
||
|
# Fedora 15 Theme: "Lovelock"
|
||
|
%if 0%{?fedora} == 15
|
||
|
Requires: lovelock-backgrounds-single
|
||
|
%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png
|
||
13 years ago
|
|
||
|
Requires: fedora-release-notes
|
||
|
%define tde_aboutlabel Fedora 15
|
||
|
%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
|
||
13 years ago
|
%endif
|
||
|
|
||
|
# Fedora 16 Theme: "Verne"
|
||
|
%if 0%{?fedora} == 16
|
||
|
Requires: verne-backgrounds-single
|
||
|
%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png
|
||
13 years ago
|
|
||
|
Requires: fedora-release-notes
|
||
|
%define tde_aboutlabel Fedora 16
|
||
|
%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
|
||
13 years ago
|
%endif
|
||
|
|
||
|
# RHEL 5 Theme
|
||
|
%if 0%{?rhel} == 5
|
||
|
Requires: desktop-backgrounds-basic
|
||
|
%define tde_bg /usr/share/backgrounds/images/default.jpg
|
||
13 years ago
|
|
||
|
Requires: indexhtml
|
||
|
%define tde_aboutlabel Enterprise Linux 5
|
||
|
%define tde_aboutpage /usr/share/doc/HTML/index.html
|
||
13 years ago
|
%endif
|
||
|
|
||
|
# RHEL 6 Theme
|
||
|
%if 0%{?rhel} == 6
|
||
|
Requires: redhat-logos
|
||
|
%define tde_bg /usr/share/backgrounds/default.png
|
||
13 years ago
|
|
||
|
Requires: redhat-indexhtml
|
||
|
%define tde_aboutlabel Enterprise Linux 6
|
||
|
%define tde_aboutpage /usr/share/doc/HTML/index.html
|
||
13 years ago
|
%endif
|
||
13 years ago
|
|
||
|
BuildRequires: tqtinterface-devel
|
||
|
BuildRequires: trinity-arts-devel
|
||
|
BuildRequires: trinity-kdelibs-devel
|
||
13 years ago
|
BuildRequires: qt%{?_qt_suffix}-devel
|
||
13 years ago
|
BuildRequires: openssl-devel
|
||
|
BuildRequires: avahi-devel avahi-qt3-devel
|
||
|
BuildRequires: imake
|
||
|
BuildRequires: xorg-x11-proto-devel
|
||
|
BuildRequires: OpenEXR-devel
|
||
|
BuildRequires: libsmbclient-devel
|
||
13 years ago
|
BuildRequires: dbus-devel
|
||
|
BuildRequires: dbus-qt-devel
|
||
13 years ago
|
BuildRequires: lm_sensors-devel
|
||
|
BuildRequires: libfontenc-devel
|
||
|
BuildRequires: hal-devel
|
||
13 years ago
|
BuildRequires: audiofile-devel alsa-lib-devel
|
||
13 years ago
|
BuildRequires: libraw1394-devel
|
||
|
BuildRequires: openldap-devel
|
||
|
BuildRequires: libvorbis-devel
|
||
|
BuildRequires: pam-devel
|
||
|
BuildRequires: libXdmcp-devel
|
||
|
BuildRequires: libxkbfile-devel
|
||
13 years ago
|
BuildRequires: libusb-devel
|
||
13 years ago
|
BuildRequires: esound-devel
|
||
|
BuildRequires: glib2-devel
|
||
13 years ago
|
BuildRequires: libXcomposite-devel
|
||
13 years ago
|
BuildRequires: libXtst-devel
|
||
|
BuildRequires: libXdamage-devel
|
||
|
BuildRequires: xorg-x11-font-utils
|
||
13 years ago
|
|
||
13 years ago
|
# These dependancies are not met in RHEL
|
||
|
%if 0%{?fedora}
|
||
|
BuildRequires: jack-audio-connection-kit-devel
|
||
|
BuildRequires: nas-devel
|
||
|
%endif
|
||
|
|
||
13 years ago
|
Requires: tqtinterface
|
||
|
Requires: trinity-arts
|
||
|
Requires: trinity-kdelibs
|
||
13 years ago
|
Requires: qt%{?_qt_suffix}
|
||
13 years ago
|
Requires: openssl
|
||
|
Requires: avahi avahi-qt3
|
||
13 years ago
|
Requires: dbus-qt
|
||
|
# Provides the global Xsession script (/etc/X11/xinit/Xsession)
|
||
|
Requires: xorg-x11-xinit
|
||
13 years ago
|
|
||
|
|
||
|
# RHEL 6 Configuration files are provided in separate packages
|
||
|
%if "%{?_prefix}" == "/usr"
|
||
|
Requires: kde-settings-kdm
|
||
|
%endif
|
||
|
Requires: redhat-menus
|
||
|
|
||
13 years ago
|
#Provides: kdebase%{?_qt_suffix} = %{version}
|
||
13 years ago
|
%if "%{?_prefix}" == "/usr"
|
||
13 years ago
|
Provides: kdebase%{?_qt_suffix} = %{version}
|
||
13 years ago
|
Obsoletes: kdebase%{?_qt_suffix} <= 3.5.10
|
||
|
%endif
|
||
|
|
||
|
|
||
|
# Required for Fedora LiveCD
|
||
|
Provides: service(graphical-login)
|
||
|
|
||
|
|
||
13 years ago
|
%description
|
||
|
Core applications for the Trinity K Desktop Environment. Included are: kdm
|
||
|
(replacement for xdm), kwin (window manager), konqueror (filemanager,
|
||
|
web browser, ftp client, ...), konsole (xterm replacement), kpanel
|
||
|
(application starter and desktop pager), kaudio (audio server),
|
||
|
kdehelp (viewer for kde help files, info and man pages), kthememgr
|
||
|
(system for managing alternate theme packages) plus other KDE
|
||
|
components (kcheckpass, kikbd, kscreensaver, kcontrol, kfind,
|
||
|
kfontmanager, kmenuedit).
|
||
|
|
||
|
|
||
|
%package devel
|
||
|
Requires: %{name}
|
||
13 years ago
|
Requires: %{name}-libs = %{version}-%{release}
|
||
13 years ago
|
Requires: trinity-kdelibs-devel
|
||
|
Summary: %{summary} - Development files
|
||
|
%if "%{?_prefix}" == "/usr"
|
||
13 years ago
|
Provides: kdebase%{?_qt_suffix}-devel = %{version}
|
||
13 years ago
|
Obsoletes: kdebase%{?_qt_suffix}-devel <= 3.5.10
|
||
13 years ago
|
%endif
|
||
13 years ago
|
|
||
13 years ago
|
Group: Development/Libraries
|
||
|
%description devel
|
||
|
Header files for developing applications using %{name}.
|
||
|
Install kdebase-devel if you want to develop or compile Konqueror,
|
||
|
Kate plugins or KWin styles.
|
||
|
|
||
|
|
||
|
%package extras
|
||
|
Summary: Extra applications from %{name}
|
||
|
Group: User Interface/Desktops
|
||
13 years ago
|
Requires: %{name} = %{version}-%{release}
|
||
13 years ago
|
%if "%{?_prefix}" == "/usr"
|
||
13 years ago
|
Provides: kdebase%{?_qt_suffix}-extras = %{version}
|
||
|
Obsoletes: kdebase%{?_qt_suffix}-extras <= 3.5.10
|
||
13 years ago
|
%endif
|
||
13 years ago
|
%description extras
|
||
|
%{summary}, including:
|
||
|
* kappfinder
|
||
|
* kpager
|
||
|
* ktip
|
||
|
* kpersonalizer
|
||
|
|
||
|
|
||
|
%package libs
|
||
|
Summary: %{name} runtime libraries
|
||
|
Group: System Environment/Libraries
|
||
13 years ago
|
Requires: trinity-kdelibs
|
||
13 years ago
|
%if "%{?_prefix}" == "/usr"
|
||
13 years ago
|
Provides: kdebase%{?_qt_suffix}-libs = %{version}
|
||
|
Obsoletes: kdebase%{?_qt_suffix}-libs <= 3.5.10
|
||
13 years ago
|
%endif
|
||
13 years ago
|
Requires: %{name} = %{version}-%{release}
|
||
13 years ago
|
%description libs
|
||
|
%{summary}
|
||
|
|
||
|
|
||
|
%package pim-ioslaves
|
||
|
Summary: PIM KIOslaves from %{name}
|
||
|
Group: System Environment/Libraries
|
||
13 years ago
|
%if "%{?_prefix}" == "/usr"
|
||
13 years ago
|
Provides: kdebase%{?_qt_suffix}-pim-ioslaves = %{version}
|
||
|
Obsoletes: kdebase%{?_qt_suffix}-pim-ioslaves <= 3.5.10
|
||
13 years ago
|
%endif
|
||
13 years ago
|
%description pim-ioslaves
|
||
|
Protocol handlers (KIOslaves) for personal information management, including:
|
||
|
* kio_ldap
|
||
|
* kio_nntp
|
||
|
* kio_pop3
|
||
|
* kio_smtp
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n kdebase
|
||
|
%patch1 -p1
|
||
|
%patch2 -p1
|
||
|
%patch3 -p1
|
||
|
%patch4 -p1
|
||
|
%patch5 -p1
|
||
|
%patch6 -p1
|
||
|
%patch7 -p1
|
||
13 years ago
|
%if 0%{?rhel} && 0%{?rhel} < 6
|
||
13 years ago
|
%patch8 -p1
|
||
13 years ago
|
%endif
|
||
|
|
||
13 years ago
|
%patch10 -p1
|
||
13 years ago
|
%patch11 -p1
|
||
|
%patch12 -p1
|
||
13 years ago
|
%patch13 -p1
|
||
13 years ago
|
%patch14 -p1
|
||
|
%patch15 -p1
|
||
13 years ago
|
%patch16 -p1
|
||
13 years ago
|
|
||
|
%patch20 -p4
|
||
|
%if 0%{?rhel} > 0
|
||
|
%patch21 -p1
|
||
13 years ago
|
%endif
|
||
13 years ago
|
%patch22 -p1
|
||
|
%patch23 -p1
|
||
13 years ago
|
|
||
13 years ago
|
%patch29 -p1
|
||
|
%patch30 -p1
|
||
|
|
||
13 years ago
|
# Applies an optional distro-specific graphical theme
|
||
|
%if "%{?tde_bg}" != ""
|
||
|
# KDM Background
|
||
|
%__sed -i "kdm/kfrontend/genkdmconf.c" \
|
||
13 years ago
|
-e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|'
|
||
|
|
||
13 years ago
|
# TDE user default background
|
||
|
%__sed -i "kpersonalizer/keyecandypage.cpp" \
|
||
13 years ago
|
-e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|'
|
||
13 years ago
|
%__sed -i "startkde" \
|
||
13 years ago
|
-e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \
|
||
|
-e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|'
|
||
13 years ago
|
%endif
|
||
13 years ago
|
|
||
|
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||
13 years ago
|
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||
13 years ago
|
%__make -f "admin/Makefile.common"
|
||
13 years ago
|
|
||
13 years ago
|
# TDE branding: removes KUbuntu references [Bug #617]
|
||
13 years ago
|
%__sed -i "kcontrol/kdm/kdm-appear.cpp" \
|
||
|
-e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |"
|
||
|
%__sed -i "konqueror/about/konq_aboutpage.cc" \
|
||
|
-e "s|About Kubuntu|About %{tde_aboutlabel}|" \
|
||
|
-e "s|help:/kubuntu/|%{tde_aboutpage}|" \
|
||
|
-e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|"
|
||
|
%__sed -i "konqueror/about/launch.html" \
|
||
|
-e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|"
|
||
|
%__sed -i "kdm/config.def" \
|
||
|
-e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |"
|
||
13 years ago
|
|
||
13 years ago
|
# TDE default directory in 'startkde' script (KDEDIR)
|
||
|
%__sed -i "startkde" \
|
||
|
-e "s|/opt/trinity|%{_prefix}|g"
|
||
|
|
||
13 years ago
|
%build
|
||
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||
|
export PATH="%{_bindir}:${PATH}"
|
||
|
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||
|
export IMAKEINCLUDE="-I/usr/share/X11/config"
|
||
|
|
||
|
%configure \
|
||
|
--disable-rpath \
|
||
|
--enable-new-ldflags \
|
||
|
--disable-dependency-tracking \
|
||
|
--disable-debug --disable-warnings --enable-final \
|
||
|
--with-pam=yes \
|
||
13 years ago
|
--with-kdm-pam=kdm-trinity \
|
||
|
--with-kcp-pam=kcheckpass-trinity \
|
||
|
--with-kss-pam=kscreensaver-trinity \
|
||
13 years ago
|
--with-libraw1394 \
|
||
|
--with-openexr \
|
||
|
--with-samba \
|
||
|
--with-xinerama \
|
||
|
--with-xscreensaver \
|
||
|
--without-shadow \
|
||
13 years ago
|
--enable-closure \
|
||
13 years ago
|
--with-extra-includes=%{_includedir}/tqt
|
||
|
|
||
|
# Do NOT use %{?_smp_mflags} for this package, or it will fail to build !
|
||
|
%__make
|
||
|
|
||
|
%install
|
||
|
%__rm -rf %{?buildroot}
|
||
13 years ago
|
%__make install DESTDIR=%{?buildroot}
|
||
13 years ago
|
|
||
|
# Adds a GDM/KDM/XDM session called 'TDE'
|
||
13 years ago
|
%__install -D -m 644 \
|
||
|
"%{?buildroot}%{_datadir}/apps/kdm/sessions/kde.desktop" \
|
||
|
"%{?buildroot}%{_usr}/share/xsessions/tde.desktop"
|
||
|
|
||
|
# Force session name to be 'TDE'
|
||
|
%__sed -i "%{?buildroot}%{_usr}/share/xsessions/tde.desktop" \
|
||
|
-e "s,^Name=.*,Name=TDE,"
|
||
13 years ago
|
|
||
|
# Modifies 'startkde' to set KDEDIR and KDEHOME hardcoded specific for TDE
|
||
13 years ago
|
%__sed -i "%{?buildroot}%{_bindir}/startkde" \
|
||
13 years ago
|
-e '/^echo "\[startkde\] Starting startkde.".*/ s,$,\nexport KDEDIR=%{_prefix}\nexport KDEHOME=~/.trinity,'
|
||
13 years ago
|
|
||
|
# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard'
|
||
13 years ago
|
%__mv -f \
|
||
|
%{?buildroot}%{_sysconfdir}/ksysguarddrc \
|
||
|
%{?buildroot}%{_sysconfdir}/ksysguarddrc.tde
|
||
13 years ago
|
|
||
|
# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4
|
||
|
%if "%{?_prefix}" != "/usr"
|
||
13 years ago
|
%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{_bindir}"
|
||
|
%endif
|
||
|
|
||
|
# PAM configuration files
|
||
13 years ago
|
%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity"
|
||
|
%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np"
|
||
|
%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
|
||
|
%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity"
|
||
13 years ago
|
|
||
|
# KDM configuration for RHEL/Fedora
|
||
|
%__sed -i "%{?buildroot}%{_datadir}/config/kdm/kdmrc" \
|
||
|
%if 0%{?fedora} >= 16
|
||
|
-e "s/^#*MinShowUID=.*/MinShowUID=1000/"
|
||
|
%else
|
||
|
-e "s/^#*MinShowUID=.*/MinShowUID=500/"
|
||
|
%endif
|
||
|
|
||
|
# Moves the XDG configuration files to TDE directory
|
||
|
%if "%{_prefix}" != "/usr"
|
||
|
%__mkdir_p "%{?buildroot}%{_prefix}/etc"
|
||
|
%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{_prefix}/etc"
|
||
13 years ago
|
%endif
|
||
|
|
||
|
%clean
|
||
|
%__rm -rf %{?buildroot}
|
||
|
|
||
|
|
||
|
%post
|
||
|
touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||
|
gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||
|
update-desktop-database 2> /dev/null || :
|
||
|
# Dirty hack to install '/etc/ksysguardrc' alongside with KDE4
|
||
13 years ago
|
[ -r "%{_sysconfdir}/ksysguarddrc" ] || cp -f "%{_sysconfdir}/ksysguarddrc.tde" "%{_sysconfdir}/ksysguarddrc"
|
||
13 years ago
|
|
||
|
%postun
|
||
|
touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||
|
gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||
|
update-desktop-database 2> /dev/null || :
|
||
|
|
||
|
|
||
12 years ago
|
%post libs
|
||
|
/sbin/ldconfig
|
||
13 years ago
|
|
||
12 years ago
|
%postun libs
|
||
|
/sbin/ldconfig
|
||
13 years ago
|
|
||
|
%post extras
|
||
|
for f in crystalsvg hicolor ; do
|
||
|
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||
|
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||
|
done
|
||
|
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||
|
|
||
|
%postun extras
|
||
|
for f in crystalsvg hicolor ; do
|
||
|
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||
|
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||
|
done
|
||
|
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||
|
|
||
|
|
||
|
%files extras
|
||
|
%defattr(-,root,root,-)
|
||
|
# kappfinder
|
||
|
%{_bindir}/kappfinder
|
||
|
%{_datadir}/applications/kde/kappfinder.desktop
|
||
|
%{_datadir}/applnk/System/kappfinder.desktop
|
||
|
%{_datadir}/apps/kappfinder/
|
||
|
%{_datadir}/icons/hicolor/*/apps/kappfinder.png
|
||
|
# ktip
|
||
|
%{_bindir}/ktip
|
||
|
%{_datadir}/applications/kde/ktip.desktop
|
||
|
%{_datadir}/applnk/Toys/ktip.desktop
|
||
|
%{_datadir}/apps/kdewizard
|
||
|
%{_datadir}/autostart/ktip.desktop
|
||
|
%{_datadir}/icons/hicolor/*/apps/ktip*
|
||
|
# kpersonalizer
|
||
|
%{_bindir}/kpersonalizer
|
||
|
%{_datadir}/applications/kde/kpersonalizer.desktop
|
||
|
%{_datadir}/applnk/System/kpersonalizer.desktop
|
||
|
%{_datadir}/apps/kpersonalizer/
|
||
|
%{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
|
||
|
# kpager
|
||
|
%{_bindir}/kpager
|
||
|
%{_datadir}/applications/kde/kpager.desktop
|
||
|
%{_datadir}/applnk/Utilities/kpager.desktop
|
||
|
%{_datadir}/icons/hicolor/*/apps/kpager.png
|
||
|
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
# kappfinder
|
||
|
%exclude %{_datadir}/applications/kde/kappfinder.desktop
|
||
|
%exclude %{_datadir}/applnk/System/kappfinder.desktop
|
||
|
%exclude %{_datadir}/apps/kappfinder/
|
||
|
%exclude %{_datadir}/icons/hicolor/*/apps/kappfinder.png
|
||
|
# ktip
|
||
|
%exclude %{_datadir}/applications/kde/ktip.desktop
|
||
|
%exclude %{_datadir}/applnk/Toys/ktip.desktop
|
||
|
%exclude %{_datadir}/apps/kdewizard
|
||
|
%exclude %{_datadir}/autostart/ktip.desktop
|
||
|
%exclude %{_datadir}/icons/hicolor/*/apps/ktip*
|
||
|
# kpersonalizer
|
||
|
%exclude %{_datadir}/applications/kde/kpersonalizer.desktop
|
||
|
%exclude %{_datadir}/applnk/System/kpersonalizer.desktop
|
||
|
%exclude %{_datadir}/apps/kpersonalizer/
|
||
|
%exclude %{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
|
||
|
# kpager
|
||
|
%exclude %{_datadir}/applications/kde/kpager.desktop
|
||
|
%exclude %{_datadir}/applnk/Utilities/kpager.desktop
|
||
|
%exclude %{_datadir}/icons/hicolor/*/apps/kpager.png
|
||
|
|
||
13 years ago
|
# Pam configuration
|
||
|
%{_sysconfdir}/pam.d/*
|
||
|
|
||
13 years ago
|
%doc AUTHORS COPYING COPYING-DOCS README README.pam
|
||
13 years ago
|
%{tde_docdir}/HTML/en/*
|
||
13 years ago
|
%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde
|
||
|
%{_bindir}/genkdmconf
|
||
|
%{_bindir}/kaccess
|
||
|
%{_bindir}/kapplymousetheme
|
||
|
%{_bindir}/kate
|
||
|
%{_bindir}/kblankscrn.kss
|
||
|
%{_bindir}/kbookmarkmerger
|
||
|
%{_bindir}/kcminit
|
||
|
%{_bindir}/kcminit_startup
|
||
|
%{_bindir}/kcontrol
|
||
|
%{_bindir}/kcontroledit
|
||
|
%{_bindir}/kdebugdialog
|
||
|
%{_bindir}/kdeinstallktheme
|
||
|
%{_bindir}/kdepasswd
|
||
|
%{_bindir}/kdesu
|
||
|
%attr(0755,root,root) %{_bindir}/kdesud
|
||
|
%{_bindir}/kdialog
|
||
|
%{_bindir}/kdm
|
||
|
%{_bindir}/kdmctl
|
||
|
%{_bindir}/keditbookmarks
|
||
|
%{_bindir}/keditfiletype
|
||
|
%{_bindir}/kfind
|
||
|
%{_bindir}/kfmclient
|
||
|
%{_bindir}/khelpcenter
|
||
|
%{_bindir}/khotkeys
|
||
|
%{_bindir}/kinfocenter
|
||
|
%{_bindir}/klipper
|
||
|
%{_bindir}/kmenuedit
|
||
|
%{_bindir}/konqueror
|
||
|
%{_bindir}/konsole
|
||
|
%{_bindir}/krandom.kss
|
||
|
%{_bindir}/krdb
|
||
|
%{_bindir}/kreadconfig
|
||
|
%{_bindir}/ksmserver
|
||
|
%{_bindir}/ksplashsimple
|
||
|
%{_bindir}/kstart
|
||
|
%{_bindir}/ksysguard
|
||
|
%{_bindir}/ksysguardd
|
||
|
%{_bindir}/ksystraycmd
|
||
|
%{_bindir}/ktrash
|
||
|
%{_bindir}/kwin
|
||
|
%{_bindir}/kwin_killer_helper
|
||
|
%{_bindir}/kwin_rules_dialog
|
||
|
%{_bindir}/kwrite
|
||
|
%{_bindir}/kwriteconfig
|
||
|
%{_bindir}/kxkb
|
||
|
%{_bindir}/nspluginscan
|
||
|
%{_bindir}/nspluginviewer
|
||
|
%{_bindir}/startkde
|
||
|
%{_bindir}/kcheckrunning
|
||
|
%{_bindir}/kdesktop
|
||
|
%{_bindir}/kdesktop_lock
|
||
|
%{_bindir}/kdm_config
|
||
|
%{_bindir}/kdm_greet
|
||
|
%{_bindir}/kfontinst
|
||
|
%{_bindir}/kfontview
|
||
|
%{_bindir}/krootimage
|
||
|
%{_bindir}/kwebdesktop
|
||
|
%{_datadir}/autostart/*
|
||
|
%{_datadir}/desktop-directories/*
|
||
|
%{_datadir}/locale/*/entry.desktop
|
||
|
%{_datadir}/locale/l10n
|
||
|
%{_datadir}/templates/*
|
||
|
%{_datadir}/templates/.source/*
|
||
|
%{_datadir}/wallpapers/*
|
||
|
%{_bindir}/appletproxy
|
||
|
%{_bindir}/drkonqi
|
||
|
%{_bindir}/extensionproxy
|
||
|
%{_bindir}/kasbar
|
||
|
%attr(4755,root,root) %{_bindir}/kcheckpass
|
||
|
%{_bindir}/kdeeject
|
||
|
%{_bindir}/khc_docbookdig.pl
|
||
|
%{_bindir}/khc_htdig.pl
|
||
|
%{_bindir}/khc_htsearch.pl
|
||
|
%{_bindir}/khc_indexbuilder
|
||
|
%{_bindir}/khc_mansearch.pl
|
||
|
%{_bindir}/kicker
|
||
|
%{_bindir}/knetattach
|
||
13 years ago
|
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
|
||
|
%{_bindir}/krandrtray
|
||
|
%endif
|
||
13 years ago
|
%{_bindir}/kompmgr
|
||
13 years ago
|
%{_bindir}/kpm
|
||
|
%{_bindir}/ksplash
|
||
|
%{_libdir}/kconf_update_bin
|
||
|
%{_datadir}/applnk/*.desktop
|
||
|
%{_datadir}/applnk/*/*
|
||
|
%{_datadir}/applnk/.hidden/*
|
||
|
%exclude %{_datadir}/applnk/.hidden/.directory
|
||
|
%{_datadir}/config.kcfg/*
|
||
|
%{_bindir}/kio_media_mounthelper
|
||
|
%{_bindir}/kdcop
|
||
|
%{_bindir}/kdeprintfax
|
||
|
%{_bindir}/khc_beagle_index.pl
|
||
|
%{_bindir}/khc_beagle_search.pl
|
||
|
%{_bindir}/kxdglauncher
|
||
|
%{_bindir}/kjobviewer
|
||
|
%{_bindir}/klocaldomainurifilterhelper
|
||
|
%{_bindir}/kprinter
|
||
|
%{_datadir}/applications/*/*
|
||
|
%{_datadir}/apps/*
|
||
|
%{_datadir}/icons/*color/*/*/*
|
||
|
%{_datadir}/icons/crystalsvg/*/*/*
|
||
|
%{_datadir}/mimelnk/*/*
|
||
|
%{_datadir}/services/*
|
||
|
%{_datadir}/servicetypes/*
|
||
|
%{_datadir}/sounds/*
|
||
13 years ago
|
%{tde_libdir}/*
|
||
13 years ago
|
%{_libdir}/libkdeinit_*.*
|
||
13 years ago
|
%if "%{_prefix}" != "/usr"
|
||
|
%{_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu
|
||
|
%{_prefix}/etc/xdg/menus/kde-information.menu
|
||
|
%{_prefix}/etc/xdg/menus/kde-screensavers.menu
|
||
|
%{_prefix}/etc/xdg/menus/kde-settings.menu
|
||
13 years ago
|
%else
|
||
13 years ago
|
%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu
|
||
13 years ago
|
%{_sysconfdir}/xdg/menus/kde-information.menu
|
||
|
%{_sysconfdir}/xdg/menus/kde-screensavers.menu
|
||
|
%{_sysconfdir}/xdg/menus/kde-settings.menu
|
||
13 years ago
|
%endif
|
||
13 years ago
|
/usr/share/xsessions/*.desktop
|
||
|
# Remove conflicts with redhat-menus
|
||
|
%if "%{?_prefix}" != "/usr"
|
||
|
%{_bindir}/plasma-desktop
|
||
|
%config(noreplace) %{_datadir}/config/*
|
||
|
%else
|
||
|
%exclude %{_datadir}/config
|
||
|
%endif
|
||
|
# exclude pim-ioslaves files from main package
|
||
13 years ago
|
%exclude %{tde_libdir}/kio_ldap.*
|
||
|
%exclude %{tde_libdir}/kio_nntp.*
|
||
|
%exclude %{tde_libdir}/kio_pop3.*
|
||
|
%exclude %{tde_libdir}/kio_smtp.*
|
||
13 years ago
|
%exclude %{_datadir}/services/ldap*.protocol
|
||
|
%exclude %{_datadir}/services/nntp*.protocol
|
||
|
%exclude %{_datadir}/services/pop3*.protocol
|
||
|
%exclude %{_datadir}/services/smtp*.protocol
|
||
|
|
||
13 years ago
|
# TDE 3.5.12 specific
|
||
|
%{_bindir}/kde3
|
||
13 years ago
|
%exclude %{_datadir}/applications/kde/display.desktop
|
||
13 years ago
|
%exclude %{_datadir}/fonts/override/fonts.dir
|
||
|
%{_docdir}/kdm/README
|
||
|
|
||
13 years ago
|
%files libs
|
||
|
%defattr(-,root,root,-)
|
||
|
%exclude %{_libdir}/libkdeinit_*.*
|
||
|
%{_libdir}/lib*.so.*
|
||
|
%{_libdir}/lib*.la
|
||
|
|
||
|
%files pim-ioslaves
|
||
|
%defattr(-,root,root,-)
|
||
13 years ago
|
%{tde_libdir}/kio_ldap.*
|
||
|
%{tde_libdir}/kio_nntp.*
|
||
|
%{tde_libdir}/kio_pop3.*
|
||
|
%{tde_libdir}/kio_smtp.*
|
||
13 years ago
|
%{_datadir}/services/ldap*.protocol
|
||
|
%{_datadir}/services/nntp*.protocol
|
||
|
%{_datadir}/services/pop3*.protocol
|
||
|
%{_datadir}/services/smtp*.protocol
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%{_includedir}/*.h
|
||
|
%dir %{_includedir}/kate
|
||
|
%{_includedir}/kate/*
|
||
|
%dir %{_includedir}/kwin
|
||
|
%{_includedir}/kwin/*
|
||
|
%dir %{_includedir}/ksgrd
|
||
|
%{_includedir}/ksgrd/*
|
||
|
%dir %{_includedir}/ksplash
|
||
|
%{_includedir}/ksplash/*
|
||
|
%{_libdir}/lib*.so
|
||
|
%exclude %{_libdir}/libkdeinit_*.*
|
||
|
|
||
|
%changelog
|
||
13 years ago
|
* Thu Jan 05 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.12-15
|
||
|
- Add KDM option to hide 'Menu' button on login prompt
|
||
|
|
||
13 years ago
|
* Wed Dec 21 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-14
|
||
|
- Fix kdesktop_lock missing black background on kscreensaver failure
|
||
|
|
||
13 years ago
|
* Thu Dec 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-13
|
||
13 years ago
|
- Backports patches from TDE 3.5.13-10
|
||
|
- Removes Kubuntu branding [TDE Bug #449]
|
||
|
- Fix 'kio_man' on RHEL 5 and RHEL 6 [TDE Bug #714]
|
||
|
- Restores the 'number of files' and sorting widgets to the Kate configuration [TDE Bug #244]
|
||
|
- Re-enables 'open tab in background' konqueror feature [TDE Bug #245]
|
||
13 years ago
|
- Fix error message 'cannot find parent folder' on konqueror sidebar
|
||
13 years ago
|
- Fix KDEDIRS and other variables in 'startkde', that messes up translations.
|
||
13 years ago
|
|
||
13 years ago
|
* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-12
|
||
|
- Updates Kickoff menu Fix [TDE Bugs #281, #508]
|
||
|
- Add distribution-specific start button icon
|
||
|
- Add graphical theme for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||
|
- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE
|
||
|
- Add "service(graphical-login)"
|
||
|
- kdmrc: sets "MinShowUID=500"
|
||
|
- Add missing BuildRequires
|
||
|
|
||
13 years ago
|
* Fri Sep 16 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-11
|
||
|
- Add support for RHEL 5.
|
||
|
- Remove file conflicts with KDE 4.6.5 under Fedora 15
|
||
|
|
||
13 years ago
|
* Mon Sep 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-10
|
||
|
- Add "Group" field
|
||
|
|
||
13 years ago
|
* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-9
|
||
|
- Import to GIT
|
||
|
|
||
|
* Tue Aug 23 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-8
|
||
|
- Add missing BuildRequires
|
||
|
- Add Patch7, Patch8, Patch9 to allow compilation under GCC >= 4.5.2
|
||
|
|
||
|
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7
|
||
|
- Correct macro to install under "/opt", if desired
|
||
|
|
||
|
* Wed Jul 20 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6
|
||
|
- Add patch to force halbackend to use HAL-provided mount options
|
||
|
|
||
|
* Wed Jul 20 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
|
||
|
- Add patch to modify "Open terminal here" shortcut (now opens in home directory)
|
||
|
|
||
|
* Tue Jul 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
|
||
|
- Add 'BuildRequires: dbus-qt' to enable HAL support
|
||
|
|
||
|
* Wed Jun 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
|
||
|
- Adds setuid bit on '/usr/bin/kcheckpass'
|
||
|
- Removes '/usr/share/applications/kde/display.desktop' (does not work on RHEL 6.0)
|
||
|
|
||
|
* Mon Dec 20 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
|
||
|
- Add missing Requires
|
||
|
- Rename 'kde3.desktop' to 'kde.desktop' in case of default prefix
|
||
|
|
||
|
* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
|
||
|
- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3)
|
||
|
- Add '--with-extra-includes=%{_includedir}/tqt'
|
||
|
- Add 'patch3' to remove ignore button on kdesu dialog box
|
||
|
- Add 'patch4' r1182808.diff : Fix My Documents shortcut on desktop
|
||
|
|
||
|
* Wed Dec 14 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0
|
||
|
- Initial version
|
||
|
- Add script 'plasma-desktop' to prevent KDE4 plasma automatic startup
|
||
|
- Add 'patch0' to fix for DBUS include files in RHEL6
|
||
|
- Add 'patch1' r1201523.diff : [kdebase/kcontrol] fix for openssl 1.0
|
||
|
- Add 'patch2' r1201705.diff : [kdebase/kcontrol] make it compatible with openssl < 1.0
|
||
|
|