|
|
@ -2,7 +2,7 @@
|
|
|
|
%if "%{?version}" == ""
|
|
|
|
%if "%{?version}" == ""
|
|
|
|
%define version 3.5.12
|
|
|
|
%define version 3.5.12
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%define release 10
|
|
|
|
%define release 11
|
|
|
|
|
|
|
|
|
|
|
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
|
|
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
|
|
|
%if "%{?_prefix}" != "/usr"
|
|
|
|
%if "%{?_prefix}" != "/usr"
|
|
|
@ -15,6 +15,12 @@ BuildRequires: autoconf automake libtool m4
|
|
|
|
%define tde_docdir %{_docdir}
|
|
|
|
%define tde_docdir %{_docdir}
|
|
|
|
%define tde_libdir %{_libdir}/kde3
|
|
|
|
%define tde_libdir %{_libdir}/kde3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: trinity-kdebase
|
|
|
|
Name: trinity-kdebase
|
|
|
|
Version: %{?version}
|
|
|
|
Version: %{?version}
|
|
|
@ -28,6 +34,7 @@ Packager: Francois Andriot <francois.andriot@free.fr>
|
|
|
|
URL: http://www.trinitydesktop.org/
|
|
|
|
URL: http://www.trinitydesktop.org/
|
|
|
|
|
|
|
|
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
Source0: kdebase-%{version}.tar.gz
|
|
|
|
Source0: kdebase-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
@ -59,11 +66,13 @@ Patch3: kdebase-3.5.12-kdesu-noignorebutton.patch
|
|
|
|
Patch5: kdebase-3.5.12-desktop-openterminalhere.patch
|
|
|
|
Patch5: kdebase-3.5.12-desktop-openterminalhere.patch
|
|
|
|
# [kdebase/kioslave]: Forces HAL backend to use HAL mount options
|
|
|
|
# [kdebase/kioslave]: Forces HAL backend to use HAL mount options
|
|
|
|
Patch6: kdebase-3.5.12-halmountoptions.patch
|
|
|
|
Patch6: kdebase-3.5.12-halmountoptions.patch
|
|
|
|
|
|
|
|
# [kdebase/kcontrol]: disable components that depends of krandr (old distros)
|
|
|
|
|
|
|
|
Patch10: kdebase-3.5.12-disable-krandr.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: tqtinterface-devel
|
|
|
|
BuildRequires: tqtinterface-devel
|
|
|
|
BuildRequires: trinity-arts-devel
|
|
|
|
BuildRequires: trinity-arts-devel
|
|
|
|
BuildRequires: trinity-kdelibs-devel
|
|
|
|
BuildRequires: trinity-kdelibs-devel
|
|
|
|
BuildRequires: qt3-devel >= 3.3.8b
|
|
|
|
BuildRequires: qt%{?_qt_suffix}-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: avahi-devel avahi-qt3-devel
|
|
|
|
BuildRequires: avahi-devel avahi-qt3-devel
|
|
|
|
BuildRequires: imake
|
|
|
|
BuildRequires: imake
|
|
|
@ -74,7 +83,7 @@ BuildRequires: dbus-devel dbus-qt-devel
|
|
|
|
BuildRequires: lm_sensors-devel
|
|
|
|
BuildRequires: lm_sensors-devel
|
|
|
|
BuildRequires: libfontenc-devel
|
|
|
|
BuildRequires: libfontenc-devel
|
|
|
|
BuildRequires: hal-devel
|
|
|
|
BuildRequires: hal-devel
|
|
|
|
BuildRequires: audiofile-devel
|
|
|
|
BuildRequires: audiofile-devel alsa-lib-devel
|
|
|
|
BuildRequires: jack-audio-connection-kit-devel
|
|
|
|
BuildRequires: jack-audio-connection-kit-devel
|
|
|
|
BuildRequires: libraw1394-devel
|
|
|
|
BuildRequires: libraw1394-devel
|
|
|
|
BuildRequires: openldap-devel
|
|
|
|
BuildRequires: openldap-devel
|
|
|
@ -82,11 +91,14 @@ BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
|
|
|
BuildRequires: libxkbfile-devel
|
|
|
|
BuildRequires: libxkbfile-devel
|
|
|
|
|
|
|
|
BuildRequires: libusb-devel
|
|
|
|
|
|
|
|
BuildRequires: esound-devel glib2-devel nas-devel
|
|
|
|
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
|
|
|
|
|
|
|
|
Requires: tqtinterface
|
|
|
|
Requires: tqtinterface
|
|
|
|
Requires: trinity-arts
|
|
|
|
Requires: trinity-arts
|
|
|
|
Requires: trinity-kdelibs
|
|
|
|
Requires: trinity-kdelibs
|
|
|
|
Requires: qt3 >= 3.3.8b
|
|
|
|
Requires: qt%{?_qt_suffix}
|
|
|
|
Requires: openssl
|
|
|
|
Requires: openssl
|
|
|
|
Requires: avahi avahi-qt3
|
|
|
|
Requires: avahi avahi-qt3
|
|
|
|
|
|
|
|
|
|
|
@ -110,11 +122,11 @@ kfontmanager, kmenuedit).
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Requires: %{name}
|
|
|
|
Requires: %{name}
|
|
|
|
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Requires: trinity-kdelibs-devel
|
|
|
|
Requires: trinity-kdelibs-devel
|
|
|
|
Summary: %{summary} - Development files
|
|
|
|
Summary: %{summary} - Development files
|
|
|
|
%if "%{?_prefix}" == "/usr"
|
|
|
|
%if "%{?_prefix}" == "/usr"
|
|
|
|
Obsoletes: kdebase3-devel
|
|
|
|
Obsoletes: kdebase%{?_qt_suffix}-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -126,7 +138,7 @@ Kate plugins or KWin styles.
|
|
|
|
%package extras
|
|
|
|
%package extras
|
|
|
|
Summary: Extra applications from %{name}
|
|
|
|
Summary: Extra applications from %{name}
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description extras
|
|
|
|
%description extras
|
|
|
|
%{summary}, including:
|
|
|
|
%{summary}, including:
|
|
|
|
* kappfinder
|
|
|
|
* kappfinder
|
|
|
@ -140,9 +152,9 @@ Summary: %{name} runtime libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: trinity-kdelibs >= %{version}
|
|
|
|
Requires: trinity-kdelibs >= %{version}
|
|
|
|
%if "%{?_prefix}" == "/usr"
|
|
|
|
%if "%{?_prefix}" == "/usr"
|
|
|
|
Obsoletes: kdebase3-libs
|
|
|
|
Obsoletes: kdebase%{?_qt_suffix}-libs
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description libs
|
|
|
|
%description libs
|
|
|
|
%{summary}
|
|
|
|
%{summary}
|
|
|
|
|
|
|
|
|
|
|
@ -170,9 +182,12 @@ Protocol handlers (KIOslaves) for personal information management, including:
|
|
|
|
%patch7 -p1
|
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
|
|
|
%patch9 -p1
|
|
|
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 6
|
|
|
|
|
|
|
|
%patch10 -p1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
|
|
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
|
|
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
|
|
|
%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh"
|
|
|
|
%__make -f "admin/Makefile.common"
|
|
|
|
%__make -f "admin/Makefile.common"
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -196,6 +211,7 @@ export IMAKEINCLUDE="-I/usr/share/X11/config"
|
|
|
|
--with-xinerama \
|
|
|
|
--with-xinerama \
|
|
|
|
--with-xscreensaver \
|
|
|
|
--with-xscreensaver \
|
|
|
|
--without-shadow \
|
|
|
|
--without-shadow \
|
|
|
|
|
|
|
|
--enable-closure \
|
|
|
|
--with-extra-includes=%{_includedir}/tqt
|
|
|
|
--with-extra-includes=%{_includedir}/tqt
|
|
|
|
|
|
|
|
|
|
|
|
# Do NOT use %{?_smp_mflags} for this package, or it will fail to build !
|
|
|
|
# Do NOT use %{?_smp_mflags} for this package, or it will fail to build !
|
|
|
@ -203,8 +219,7 @@ export IMAKEINCLUDE="-I/usr/share/X11/config"
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%__rm -rf %{?buildroot}
|
|
|
|
%__rm -rf %{?buildroot}
|
|
|
|
%__mkdir_p %{?buildroot}
|
|
|
|
%__make install DESTDIR=%{?buildroot}
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Adds a GDM/KDM/XDM session called 'TDE'
|
|
|
|
# Adds a GDM/KDM/XDM session called 'TDE'
|
|
|
|
%if "%{?_prefix}" != "/usr"
|
|
|
|
%if "%{?_prefix}" != "/usr"
|
|
|
@ -344,7 +359,6 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
|
|
|
%{_bindir}/konqueror
|
|
|
|
%{_bindir}/konqueror
|
|
|
|
%{_bindir}/konsole
|
|
|
|
%{_bindir}/konsole
|
|
|
|
%{_bindir}/krandom.kss
|
|
|
|
%{_bindir}/krandom.kss
|
|
|
|
%{_bindir}/krandrtray
|
|
|
|
|
|
|
|
%{_bindir}/krdb
|
|
|
|
%{_bindir}/krdb
|
|
|
|
%{_bindir}/kreadconfig
|
|
|
|
%{_bindir}/kreadconfig
|
|
|
|
%{_bindir}/ksmserver
|
|
|
|
%{_bindir}/ksmserver
|
|
|
@ -392,7 +406,10 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
|
|
|
%{_bindir}/khc_mansearch.pl
|
|
|
|
%{_bindir}/khc_mansearch.pl
|
|
|
|
%{_bindir}/kicker
|
|
|
|
%{_bindir}/kicker
|
|
|
|
%{_bindir}/knetattach
|
|
|
|
%{_bindir}/knetattach
|
|
|
|
|
|
|
|
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
|
|
|
|
|
|
|
|
%{_bindir}/krandrtray
|
|
|
|
%{_bindir}/kompmgr
|
|
|
|
%{_bindir}/kompmgr
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%{_bindir}/kpm
|
|
|
|
%{_bindir}/kpm
|
|
|
|
%{_bindir}/ksplash
|
|
|
|
%{_bindir}/ksplash
|
|
|
|
%{_libdir}/kconf_update_bin
|
|
|
|
%{_libdir}/kconf_update_bin
|
|
|
@ -425,7 +442,11 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
|
|
|
%{tde_libdir}/*
|
|
|
|
%{tde_libdir}/*
|
|
|
|
%{_libdir}/libkdeinit_*.*
|
|
|
|
%{_libdir}/libkdeinit_*.*
|
|
|
|
%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu
|
|
|
|
%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 15 && "%{?_prefix}" != "/usr"
|
|
|
|
|
|
|
|
%exclude %{_sysconfdir}/xdg/menus/kde-information.menu
|
|
|
|
|
|
|
|
%else
|
|
|
|
%{_sysconfdir}/xdg/menus/kde-information.menu
|
|
|
|
%{_sysconfdir}/xdg/menus/kde-information.menu
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%{_sysconfdir}/xdg/menus/kde-screensavers.menu
|
|
|
|
%{_sysconfdir}/xdg/menus/kde-screensavers.menu
|
|
|
|
%{_sysconfdir}/xdg/menus/kde-settings.menu
|
|
|
|
%{_sysconfdir}/xdg/menus/kde-settings.menu
|
|
|
|
/usr/share/xsessions/*.desktop
|
|
|
|
/usr/share/xsessions/*.desktop
|
|
|
@ -478,6 +499,10 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
|
|
|
%exclude %{_libdir}/libkdeinit_*.*
|
|
|
|
%exclude %{_libdir}/libkdeinit_*.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-10
|
|
|
|
* Mon Sep 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-10
|
|
|
|
- Add "Group" field
|
|
|
|
- Add "Group" field
|
|
|
|
|
|
|
|
|
|
|
|