diff options
Diffstat (limited to 'redhat/main')
36 files changed, 6756 insertions, 25 deletions
diff --git a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec b/redhat/main/tde-i18n/tde-i18n-14.0.0.spec index 372919451..a3456d0cb 100644 --- a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec +++ b/redhat/main/tde-i18n/tde-i18n-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tde-i18n (version R14.0.0) +# spec file for package tde-i18n (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -17,7 +17,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tde-i18n %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec b/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec index 8b3cca5c0..043878b56 100644 --- a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec +++ b/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdeaccessibility (version R14.0.0) +# spec file for package tdeaccessibility (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdeaccessibility %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec index d563a3e48..3f0b192b2 100644 --- a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec +++ b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdeaddons (version R14.0.0) +# spec file for package tdeaddons (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -20,7 +20,9 @@ # Having KDE libraries may cause FTBFS here ! # TDE variables +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdeaddons %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdeadmin/tdeadmin-14.0.0.spec b/redhat/main/tdeadmin/tdeadmin-14.0.0.spec index ab0abe3d9..46a4fb44b 100644 --- a/redhat/main/tdeadmin/tdeadmin-14.0.0.spec +++ b/redhat/main/tdeadmin/tdeadmin-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdeadmin (version R14.0.0) +# spec file for package tdeadmin (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdeadmin %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec index 3d48c7e6f..96bc2e86c 100644 --- a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec +++ b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdeartwork (version R14.0.0) +# spec file for package tdeartwork (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdeartwork %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin @@ -714,7 +716,7 @@ This package is part of Trinity, and a component of the TDE artwork module. %{tde_datadir}/applnk/System/ScreenSavers/geodesic.desktop %endif -%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 || 0%{?pclinuxos} +%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 || 0%{?pclinuxos} || 0%{?mgaversion} >= 5 %{tde_datadir}/applnk/System/ScreenSavers/projectiveplane.desktop %{tde_datadir}/applnk/System/ScreenSavers/tessellimage.desktop %endif diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.fc22 b/redhat/main/tdebase/pamd.kcheckpass-trinity.fc22 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.fc22 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.mga5 b/redhat/main/tdebase/pamd.kcheckpass-trinity.mga5 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.mga5 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/pamd.kdm-trinity-np.fc22 b/redhat/main/tdebase/pamd.kdm-trinity-np.fc22 new file mode 100644 index 000000000..0616e66f6 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.fc22 @@ -0,0 +1,16 @@ + #%PAM-1.0 +auth required pam_env.so +auth required pam_permit.so +auth include postlogin +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_selinux.so close +session required pam_loginuid.so +session optional pam_console.so +-session optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +session include postlogin diff --git a/redhat/main/tdebase/pamd.kdm-trinity-np.mga5 b/redhat/main/tdebase/pamd.kdm-trinity-np.mga5 new file mode 100644 index 000000000..f884c1de6 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.mga5 @@ -0,0 +1,11 @@ +#%PAM-1.0 +auth required pam_env.so +auth required pam_permit.so +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_loginuid.so +session optional pam_console.so +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth diff --git a/redhat/main/tdebase/pamd.kdm-trinity.fc22 b/redhat/main/tdebase/pamd.kdm-trinity.fc22 new file mode 100644 index 000000000..e72140962 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.fc22 @@ -0,0 +1,21 @@ +#%PAM-1.0 +auth [success=done ignore=ignore default=bad] pam_selinux_permit.so +auth required pam_env.so +auth substack system-auth +-auth optional pam_gnome_keyring.so +-auth optional pam_kwallet.so +auth include postlogin +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_selinux.so close +session required pam_loginuid.so +session optional pam_console.so +-session optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +-session optional pam_gnome_keyring.so auto_start +-session optional pam_kwallet.so +session include postlogin diff --git a/redhat/main/tdebase/pamd.kdm-trinity.mga5 b/redhat/main/tdebase/pamd.kdm-trinity.mga5 new file mode 100644 index 000000000..cb0982c9a --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.mga5 @@ -0,0 +1,15 @@ +#%PAM-1.0 +auth required pam_env.so +auth required pam_succeed_if.so +auth sufficient pam_succeed_if.so user ingroup nopasswdlogin +auth substack system-auth +-auth optional pam_kwallet.so +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_loginuid.so +session optional pam_console.so +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +-session optional pam_kwallet.so diff --git a/redhat/main/tdebase/pamd.kscreensaver-trinity.fc22 b/redhat/main/tdebase/pamd.kscreensaver-trinity.fc22 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.fc22 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/pamd.kscreensaver-trinity.mga5 b/redhat/main/tdebase/pamd.kscreensaver-trinity.mga5 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.mga5 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec index b9dddd86e..0b9314bd1 100644 --- a/redhat/main/tdebase/tdebase-14.0.0.spec +++ b/redhat/main/tdebase/tdebase-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdebase (version R14.0.0) +# spec file for package tdebase (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -17,7 +17,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdebase %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdebase/tdebase-14.0.1.spec b/redhat/main/tdebase/tdebase-14.0.1.spec new file mode 100644 index 000000000..ce37003d2 --- /dev/null +++ b/redhat/main/tdebase/tdebase-14.0.1.spec @@ -0,0 +1,3854 @@ +# +# spec file for package tdebase (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.1 +%endif +%define tde_pkg tdebase +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define tdm tdm +%define tdm_datadir %{tde_datadir}/apps/%{tdm} +%define starttde starttde + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + + +Name: trinity-%{tde_pkg} +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Summary: Trinity Base Programs +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: trinity-tdebase-rpmlintrc + +# Pam configuration files for RHEL / Fedora +%if 0%{?suse_version} == 0 +Source2: pamd.kdm-trinity%{?dist} +Source3: pamd.kdm-trinity-np%{?dist} +Source4: pamd.kcheckpass-trinity%{?dist} +Source5: pamd.kscreensaver-trinity%{?dist} +%endif + +# openSUSE: configuration file for TDM +Source6: suse-displaymanagers-tdm + +# Fedora 18: use SYSTEMD for TDM startup +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 +Source7: tdm.service%{?dist} +%endif + +# openSUSE 11.4: overwrite distribution-provided '/etc/init.d/xdm' !!! +%if 0%{?suse_version} == 1140 +Source7: xdm.oss114 +%endif + +# Fedora >= 17: special selinux policy required for TDM +# If login through TDM takes ages, then look at '/var/log/audit/audit.log'. +# Locate the line containing 'USER_AVC' and dbus stuff. +# Put this line into a temporary file, then (e.g for Fedora 17): +# audit2allow -i /tmp/file -m tdm.fc17 >tdm.fc17.te +# audit2allow -i /tmp/file -M tdm.fc17 + +%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6 +%define with_selinux_policy 1 +Source8: tdm%{?dist}.pp +%endif + +%if 0%{?mgaversion} >= 3 +Source9: mgabutton.svg +%endif + +Obsoletes: trinity-kdebase < %{version}-%{release} +Provides: trinity-kdebase = %{version}-%{release} +Obsoletes: trinity-kdebase-libs < %{version}-%{release} +Provides: trinity-kdebase-libs = %{version}-%{release} +Obsoletes: trinity-kdebase-extras < %{version}-%{release} +Provides: trinity-kdebase-extras = %{version}-%{release} +Obsoletes: tdebase < %{version}-%{release} +Provides: tdebase = %{version}-%{release} + +# for set_permissions macro +%if 0%{?suse_version} +PreReq: permissions +%endif + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +### Distribution-specific settings ### + +# Fedora 15 Theme: "Lovelock" +%if 0%{?fedora} == 15 +Requires: lovelock-backgrounds-single +%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 16 Theme: "Verne" +%if 0%{?fedora} == 16 +Requires: verne-backgrounds-single +%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 17 Theme: "Beefy Miracle" +%if 0%{?fedora} == 17 +Requires: beefy-miracle-backgrounds-single +%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 18 Theme: "Spherical Cow" +%if 0%{?fedora} == 18 +Requires: spherical-cow-backgrounds-single +%define tde_bg /usr/share/backgrounds/spherical-cow/default/standard/spherical-cow.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 19 Theme: "Schroedinger's cat" +%if 0%{?fedora} == 19 +Requires: schroedinger-cat-backgrounds-base +%define tde_bg /usr/share/backgrounds/schroedinger-cat/default/standard/schroedinger-cat.jpg +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 20 Theme: "Heisenbug" +%if 0%{?fedora} == 20 +Requires: heisenbug-backgrounds-base +%define tde_bg /usr/share/backgrounds/heisenbug/default/standard/heisenbug.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 21 Theme +%if 0%{?fedora} == 21 +Requires: f21-backgrounds-base +%define tde_bg /usr/share/backgrounds/f21/default/standard/f21.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# RHEL 4 Theme +%if 0%{?rhel} == 4 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.png +Requires: redhat-logos +%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm +%endif + +# RHEL 5 Theme +%if 0%{?rhel} == 5 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.jpg +%define tde_starticon /usr/share/pixmaps/redhat-starthere.png +%endif + +# RHEL 6 Theme +%if 0%{?rhel} == 6 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/default.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png +%endif + +# RHEL 7 Theme +%if 0%{?rhel} == 7 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/day.jpg +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png +%endif + +# Mageia 2 Theme +%if 0%{?mgaversion} == 2 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg +%endif + +# Mageia 3 Theme +%if 0%{?mgaversion} == 3 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg +%endif + +# Mageia 4 Theme +%if 0%{?mgaversion} == 4 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg +%endif + +# Mandriva 2011 Theme: "rosa" +%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100" +Requires: mandriva-theme +%define tde_bg /usr/share/mdk/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/mandriva.png +%endif + +# PCLINUXOS +%if 0%{?pclinuxos} +Requires: desktop-common-data +%define tde_starticon /usr/share/icons/pclinuxos.png +%endif + +# OpenSuse 11.4 Theme +%if "%{?suse_version}" == "1140" +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg +%endif + +# OpenSuse 12.2 Theme +%if "%{?suse_version}" == "1220" +Requires: wallpaper-branding = 12.2 +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg +%endif + +# OpenSuse 12.3 Theme +%if "%{?suse_version}" == "1230" +Requires: wallpaper-branding = 12.3 +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg +%endif + +# OpenSuse 13.1 Theme +%if "%{?suse_version}" == "1310" +Requires: wallpaper-branding = 13.1 +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg +%endif + +# OpenSuse 13.2 Theme +%if "%{?suse_version}" == "1320" +Requires: wallpaper-branding = 13.2 +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg +%endif + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: fdupes + +# HTDIG support +BuildRequires: htdig + +# OPENSSL support +BuildRequires: openssl-devel + +# AUDIOFILE support +BuildRequires: audiofile-devel + +# ALSA supportl +BuildRequires: alsa-lib-devel + +# RAW1394 support +BuildRequires: libraw1394-devel + +# VORBIS support +BuildRequires: libvorbis-devel + +# GLIB2 support +BuildRequires: glib2-devel + +# PCRE support +BuildRequires: pcre-devel + +# SASL support +%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} +BuildRequires: %{_lib}sasl2-devel +%endif +%if 0%{?suse_version} +BuildRequires: cyrus-sasl-devel +%endif + +# PAM support +BuildRequires: pam-devel + +# LIBUSB support +%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} +BuildRequires: %{_lib}usb1.0-devel +BuildRequires: %{_lib}usb-compat0.1-devel +%else +BuildRequires: libusb-devel +%endif + +# ESOUND support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_esound 1 +BuildRequires: esound-devel +%endif + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENLDAP support +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%else +BuildRequires: openldap-devel +%endif + +# SENSORS support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} +BuildRequires: lm_sensors-devel +%endif +%if 0%{?suse_version} +BuildRequires: libsensors4-devel +%endif + +# TSAK support (requires libudev-devel) +# On RHEL5, udev is built statically, so TSAK cannot build. +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +BuildRequires: libudev-devel +%define with_tsak 1 +%define with_tdehwlib 1 +%endif + +# XRANDR support +# On RHEL5, xrandr library is too old. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_xrandr 1 +%endif + +# XTEST support +# On RHEL4, xtest library is too old. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xtest 1 +%endif + +# HAL support +# Only for RHEL5 +%if 0%{?rhel} == 5 +%define with_hal 1 +BuildRequires: hal-devel >= 0.5 +%endif + +# OPENEXR support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_exr 1 +BuildRequires: OpenEXR-devel +%endif + +# XSCREENSAVER support +# RHEL 4: disabled +# RHEL 6: available in EPEL +# RHEL 7: available in NUX +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 + +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extras +%if 0%{?fedora} +BuildRequires: xscreensaver-extras-base +%endif +BuildRequires: xscreensaver-gl-base +BuildRequires: xscreensaver-gl-extras +%endif + +%if 0%{?suse_version} +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-data +BuildRequires: xscreensaver-data-extra +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xscrnsaver-devel +%else +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extrusion +BuildRequires: xscreensaver-gl +%endif +%endif + +# AVAHI support +# Disabled on RHEL4 and RHEL5 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +BuildRequires: libavahi-tqt-devel +%endif + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: mesaglu-devel +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif + +# DBUS support +# TQT bindings not available for RHEL4 +%if 0%{?rhel} == 4 +# Dbus bindings were rebuilt with Qt support +BuildRequires: dbus-devel >= 0.22-12.EL.9p1 +Requires: dbus-qt >= 0.22-12.EL.9p1 +%else +BuildRequires: libdbus-tqt-1-devel >= %{tde_epoch}:0.63 +BuildRequires: libdbus-1-tqt-devel >= %{tde_epoch}:0.9 +Requires: libdbus-tqt-1-0 >= %{tde_epoch}:0.63 +%endif + +%if 0%{?fedora} >= 17 +BuildRequires: perl-Digest-MD5 +%endif + +# LIBART_LGPL support +%define with_libart 1 +BuildRequires: libart_lgpl-devel + +# SAMBA support +%if 0%{?rhel} == 4 +BuildRequires: samba-common +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +BuildRequires: libsmbclient-devel +%endif + +# IMAKE +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 +BuildRequires: imake +%endif + +# XKB support +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libxkbfile-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1210 +BuildRequires: libxkbfile-devel +%endif + +# XDMCP support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xdmcp-devel +%else +BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXdmcp-devel +%endif + +# XTST support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +%define xtst_devel %{_lib}xtst-devel +%else +%define xtst_devel %{_lib}xtst%{?mgaversion:6}-devel +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +%define xtst_devel libXtst-devel +%endif +%{?xtst_devel:BuildRequires: %{xtst_devel}} + +# XDAMAGE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xdamage-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXdamage-devel +%endif + +# Requires 'usb.ids' +BuildRequires: usbutils + +# LIBFONTENC support +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libfontenc-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 +BuildRequires: libfontenc-devel +%endif + +# Other X11 stuff ... +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: x11-font-util +BuildRequires: x11-proto-devel +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: xorg-x11-proto-devel +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: xorg-x11-font-utils +%endif + +%if 0%{?suse_version} >= 1220 +BuildRequires: font-util +BuildRequires: bdftopcf +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: drakconf +%endif + +# LIBCONFIG support +# Needed for "compton" stuff +%if 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} +%define with_compton 1 +BuildRequires: libconfig-devel +%endif + +# KBDLEDSYNC support +%if 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} +%define with_kbdledsync 1 +%endif + +# TDERANDR support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_tderandrtray 1 +%endif + +# tdebase is a metapackage that installs all sub-packages +Requires: %{name}-runtime-data-common = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: %{name}-tdeio-pim-plugins = %{version}-%{release} +Requires: trinity-kappfinder = %{version}-%{release} +Requires: trinity-kate = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: trinity-tdepasswd = %{version}-%{release} +Requires: trinity-tdeprint = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-tdm = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-khelpcenter = %{version}-%{release} +Requires: trinity-kicker = %{version}-%{release} +Requires: trinity-klipper = %{version}-%{release} +Requires: trinity-kmenuedit = %{version}-%{release} +Requires: trinity-konqueror = %{version}-%{release} +Requires: trinity-konqueror-nsplugins = %{version}-%{release} +Requires: trinity-konsole = %{version}-%{release} +Requires: trinity-kpager = %{version}-%{release} +Requires: trinity-kpersonalizer = %{version}-%{release} +Requires: trinity-ksmserver = %{version}-%{release} +Requires: trinity-ksplash = %{version}-%{release} +Requires: trinity-ksysguard = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} +Requires: trinity-ktip = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: %{name}-libtqt3-integration = %{version}-%{release} +Requires: %{name}-tdeio-smb-plugin = %{version}-%{release} + +Requires: trinity-arts >= %{tde_epoch}:1.5.10 +Requires: trinity-tdelibs >= %{tde_version} +Requires: openssl + + +# RHEL 6 Configuration files are provided in separate packages +%if 0%{?rhel} || 0%{?fedora} +Requires: redhat-menus +%endif + +%if 0%{?suse_version} +Requires: desktop-data-openSUSE +%endif + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes the nucleus of TDE, namely the minimal package +set necessary to run TDE as a desktop environment. This includes the +window manager, taskbar, control center, a text editor, file manager, +web browser, X terminal emulator, and many other programs and components. + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS README README.pam +%{tde_bindir}/release_notes +%{tde_datadir}/autostart/release_notes.desktop +%{tde_tdeappdir}/tdehtml_userinterface.desktop + +########## + +%package devel +Summary: %{summary} - Development files +Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} +Requires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +Requires: trinity-tdelibs-devel >= %{tde_version} + +Requires: %{name}-bin-devel = %{version}-%{release} +Requires: trinity-kate-devel = %{version}-%{release} +Requires: trinity-kcontrol-devel = %{version}-%{release} +Requires: trinity-kdesktop-devel = %{version}-%{release} +Requires: trinity-kicker-devel = %{version}-%{release} +Requires: trinity-konqueror-devel = %{version}-%{release} +Requires: trinity-ksplash-devel = %{version}-%{release} +Requires: trinity-ksysguard-devel = %{version}-%{release} +Requires: trinity-libkonq-devel = %{version}-%{release} +Requires: trinity-tdm-devel = %{version}-%{release} +Requires: trinity-twin-devel = %{version}-%{release} + +Provides: trinity-kdebase-devel = %{version}-%{release} +Obsoletes: trinity-kdebase-devel < %{version}-%{release} +Provides: tdebase-devel = %{version}-%{release} +Obsoletes: tdebase-devel < %{version}-%{release} + +%description devel +This is a meta-package that installs all tdebase development packages. + +Header files for developing applications using %{name}. +Install tdebase-devel if you want to develop or compile Konqueror, +Kate plugins or TWin styles. + +%files devel +%defattr(-,root,root,-) +%{tde_datadir}/cmake/*.cmake + +########## + +%package tdeio-pim-plugins +Summary: PIM TDEIOslaves from %{name} +Group: System/GUI/Other + +Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release} +Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release} +Provides: tdebase-kio-pim-plugins = %{version}-%{release} +Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release} +Provides: trinity-tdebase-kio-pim-plugins = %{version}-%{release} +Obsoletes: trinity-tdebase-kio-pim-plugins < %{version}-%{release} + +%description tdeio-pim-plugins +Protocol handlers (TDEIOslaves) for personal information management, including: + * tdeio_ldap + * tdeio_nntp + * tdeio_pop3 + * tdeio_smtp + +%files tdeio-pim-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdeio_ldap.la +%{tde_tdelibdir}/tdeio_ldap.so +%{tde_tdelibdir}/tdeio_nntp.la +%{tde_tdelibdir}/tdeio_nntp.so +%{tde_tdelibdir}/tdeio_pop3.la +%{tde_tdelibdir}/tdeio_pop3.so +%{tde_tdelibdir}/tdeio_smtp.la +%{tde_tdelibdir}/tdeio_smtp.so +%{tde_datadir}/services/ldap.protocol +%{tde_datadir}/services/ldaps.protocol +%{tde_datadir}/services/nntp.protocol +%{tde_datadir}/services/nntps.protocol +%{tde_datadir}/services/pop3.protocol +%{tde_datadir}/services/pop3s.protocol +%{tde_datadir}/services/smtp.protocol +%{tde_datadir}/services/smtps.protocol + +########## + +%package runtime-data-common +Summary: Shared common files for Trinity and KDE4 +Group: System/GUI/Other + +Provides: tdebase-runtime-data-common = %{version}-%{release} +Obsoletes: tdebase-runtime-data-common < %{version}-%{release} + +%description runtime-data-common +Shared common files for both Trinity and KDE4 +Such as the desktop right-click-"Create New" list + +%files runtime-data-common +%defattr(-,root,root,-) +%{tde_datadir}/autostart/khotkeys.desktop +%{tde_datadir}/desktop-directories/ +%{tde_datadir}/icons/hicolor/*/apps/kxkb.png +%{tde_datadir}/icons/hicolor/*/apps/knetattach.* +%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png +%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png +%{tde_datadir}/icons/hicolor/*/apps/ksplash.png +%{tde_datadir}/locale/en_US/entry.desktop +%{tde_datadir}/locale/l10n/*.desktop +%{tde_datadir}/locale/l10n/*/entry.desktop +%{tde_datadir}/locale/l10n/*/flag.png +%{tde_datadir}/sounds/pop.wav +%{tde_datadir}/templates/ + +%post runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kappfinder +Summary: Non-TDE application finder for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kappfinder +kappfinder searches your workstation for many common applications and +creates menu entries for them. + +%files -n trinity-kappfinder +%defattr(-,root,root,-) +%{tde_bindir}/kappfinder +%{tde_tdeappdir}/kappfinder.desktop +%{tde_datadir}/applnk/System/kappfinder.desktop +%{tde_datadir}/apps/kappfinder +%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png + +%post -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-libkateinterfaces +Summary: Common libraries used by kwrite and kate +Group: System/GUI/Other + +%description -n trinity-libkateinterfaces +This package contains the kateinterface library. + +%files -n trinity-libkateinterfaces +%defattr(-,root,root,-) +%{tde_libdir}/libkateinterfaces.so.* + +%post -n trinity-libkateinterfaces +/sbin/ldconfig || : + +%postun -n trinity-libkateinterfaces +/sbin/ldconfig || : + +########## + +%package -n trinity-kate +Summary: Advanced text editor for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kate +Kate is a multi document editor, based on a rewritten version of the kwrite +editing widget of TDE. + +It is a multi-view editor that lets you view several instances of the same +document with all instances being synced, or view more files at the same +time for easy reference or simultaneous editing. The terminal emulation +and sidebar are docked windows that can be plugged out of the main window, +or replaced therein according to your preference. + +Some random features: +* Editing of big files +* Extensible syntax highlighting +* Folding +* Dynamic word wrap +* Selectable encoding +* Filter command +* Global grep dialog + +%files -n trinity-kate +%defattr(-,root,root,-) +%{tde_bindir}/kate +%{tde_tdelibdir}/kate.la +%{tde_tdelibdir}/kate.so +%{tde_libdir}/libkateutils.so.* +%{tde_libdir}/libtdeinit_kate.la +%{tde_libdir}/libtdeinit_kate.so +%{tde_tdeappdir}/kate.desktop +%{tde_datadir}/apps/kate/ +%{tde_datadir}/apps/tdeconf_update/kate-2.4.upd +%config(noreplace) %{_sysconfdir}/trinity/katerc +%{tde_datadir}/icons/hicolor/*/apps/kate.png +%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz +%{tde_datadir}/servicetypes/kateplugin.desktop +%{tde_tdedocdir}/HTML/en/kate/ + +%post -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kate-devel +Summary: Development files for kate +Group: Development/Libraries/Other +Requires: trinity-kate = %{version}-%{release} + +%description -n trinity-kate-devel +This package contains the development files fare Kate. + +%files -n trinity-kate-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kate/ +%{tde_libdir}/libkateutils.so +%{tde_libdir}/libkateutils.la +%{tde_libdir}/libkateinterfaces.so +%{tde_libdir}/libkateinterfaces.la + +%post -n trinity-kate-devel +/sbin/ldconfig || : + +%postun -n trinity-kate-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kwrite +Summary: Advanced text editor for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kwrite +Kwrite is an advanced text editor for TDE. + +%files -n trinity-kwrite +%defattr(-,root,root,-) +%{tde_bindir}/kwrite +%{tde_tdelibdir}/kwrite.la +%{tde_tdelibdir}/kwrite.so +%{tde_libdir}/libtdeinit_kwrite.la +%{tde_libdir}/libtdeinit_kwrite.so +%{tde_tdeappdir}/kwrite.desktop +%{tde_datadir}/apps/kwrite/ +%{tde_datadir}/icons/hicolor/*/apps/kwrite.png +%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz +%{tde_tdedocdir}/HTML/en/kwrite/ + + +%post -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol +Summary: Control center for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +# Requires 'usb.ids' +Requires: usbutils +BuildRequires: usbutils +%if 0%{?suse_version} == 0 +BuildRequires: hwdata +Requires: hwdata +%endif + +%description -n trinity-kcontrol +The Trinity Control Center provides you with a centralized and convenient +way to configure all of your TDE settings. + +It is made up of multiple modules. Each module is a separate application, +but the control center organizes all of these programs into a convenient +location. + +In combination with udev KControl supports the advanced +configuration of Logitech mice, though the user must be a member of the +plugdev group. + +%files -n trinity-kcontrol +%defattr(-,root,root,-) +%{tde_bindir}/kaccess +%{tde_bindir}/kcontrol +%{tde_bindir}/kdeinstallktheme +%{tde_bindir}/keditfiletype +%{tde_bindir}/tdefontinst +%{tde_bindir}/tdefontview +%{tde_bindir}/klocaldomainurifilterhelper +%{tde_bindir}/krdb +%{tde_tdelibdir}/fontthumbnail.la +%{tde_tdelibdir}/fontthumbnail.so +%{tde_tdelibdir}/kaccess.la +%{tde_tdelibdir}/kaccess.so +%{tde_tdelibdir}/kcm_access.la +%{tde_tdelibdir}/kcm_access.so +%{tde_tdelibdir}/kcm_arts.la +%{tde_tdelibdir}/kcm_arts.so +%{tde_tdelibdir}/kcm_background.la +%{tde_tdelibdir}/kcm_background.so +%{tde_tdelibdir}/kcm_bell.la +%{tde_tdelibdir}/kcm_bell.so +%{tde_tdelibdir}/kcm_clock.la +%{tde_tdelibdir}/kcm_clock.so +%{tde_tdelibdir}/kcm_colors.la +%{tde_tdelibdir}/kcm_colors.so +%{tde_tdelibdir}/kcm_componentchooser.la +%{tde_tdelibdir}/kcm_componentchooser.so +%{tde_tdelibdir}/kcm_crypto.la +%{tde_tdelibdir}/kcm_crypto.so +%{tde_tdelibdir}/kcm_css.la +%{tde_tdelibdir}/kcm_css.so +%{tde_tdelibdir}/kcm_display.la +%{tde_tdelibdir}/kcm_display.so +%{tde_tdelibdir}/kcm_energy.la +%{tde_tdelibdir}/kcm_energy.so +%{tde_tdelibdir}/kcm_filetypes.la +%{tde_tdelibdir}/kcm_filetypes.so +%{tde_tdelibdir}/kcm_fontinst.la +%{tde_tdelibdir}/kcm_fontinst.so +%{tde_tdelibdir}/kcm_fonts.la +%{tde_tdelibdir}/kcm_fonts.so +%if 0%{?with_tdehwlib} +%{tde_tdelibdir}/kcm_hwmanager.la +%{tde_tdelibdir}/kcm_hwmanager.so +%endif +%{tde_tdelibdir}/kcm_icons.la +%{tde_tdelibdir}/kcm_icons.so +%{tde_tdelibdir}/kcm_info.la +%{tde_tdelibdir}/kcm_info.so +%{tde_tdelibdir}/kcm_input.la +%{tde_tdelibdir}/kcm_input.so +%{tde_tdelibdir}/kcm_joystick.la +%{tde_tdelibdir}/kcm_joystick.so +%{tde_tdelibdir}/kcm_kded.la +%{tde_tdelibdir}/kcm_kded.so +%{tde_tdelibdir}/kcm_%{tdm}.la +%{tde_tdelibdir}/kcm_%{tdm}.so +%{tde_tdelibdir}/kcm_tdednssd.so +%{tde_tdelibdir}/kcm_tdednssd.la +%{tde_tdelibdir}/kcm_keys.la +%{tde_tdelibdir}/kcm_keys.so +%{tde_tdelibdir}/kcm_kicker.la +%{tde_tdelibdir}/kcm_kicker.so +%{tde_tdelibdir}/kcm_tdeio.la +%{tde_tdelibdir}/kcm_tdeio.so +%{tde_tdelibdir}/kcm_knotify.la +%{tde_tdelibdir}/kcm_knotify.so +%{tde_tdelibdir}/kcm_konqhtml.la +%{tde_tdelibdir}/kcm_konqhtml.so +%{tde_tdelibdir}/kcm_konq.la +%{tde_tdelibdir}/kcm_konq.so +%{tde_tdelibdir}/kcm_kthememanager.la +%{tde_tdelibdir}/kcm_kthememanager.so +%{tde_tdelibdir}/kcm_kurifilt.la +%{tde_tdelibdir}/kcm_kurifilt.so +%{tde_tdelibdir}/kcm_launch.la +%{tde_tdelibdir}/kcm_launch.so +%{tde_tdelibdir}/kcm_locale.la +%{tde_tdelibdir}/kcm_locale.so +%{tde_tdelibdir}/kcm_nic.la +%{tde_tdelibdir}/kcm_nic.so +%{tde_tdelibdir}/kcm_performance.la +%{tde_tdelibdir}/kcm_performance.so +%{tde_tdelibdir}/kcm_privacy.la +%{tde_tdelibdir}/kcm_privacy.so +%{tde_tdelibdir}/kcm_screensaver.la +%{tde_tdelibdir}/kcm_screensaver.so +%{tde_tdelibdir}/kcm_smserver.la +%{tde_tdelibdir}/kcm_smserver.so +%{tde_tdelibdir}/kcm_spellchecking.la +%{tde_tdelibdir}/kcm_spellchecking.so +%{tde_tdelibdir}/kcm_style.la +%{tde_tdelibdir}/kcm_style.so +%{tde_tdelibdir}/kcm_taskbar.la +%{tde_tdelibdir}/kcm_taskbar.so +%{tde_tdelibdir}/kcm_usb.la +%{tde_tdelibdir}/kcm_usb.so +%{tde_tdelibdir}/kcm_view1394.la +%{tde_tdelibdir}/kcm_view1394.so +%{tde_tdelibdir}/kcm_xinerama.la +%{tde_tdelibdir}/kcm_xinerama.so +%{tde_tdelibdir}/kcontrol.la +%{tde_tdelibdir}/kcontrol.so +%{tde_tdelibdir}/tdefile_font.la +%{tde_tdelibdir}/tdefile_font.so +%{tde_tdelibdir}/tdeio_fonts.la +%{tde_tdelibdir}/tdeio_fonts.so +%{tde_tdelibdir}/tdestyle_keramik_config.la +%{tde_tdelibdir}/tdestyle_keramik_config.so +%{tde_tdelibdir}/libtdefontviewpart.la +%{tde_tdelibdir}/libtdefontviewpart.so +%{tde_tdelibdir}/libtdeshorturifilter.la +%{tde_tdelibdir}/libtdeshorturifilter.so +%{tde_tdelibdir}/libkuriikwsfilter.la +%{tde_tdelibdir}/libkuriikwsfilter.so +%{tde_tdelibdir}/libkurisearchfilter.la +%{tde_tdelibdir}/libkurisearchfilter.so +%{tde_tdelibdir}/liblocaldomainurifilter.la +%{tde_tdelibdir}/liblocaldomainurifilter.so +%{tde_libdir}/libtdeinit_kaccess.la +%{tde_libdir}/libtdeinit_kaccess.so +%{tde_libdir}/libtdeinit_kcontrol.la +%{tde_libdir}/libtdeinit_kcontrol.so +%{tde_libdir}/libtdefontinst.so.* +%{tde_tdeappdir}/arts.desktop +%{tde_tdeappdir}/background.desktop +%{tde_tdeappdir}/bell.desktop +%{tde_tdeappdir}/cache.desktop +%{tde_tdeappdir}/cdinfo.desktop +%{tde_tdeappdir}/clock.desktop +%{tde_tdeappdir}/colors.desktop +%{tde_tdeappdir}/componentchooser.desktop +%{tde_tdeappdir}/cookies.desktop +%{tde_tdeappdir}/crypto.desktop +%{tde_tdeappdir}/desktopbehavior.desktop +%{tde_tdeappdir}/desktop.desktop +%{tde_tdeappdir}/desktoppath.desktop +%{tde_tdeappdir}/devices.desktop +%{tde_tdeappdir}/display.desktop +%{tde_tdeappdir}/dma.desktop +%{tde_tdeappdir}/ebrowsing.desktop +%{tde_tdeappdir}/filebrowser.desktop +%{tde_tdeappdir}/filetypes.desktop +%{tde_tdeappdir}/fonts.desktop +%if 0%{?with_tdehwlib} +%{tde_tdeappdir}/hwmanager.desktop +%endif +%{tde_tdeappdir}/icons.desktop +%{tde_tdeappdir}/installktheme.desktop +%{tde_tdeappdir}/interrupts.desktop +%{tde_tdeappdir}/ioports.desktop +%{tde_tdeappdir}/joystick.desktop +%{tde_tdeappdir}/kcm_tdednssd.desktop +%{tde_tdeappdir}/kcmaccess.desktop +%{tde_tdeappdir}/kcmcss.desktop +%{tde_tdeappdir}/kcmfontinst.desktop +%{tde_tdeappdir}/kcmkded.desktop +%{tde_tdeappdir}/kcmlaunch.desktop +%{tde_tdeappdir}/kcmnotify.desktop +%{tde_tdeappdir}/kcmperformance.desktop +%{tde_tdeappdir}/kcmsmserver.desktop +%{tde_tdeappdir}/kcmtaskbar.desktop +%{tde_tdeappdir}/kcmusb.desktop +%{tde_tdeappdir}/kcmview1394.desktop +%{tde_tdeappdir}/KControl.desktop +%{tde_tdeappdir}/%{tdm}.desktop +%{tde_tdeappdir}/keys.desktop +%{tde_tdeappdir}/tdefontview.desktop +%{tde_tdeappdir}/tdehtml_behavior.desktop +%{tde_tdeappdir}/tdehtml_fonts.desktop +%{tde_tdeappdir}/tdehtml_java_js.desktop +%{tde_tdeappdir}/kthememanager.desktop +%{tde_tdeappdir}/lanbrowser.desktop +%{tde_tdeappdir}/language.desktop +%{tde_tdeappdir}/media.desktop +%{tde_tdeappdir}/memory.desktop +%{tde_tdeappdir}/mouse.desktop +%{tde_tdeappdir}/netpref.desktop +%{tde_tdeappdir}/nic.desktop +%{tde_tdeappdir}/opengl.desktop +%{tde_tdeappdir}/panel_appearance.desktop +%{tde_tdeappdir}/panel.desktop +%{tde_tdeappdir}/partitions.desktop +%{tde_tdeappdir}/pci.desktop +%{tde_tdeappdir}/privacy.desktop +%{tde_tdeappdir}/processor.desktop +%{tde_tdeappdir}/proxy.desktop +%{tde_tdeappdir}/screensaver.desktop +%{tde_tdeappdir}/scsi.desktop +%{tde_tdeappdir}/smbstatus.desktop +%{tde_tdeappdir}/sound.desktop +%{tde_tdeappdir}/spellchecking.desktop +%{tde_tdeappdir}/style.desktop +%{tde_tdeappdir}/tde-kcontrol.desktop +%{tde_tdeappdir}/useragent.desktop +%{tde_tdeappdir}/xserver.desktop +%{tde_datadir}/applnk/.hidden/energy.desktop +%{tde_datadir}/applnk/.hidden/fileappearance.desktop +%{tde_datadir}/applnk/.hidden/filebehavior.desktop +%{tde_datadir}/applnk/.hidden/filepreviews.desktop +%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config.desktop +%{tde_datadir}/applnk/.hidden/smb.desktop +%{tde_datadir}/applnk/.hidden/xinerama.desktop +%{tde_datadir}/applnk/Settings/LookNFeel/ +%{tde_datadir}/applnk/Settings/WebBrowsing/tdehtml_appearance.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop +%{tde_datadir}/apps/kcmview1394/ +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/apps/usb.ids +%{tde_datadir}/mimelnk/application/x-ktheme.desktop +%{tde_datadir}/mimelnk/fonts/folder.desktop +%{tde_datadir}/mimelnk/fonts/package.desktop +%{tde_datadir}/mimelnk/fonts/system-folder.desktop +%{tde_datadir}/services/fonts.protocol +%{tde_datadir}/services/fontthumbnail.desktop +%{tde_datadir}/services/kaccess.desktop +%{tde_datadir}/services/tdefile_font.desktop +%{tde_datadir}/services/tdefontviewpart.desktop +%{tde_datadir}/services/tdeshorturifilter.desktop +%{tde_datadir}/services/kuriikwsfilter.desktop +%{tde_datadir}/services/kurisearchfilter.desktop +%{tde_datadir}/services/localdomainurifilter.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcmcolors.png +%{tde_datadir}/icons/hicolor/*/apps/kcmcomponentchooser.png +%{tde_datadir}/icons/hicolor/*/apps/kcmdesktop.png +%{tde_datadir}/icons/hicolor/*/apps/kcmdesktopbehavior.png +%{tde_datadir}/icons/hicolor/*/apps/kcmkdnssd.png +%{tde_datadir}/icons/hicolor/*/apps/kcmlaunch.png +%{tde_datadir}/icons/hicolor/*/apps/kcmmedia.png +%{tde_datadir}/icons/hicolor/*/apps/kcmmouse.png +%{tde_datadir}/icons/hicolor/*/apps/kcmnetpref.png +%{tde_datadir}/icons/hicolor/*/apps/kcmnic.png +%{tde_datadir}/icons/hicolor/*/apps/kcmperformance.png +%{tde_datadir}/icons/hicolor/*/apps/kcmprivacy.png +%{tde_datadir}/icons/hicolor/*/apps/kcmtaskbar.png +%{tde_datadir}/icons/hicolor/*/apps/kcmcgi.png +%{tde_datadir}/icons/hicolor/*/apps/kcmcrypto.png +%{tde_datadir}/icons/hicolor/*/apps/kcmhistory.png +%{tde_datadir}/icons/hicolor/*/apps/kcmjoystick.png +%{tde_datadir}/icons/hicolor/*/apps/kcmkded.png +%{tde_datadir}/icons/hicolor/*/apps/kcmkhtml_filter.png +%{tde_datadir}/icons/hicolor/*/apps/kcmsmserver.png +%{tde_datadir}/icons/hicolor/*/apps/kcmspellchecking.png +%{tde_tdedocdir}/HTML/en/tdefontview/ + +# The following features are not compiled under RHEL 5 and older +%if 0%{?with_tderandrtray} +%{tde_bindir}/tderandrtray +%{tde_tdelibdir}/kcm_displayconfig.la +%{tde_tdelibdir}/kcm_displayconfig.so +%{tde_tdelibdir}/kcm_iccconfig.la +%{tde_tdelibdir}/kcm_iccconfig.so +%{tde_tdelibdir}/kcm_randr.la +%{tde_tdelibdir}/kcm_randr.so +%{tde_tdeappdir}/displayconfig.desktop +%{tde_tdeappdir}/iccconfig.desktop +%{tde_tdeappdir}/tderandrtray.desktop +%{tde_datadir}/applnk/.hidden/randr.desktop +%{tde_datadir}/autostart/tderandrtray-autostart.desktop +%{tde_tdedocdir}/HTML/en/tderandrtray/ +%endif + +%post -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol-devel +Summary: Development files for kcontrol +Group: Development/Libraries/Other +Requires: trinity-kcontrol = %{version}-%{release} + +%description -n trinity-kcontrol-devel +%{summary}. + +%files -n trinity-kcontrol-devel +%defattr(-,root,root,-) +%{tde_libdir}/libtdefontinst.la +%{tde_libdir}/libtdefontinst.so + +%post -n trinity-kcontrol-devel +/sbin/ldconfig || : + +%postun -n trinity-kcontrol-devel +/sbin/ldconfig || : + +########## + +%package bin +Summary: Core binaries for the TDE base module +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} +Requires: pam +%if 0%{?rhel} >= 7 +Requires: xorg-x11-server-Xorg +Requires: xorg-x11-drv-evdev +Requires: dejavu-sans-fonts +%endif + +Provides: tdebase-bin = %{version}-%{release} +Obsoletes: tdebase-bin < %{version}-%{release} + +%description bin +This package contains miscellaneous programs needed by other +TDE applications, particularly those in the TDE base module. + +%files bin +%defattr(-,root,root,-) +%{tde_bindir}/krootbacking +%if 0%{?with_tsak} +%{tde_bindir}/tsak +%endif +%if 0%{?with_compton} +%{tde_bindir}/compton-tde +%endif +%{tde_bindir}/tdedebugdialog +%{tde_bindir}/kreadconfig +%{tde_bindir}/kwriteconfig +%{tde_bindir}/kstart +%config(noreplace) %{_sysconfdir}/trinity/kxkb_groups +%{tde_bindir}/drkonqi +%{tde_bindir}/crashtest +%{tde_bindir}/kapplymousetheme +%{tde_bindir}/kblankscrn.kss +%{tde_bindir}/kcminit +%{tde_bindir}/kcminit_startup +%{tde_bindir}/kdcop +%{tde_bindir}/tdesu +%attr(0755,root,root) %{tde_bindir}/tdesud +%{tde_bindir}/kdialog +%{tde_bindir}/khotkeys +%{tde_bindir}/knetattach +%{tde_bindir}/krandom.kss +%{tde_bindir}/ksystraycmd +%{tde_bindir}/kxkb +%dir %{tde_libdir}/tdeconf_update_bin +%{tde_libdir}/tdeconf_update_bin/khotkeys_update +%{tde_tdelibdir}/kcminit.la +%{tde_tdelibdir}/kcminit.so +%{tde_tdelibdir}/kcminit_startup.la +%{tde_tdelibdir}/kcminit_startup.so +%{tde_tdelibdir}/kcm_keyboard.la +%{tde_tdelibdir}/kcm_keyboard.so +%{tde_tdelibdir}/kcm_khotkeys_init.la +%{tde_tdelibdir}/kcm_khotkeys_init.so +%{tde_tdelibdir}/kcm_khotkeys.la +%{tde_tdelibdir}/kcm_khotkeys.so +%{tde_tdelibdir}/kded_khotkeys.la +%{tde_tdelibdir}/kded_khotkeys.so +%{tde_tdelibdir}/kgreet_classic.la +%{tde_tdelibdir}/kgreet_classic.so +%{tde_tdelibdir}/kgreet_winbind.la +%{tde_tdelibdir}/kgreet_winbind.so +%{tde_tdelibdir}/khotkeys.la +%{tde_tdelibdir}/khotkeys.so +%{tde_tdelibdir}/khotkeys_arts.la +%{tde_tdelibdir}/khotkeys_arts.so +%{tde_tdelibdir}/kxkb.la +%{tde_tdelibdir}/kxkb.so +%{tde_libdir}/libtdeinit_kcminit.la +%{tde_libdir}/libtdeinit_kcminit.so +%{tde_libdir}/libtdeinit_kcminit_startup.la +%{tde_libdir}/libtdeinit_kcminit_startup.so +%{tde_libdir}/libtdeinit_khotkeys.la +%{tde_libdir}/libtdeinit_khotkeys.so +%{tde_libdir}/libtdeinit_kxkb.la +%{tde_libdir}/libtdeinit_kxkb.so +%{tde_libdir}/libkhotkeys_shared.so.* +%{tde_tdeappdir}/keyboard.desktop +%{tde_tdeappdir}/keyboard_layout.desktop +%{tde_tdeappdir}/khotkeys.desktop +%{tde_tdeappdir}/knetattach.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ +%{tde_datadir}/apps/drkonqi/ +%{tde_datadir}/apps/tdeconf_update/khotkeys_32b1_update.upd +%{tde_datadir}/apps/tdeconf_update/khotkeys_printscreen.upd +%{tde_datadir}/apps/tdeconf_update/konqueror_gestures_trinity21_update.upd +%{tde_datadir}/apps/kdcop/ +%{tde_datadir}/apps/khotkeys/ +%{tde_datadir}/services/kded/khotkeys.desktop +%{tde_datadir}/services/kxkb.desktop +%if 0%{?suse_version} == 0 +%config(noreplace) %{_sysconfdir}/pam.d/kcheckpass-trinity +%config(noreplace) %{_sysconfdir}/pam.d/tdescreensaver-trinity +%endif +%{tde_tdedocdir}/HTML/en/kdcop/ +%{tde_tdedocdir}/HTML/en/tdedebugdialog// +%{tde_tdedocdir}/HTML/en/tdesu/ +%{tde_tdedocdir}/HTML/en/knetattach/ +%{tde_tdedocdir}/HTML/en/kxkb/ + +# SETUID binaries +# Some setuid binaries need special care +%if 0%{?suse_version} +%{?with_tsak:%verify(not mode) %{tde_bindir}/%{tdm}tsak} +%verify(not mode) %{tde_bindir}/kcheckpass +%{?with_kbdledsync:%verify(not mode) %{tde_bindir}/tdekbdledsync} +%else +%{?with_tsak:%attr(4511,root,root) %{tde_bindir}/%{tdm}tsak} +%attr(4755,root,root) %{tde_bindir}/kcheckpass +%{?with_kbdledsync:%attr(4755,root,root) %{tde_bindir}/tdekbdledsync} +%endif + +# SUSE's runupdater utility +%if 0 +%{tde_bindir}/runupdater +%{tde_libdir}/libtdeinit_runupdater.la +%{tde_libdir}/libtdeinit_runupdater.so +%{tde_tdelibdir}/runupdater.la +%{tde_tdelibdir}/runupdater.so +%{tde_datadir}/apps/autostart/runupdater.desktop +%endif + +%post bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +# Sets permissions on setuid files (openSUSE specific) +%if 0%{?suse_version} +%{?with_tsak:%set_permissions %{tde_bindir}/%{tdm}tsak} +%set_permissions %{tde_bindir}/kcheckpass +%{?with_kbdledsync:%set_permissions %{tde_bindir}/tdekbdledsync} +%endif + +%postun bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package bin-devel +Summary: Development files for core binaries for the TDE base module +Group: Development/Libraries/Other +Requires: %{name}-bin = %{version}-%{release} +%{?xtst_devel:Requires: %{xtst_devel}} + +Obsoletes: tdebase-bin-devel < %{version}-%{release} +Provides: tdebase-bin-devel = %{version}-%{release} + +%description bin-devel +This package contains the development files for core binaries for +the TDE base module + +%files bin-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkhotkeys_shared.la +%{tde_libdir}/libkhotkeys_shared.so + +%post bin-devel +/sbin/ldconfig || : + +%postun bin-devel +/sbin/ldconfig || : + +########## + +%package data +Summary: Shared data files for the TDE base module +Group: System/GUI/Other +Requires: %{name}-runtime-data-common = %{version}-%{release} + +Obsoletes: tdebase-data < %{version}-%{release} +Provides: tdebase-data = %{version}-%{release} + +%description data +This package contains the architecture-independent shared data files +needed for a basic TDE desktop installation. + +%files data +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/trinity/tdeshorturifilterrc +%{tde_datadir}/applnk/.hidden/battery.desktop +%{tde_datadir}/applnk/.hidden/bwarning.desktop +%{tde_datadir}/applnk/.hidden/cwarning.desktop +%{tde_datadir}/applnk/.hidden/.directory +%{tde_datadir}/applnk/.hidden/email.desktop +%{tde_datadir}/applnk/.hidden/kcmkonq.desktop +%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop +%{tde_datadir}/applnk/.hidden/konqhtml.desktop +%{tde_datadir}/applnk/.hidden/passwords.desktop +%{tde_datadir}/applnk/.hidden/power.desktop +%{tde_datadir}/applnk/.hidden/socks.desktop +%{tde_datadir}/applnk/.hidden/userinfo.desktop +%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop +%{tde_datadir}/apps/kaccess/ +%{tde_datadir}/apps/kcmcss/ +%{tde_datadir}/apps/kcminput/ +%{tde_datadir}/apps/kcmkeys/ +%{tde_datadir}/apps/kcmlocale/ +%{tde_datadir}/apps/tdeconf_update/convertShortcuts.pl +%{tde_datadir}/apps/tdeconf_update/tdeaccel.upd +%{tde_datadir}/apps/tdeconf_update/kcmdisplayrc.upd +%{tde_datadir}/apps/tdeconf_update/kuriikwsfilter.upd +%{tde_datadir}/apps/tdeconf_update/mouse_cursor_theme.upd +%{tde_datadir}/apps/tdeconf_update/socks.upd +%{tde_datadir}/apps/kcontrol/ +%{tde_datadir}/apps/tdedisplay/ +%{tde_datadir}/apps/tdefontview/ +%{tde_datadir}/apps/kthememanager/ +%{tde_datadir}/icons/crystalsvg/*/apps/access.png +%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png +%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png +%{tde_datadir}/icons/crystalsvg/*/apps/arts.png +%{tde_datadir}/icons/crystalsvg/*/apps/background.png +%{tde_datadir}/icons/crystalsvg/*/apps/bell.png +%{tde_datadir}/icons/crystalsvg/*/apps/cache.png +%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png +%{tde_datadir}/icons/crystalsvg/*/apps/clock.png +%{tde_datadir}/icons/crystalsvg/*/apps/colors.png +%{tde_datadir}/icons/crystalsvg/*/apps/date.png +%{tde_datadir}/icons/crystalsvg/*/apps/email.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png +%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png +%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png +%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png +%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png +%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png +%{tde_datadir}/icons/crystalsvg/*/apps/%{tdm}config.png +%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png +%{tde_datadir}/icons/crystalsvg/*/apps/tdescreensaver.png +%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png +%{tde_datadir}/icons/crystalsvg/*/apps/licq.png +%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png +%{tde_datadir}/icons/crystalsvg/*/apps/locale.png +%{tde_datadir}/icons/crystalsvg/*/categories/preferences-desktop.png +%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png +%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png +%{tde_datadir}/icons/crystalsvg/*/categories/applications-development.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png +%{tde_datadir}/icons/crystalsvg/*/categories/applications-games.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png +%{tde_datadir}/icons/crystalsvg/*/categories/applications-multimedia.png +%{tde_datadir}/icons/crystalsvg/*/categories/applications-internet.png +%{tde_datadir}/icons/crystalsvg/*/apps/package.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png +%{tde_datadir}/icons/crystalsvg/*/categories/applications-utilities.png +%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png +%{tde_datadir}/icons/crystalsvg/*/categories/preferences-desktop-personal.png +%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png +%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png +%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png +%{tde_datadir}/icons/crystalsvg/*/apps/randr.png +%{tde_datadir}/icons/crystalsvg/*/apps/samba.png +%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png +%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png +%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png +%{tde_datadir}/icons/crystalsvg/*/apps/tux.png +%{tde_datadir}/icons/crystalsvg/*/apps/wp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png +%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png +%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png +%{tde_datadir}/icons/crystalsvg/*/apps/agent.png +%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png +%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png +%{tde_datadir}/icons/crystalsvg/*/apps/blender.png +%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png +%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png +%{tde_datadir}/icons/crystalsvg/*/apps/designer.png +%{tde_datadir}/icons/crystalsvg/*/apps/dia.png +%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png +%{tde_datadir}/icons/crystalsvg/*/categories/applications-science.png +%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png +%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png +%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png +%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png +%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png +%{tde_datadir}/icons/crystalsvg/*/apps/gv.png +%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png +%{tde_datadir}/icons/crystalsvg/*/apps/icons.png +%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png +%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png +%{tde_datadir}/icons/crystalsvg/*/categories/preferences-desktop-peripherals.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png +%{tde_datadir}/icons/crystalsvg/*/categories/preferences-system.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png +%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png +%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png +%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png +%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png +%{tde_datadir}/icons/crystalsvg/*/apps/mac.png +%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png +%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/opera.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png +%{tde_datadir}/icons/crystalsvg/*/categories/applications-graphics.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png +%{tde_datadir}/icons/crystalsvg/*/categories/applications-office.png +%{tde_datadir}/icons/crystalsvg/*/apps/pan.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/plan.png +%{tde_datadir}/icons/crystalsvg/*/apps/planner.png +%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png +%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png +%{tde_datadir}/icons/crystalsvg/*/apps/remote.png +%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png +%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png +%{tde_datadir}/icons/crystalsvg/*/apps/style.png +%{tde_datadir}/icons/crystalsvg/*/apps/usb.png +%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png +%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png +%{tde_datadir}/icons/crystalsvg/*/apps/wine.png +%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png +%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png +%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png +%{tde_datadir}/icons/crystalsvg/*/apps/xload.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png +%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png +%{tde_datadir}/icons/crystalsvg/*/apps/xv.png +%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png +%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png +%{tde_datadir}/icons/crystalsvg/*/apps/x.png +%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png +%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png +%{tde_datadir}/services/searchproviders +%{tde_datadir}/services/useragentstrings/ +%{tde_datadir}/servicetypes/searchprovider.desktop +%{tde_datadir}/servicetypes/uasprovider.desktop +%exclude %{tde_datadir}/sounds/pop.wav +%{tde_datadir}/sounds/ +%{tde_datadir}/wallpapers/* + +# XDG directories information +%dir %{_sysconfdir}/xdg/menus/applications-merged +%config(noreplace) %{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu +%config(noreplace) %{_sysconfdir}/xdg/menus/tde-information.menu +%config(noreplace) %{_sysconfdir}/xdg/menus/tde-screensavers.menu +%config(noreplace) %{_sysconfdir}/xdg/menus/tde-settings.menu + +%{tde_tdedocdir}/HTML/en/kcontrol/ +%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ + +%post data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%if "%{distribution}" == "Mandriva Linux" +# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) +# First, we read the "product" key in /etc/product.id +eval $(tr "," ";" </etc/product.id) 2>/dev/null +# Then, we create a symbolic link to the corresponding background +if [ -r "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then + ln -sf "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" +fi +%endif + +%if "%{distribution}" == "Mageia" +if [ ! -r "%{tde_bg}" ] && [ -r "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" ]; then + ln -sf "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" "%{tde_bg}" +fi +%endif + +%postun data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package tdeio-plugins +Summary: Core I/O slaves for TDE +Group: System/GUI/Other +Requires: trinity-kdesktop = %{version}-%{release} +Requires: cyrus-sasl +Requires: psmisc +%if 0%{?with_hal} +Requires: hal >= 0.5 +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} +Requires: cryptsetup +%else +Requires: cryptsetup-luks +%endif + +Obsoletes: tdebase-kio-plugins < %{version}-%{release} +Provides: tdebase-kio-plugins = %{version}-%{release} +Obsoletes: trinity-tdebase-kio-plugins < %{version}-%{release} +Provides: trinity-tdebase-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package includes the base tdeioslaves. They include, amongst many +others, file, http, and ftp. + +It also includes the media tdeioslave, which handles removable devices, +and which works best with udev, udisks and pmount. Media +also extends the functionality of many other tdeioslaves. To use this +service, please make sure that your user is a member of the plugdev +group. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_bindir}/tdeio_media_mounthelper +%{tde_bindir}/ktrash +%{tde_tdelibdir}/cursorthumbnail.la +%{tde_tdelibdir}/cursorthumbnail.so +%{tde_tdelibdir}/djvuthumbnail.la +%{tde_tdelibdir}/djvuthumbnail.so +%{tde_tdelibdir}/htmlthumbnail.la +%{tde_tdelibdir}/htmlthumbnail.so +%{tde_tdelibdir}/imagethumbnail.la +%{tde_tdelibdir}/imagethumbnail.so +%{tde_tdelibdir}/kcm_cgi.la +%{tde_tdelibdir}/kcm_cgi.so +%{tde_tdelibdir}/kcm_media.la +%{tde_tdelibdir}/kcm_media.so +%{tde_tdelibdir}/kded_homedirnotify.la +%{tde_tdelibdir}/kded_homedirnotify.so +%{tde_tdelibdir}/kded_mediamanager.la +%{tde_tdelibdir}/kded_mediamanager.so +%{tde_tdelibdir}/kded_medianotifier.la +%{tde_tdelibdir}/kded_medianotifier.so +%{tde_tdelibdir}/kded_remotedirnotify.la +%{tde_tdelibdir}/kded_remotedirnotify.so +%{tde_tdelibdir}/kded_systemdirnotify.la +%{tde_tdelibdir}/kded_systemdirnotify.so +%{tde_tdelibdir}/tdefile_media.la +%{tde_tdelibdir}/tdefile_media.so +%{tde_tdelibdir}/tdefile_trash.la +%{tde_tdelibdir}/tdefile_trash.so +%{tde_tdelibdir}/tdeio_about.la +%{tde_tdelibdir}/tdeio_about.so +%{tde_tdelibdir}/tdeio_cgi.la +%{tde_tdelibdir}/tdeio_cgi.so +%{tde_tdelibdir}/tdeio_filter.la +%{tde_tdelibdir}/tdeio_filter.so +%{tde_tdelibdir}/tdeio_finger.la +%{tde_tdelibdir}/tdeio_finger.so +%{tde_tdelibdir}/tdeio_fish.la +%{tde_tdelibdir}/tdeio_fish.so +%{tde_tdelibdir}/tdeio_floppy.la +%{tde_tdelibdir}/tdeio_floppy.so +%{tde_tdelibdir}/tdeio_home.la +%{tde_tdelibdir}/tdeio_home.so +%{tde_tdelibdir}/tdeio_info.la +%{tde_tdelibdir}/tdeio_info.so +%{tde_tdelibdir}/tdeio_mac.la +%{tde_tdelibdir}/tdeio_mac.so +%{tde_tdelibdir}/tdeio_man.la +%{tde_tdelibdir}/tdeio_man.so +%{tde_tdelibdir}/tdeio_media.la +%{tde_tdelibdir}/tdeio_media.so +%{tde_tdelibdir}/tdeio_nfs.la +%{tde_tdelibdir}/tdeio_nfs.so +%{tde_tdelibdir}/tdeio_remote.la +%{tde_tdelibdir}/tdeio_remote.so +%{tde_tdelibdir}/tdeio_settings.la +%{tde_tdelibdir}/tdeio_settings.so +%{tde_tdelibdir}/tdeio_sftp.la +%{tde_tdelibdir}/tdeio_sftp.so +%{tde_tdelibdir}/tdeio_system.la +%{tde_tdelibdir}/tdeio_system.so +%{tde_tdelibdir}/tdeio_tar.la +%{tde_tdelibdir}/tdeio_tar.so +%{tde_tdelibdir}/tdeio_thumbnail.la +%{tde_tdelibdir}/tdeio_thumbnail.so +%{tde_tdelibdir}/tdeio_trash.la +%{tde_tdelibdir}/tdeio_trash.so +%{tde_tdelibdir}/libkmanpart.la +%{tde_tdelibdir}/libkmanpart.so +%{tde_tdelibdir}/textthumbnail.la +%{tde_tdelibdir}/textthumbnail.so +%{tde_tdeappdir}/kcmcgi.desktop +%{tde_datadir}/apps/tdeio_finger/ +%{tde_datadir}/apps/tdeio_info/ +%{tde_datadir}/apps/tdeio_man/ +%{tde_datadir}/apps/systemview/ +%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg +%{tde_datadir}/mimelnk/application/x-smb-server.desktop +%{tde_datadir}/mimelnk/inode/system_directory.desktop +%{tde_datadir}/mimelnk/media/*.desktop +%{tde_datadir}/services/about.protocol +%{tde_datadir}/services/applications.protocol +%{tde_datadir}/services/ar.protocol +%{tde_datadir}/services/bzip.protocol +%{tde_datadir}/services/bzip2.protocol +%{tde_datadir}/services/cgi.protocol +%{tde_datadir}/services/cursorthumbnail.desktop +%{tde_datadir}/services/djvuthumbnail.desktop +%{tde_datadir}/services/finger.protocol +%{tde_datadir}/services/fish.protocol +%{tde_datadir}/services/floppy.protocol +%{tde_datadir}/services/gzip.protocol +%{tde_datadir}/services/home.protocol +%{tde_datadir}/services/htmlthumbnail.desktop +%{tde_datadir}/services/imagethumbnail.desktop +%{tde_datadir}/services/info.protocol +%{tde_datadir}/services/kded/homedirnotify.desktop +%{tde_datadir}/services/kded/mediamanager.desktop +%{tde_datadir}/services/kded/medianotifier.desktop +%{tde_datadir}/services/kded/remotedirnotify.desktop +%{tde_datadir}/services/kded/systemdirnotify.desktop +%{tde_datadir}/services/tdefile_media.desktop +%{tde_datadir}/services/tdefile_trash_system.desktop +%{tde_datadir}/services/lzma.protocol +%{tde_datadir}/services/kmanpart.desktop +%{tde_datadir}/services/mac.protocol +%{tde_datadir}/services/man.protocol +%{tde_datadir}/services/media.protocol +%{tde_datadir}/services/nfs.protocol +%{tde_datadir}/services/nxfish.protocol +%{tde_datadir}/services/programs.protocol +%{tde_datadir}/services/remote.protocol +%{tde_datadir}/services/settings.protocol +%{tde_datadir}/services/sftp.protocol +%{tde_datadir}/services/system.protocol +%{tde_datadir}/services/tar.protocol +%{tde_datadir}/services/textthumbnail.desktop +%{tde_datadir}/services/thumbnail.protocol +%{tde_datadir}/services/trash.protocol +%{tde_datadir}/services/xz.protocol +%{tde_datadir}/services/zip.protocol +%{tde_datadir}/servicetypes/thumbcreator.desktop +%{tde_datadir}/services/tdefile_trash.desktop +%{tde_tdedocdir}/HTML/en/tdeioslave/ +%if 0%{?with_exr} +%{tde_tdelibdir}/exrthumbnail.la +%{tde_tdelibdir}/exrthumbnail.so +%{tde_datadir}/services/exrthumbnail.desktop +%endif +# HWManager +%{tde_tdelibdir}/media_propsdlgplugin.la +%{tde_tdelibdir}/media_propsdlgplugin.so +%{tde_datadir}/services/media_propsdlgplugin.desktop + +%post tdeio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun tdeio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-tdepasswd +Summary: Password changer for TDE +Group: System/GUI/Other + +Obsoletes: trinity-kdepasswd < %{version}-%{release} +Provides: trinity-kdepasswd = %{version}-%{release} + +%description -n trinity-tdepasswd +This is a simple application which allows users to change their +system passwords. + +%files -n trinity-tdepasswd +%defattr(-,root,root,-) +%{tde_bindir}/tdepasswd +%{tde_tdelibdir}/kcm_useraccount.la +%{tde_tdelibdir}/kcm_useraccount.so +%{tde_tdeappdir}/kcm_useraccount.desktop +%{tde_tdeappdir}/tdepasswd.desktop +%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg +%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg +%{tde_tdedocdir}/HTML/en/tdepasswd/ +%{_datadir}/faces/Apple.png +%{_datadir}/faces/BeachBall.png +%{_datadir}/faces/Blowfish.png +%{_datadir}/faces/Bug.png +%{_datadir}/faces/Butterfly.png +%{_datadir}/faces/Car.png +%{_datadir}/faces/Cow.png +%{_datadir}/faces/Daemon.png +%{_datadir}/faces/Dog.png +%{_datadir}/faces/Elephant.png +%{_datadir}/faces/Flower.png +%{_datadir}/faces/Frog.png +%{_datadir}/faces/Ghost.png +%{_datadir}/faces/Guitar.png +%{_datadir}/faces/Heart.png +%{_datadir}/faces/Konqui.png +%{_datadir}/faces/Lion.png +%{_datadir}/faces/Monkey.png +%{_datadir}/faces/Penguin.png +%{_datadir}/faces/Pig.png +%{_datadir}/faces/Rabbit.png +%{_datadir}/faces/Ring.png +%{_datadir}/faces/Scream.png +%{_datadir}/faces/Shark.png +%{_datadir}/faces/Splash.png +%{_datadir}/faces/Star.png +%{_datadir}/faces/Teddybear.png +%{_datadir}/faces/Turtle.png + +%post -n trinity-tdepasswd +update-desktop-database %{tde_tdeappdir} 2> /dev/null || : + +%postun -n trinity-tdepasswd +update-desktop-database %{tde_tdeappdir} 2> /dev/null || : + +########## + +%package -n trinity-tdeprint +Summary: Print system for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} +Requires: psutils + +%description -n trinity-tdeprint +This package contains the TDE printing subsystem. It can use CUPS, +lpd-ng or the traditional lpd. It also includes support for fax and +pdf printing. + +Installation of smbclient will make you able to use smb shared printers. + +%files -n trinity-tdeprint +%defattr(-,root,root,-) +%{tde_bindir}/tdeprintfax +%{tde_bindir}/kjobviewer +%{tde_bindir}/kprinter +%{tde_tdelibdir}/kcm_printmgr.la +%{tde_tdelibdir}/kcm_printmgr.so +%{tde_tdelibdir}/tdeio_print.la +%{tde_tdelibdir}/tdeio_print.so +%{tde_tdelibdir}/kjobviewer.la +%{tde_tdelibdir}/kjobviewer.so +%{tde_tdelibdir}/kprinter.la +%{tde_tdelibdir}/kprinter.so +%{tde_tdelibdir}/libtdeprint_part.la +%{tde_tdelibdir}/libtdeprint_part.so +%{tde_libdir}/libtdeinit_kjobviewer.la +%{tde_libdir}/libtdeinit_kjobviewer.so +%{tde_libdir}/libtdeinit_kprinter.la +%{tde_libdir}/libtdeinit_kprinter.so +%{tde_tdeappdir}/tdeprintfax.desktop +%{tde_tdeappdir}/kjobviewer.desktop +%{tde_tdeappdir}/printers.desktop +%{tde_datadir}/apps/tdeprint/ +%{tde_datadir}/apps/tdeprintfax/ +%{tde_datadir}/apps/kjobviewer/ +%{tde_datadir}/apps/tdeprint_part/ +%{tde_datadir}/icons/hicolor/*/apps/tdeprintfax.png +%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png +%{tde_datadir}/icons/hicolor/*/apps/printmgr.png +%{tde_datadir}/icons/hicolor/scalable/apps/tdeprintfax.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz +%{tde_datadir}/mimelnk/print/class.desktop +%{tde_datadir}/mimelnk/print/driver.desktop +%{tde_datadir}/mimelnk/print/folder.desktop +%{tde_datadir}/mimelnk/print/jobs.desktop +%{tde_datadir}/mimelnk/print/manager.desktop +%{tde_datadir}/mimelnk/print/printer.desktop +%{tde_datadir}/mimelnk/print/printermodel.desktop +%{tde_datadir}/services/tdeprint_part.desktop +%{tde_datadir}/services/print.protocol +%{tde_datadir}/services/printdb.protocol +%{tde_tdedocdir}/HTML/en/tdeprint/ +%{tde_tdedocdir}/HTML/en/tdeprintfax/ +%{tde_tdedocdir}/HTML/en/kjobviewer/ + +%post -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop +Summary: Miscellaneous binaries and files for the TDE desktop +Group: System/GUI/Other +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: eject +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: xdg-utils +%endif + +%description -n trinity-kdesktop +This package contains miscellaneous binaries and files integral to +the TDE desktop. + +%files -n trinity-kdesktop +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu1 +%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu2 +%{tde_bindir}/kcheckrunning +%{tde_bindir}/kxdglauncher +%{tde_bindir}/tdeeject +%{tde_bindir}/kdesktop +%{tde_bindir}/kdesktop_lock +%{tde_bindir}/kwebdesktop +%{tde_tdelibdir}/kdesktop.la +%{tde_tdelibdir}/kdesktop.so +%{tde_libdir}/libtdeinit_kdesktop.la +%{tde_libdir}/libtdeinit_kdesktop.so +%{tde_datadir}/apps/kdesktop/ +%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%{tde_datadir}/autostart/kdesktop.desktop +%{tde_datadir}/config.kcfg/kdesktop.kcfg +%{tde_datadir}/config.kcfg/tdelaunch.kcfg +%{tde_datadir}/config.kcfg/kwebdesktop.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/error.png + +%post -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop-devel +Summary: Development files for kdesktop +Group: Development/Libraries/Other +Requires: trinity-kdesktop = %{version}-%{release} + +%description -n trinity-kdesktop-devel +This package contains the development files for kdesktop. + +%files -n trinity-kdesktop-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/KBackgroundIface.h +%{tde_tdeincludedir}/KDesktopIface.h +%{tde_tdeincludedir}/KScreensaverIface.h + +########## + +%package -n trinity-tdm +Summary: X Display manager for TDE +Group: System/GUI/Other +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: pam +Requires: logrotate + +# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession) +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4 +Requires: xinitrc +%endif +%if 0%{?suse_version} == 1140 +Requires: xorg-x11 +%endif +%if 0%{?suse_version} >= 1220 +Requires: xdm +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +Requires: xorg-x11-xinit +%endif + +# Required for Fedora LiveCD +%if 0%{?rhel} || 0%{?fedora} +Provides: service(graphical-login) +%endif +# Required for Mandriva's installer +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: dm +Provides: %{tdm} +%endif + +%description -n trinity-tdm +TDM manages a collection of X servers, which may be on the local host or +remote machines. It provides services similar to those provided by init, +getty, and login on character-based terminals: prompting for login name and +password, authenticating the user, and running a session. tdm supports XDMCP +(X Display Manager Control Protocol) and can also be used to run a chooser +process which presents the user with a menu of possible hosts that offer +XDMCP display management. + +A collection of icons to associate with individual users is included with +TDE, but as part of the tdepasswd package. + +The menu package will help to provide TDM with a list of window managers +that can be launched, if the window manager does not register with TDM +already. Most users won't need this. + +%files -n trinity-tdm +%defattr(-,root,root,-) +%{tde_tdelibdir}/kgreet_pam.la +%{tde_tdelibdir}/kgreet_pam.so +%{tde_bindir}/gen%{tdm}conf +%{tde_bindir}/%{tdm} +%{tde_bindir}/%{tdm}_config +%{tde_bindir}/%{tdm}ctl +%{tde_bindir}/%{tdm}_greet +%{tde_bindir}/krootimage +%dir %{tdm_datadir} +%dir %{tdm_datadir}/pics +%{tdm_datadir}/pics/kdelogo.png +%{tdm_datadir}/pics/shutdown.jpg +%{tdm_datadir}/pics/users +%dir %{tdm_datadir}/sessions +%{tdm_datadir}/sessions/*.desktop +%{tdm_datadir}/themes/ +%{tde_datadir}/config/%{tdm} +%dir %{_sysconfdir}/trinity/%{tdm} +%config(noreplace) %{_sysconfdir}/trinity/%{tdm}/* +%{tde_tdedocdir}/HTML/en/%{tdm}/ +%if 0%{?suse_version} == 0 +%config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity +%config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity-np +%endif + +# XDG user faces +%dir %{_datadir}/faces +%{_datadir}/faces/default1.png +%{_datadir}/faces/default2.png +%{_datadir}/faces/default3.png +%{_datadir}/faces/default4.png +%{_datadir}/faces/root1.png + +# Distribution specific stuff +%if 0%{?suse_version} == 1140 +%{_sysconfdir}/init.d/xdm.tde +%endif +%if 0%{?suse_version} >= 1210 +/usr/lib/X11/displaymanagers/tdm +%endif +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 +/usr/lib/systemd/system/tdm.service +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%{_datadir}/xsessions/tde.desktop +%endif + +# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager +%if 0%{?mgaversion} || 0%{?mdkversion} +%{_sysconfdir}/X11/wmsession.d/45TDE +%{_datadir}/X11/dm.d/45TDE.conf +%endif + +# SELINUX policy +%if 0%{?with_selinux_policy} +%{?_sysconfdir}/trinity/%{tdm}/tdm.pp +%endif + +# Logrotate configuration +%config %{_sysconfdir}/logrotate.d/trinity-tdm + +%pre -n trinity-tdm +# Make sure that TDM configuration files are now under '/etc/trinity/tdm' +if [ -d "%{tde_datadir}/config/%{tdm}" ] && [ ! -L "%{tde_datadir}/config/%{tdm}" ]; then + if [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then + # If there is already something under '/etc/trinity/tdm', simply delete old configuration + echo "Deleting TDM configuration under '%{tde_datadir}/config/%{tdm}'" + rm -rf "%{tde_datadir}/config/%{tdm}" + else + # Else, move '/opt/trinity/share/config/tdm' to '/etc/trinity/tdm' + if [ ! -d "%{_sysconfdir}/trinity" ]; then + mkdir -p "%{_sysconfdir}/trinity" + fi + echo "Migrating TDM configuration from '%{tde_datadir}/config/%{tdm}' to '%{_sysconfdir}/trinity/%{tdm}'" + mv -f "%{tde_datadir}/config/%{tdm}" "%{_sysconfdir}/trinity/%{tdm}.migr" + fi +fi + +# Remove actual directory before creating a symlink +if [ ! -L "%{tdm_datadir}/pics/users" ]; then + [ -d "%{_datadir}/faces" ] || mkdir -p "%{_datadir}/faces" + cp -f "%{tdm_datadir}/pics/users/"* "%{_datadir}/faces" + rm -rf "%{tdm_datadir}/pics/users" +fi + +%post -n trinity-tdm +%if 0%{?mgaversion} || 0%{?mdkversion} +%make_session +%endif + +# SELINUX context for tdm +%if 0%{?with_selinux_policy} +/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/%{tdm}/tdm.pp" +%endif + +%if 0%{?fedora} == 21 || 0%{?rhel} >= 7 +if ! grep -q "%{tde_bindir}/tdm" "/etc/selinux/targeted/contexts/files/file_contexts.local" ; then + echo "%{tde_bindir}/tdm -- system_u:object_r:xdm_exec_t" >>"/etc/selinux/targeted/contexts/files/file_contexts.local" + restorecon "%{tde_bindir}/tdm" +fi +%endif + +# Sets default user icon in TDM +if [ ! -r "%{tdm_datadir}/faces/.default.face.icon" ]; then + [ -d "%{tdm_datadir}/faces" ] || mkdir -p "%{tdm_datadir}/faces" + cp -f "%{tdm_datadir}/pics/users/default2.png" "%{tdm_datadir}/faces/.default.face.icon" +fi + +# Sets default language for TDM +if [ "$1" = "1" ]; then + if [ -n "${LANG}" ] && [ "${LANG}" != "C" ]; then + sed -i "%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" -e "s|^#*Language=.*|Language=${LANG}|" + fi +fi + +# openSUSE 11.4 tdm's startup script +if [ -r "%{_sysconfdir}/init.d/xdm.tde" ]; then + cat "%{_sysconfdir}/init.d/xdm.tde" >"%{_sysconfdir}/init.d/xdm" +fi + + +%posttrans -n trinity-tdm +# Make sure that TDM configuration files are now under '/etc/trinity/tdm' +if [ -d "%{_sysconfdir}/trinity/%{tdm}.migr" ] && [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then + mv -f "%{_sysconfdir}/trinity/%{tdm}.migr/"* "%{_sysconfdir}/trinity/%{tdm}/" + rmdir "%{_sysconfdir}/trinity/%{tdm}.migr/" +fi + +%postun -n trinity-tdm +%if 0%{?mgaversion} || 0%{?mdkversion} +%make_session +%endif + +########## + +%package -n trinity-tdm-devel +Summary: Development files for tdm +Group: Development/Libraries/Other +Requires: trinity-tdm = %{version}-%{release} +%{?xtst_devel:Requires: %{xtst_devel}} + +%description -n trinity-tdm-devel +This package contains the development files for TDM. + +%files -n trinity-tdm-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kgreeterplugin.h + +########## + +%package -n trinity-kfind +Summary: File-find utility for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kfind +kfind can be used to find files and directories on your +workstations. + +%files -n trinity-kfind +%defattr(-,root,root,-) +%{tde_bindir}/kfind +%{tde_tdelibdir}/libkfindpart.la +%{tde_tdelibdir}/libkfindpart.so +%{tde_tdeappdir}/Kfind.desktop +%{tde_datadir}/apps/kfindpart/ +%{tde_datadir}/icons/hicolor/*/apps/kfind.png +%{tde_datadir}/services/kfindpart.desktop +%{tde_datadir}/servicetypes/findpart.desktop +%{tde_tdedocdir}/HTML/en/kfind/ + +%post -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-khelpcenter +Summary: Help center for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} +Requires: htdig + +%description -n trinity-khelpcenter +The TDE Help Center provides documentation on how to use the TDE desktop. + +The htdig package is needed to build a searchable archive of TDE +documentation. + +%files -n trinity-khelpcenter +%defattr(-,root,root,-) +%{tde_bindir}/khc_docbookdig.pl +%{tde_bindir}/khc_htdig.pl +%{tde_bindir}/khc_htsearch.pl +%{tde_bindir}/khc_indexbuilder +%{tde_bindir}/khc_mansearch.pl +%{tde_bindir}/khelpcenter +%{tde_tdelibdir}/khelpcenter.la +%{tde_tdelibdir}/khelpcenter.so +%{tde_libdir}/libtdeinit_khelpcenter.la +%{tde_libdir}/libtdeinit_khelpcenter.so +%{tde_tdeappdir}/Help.desktop +%{tde_datadir}/apps/khelpcenter/ +%{tde_datadir}/config.kcfg/khelpcenter.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.* +%{tde_datadir}/services/khelpcenter.desktop +%{tde_tdedocdir}/HTML/en/khelpcenter/ + +%post -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker +Summary: Desktop panel for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kicker +Kicker provides the TDE panel on you desktop. It can be used as a +program launcher and can load plugins to provide additional +functionality. + +%files -n trinity-kicker +%defattr(-,root,root,-) +%{tde_bindir}/appletproxy +%{tde_bindir}/extensionproxy +%{tde_bindir}/kasbar +%{tde_bindir}/kicker +%{tde_libdir}/tdeconf_update_bin/kicker-3.4-reverseLayout +%{tde_tdelibdir}/appletproxy.la +%{tde_tdelibdir}/appletproxy.so +%{tde_tdelibdir}/clock_panelapplet.la +%{tde_tdelibdir}/clock_panelapplet.so +%{tde_tdelibdir}/dockbar_panelextension.la +%{tde_tdelibdir}/dockbar_panelextension.so +%{tde_tdelibdir}/extensionproxy.la +%{tde_tdelibdir}/extensionproxy.so +%{tde_tdelibdir}/kasbar_panelextension.la +%{tde_tdelibdir}/kasbar_panelextension.so +%{tde_tdelibdir}/kicker.la +%{tde_tdelibdir}/kickermenu_find.la +%{tde_tdelibdir}/kickermenu_find.so +%{tde_tdelibdir}/kickermenu_kate.so +%{tde_tdelibdir}/kickermenu_kate.la +%{tde_tdelibdir}/kickermenu_tdeprint.la +%{tde_tdelibdir}/kickermenu_tdeprint.so +%{tde_tdelibdir}/kickermenu_konqueror.la +%{tde_tdelibdir}/kickermenu_konqueror.so +%{tde_tdelibdir}/kickermenu_konsole.la +%{tde_tdelibdir}/kickermenu_konsole.so +%{tde_tdelibdir}/kickermenu_prefmenu.la +%{tde_tdelibdir}/kickermenu_prefmenu.so +%{tde_tdelibdir}/kickermenu_recentdocs.la +%{tde_tdelibdir}/kickermenu_recentdocs.so +%{tde_tdelibdir}/kickermenu_remotemenu.la +%{tde_tdelibdir}/kickermenu_remotemenu.so +%{tde_tdelibdir}/kickermenu_systemmenu.la +%{tde_tdelibdir}/kickermenu_systemmenu.so +%{tde_tdelibdir}/kicker.so +%{tde_tdelibdir}/launcher_panelapplet.la +%{tde_tdelibdir}/launcher_panelapplet.so +%{tde_tdelibdir}/lockout_panelapplet.la +%{tde_tdelibdir}/lockout_panelapplet.so +%{tde_tdelibdir}/media_panelapplet.la +%{tde_tdelibdir}/media_panelapplet.so +%{tde_tdelibdir}/menu_panelapplet.la +%{tde_tdelibdir}/menu_panelapplet.so +%{tde_tdelibdir}/minipager_panelapplet.la +%{tde_tdelibdir}/minipager_panelapplet.so +%{tde_tdelibdir}/naughty_panelapplet.la +%{tde_tdelibdir}/naughty_panelapplet.so +%{tde_tdelibdir}/run_panelapplet.la +%{tde_tdelibdir}/run_panelapplet.so +%{tde_tdelibdir}/sidebar_panelextension.la +%{tde_tdelibdir}/sidebar_panelextension.so +%{tde_tdelibdir}/systemtray_panelapplet.la +%{tde_tdelibdir}/systemtray_panelapplet.so +%{tde_tdelibdir}/taskbar_panelapplet.la +%{tde_tdelibdir}/taskbar_panelapplet.so +%{tde_tdelibdir}/taskbar_panelextension.la +%{tde_tdelibdir}/taskbar_panelextension.so +%{tde_tdelibdir}/trash_panelapplet.la +%{tde_tdelibdir}/trash_panelapplet.so +%{tde_libdir}/libkasbar.so.* +%{tde_libdir}/libtdeinit_appletproxy.la +%{tde_libdir}/libtdeinit_appletproxy.so +%{tde_libdir}/libtdeinit_extensionproxy.la +%{tde_libdir}/libtdeinit_extensionproxy.so +%{tde_libdir}/libtdeinit_kicker.la +%{tde_libdir}/libtdeinit_kicker.so +%{tde_libdir}/libkickermain.so.* +%{tde_libdir}/libtaskbar.so.* +%{tde_libdir}/libtaskmanager.so.* +%{tde_libdir}/libkickoffsearch_interfaces.so.* +%{tde_tdeappdir}/kcmkicker.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop +%{tde_datadir}/apps/clockapplet/ +%{tde_datadir}/apps/tdeconf_update/kicker-3.1-properSizeSetting.pl +%{tde_datadir}/apps/tdeconf_update/kicker-3.5-taskbarEnums.pl +%{tde_datadir}/apps/tdeconf_update/kickerrc.upd +%{tde_datadir}/apps/kicker/ +%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop +%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/naughtyapplet/ +%{tde_datadir}/autostart/panel.desktop +%{tde_datadir}/config.kcfg/kickerSettings.kcfg +%{tde_datadir}/config.kcfg/launcherapplet.kcfg +%{tde_datadir}/config.kcfg/pagersettings.kcfg +%{tde_datadir}/config.kcfg/taskbar.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png +%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png +%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel.png +%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png +%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz +%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop +%{tde_tdedocdir}/HTML/en/kicker/ +%if 0%{?mgaversion} >= 3 +%{tde_datadir}/oxygen/scalable/mgabutton.svg +%endif + +%post -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker-devel +Summary: Development files for kicker +Group: Development/Libraries/Other +Requires: trinity-kicker = %{version}-%{release} +%{?xtst_devel:Requires: %{xtst_devel}} + +%description -n trinity-kicker-devel +This package contains the development files for kicker. + +%files -n trinity-kicker-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kickoff-search-plugin.h +%{tde_tdeincludedir}/kickoffsearchinterface.h +%{tde_libdir}/libkasbar.la +%{tde_libdir}/libkasbar.so +%{tde_libdir}/libkickermain.la +%{tde_libdir}/libkickermain.so +%{tde_libdir}/libkickoffsearch_interfaces.la +%{tde_libdir}/libkickoffsearch_interfaces.so +%{tde_libdir}/libtaskbar.la +%{tde_libdir}/libtaskbar.so +%{tde_libdir}/libtaskmanager.la +%{tde_libdir}/libtaskmanager.so + +%post -n trinity-kicker-devel +/sbin/ldconfig || : + +%postun -n trinity-kicker-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-klipper +Summary: Clipboard utility for Trinity +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-klipper +klipper provides standard clipboard functions (cut and paste, history +saving) plus additional features, like the ability to offer actions to +take dependent on the clipboard contents. For example, it can launch a +web browser if the clipboard contains a URL. + +%files -n trinity-klipper +%defattr(-,root,root,-) +%{tde_bindir}/klipper +%config(noreplace) %{_sysconfdir}/trinity/klipperrc +%{tde_tdelibdir}/klipper.la +%{tde_tdelibdir}/klipper.so +%{tde_tdelibdir}/klipper_panelapplet.la +%{tde_tdelibdir}/klipper_panelapplet.so +%{tde_libdir}/libtdeinit_klipper.la +%{tde_libdir}/libtdeinit_klipper.so +%{tde_tdeappdir}/klipper.desktop +%{tde_datadir}/apps/tdeconf_update/klipper-1-2.pl +%{tde_datadir}/apps/tdeconf_update/klipper-trinity1.sh +%{tde_datadir}/apps/tdeconf_update/klipperrc.upd +%{tde_datadir}/apps/tdeconf_update/klippershortcuts.upd +%{tde_datadir}/apps/kicker/applets/klipper.desktop +%{tde_datadir}/autostart/klipper.desktop +%{tde_datadir}/icons/hicolor/*/apps/klipper.* +%{tde_tdedocdir}/HTML/en/klipper/ + +%post -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kmenuedit +Summary: Menu editor for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kmenuedit +The TDE menu editor allows you to make customisations to the TDE menu +structure. + +%files -n trinity-kmenuedit +%defattr(-,root,root,-) +%{tde_bindir}/kcontroledit +%{tde_bindir}/kmenuedit +%{tde_tdelibdir}/kcontroledit.la +%{tde_tdelibdir}/kcontroledit.so +%{tde_tdelibdir}/kmenuedit.la +%{tde_tdelibdir}/kmenuedit.so +%{tde_libdir}/libtdeinit_kcontroledit.la +%{tde_libdir}/libtdeinit_kcontroledit.so +%{tde_libdir}/libtdeinit_kmenuedit.la +%{tde_libdir}/libtdeinit_kmenuedit.so +%{tde_tdeappdir}/kmenuedit.desktop +%{tde_datadir}/applnk/System/kmenuedit.desktop +%{tde_datadir}/apps/kcontroledit/ +%{tde_datadir}/apps/kmenuedit/ +%{tde_tdedocdir}/HTML/en/kmenuedit/ + +%post -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror +Summary: TDE's advanced file manager, web browser and document viewer +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} + +%description -n trinity-konqueror +Konqueror is the file manager for the Trinity Desktop Environment. +It supports basic file management on local UNIX filesystems, +from simple cut/copy and paste operations to advanced remote +and local network file browsing. + +It is also the canvas for all the latest TDE technology, +from KIO slaves (which provide mechanisms for file access) to +component embedding via the KParts object interface, and it +is one of the most customizable applications available. + +Konqueror is an Open Source web browser with HTML4.0 compliance, +supporting Java applets, JavaScript, CSS1 and (partially) CSS2, +as well as Netscape plugins (for example, Flash or RealVideo plugins). + +It is a universal viewing application, capable of embedding +read-only viewing components in itself to view documents without +ever launching another application. + +%files -n trinity-konqueror +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/trinity/konqsidebartng.rc +%{tde_bindir}/kbookmarkmerger +%{tde_bindir}/keditbookmarks +%{tde_bindir}/kfmclient +%{tde_bindir}/konqueror +%{tde_tdelibdir}/kcm_history.la +%{tde_tdelibdir}/kcm_history.so +%{tde_tdelibdir}/kded_konqy_preloader.la +%{tde_tdelibdir}/kded_konqy_preloader.so +%{tde_tdelibdir}/keditbookmarks.la +%{tde_tdelibdir}/keditbookmarks.so +%{tde_tdelibdir}/kfmclient.la +%{tde_tdelibdir}/kfmclient.so +%{tde_tdelibdir}/konq_aboutpage.la +%{tde_tdelibdir}/konq_aboutpage.so +%{tde_tdelibdir}/konq_iconview.la +%{tde_tdelibdir}/konq_iconview.so +%{tde_tdelibdir}/konq_listview.la +%{tde_tdelibdir}/konq_listview.so +%{tde_tdelibdir}/konq_remoteencoding.la +%{tde_tdelibdir}/konq_remoteencoding.so +%{tde_tdelibdir}/konq_shellcmdplugin.la +%{tde_tdelibdir}/konq_shellcmdplugin.so +%{tde_tdelibdir}/konq_sidebar.la +%{tde_tdelibdir}/konq_sidebar.so +%{tde_tdelibdir}/konq_sidebartree_bookmarks.la +%{tde_tdelibdir}/konq_sidebartree_bookmarks.so +%{tde_tdelibdir}/konq_sidebartree_dirtree.la +%{tde_tdelibdir}/konq_sidebartree_dirtree.so +%{tde_tdelibdir}/konq_sidebartree_history.la +%{tde_tdelibdir}/konq_sidebartree_history.so +%{tde_tdelibdir}/konqsidebar_tree.la +%{tde_tdelibdir}/konqsidebar_tree.so +%{tde_tdelibdir}/konqsidebar_web.la +%{tde_tdelibdir}/konqsidebar_web.so +%{tde_tdelibdir}/konqueror.la +%{tde_tdelibdir}/konqueror.so +%{tde_tdelibdir}/libtdehtmlkttsdplugin.la +%{tde_tdelibdir}/libtdehtmlkttsdplugin.so +%{tde_libdir}/libtdeinit_keditbookmarks.la +%{tde_libdir}/libtdeinit_keditbookmarks.so +%{tde_libdir}/libtdeinit_kfmclient.la +%{tde_libdir}/libtdeinit_kfmclient.so +%{tde_libdir}/libtdeinit_konqueror.la +%{tde_libdir}/libtdeinit_konqueror.so +%{tde_libdir}/libkonqsidebarplugin.so.* +%{tde_tdeappdir}/Home.desktop +%{tde_tdeappdir}/kcmhistory.desktop +%{tde_tdeappdir}/kfmclient.desktop +%{tde_tdeappdir}/kfmclient_dir.desktop +%{tde_tdeappdir}/kfmclient_html.desktop +%{tde_tdeappdir}/kfmclient_war.desktop +%{tde_tdeappdir}/tdehtml_filter.desktop +%{tde_tdeappdir}/konqbrowser.desktop +%{tde_tdeappdir}/konquerorsu.desktop +%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop +%{tde_datadir}/applnk/Internet/keditbookmarks.desktop +%{tde_datadir}/applnk/konqueror.desktop +%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2.upd +%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2_update.sh +%{tde_datadir}/apps/tdeconf_update/konqsidebartng.upd +%{tde_datadir}/apps/tdeconf_update/move_konqsidebartng_entries.sh +%{tde_datadir}/apps/keditbookmarks/ +%{tde_datadir}/apps/tdehtml/kpartplugins/ +%{tde_datadir}/apps/konqiconview/ +%{tde_datadir}/apps/konqlistview/ +%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqsidebartng/ +%{tde_datadir}/apps/konqueror/about/ +%dir %{tde_datadir}/apps/konqueror/dirtree +%dir %{tde_datadir}/apps/konqueror/dirtree/remote +%{tde_datadir}/apps/konqueror/icons/ +%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc +%{tde_datadir}/apps/konqueror/konqueror.rc +%{tde_datadir}/apps/konqueror/pics/indicator_connect.png +%{tde_datadir}/apps/konqueror/pics/indicator_empty.png +%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png +%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png +%{tde_datadir}/apps/konqueror/profiles/ +%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%ghost %{_sysconfdir}/alternatives/media_safelyremove.desktop +%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase +%{tde_datadir}/apps/konqueror/tiles/ +%{tde_datadir}/autostart/konqy_preload.desktop +%{tde_datadir}/config.kcfg/keditbookmarks.kcfg +%{tde_datadir}/config.kcfg/konq_listview.kcfg +%{tde_datadir}/config.kcfg/konqueror.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz +%{tde_datadir}/icons/hicolor/*/apps/kfm.png +%{tde_datadir}/icons/hicolor/*/apps/konqueror.* +%{tde_datadir}/services/kded/konqy_preloader.desktop +%{tde_datadir}/services/konq_*.desktop +%{tde_datadir}/servicetypes/konqaboutpage.desktop +%{tde_tdedocdir}/HTML/en/konqueror/ +%{tde_tdedocdir}/HTML/en/keditbookmarks/ + +%post -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : +if [ $1 -eq 1 ]; then + update-alternatives --install \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ + 10 || : +fi + +%postun -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%preun -n trinity-konqueror +if [ $1 -eq 0 ]; then + update-alternatives --remove \ + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || : +fi + +########## + +%package -n trinity-konqueror-devel +Summary: Development files for konqueror +Group: Development/Libraries/Other +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-devel +This package contains the development files for konqueror. + +%files -n trinity-konqueror-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/konqsidebarplugin.h +%{tde_tdeincludedir}/KonquerorIface.h +%{tde_libdir}/libkonqsidebarplugin.la +%{tde_libdir}/libkonqsidebarplugin.so + +%post -n trinity-konqueror-devel +/sbin/ldconfig || : + +%postun -n trinity-konqueror-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror-nsplugins +Summary: Netscape plugin support for Konqueror +Group: System/GUI/Other +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-nsplugins +This package includes support for Netscape plugins in Konqueror. + +%files -n trinity-konqueror-nsplugins +%defattr(-,root,root,-) +%{tde_bindir}/nspluginscan +%{tde_bindir}/nspluginviewer +%{tde_tdelibdir}/kcm_nsplugins.la +%{tde_tdelibdir}/kcm_nsplugins.so +%{tde_tdelibdir}/libnsplugin.la +%{tde_tdelibdir}/libnsplugin.so +%{tde_tdeappdir}/tdehtml_plugins.desktop +%{tde_datadir}/apps/plugin/nspluginpart.rc + +%post -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-konsole +Summary: X terminal emulator for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-konsole +Konsole is an X terminal emulation which provides a command-line interface +(CLI) while using the graphical Trinity Desktop Environment. Konsole helps to +better organize user's desktop by containing multiple sessions in a single +window (a less cluttered desktop). + +Its advanced features include a simple configuration and the ability to use +multiple terminal shells in a single window + +Using Konsole, a user can open: +* Linux console sessions +* Midnight Commander file manager sessions +* Shell sessions +* Root consoles sessions + +%files -n trinity-konsole +%defattr(-,root,root,-) +%{tde_bindir}/konsole +%{tde_tdelibdir}/kcm_konsole.la +%{tde_tdelibdir}/kcm_konsole.so +%{tde_tdelibdir}/kded_kwrited.la +%{tde_tdelibdir}/kded_kwrited.so +%{tde_tdelibdir}/konsole.la +%{tde_tdelibdir}/konsole.so +%{tde_tdelibdir}/libkonsolepart.la +%{tde_tdelibdir}/libkonsolepart.so +%{tde_libdir}/libtdeinit_konsole.la +%{tde_libdir}/libtdeinit_konsole.so +%{tde_tdeappdir}/konsole.desktop +%{tde_tdeappdir}/konsolesu.desktop +%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop +%{tde_datadir}/apps/tdeconf_update/konsole.upd +%{tde_datadir}/apps/tdeconf_update/schemaStrip.pl +%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%{tde_datadir}/apps/konsole/ +%{tde_datadir}/icons/hicolor/*/apps/konsole.* +%{tde_datadir}/mimelnk/application/x-konsole.desktop +%{tde_datadir}/services/kded/kwrited.desktop +%{tde_datadir}/services/konsolepart.desktop +%{tde_datadir}/services/konsole-script.desktop +%{tde_datadir}/services/kwrited.desktop +%{tde_datadir}/servicetypes/terminalemulator.desktop +%{tde_tdedocdir}/HTML/en/konsole/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ +%config %{_sysconfdir}/fonts/conf.d/99-konsole.conf + +%post -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kpager +Summary: Desktop pager for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpager +This package contains TDE's desktop pager, which displays your virtual +desktops iconically in a window, along with icons of any running +applications. It is used to switch between applications or desktops. + +%files -n trinity-kpager +%defattr(-,root,root,-) +%{tde_bindir}/kpager +%{tde_tdeappdir}/kpager.desktop +%{tde_datadir}/applnk/Utilities/kpager.desktop +%{tde_datadir}/icons/hicolor/*/apps/kpager.png +%{tde_tdedocdir}/HTML/en/kpager/ + +%post -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kpersonalizer +Summary: Installation personalizer for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpersonalizer +TDE Personalizer is the application that configures the TDE desktop for you. +It's a very useful wizard that allows you to quickly change the TDE desktop to +suit your own needs. When you run TDE for the first time, KPersonalizer is +automatically started. KPersonalizer can also be called later. + +%files -n trinity-kpersonalizer +%defattr(-,root,root,-) +%{tde_bindir}/kpersonalizer +%{tde_tdeappdir}/kpersonalizer.desktop +%{tde_datadir}/applnk/System/kpersonalizer.desktop +%{tde_datadir}/apps/kpersonalizer/ +%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png + +%post -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-ksmserver +Summary: Session manager for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-ksmserver +This package contains the TDE session manager. It is responsible for +restoring your TDE session on login. It is also needed to properly +start a TDE session. It registers TDE with X display managers, and +provides the 'starttde' command, for starting an X session with TDE +from the console. + +If you are running TDE for the first time for a certain user, +kpersonalizer is used to help with setup. If it is not present, +TDE will start, but many good defaults will not be set. + +%files -n trinity-ksmserver +%defattr(-,root,root,-) +%{tde_bindir}/ksmserver +%{tde_bindir}/%{starttde} +%{tde_bindir}/migratekde3 +%{tde_bindir}/r14-xdg-update +%{tde_bindir}/tdeinit_displayconfig +%{tde_bindir}/tdeinit_phase1 +%{tde_tdelibdir}/ksmserver.la +%{tde_tdelibdir}/ksmserver.so +%{tde_libdir}/libtdeinit_ksmserver.la +%{tde_libdir}/libtdeinit_ksmserver.so +%{tde_datadir}/apps/tdeconf_update/ksmserver.upd +%{tde_datadir}/apps/tdeconf_update/move_session_config.sh +%{tde_datadir}/apps/ksmserver/ + +%post -n trinity-ksmserver +/sbin/ldconfig || : +%if 0%{?mdkversion} || 0%{?mgaversion} +fndSession +%endif + +%postun -n trinity-ksmserver +/sbin/ldconfig || : +%if 0%{?mdkversion} || 0%{?mgaversion} +fndSession +%endif + +########## + +%package -n trinity-ksplash +Summary: The TDE splash screen +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksplash +This package includes the TDE Splash screen, which is seen when +a TDE session is launched. + +%files -n trinity-ksplash +%defattr(-,root,root,-) +%{tde_bindir}/ksplash +%{tde_bindir}/ksplashsimple +%{tde_tdelibdir}/kcm_ksplashthemes.la +%{tde_tdelibdir}/kcm_ksplashthemes.so +%{tde_tdelibdir}/ksplashdefault.la +%{tde_tdelibdir}/ksplashdefault.so +%{tde_tdelibdir}/ksplashunified.la +%{tde_tdelibdir}/ksplashunified.so +%{tde_tdelibdir}/ksplashredmond.la +%{tde_tdelibdir}/ksplashredmond.so +%{tde_tdelibdir}/ksplashstandard.la +%{tde_tdelibdir}/ksplashstandard.so +%{tde_libdir}/libksplashthemes.so.* +%{tde_tdeappdir}/ksplashthememgr.desktop +%{tde_datadir}/apps/ksplash +%{tde_datadir}/services/ksplashdefault.desktop +%{tde_datadir}/services/ksplash.desktop +%{tde_datadir}/services/ksplashunified.desktop +%{tde_datadir}/services/ksplashredmond.desktop +%{tde_datadir}/services/ksplashstandard.desktop +%{tde_datadir}/servicetypes/ksplashplugins.desktop +%{tde_tdedocdir}/HTML/en/ksplashml/ + +%post -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-ksplash-devel +Summary: Development files for ksplash +Group: Development/Libraries/Other +Requires: trinity-ksplash = %{version}-%{release} + +%description -n trinity-ksplash-devel +This package contains the development files for ksplash. + +%files -n trinity-ksplash-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ksplash/ +%{tde_libdir}/libksplashthemes.la +%{tde_libdir}/libksplashthemes.so + +%post -n trinity-ksplash-devel +/sbin/ldconfig || : + +%postun -n trinity-ksplash-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard +Summary: System guard for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} + +%description -n trinity-ksysguard +TDE System Guard allows you to monitor various statistics about your +computer. + +%files -n trinity-ksysguard +%defattr(-,root,root,-) +%{tde_bindir}/kpm +%{tde_bindir}/ksysguard +%{tde_tdelibdir}/sysguard_panelapplet.la +%{tde_tdelibdir}/sysguard_panelapplet.so +%{tde_libdir}/libksgrd.so.* +%{tde_tdeappdir}/ksysguard.desktop +%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/ksysguard/ +%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png +%{tde_datadir}/mimelnk/application/x-ksysguard.desktop +%{tde_tdedocdir}/HTML/en/ksysguard/ + +%post -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard-devel +Summary: Development files for ksysguard +Group: Development/Libraries/Other +Requires: trinity-ksysguard = %{version}-%{release} + +%description -n trinity-ksysguard-devel +This package contains the development files for ksysguard. + +%files -n trinity-ksysguard-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ksgrd/ +%{tde_libdir}/libksgrd.la +%{tde_libdir}/libksgrd.so + +%post -n trinity-ksysguard-devel +/sbin/ldconfig || : + +%postun -n trinity-ksysguard-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguardd +Summary: System guard daemon for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksysguardd +TDE System Guard Daemon is the daemon part of ksysguard. The daemon can +be installed on a remote machine to enable ksysguard on another machine +to monitor it through the daemon running there. + +%files -n trinity-ksysguardd +%defattr(-,root,root,-) +%{tde_bindir}/ksysguardd +%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc + +########## + +%package -n trinity-ktip +Summary: Useful tips for TDE +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ktip +ktip provides many useful tips on using TDE when you log in. + +%files -n trinity-ktip +%defattr(-,root,root,-) +%{tde_bindir}/ktip +%{tde_tdeappdir}/ktip.desktop +%{tde_datadir}/applnk/Toys/ktip.desktop +%{tde_datadir}/apps/tdewizard/ +%{tde_datadir}/autostart/ktip.desktop +%{tde_datadir}/icons/hicolor/*/apps/ktip.* + +%post -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-twin +Summary: The TDE window manager +Group: System/GUI/Other +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-twin +This package contains the default X window manager for TDE. + +%files -n trinity-twin +%defattr(-,root,root,-) +%{tde_bindir}/twin +%{tde_bindir}/twin_killer_helper +%{tde_bindir}/twin_resumer_helper +%{tde_bindir}/twin_rules_dialog +%{tde_libdir}/tdeconf_update_bin/twin_update_default_rules +%{tde_libdir}/tdeconf_update_bin/twin_update_window_settings +%{tde_tdelibdir}/kcm_twin*.la +%{tde_tdelibdir}/kcm_twin*.so +%{tde_tdelibdir}/twin*.la +%{tde_tdelibdir}/twin*.so +%{tde_libdir}/libtdecorations.so.* +%{tde_libdir}/libtdeinit_twin_rules_dialog.la +%{tde_libdir}/libtdeinit_twin_rules_dialog.so +%{tde_libdir}/libtdeinit_twin.la +%{tde_libdir}/libtdeinit_twin.so +%{tde_tdeappdir}/showdesktop.desktop +%{tde_tdeappdir}/twindecoration.desktop +%{tde_tdeappdir}/twinoptions.desktop +%{tde_tdeappdir}/twinrules.desktop +%{tde_datadir}/applnk/.hidden/twinactions.desktop +%{tde_datadir}/applnk/.hidden/twinadvanced.desktop +%{tde_datadir}/applnk/.hidden/twinfocus.desktop +%{tde_datadir}/applnk/.hidden/twinmoving.desktop +%{tde_datadir}/applnk/.hidden/twintranslucency.desktop +%{tde_datadir}/apps/tdeconf_update/twin3_plugin.pl +%{tde_datadir}/apps/tdeconf_update/twin3_plugin.upd +%{tde_datadir}/apps/tdeconf_update/twin_focus1.sh +%{tde_datadir}/apps/tdeconf_update/twin_focus1.upd +%{tde_datadir}/apps/tdeconf_update/twin_focus2.sh +%{tde_datadir}/apps/tdeconf_update/twin_focus2.upd +%{tde_datadir}/apps/tdeconf_update/twin_fsp_workarounds_1.upd +%{tde_datadir}/apps/tdeconf_update/twiniconify.upd +%{tde_datadir}/apps/tdeconf_update/twinsticky.upd +%{tde_datadir}/apps/tdeconf_update/twin.upd +%{tde_datadir}/apps/tdeconf_update/twinupdatewindowsettings.upd +%{tde_datadir}/apps/tdeconf_update/pluginlibFix.pl +%{tde_datadir}/apps/twin/ +%{tde_datadir}/config.kcfg/twin.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/twin.png +%{tde_tdedocdir}/HTML/en/kompmgr/ + +%post -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-twin-devel +Summary: Development files for twin +Group: Development/Libraries/Other +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-twin-devel +This package contains the development files for twin. + +%files -n trinity-twin-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/twin/ +%{tde_tdeincludedir}/kcommondecoration.h +%{tde_tdeincludedir}/kdecoration.h +%{tde_tdeincludedir}/kdecoration_p.h +%{tde_tdeincludedir}/kdecoration_plugins_p.h +%{tde_tdeincludedir}/kdecorationfactory.h +%{tde_tdeincludedir}/KWinInterface.h +%{tde_libdir}/libtdecorations.la +%{tde_libdir}/libtdecorations.so + +%post -n trinity-twin-devel +/sbin/ldconfig || : + +%postun -n trinity-twin-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkonq +Summary: Core libraries for Konqueror +Group: System/GUI/Other + +%description -n trinity-libkonq +These libraries are used by several TDE applications, most notably +Konqueror and the kdesktop package. + +%files -n trinity-libkonq +%defattr(-,root,root,-) +%{tde_tdelibdir}/kded_favicons.la +%{tde_tdelibdir}/kded_favicons.so +%{tde_tdelibdir}/konq_sound.la +%{tde_tdelibdir}/konq_sound.so +%{tde_libdir}/libkonq.so.* +%{tde_datadir}/apps/kbookmark/ +%{tde_datadir}/apps/tdeconf_update/favicons.upd +%{tde_datadir}/apps/tdeconf_update/move_favicons.sh +%dir %{tde_datadir}/apps/konqueror/pics +%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png +%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_topright.png +%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png +%{tde_datadir}/services/kded/favicons.desktop +%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop + +%post -n trinity-libkonq +/sbin/ldconfig || : + +%postun -n trinity-libkonq +/sbin/ldconfig || : + +########## + +%package libtqt3-integration +Summary: Integration library between TQt3 and TDE +Group: System/GUI/Other + +Obsoletes: tdebase-libtqt3-integration < %{version}-%{release} +Provides: tdebase-libtqt3-integration = %{version}-%{release} + +%description libtqt3-integration +These libraries allow you to use TDE dialogs in native TQt3 applications. + +%files libtqt3-integration +%defattr(-,root,root,-) +%dir %{tde_tdelibdir}/plugins/integration +%{tde_tdelibdir}/plugins/integration/libqtkde.la +%{tde_tdelibdir}/plugins/integration/libqtkde.so +%{tde_tdelibdir}/plugins/integration/libqtkde.so.* +%{tde_tdelibdir}/kded_kdeintegration.la +%{tde_tdelibdir}/kded_kdeintegration.so +%{tde_datadir}/services/kded/kdeintegration.desktop + +########## + +%package -n trinity-libkonq-devel +Summary: Development files for Konqueror's core libraries +Group: Development/Libraries/Other +Requires: trinity-libkonq = %{version}-%{release} +%{?xtst_devel:Requires: %{xtst_devel}} + +%description -n trinity-libkonq-devel +This package contains headers and other development files for the core +Konqueror libraries. + +%files -n trinity-libkonq-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/tdefileivi.h +%{tde_tdeincludedir}/kivdirectoryoverlay.h +%{tde_tdeincludedir}/kivfreespaceoverlay.h +%{tde_tdeincludedir}/knewmenu.h +%{tde_tdeincludedir}/konqbookmarkmanager.h +%{tde_tdeincludedir}/konq_*.h +%{tde_tdeincludedir}/libkonq_export.h +%{tde_libdir}/libkonq.la +%{tde_libdir}/libkonq.so + +%post -n trinity-libkonq-devel +/sbin/ldconfig || : + +%postun -n trinity-libkonq-devel +/sbin/ldconfig || : + +########## + +%package tdeio-smb-plugin +Summary: Windows Connection Module for TDE +Group: System/GUI/Other + +%description tdeio-smb-plugin +This package provides the "smb://" protocol, to connect to and from +Windows and Samba shares. + +%files tdeio-smb-plugin +%defattr(-,root,root) +%{tde_tdelibdir}/kcm_samba.la +%{tde_tdelibdir}/kcm_samba.so +%{tde_tdelibdir}/tdeio_smb.la +%{tde_tdelibdir}/tdeio_smb.so +%{tde_datadir}/services/smb.protocol +%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop +%dir %{tde_datadir}/apps/remoteview +%{tde_datadir}/apps/remoteview/smb-network.desktop +%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Applies an optional distro-specific graphical theme +%if "%{?tde_bg}" != "" +# TDM Background +%__sed -i "%{tdm}/kfrontend/gen%{tdm}conf.c" \ + -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' + +# TDE user default background +%__sed -i "kpersonalizer/keyecandypage.cpp" \ + -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' +%__sed -i "%{starttde}" \ + -e 's|$TDEDIR/share/wallpapers/Trinity-lineart.svg.desktop|%{tde_bg}|' \ + -e 's|Wallpaper=Trinity-lineart.svg|Wallpaper=%{tde_bg}|' +%endif + +# TDE default directory and icon in startup script +%__sed -i "%{starttde}" \ + -e "s|/opt/trinity|%{tde_prefix}|g" + +# Sets default TDE menu icon +%if "%{tde_starticon}" != "" +%__sed -i "kicker/libkicker/kickerSettings.kcfg" \ + -e "s|QString(\"kmenu\")|QString(\"%{tde_starticon}\")|" +%endif + +# Xsession script location may vary on some distro +%if 0%{?rhel} || 0%{?fedora} +%__sed -i "%{tdm}/kfrontend/gen%{tdm}conf.c" -e "s|/etc/X11/Xsession|/etc/X11/xinit/Xsession|" +%endif +%if 0%{?suse_version} +%__sed -i "%{tdm}/kfrontend/gen%{tdm}conf.c" -e "s|/etc/X11/Xsession|/etc/X11/xdm/Xsession|" +%endif + +# Reboot command location may vary on some distributions +if [ -x "/usr/bin/reboot" ]; then + POWEROFF="/usr/bin/poweroff" + REBOOT="/usr/bin/reboot" +fi +if [ -n "${REBOOT}" ]; then + %__sed -i \ + "doc/%{tdm}/%{tdm}rc-ref.docbook" \ + "kcontrol/%{tdm}/%{tdm}-shut.cpp" \ + "%{tdm}/config.def" \ + -e "s|/sbin/poweroff|${POWEROFF}|g" \ + -e "s|/sbin/reboot|${REBOOT}|g" +fi + +# Update icons for some control center modules +%__sed -i "kcontrol/componentchooser/componentchooser.desktop" -e "s|^Icon=.*|Icon=kcmcomponentchooser|" +%__sed -i "kcontrol/taskbar/kcmtaskbar.desktop" -e "s|^Icon=.*|Icon=kcmtaskbar|" +%__sed -i "kcontrol/nics/nic.desktop" -e "s|^Icon=.*|Icon=kcmnic|" +%__sed -i "kcontrol/input/mouse.desktop" -e "s|^Icon=.*|Icon=kcmmouse|" +%__sed -i "kcontrol/smserver/kcmsmserver.desktop" -e "s|^Icon=.*|Icon=kcmsmserver|" +%__sed -i "kcontrol/kded/kcmkded.desktop" -e "s|^Icon=.*|Icon=kcmkded|" +%__sed -i "kcontrol/konq/desktop.desktop" -e "s|^Icon=.*|Icon=kcmdesktop|" +%__sed -i "kcontrol/konq/desktopbehavior.desktop" -e "s|^Icon=.*|Icon=kcmdesktopbehavior|" +%__sed -i "kcontrol/privacy/privacy.desktop" -e "s|^Icon=.*|Icon=kcmprivacy|" +%__sed -i "kcontrol/crypto/crypto.desktop" -e "s|^Icon=.*|Icon=kcmcrypto|" +%__sed -i "kcontrol/tdeio/netpref.desktop" -e "s|^Icon=.*|Icon=kcmnetpref|" +%__sed -i "kcontrol/konqhtml/tdehtml_filter.desktop" -e "s|^Icon=.*|Icon=kcmkhtml_filter|" +%__sed -i "kcontrol/joystick/joystick.desktop" -e "s|^Icon=.*|Icon=kcmjoystick|" +%__sed -i "kcontrol/colors/colors.desktop" -e "s|^Icon=.*|Icon=kcmcolors|" +%__sed -i "kcontrol/performance/kcmperformance.desktop" -e "s|^Icon=.*|Icon=kcmperformance|" +%__sed -i "kcontrol/launch/kcmlaunch.desktop" -e "s|^Icon=.*|Icon=kcmlaunch|" +%__sed -i "kcontrol/dnssd/kcm_tdednssd.desktop" -e "s|^Icon=.*|Icon=kcmkdnssd|" +%__sed -i "kcontrol/spellchecking/spellchecking.desktop" -e "s|^Icon=.*|Icon=kcmspellchecking|" +%__sed -i "konqueror/sidebar/trees/history_module/kcmhistory.desktop" -e "s|^Icon=.*|Icon=kcmhistory|" +%__sed -i "tdeioslave/cgi/kcmcgi/kcmcgi.desktop" -e "s|^Icon=.*|Icon=kcmcgi|" +%__sed -i "tdeioslave/media/tdecmodule/media.desktop" -e "s|^Icon=.*|Icon=kcmmedia|" + +# RHEL 5 does not support 'compton' +%if 0%{?with_compton} == 0 +%__sed -i "twin/CMakeLists.txt" -e "/compton-tde/ s/^/#/" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export TDEDIR="%{tde_prefix}" + +# Samba 4.0 includes (Fedora 18) +if [ -d "/usr/include/samba-4.0" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0" +fi + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DCONFIG_INSTALL_DIR="%{_sysconfdir}/trinity" \ + -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \ + -DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_SASL=ON \ + -DWITH_LDAP=ON \ + -DWITH_SAMBA=ON \ + %{?!with_exr:-DWITH_OPENEXR=OFF} \ + -DWITH_XCOMPOSITE=ON \ + -DWITH_XCURSOR=ON \ + -DWITH_XFIXES=ON \ + %{?!with_xrandr:-DWITH_XRANDR=OFF} \ + -DWITH_XRENDER=ON \ + -DWITH_XDAMAGE=ON \ + -DWITH_XEXT=ON \ + %{?!with_xtest:-DWITH_XTEST=OFF} \ + -DWITH_OPENGL=ON \ + %{?!with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ + %{?!with_libart:-DWITH_LIBART=OFF} \ + -DWITH_LIBUSB=ON \ + -DWITH_LIBRAW1394=ON \ + -DWITH_SUDO_TDESU_BACKEND=OFF \ + -DWITH_PAM=ON \ + -DWITH_SHADOW=OFF \ + -DWITH_XDMCP=ON \ + -DWITH_XINERAMA=ON \ + -DWITH_ARTS=ON \ + -DWITH_I8K=ON \ + -DWITH_SENSORS=ON \ + %{?with_hal:-DWITH_HAL=ON} \ + %{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \ + -DWITH_ELFICON=OFF \ + -DWITH_UPOWER=ON \ + \ + -DBUILD_ALL=ON \ +%if 0%{?suse_version} + -DKCHECKPASS_PAM_SERVICE="xdm" \ + -DTDM_PAM_SERVICE="xdm" \ + -DTDESCREENSAVER_PAM_SERVICE="xdm" \ +%else + -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ + -DTDM_PAM_SERVICE="tdm-trinity" \ + -DTDESCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \ +%endif + %{!?with_kbdledsync:-DBUILD_TDEKBDLEDSYNC=OFF} \ + %{!?with_tsak:-DBUILD_TSAK=OFF} \ +%if 0%{?fedora} >= 22 + -DHTDIG_SEARCH_BINARY="/usr/bin/htdig" \ +%endif + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +# Removes obsolete Beagle-related files +%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_index.pl +%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_search.pl + +# Adds a GDM/KDM/XDM session called 'TDE' + +# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__install -D -m 644 \ + "%{?buildroot}%{tdm_datadir}/sessions/tde.desktop" \ + "%{?buildroot}%{_datadir}/xsessions/tde.desktop" +%endif + +# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora +# Generated files for TDM/KDM4 go to '/usr/share/apps/kdm/sessions' +%if 0%{?mgaversion} || 0%{?mdkversion} +%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d +cat <<EOF >"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE" +NAME=TDE +ICON=kde-wmsession.xpm +DESC=The Trinity Desktop Environment +EXEC=%{tde_bindir}/%{starttde} +SCRIPT: +exec %{tde_bindir}/%{starttde} +EOF + +%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d +cat <<EOF >"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf" +NAME=TDM +DESCRIPTION=TDM (Trinity Display Manager) +PACKAGE=trinity-tdm +EXEC=%{tde_bindir}/%{tdm} +%if 0%{?pclinuxos} +FNDSESSION_EXEC="/usr/sbin/chksession -k" +%else +FNDSESSION_EXEC="/usr/sbin/chksession --generate=/usr/share/xsessions" +%endif +EOF +%endif + +# PAM configuration files (except openSUSE) +%if 0%{?suse_version} == 0 +%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity" +%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity-np" +%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" +%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/tdescreensaver-trinity" +%endif + +# TDM configuration +%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" \ +%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1210 || 0%{?rhel} >= 7 + -e "s/^#*MinShowUID=.*/MinShowUID=1000/" +%else + -e "s/^#*MinShowUID=.*/MinShowUID=500/" +%endif + +# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version) +if [ -r "/usr/share/usb.ids" ]; then + %__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" + %__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" +elif [ -r "/usr/share/hwdata/usb.ids" ]; then + %__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" + %__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" +fi + +# Makes 'media_safelyremove.desktop' an alternative. +# This allows the use of 'tdeio-umountwrapper' package. +%__mv -f "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" +%__mkdir_p "%{buildroot}%{_sysconfdir}/alternatives" +%__ln_s "media_safelyremove.desktop_tdebase" "%{buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop" + +# SUSE >= 12 : creates DM config file, used by '/etc/init.d/xdm' +# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager' +%if 0%{?suse_version} >= 1210 +%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" +%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g" +%endif + +# Fedora 18 / RHEL 7: no more SYSV init script, we have to use systemd to launch TDM. +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 +%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service" +%__sed -i "s|kdm|tdm|g" "%{?buildroot}/usr/lib/systemd/system/tdm.service" +%endif + +# Symlink TDM configuration +%__mkdir_p "%{?buildroot}%{tde_datadir}/config" +%__ln_s "%{_sysconfdir}/trinity/%{tdm}" "%{?buildroot}%{tde_datadir}/config/%{tdm}" + +# SELINUX policy for RHEL / Fedora +%if 0%{?with_selinux_policy} +%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/%{tdm}/tdm.pp" +%endif + +# Mageia icon for TDE menu +%if 0%{?mgaversion} >= 3 +%__install -D -m 644 "%{SOURCE9}" "%{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg" +%endif + +# openSUSE 11.4: tdm startup script +%if 0%{?suse_version} == 1140 +%__install -D -m 755 "%{SOURCE7}" "%{?buildroot}%{?_sysconfdir}/init.d/xdm.tde" +%endif + +# Console font to fontconfig +%__mkdir_p "%{buildroot}%{_sysconfdir}/fonts/conf.d" +cat <<EOF >"%{buildroot}%{_sysconfdir}/fonts/conf.d/99-konsole.conf" +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <!-- Font directory list --> + <dir>%{tde_datadir}/apps/konsole/fonts</dir> +</fontconfig> +EOF + +# logrotate configuration +mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d +cat << EOF > "%{buildroot}%{_sysconfdir}/logrotate.d/trinity-tdm" +/var/log/tdm.log { + weekly + notifempty + missingok + nocompress +} +EOF + +# Move faces icon to XDG directory '/usr/share/faces' +if [ ! -d "%{?buildroot}%{_datadir}/faces" ]; then + %__mkdir_p "%{?buildroot}%{_datadir}/faces" + %__mv -f "%{?buildroot}%{tdm_datadir}/pics/users/"* "%{?buildroot}%{_datadir}/faces" + rmdir "%{?buildroot}%{tdm_datadir}/pics/users" +fi +%__ln_s "%{_datadir}/faces" "%{?buildroot}%{tdm_datadir}/pics/users" + +# Adds missing icons in 'hicolor' theme +# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. +%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64,128x128}"/apps/" +pushd "%{?buildroot}%{tde_datadir}/icons" +for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/mimetypes/application-vnd.tde.misc.png hicolor/"$i"x"$i"/apps/kcmcomponentchooser.png ;done +for i in {16,22,32,48,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/launch.png hicolor/"$i"x"$i"/apps/kcmperformance.png ;done +for i in 16; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/services.png hicolor/"$i"x"$i"/apps/kcmkded.png ;done +for i in {16,22,32,48}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/system-log-out.png hicolor/"$i"x"$i"/apps/kcmsmserver.png ;done +for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/tools-check-spelling.png hicolor/"$i"x"$i"/apps/kcmspellchecking.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/desktop.png hicolor/"$i"x"$i"/apps/kcmdesktopbehavior.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/desktop.png hicolor/"$i"x"$i"/apps/kcmdesktop.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kmenu.png hicolor/"$i"x"$i"/apps/kcmtaskbar.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/mimetypes/application-x-kcsrc.png hicolor/"$i"x"$i"/apps/kcmcolors.png ;done +for i in {16,22,32,48,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/launch.png hicolor/"$i"x"$i"/apps/kcmlaunch.png ;done +for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/filter.png hicolor/"$i"x"$i"/apps/kcmkhtml_filter.png ;done +for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/system-run.png hicolor/"$i"x"$i"/apps/kcmcgi.png ;done +for i in {16,22}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/history.png hicolor/"$i"x"$i"/apps/kcmhistory.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/network.png hicolor/"$i"x"$i"/apps/kcmnetpref.png ;done +for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/blockdevice.png hicolor/"$i"x"$i"/apps/kcmkdnssd.png ;done +for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/input-joystick.png hicolor/"$i"x"$i"/apps/kcmjoystick.png ;done +for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/input-mouse.png hicolor/"$i"x"$i"/apps/kcmmouse.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/computer.png hicolor/"$i"x"$i"/apps/kcmmedia.png ;done +for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/encrypted.png hicolor/"$i"x"$i"/apps/kcmcrypto.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/trashcan_empty.png hicolor/"$i"x"$i"/apps/kcmprivacy.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/network.png hicolor/"$i"x"$i"/apps/kcmnic.png ;done +popd + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Help.desktop Documentation Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Home.desktop System FileManager core +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kate.desktop TextEditor +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/KControl.desktop X-SuSE-core +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Kfind.desktop System Filesystem core +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kjobviewer.desktop PrintingUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/klipper.desktop System TrayIcon +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kmenuedit.desktop Core-Configuration +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/knetattach.desktop System Network +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konqbrowser.desktop WebBrowser +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konquerorsu.desktop System FileManager +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsole.desktop TerminalEmulator +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsolesu.desktop TerminalEmulator +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpager.desktop Utility DesktopUtility +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpersonalizer.desktop DesktopUtility +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/ksysguard.desktop System Monitor +%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/ktip.desktop System Utility +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kwrite.desktop TextEditor +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeprintfax.desktop PrintingUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tdefontview.desktop Graphics Viewer +%{?with_tderandrtray:%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tderandrtray.desktop Applet X-TDE-settings-desktop} +%suse_update_desktop_file %{?buildroot}%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop System FileManager +%endif + +# Icons from TDE Control Center should only be displayed in TDE +for i in %{?buildroot}%{tde_tdeappdir}/*.desktop ; do + if grep -q "^Categories=.*X-TDE-settings" "${i}"; then + if ! grep -q "OnlyShowIn=TDE" "${i}" ; then + echo "OnlyShowIn=TDE;" >>"${i}" + fi + fi +done + +# Other apps that should stay in TDE +for i in ksysguard tde-kcontrol tdefontview showdesktop; do + echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/${i}.desktop" +done + +# Remove setuid bit on some binaries. +%{?with_tsak:chmod 0511 "%{?buildroot}%{tde_bindir}/%{tdm}tsak"} +chmod 0755 "%{?buildroot}%{tde_bindir}/kcheckpass" +%{?with_kbdledsync:chmod 0755 "%{?buildroot}%{tde_bindir}/tdekbdledsync"} + +# Fix permissions on shell scripts +chmod 0755 "%{?buildroot}%{tde_datadir}/apps/tdeconf_update/move_session_config.sh" +chmod 0755 "%{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter/glossary/checkxrefs" + +# Removes tderandrtray documentation, if not built. +%if 0%{?with_tderandrtray} == 0 +%__rm -rf "%{?buildroot}%{tde_tdedocdir}/HTML/en/tderandrtray" +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{?buildroot} + + +%if 0%{?suse_version} +# Check permissions on setuid files (openSUSE specific) +%verifyscript +%{?with_tsak:%verify_permissions -e %{tde_bindir}/%{tdm}tsak} +%verify_permissions -e %{tde_bindir}/kcheckpass +%{?with_kbdledsync:%verify_permissions -e %{tde_bindir}/tdekbdledsync} +%endif + + +%changelog +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +- Initial release for TDE 14.0.0 diff --git a/redhat/main/tdebase/tdm.fc19.te b/redhat/main/tdebase/tdm.fc19.te new file mode 100644 index 000000000..b42592f11 --- /dev/null +++ b/redhat/main/tdebase/tdm.fc19.te @@ -0,0 +1,11 @@ + +module tdm.fc18 1.0; + +require { + type fprintd_t; + type initrc_t; + class dbus send_msg; +} + +#============= fprintd_t ============== +allow fprintd_t initrc_t:dbus send_msg; diff --git a/redhat/main/tdebase/tdm.fc21.te b/redhat/main/tdebase/tdm.fc21.te new file mode 100644 index 000000000..45d8a9a2c --- /dev/null +++ b/redhat/main/tdebase/tdm.fc21.te @@ -0,0 +1,11 @@ + +module tdm.fc20 1.0; + +require { + type fprintd_t; + type init_t; + class dbus send_msg; +} + +#============= fprintd_t ============== +allow fprintd_t init_t:dbus send_msg; diff --git a/redhat/main/tdebase/tdm.fc22.pp b/redhat/main/tdebase/tdm.fc22.pp Binary files differnew file mode 100644 index 000000000..d0c0d4be8 --- /dev/null +++ b/redhat/main/tdebase/tdm.fc22.pp diff --git a/redhat/main/tdebase/tdm.fc22.te b/redhat/main/tdebase/tdm.fc22.te new file mode 100644 index 000000000..45d8a9a2c --- /dev/null +++ b/redhat/main/tdebase/tdm.fc22.te @@ -0,0 +1,11 @@ + +module tdm.fc20 1.0; + +require { + type fprintd_t; + type init_t; + class dbus send_msg; +} + +#============= fprintd_t ============== +allow fprintd_t init_t:dbus send_msg; diff --git a/redhat/main/tdebase/tdm.service.fc22 b/redhat/main/tdebase/tdm.service.fc22 new file mode 100644 index 000000000..4c6136d94 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.fc22 @@ -0,0 +1,12 @@ +[Unit] +Description=The Trinity login manager +Conflicts=getty@tty1.service +After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service + +[Service] +ExecStart=/opt/trinity/bin/kdm +Restart=always +IgnoreSIGPIPE=no + +[Install] +Alias=display-manager.service diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec index 9b2c9af11..5b02d362b 100644 --- a/redhat/main/tdebindings/tdebindings-14.0.0.spec +++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdebindings (version R14.0.0) +# spec file for package tdebindings (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdebindings %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin @@ -119,7 +121,7 @@ BuildRequires: mozilla-xulrunner20-devel BuildRequires: openssl-devel # GTK1 support -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 5 %define with_gtk1 1 BuildRequires: glib-devel BuildRequires: gtk+-devel @@ -211,10 +213,10 @@ BuildRequires: java-devel >= 1.4.2 %if 0%{?suse_version} >= 1320 BuildRequires: java-1_8_0-openjdk-devel %endif -%if 0%{?fedora} >= 21 +%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5 BuildRequires: java-1.8.0-openjdk-devel %endif -%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} >= 3 || 0%{?rhel} >= 7 +%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} == 3 || 0%{?mgaversion} == 4 || 0%{?rhel} >= 7 BuildRequires: java-1.7.0-openjdk-devel %endif %if 0%{?rhel} == 5 || 0%{?rhel} == 6 diff --git a/redhat/main/tdeedu/tdeedu-14.0.0.spec b/redhat/main/tdeedu/tdeedu-14.0.0.spec index e0d55b1d4..c33058ca0 100644 --- a/redhat/main/tdeedu/tdeedu-14.0.0.spec +++ b/redhat/main/tdeedu/tdeedu-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdeedu (version R14.0.0) +# spec file for package tdeedu (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdeedu %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdegames/tdegames-14.0.0.spec b/redhat/main/tdegames/tdegames-14.0.0.spec index 48fd77970..2b6f5fe05 100644 --- a/redhat/main/tdegames/tdegames-14.0.0.spec +++ b/redhat/main/tdegames/tdegames-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdegames (version R14.0.0) +# spec file for package tdegames (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdegames %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec index f22cec9c0..705746f7f 100644 --- a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec +++ b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdegraphics (version R14.0.0) +# spec file for package tdegraphics (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -17,7 +17,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdegraphics %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdelibs/tdelibs-14.0.0.spec b/redhat/main/tdelibs/tdelibs-14.0.0.spec index 82f9a2667..60f270eee 100644 --- a/redhat/main/tdelibs/tdelibs-14.0.0.spec +++ b/redhat/main/tdelibs/tdelibs-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdelibs (version R14.0.0) +# spec file for package tdelibs (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdelibs %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin @@ -161,7 +163,10 @@ BuildRequires: bzip2-devel %endif # UTEMPTER support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}utempter-devel +%endif +%if 0%{?rhel} >=5 || 0%{?fedora} BuildRequires: libutempter-devel %endif %if 0%{?rhel} == 4 @@ -265,7 +270,7 @@ Requires: ca-certificates %endif %endif %if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{pclinuxos} +%if 0%{?pclinuxos} Requires: rootcerts %define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt %else diff --git a/redhat/main/tdelibs/tdelibs-14.0.1.spec b/redhat/main/tdelibs/tdelibs-14.0.1.spec new file mode 100644 index 000000000..b3311fcda --- /dev/null +++ b/redhat/main/tdelibs/tdelibs-14.0.1.spec @@ -0,0 +1,700 @@ +# +# spec file for package tdelibs (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.1 +%endif +%define tde_pkg tdelibs +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + + +Name: trinity-%{tde_pkg} +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Summary: TDE Libraries +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +Obsoletes: tdelibs < %{version}-%{release} +Provides: tdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs < %{version}-%{release} +Provides: trinity-kdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release} +Provides: trinity-kdelibs-apidocs = %{version}-%{release} + +# for set_permissions macro +%if 0%{?suse_version} +PreReq: permissions +%endif + +# Trinity dependencies +BuildRequires: libtqt4-devel = %{tde_epoch}:4.2.0 +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: libdbus-tqt-1-devel >= %{tde_epoch}:0.63 +BuildRequires: libdbus-1-tqt-devel >= %{tde_epoch}:0.9 +BuildRequires: trinity-filesystem >= %{tde_version} + +Requires: trinity-arts >= %{tde_epoch}:1.5.10 +Requires: trinity-filesystem >= %{tde_version} +Requires: fileshareset >= 2.0 + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# KRB5 support +BuildRequires: krb5-devel + +# XSLT support +BuildRequires: libxslt-devel + +# ALSA support +BuildRequires: alsa-lib-devel + +# IDN support +BuildRequires: libidn-devel + +# CUPS support +BuildRequires: cups-devel + +# TIFF support +BuildRequires: libtiff-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# GLIB2 support +BuildRequires: glib2-devel + +# LUA support are not ready yet +#BuildRequires: lua-devel + +# LIBART_LGPL support +BuildRequires: libart_lgpl-devel + +# ASPELL support +BuildRequires: aspell +BuildRequires: aspell-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PCRE support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_pcre 1 +BuildRequires: pcre-devel +%endif + +# INOTIFY support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_inotify 1 +%endif + +# BZIP2 support +%if 0%{?suse_version} +BuildRequires: libbz2-devel +%else +BuildRequires: bzip2-devel +%endif + +# UTEMPTER support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}utempter-devel +%endif +%if 0%{?rhel} >=5 || 0%{?fedora} +BuildRequires: libutempter-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: utempter +%endif +%if 0%{?suse_version} +BuildRequires: utempter-devel +%endif + +# HSPELL support +%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_hspell 1 +BuildRequires: hspell-devel +%endif + +# JASPER support +%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_jasper 1 +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jasper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: jasper-devel +%endif +%endif + +# AVAHI support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_avahi 1 +BuildRequires: libavahi-tqt-devel >= 1:0.6.30 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +Requires: %{_lib}avahi-client3 +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: avahi-devel +Requires: avahi +%endif +%endif + +# OPENEXR support +%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_openexr 1 +BuildRequires: OpenEXR-devel +%endif + +# LIBTOOL +BuildRequires: libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +# X11 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: x11-proto-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: xorg-x11-proto-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif + +# ICEAUTH +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 +Requires: iceauth +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +Requires: xorg-x11-server-utils +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} +Requires: xorg-x11 +%endif + +# XZ support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define with_lzma 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}lzma-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: xz-devel +%endif +%endif + +# Certificates support +%if 0%{?fedora} || 0%{?rhel} >= 6 +BuildRequires: ca-certificates +Requires: ca-certificates +%if 0%{?fedora} >= 20 || 0%{?rhel} >= 6 +%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt +%endif +%if 0%{?fedora} == 18 || 0%{?fedora} == 19 +%define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt +%endif +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +Requires: rootcerts +%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt +%else +%define cacert %{_sysconfdir}/ssl/certs/ca-bundle.crt +Requires: openssl +%endif +%endif +%if 0%{?rhel} == 5 +%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt +Requires: openssl +%endif +%if 0%{?suse_version} +%define cacert %{_sysconfdir}/ssl/ca-bundle.pem +BuildRequires: ca-certificates +Requires: ca-certificates +%endif +%if "%{cacert}" != "" +Requires: %{cacert} +%endif + +# XRANDR support +# On RHEL5, xrandr library is too old. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_xrandr 1 +%endif + +# XCOMPOSITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +%define xcomposite_devel %{_lib}xcomposite-devel +%else +%define xcomposite_devel %{_lib}xcomposite%{?mgaversion:1}-devel +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +%define xcomposite_devel libXcomposite-devel +%endif +%{?xcomposite_devel:BuildRequires: %{xcomposite_devel}} + +# XT support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xt_devel libXt-devel +%endif +%{?xt_devel:BuildRequires: %{xt_devel}} + +### New features in TDE R14 + +# LIBMAGIC support +%if 0%{?rhel} == 5 +BuildRequires: file +%else +BuildRequires: file-devel +%endif + +# NETWORKMANAGER support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} +%define with_nm 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}nm-util-devel +%endif +%if 0%{?rhel} >= 6 || 0%{?fedora} +BuildRequires: NetworkManager-glib-devel +%endif +%if 0%{?suse_version} +BuildRequires: NetworkManager-devel +%endif +%endif + +# UDEV support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define with_tdehwlib 1 +BuildRequires: libudev-devel +%endif + +# HAL support +%if 0%{?rhel} == 5 +%define with_hal 1 +%endif + +# UDISKS support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} == 6 +%if 0%{?pclinuxos} == 0 +%define with_udisks 1 +BuildRequires: udisks-devel +Requires: udisks +%endif +%endif + +# PMOUNT support +#Requires: pmount + +# UDISKS2 support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 7 +%define with_udisks2 1 +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 +BuildRequires: libudisks2-devel +%else +BuildRequires: udisks2-devel +%endif +Requires: udisks2 +%endif + +# DEVICEKIT POWER support +%if 0%{?rhel} == 6 +%define with_devkitpower 1 +Requires: DeviceKit-power +%endif + +# UPOWER support +%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7 +%define with_upower 1 +Requires: upower +%endif + +# SYSTEMD support +%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7 +%define with_systemd 1 +%endif + + +%description +Libraries for the Trinity Desktop Environment: +TDE Libraries included: tdecore (TDE core library), tdeui (user interface), +kfm (file manager), tdehtmlw (HTML widget), tdeio (Input/Output, networking), +kspell (spelling checker), jscript (javascript), kab (addressbook), +kimgio (image manipulation). + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO +%{tde_bindir}/artsmessage +%{tde_bindir}/cupsdconf +%{tde_bindir}/cupsdoprint +%{tde_bindir}/dcop +%{tde_bindir}/dcopclient +%{tde_bindir}/dcopfind +%{tde_bindir}/dcopobject +%{tde_bindir}/dcopquit +%{tde_bindir}/dcopref +%{tde_bindir}/dcopserver +%{tde_bindir}/dcopserver_shutdown +%{tde_bindir}/dcopstart +%{tde_bindir}/imagetops +%{tde_bindir}/tdeab2tdeabc +%{tde_bindir}/kaddprinterwizard +%{tde_bindir}/tdebuildsycoca +%{tde_bindir}/tdecmshell +%{tde_bindir}/tdeconf_update +%{tde_bindir}/kcookiejar +%{tde_bindir}/tde-config +%{tde_bindir}/tde-menu +%{tde_bindir}/kded +%{tde_bindir}/tdeinit +%{tde_bindir}/tdeinit_shutdown +%{tde_bindir}/tdeinit_wrapper +%{tde_bindir}/tdesu_stub +%{tde_bindir}/kdetcompmgr +%{tde_bindir}/kdontchangethehostname +%{tde_bindir}/tdedostartupconfig +%{tde_bindir}/tdefile +%{tde_bindir}/kfmexec +%{tde_bindir}/tdehotnewstuff +%{tde_bindir}/kinstalltheme +%{tde_bindir}/tdeio_http_cache_cleaner +%{tde_bindir}/tdeio_uiserver +%{tde_bindir}/tdeioexec +%{tde_bindir}/tdeioslave +%{tde_bindir}/tdeiso_info +%{tde_bindir}/tdelauncher +%if 0%{?with_elficon} +%{tde_bindir}/tdelfeditor +%endif +%{tde_bindir}/tdemailservice +%{tde_bindir}/tdemimelist +%{tde_bindir}/tdesendbugmail +%{tde_bindir}/kshell +%{tde_bindir}/tdestartupconfig +%{tde_bindir}/tdetelnetservice +%{tde_bindir}/tdetradertest +%{tde_bindir}/kwrapper +%{tde_bindir}/lnusertemp +%{tde_bindir}/make_driver_db_cups +%{tde_bindir}/make_driver_db_lpr +%{tde_bindir}/meinproc +%{tde_bindir}/networkstatustestservice +%{tde_bindir}/start_tdeinit_wrapper +%{tde_bindir}/checkXML +%{tde_bindir}/ksvgtopng +%{tde_bindir}/tdeunittestmodrunner +%{tde_bindir}/preparetips +%{tde_tdelibdir}/* +%{tde_libdir}/lib*.so.* +%{tde_libdir}/libtdeinit_*.la +%{tde_libdir}/libtdeinit_*.so +%{tde_datadir}/applications/tde/*.desktop +%{tde_datadir}/autostart/tdeab2tdeabc.desktop +%{tde_datadir}/applnk/tdeio_iso.desktop +%{tde_datadir}/apps/* +%exclude %{tde_datadir}/apps/ksgmltools2/ +%{tde_datadir}/config/* +%{tde_datadir}/emoticons/* +%{tde_datadir}/icons/crystalsvg/ +%{tde_datadir}/icons/default.tde +%{tde_datadir}/icons/hicolor/index.theme +%{tde_datadir}/locale/all_languages +%{tde_datadir}/mimelnk/*/*.desktop +%{tde_datadir}/services/* +%{tde_datadir}/servicetypes/* +%{tde_tdedocdir}/HTML/en/common/* +%{tde_tdedocdir}/HTML/en/tdespell/ + +# Some setuid binaries need special care +%if 0%{?suse_version} +%verify(not mode) %{tde_bindir}/kgrantpty +%verify(not mode) %{tde_bindir}/kpac_dhcp_helper +%verify(not mode) %{tde_bindir}/start_tdeinit +%else +%attr(4755,root,root) %{tde_bindir}/kgrantpty +%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper +%attr(4711,root,root) %{tde_bindir}/start_tdeinit +%endif + +%config %{_sysconfdir}/xdg/menus/tde-applications.menu +%config %{_sysconfdir}/xdg/menus/tde-applications.menu-no-kde + +# DBUS stuff, related to TDE hwlib +%if 0%{?with_tdehwlib} +%{tde_bindir}/tde_dbus_hardwarecontrol +%config %{_sysconfdir}/dbus-1/system.d/org.trinitydesktop.hardwarecontrol.conf +%{_datadir}/dbus-1/system-services/org.trinitydesktop.hardwarecontrol.service +%endif + +%pre +# TDE Bug #1074 +if [ -d "%{tde_datadir}/locale/all_languages" ]; then + rm -rf "%{tde_datadir}/locale/all_languages" +fi + +%post +/sbin/ldconfig || : + +%if 0%{?suse_version} +# Sets permissions on setuid files (openSUSE specific) +%set_permissions %{tde_bindir}/kgrantpty +%set_permissions %{tde_bindir}/kpac_dhcp_helper +%set_permissions %{tde_bindir}/start_tdeinit +%endif + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Summary: TDE Libraries (Development files) +Group: Development/Libraries/X11 +Requires: %{name} = %{version}-%{release} + +Obsoletes: tdelibs-devel < %{version}-%{release} +Provides: tdelibs-devel = %{version}-%{release} +Obsoletes: trinity-kdelibs-devel < %{version}-%{release} +Provides: trinity-kdelibs-devel = %{version}-%{release} + +Requires: libtqt3-mt-devel >= 3.5.0 +Requires: libtqt4-devel = %{tde_epoch}:4.2.0 +Requires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +Requires: libart_lgpl-devel +%{?xcomposite_devel:Requires: %{xcomposite_devel}} +%{?xt_devel:Requires: %{xt_devel}} + +%description devel +This package includes the header files you will need to compile +applications for TDE. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl* +%{tde_bindir}/*config_compiler +%{tde_bindir}/maketdewidgets +%{tde_datadir}/apps/ksgmltools2/ +%{tde_tdeincludedir}/* +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{tde_libdir}/*.a +%exclude %{tde_libdir}/libtdeinit_*.la +%exclude %{tde_libdir}/libtdeinit_*.so +%{tde_datadir}/cmake/tdelibs.cmake +%{tde_libdir}/pkgconfig/tdelibs.pc + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if [ -d "/usr/X11R6" ]; then + export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include" +fi + +export TDEDIR="%{tde_prefix}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DDOC_INSTALL_DIR="%{tde_docdir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_ARTS=ON \ + -DWITH_ALSA=ON \ + -DWITH_LIBART=ON \ + -DWITH_LIBIDN=ON \ + -DWITH_SSL=ON \ + -DWITH_CUPS=ON \ + -DWITH_LUA=OFF \ + -DWITH_TIFF=ON \ + %{?!with_jasper:-DWITH_JASPER=OFF} \ + %{?!with_openexr:-DWITH_OPENEXR=OFF} \ + -DWITH_UTEMPTER=ON \ + %{?!with_elficon:-DWITH_ELFICON=OFF} \ + %{?!with_avahi:-DWITH_AVAHI=OFF} \ + %{?!with_pcre:-DWITH_PCRE=OFF} \ + %{?!with_inotify:-DWITH_INOTIFY=OFF} \ + %{?!with_gamin:-DWITH_GAMIN=OFF} \ + %{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \ + %{?!with_tdehwlib:-DWITH_TDEHWLIB_DAEMONS=OFF} \ + %{?with_hal:-DWITH_HAL=ON} \ + %{?with_devkitpower:-DWITH_DEVKITPOWER=ON} \ + %{?with_systemd:-DWITH_LOGINDPOWER=ON} \ + %{?!with_upower:-DWITH_UPOWER=OFF} \ + %{?!with_udisks:-DWITH_UDISKS=OFF} \ + %{?!with_udisks2:-DWITH_UDISKS2=OFF} \ + -DWITH_CONSOLEKIT=ON \ + %{?with_nm:-DWITH_NETWORK_MANAGER_BACKEND=ON} \ + -DWITH_SUDO_TDESU_BACKEND=OFF \ + -DWITH_OLD_XDG_STD=OFF \ + %{?!with_lzma:-DWITH_LZMA=OFF} \ + -DWITH_LIBBFD=OFF \ + %{?!with_xrandr:-DWITH_XRANDR=OFF} \ + -DWITH_XCOMPOSITE=ON \ + -DWITH_KDE4_MENU_SUFFIX=OFF \ + \ + -DWITH_ASPELL=ON \ + %{?!with_hspell:-DWITH_HSPELL=OFF} \ + -DWITH_TDEICONLOADER_DEBUG=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf "%{?buildroot}" +%__make install DESTDIR="%{?buildroot}" -C build + +# Use system-wide CA certificates +%if "%{?cacert}" != "" +%__rm -f "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt" +%__ln_s "%{cacert}" "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt" +%endif + +# Symlinks duplicate files (mostly under 'ksgmltools2') +%fdupes -s "%{?buildroot}" + +# Fix 'tderesources.desktop' (openSUSE only) +%if 0%{?suse_version} +%suse_update_desktop_file -r tderesources Qt X-TDE-settings-desktop +%endif + +# Remove setuid bit on some binaries. +chmod 0755 "%{?buildroot}%{tde_bindir}/kgrantpty" +chmod 0755 "%{?buildroot}%{tde_bindir}/kpac_dhcp_helper" +chmod 0755 "%{?buildroot}%{tde_bindir}/start_tdeinit" + +# fileshareset 2.0 is provided separately. +# Remove integrated fileshareset 1.0 . +%__rm -f "%{?buildroot}%{tde_bindir}/filesharelist" +%__rm -f "%{?buildroot}%{tde_bindir}/fileshareset" + + +%clean +%__rm -rf "%{?buildroot}" + +%if 0%{?suse_version} +# Check permissions on setuid files (openSUSE specific) +%verifyscript +%verify_permissions -e %{tde_bindir}/kgrantpty +%verify_permissions -e %{tde_bindir}/kpac_dhcp_helper +%verify_permissions -e %{tde_bindir}/start_tdeinit +%endif + + +%changelog +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +- Initial release for TDE 14.0.0 diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec index 2ad993de6..b364073c5 100644 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec +++ b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdemultimedia (version R14.0.0) +# spec file for package tdemultimedia (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdemultimedia %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.1.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.1.spec new file mode 100644 index 000000000..c4ddf3e06 --- /dev/null +++ b/redhat/main/tdemultimedia/tdemultimedia-14.0.1.spec @@ -0,0 +1,1337 @@ +# +# spec file for package tdemultimedia (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.1 +%endif +%define tde_pkg tdemultimedia +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + + +Name: trinity-%{tde_pkg} +Summary: Multimedia applications for the Trinity Desktop Environment (TDE) +Version: %{tde_version} +Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Group: Productivity/Multimedia/Sound/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +Obsoletes: trinity-kdemultimedia < %{version}-%{release} +Provides: trinity-kdemultimedia = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-libs = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} +Provides: trinity-kdemultimedia-extras = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: fdupes +BuildRequires: desktop-file-utils + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# TAGLIB support +%define with_taglib 1 +BuildRequires: taglib-devel + +# AKODE support +%if 0%{?with_akode} +BuildRequires: trinity-akode-devel +%{?with_mad:BuildRequires: trinity-akode-libmad} +%endif + +# ZLIB support +BuildRequires: zlib-devel + +# MUSICBRAINZ support +## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) +#define with_musicbrainz 1 +#BuildRequires: libmusicbrainz-devel libtunepimp-devel + +# Audio libraries +BuildRequires: libvorbis-devel +BuildRequires: audiofile-devel +BuildRequires: libtheora-devel +BuildRequires: alsa-lib-devel +BuildRequires: cdparanoia +#BuildRequires: libmpg123-devel + +# CDDA support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: cdparanoia-devel +%endif + +# FLAC support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libflac-devel +%else +BuildRequires: %{_lib}flac-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# GSTREAMER support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgstreamer0.10-devel +%else +BuildRequires: %{_lib}gstreamer0.10-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: gstreamer-devel +%endif +%if 0%{?suse_version} +BuildRequires: gstreamer-0_10-devel +%endif + +# X11 Libraries +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xxf86dga-devel +BuildRequires: %{_lib}xxf86vm-devel +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xtst-devel +%else +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +%endif +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +%endif + +# XINE support +%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?rhel} >= 5 +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: %{_lib}xine-devel +%else +BuildRequires: %{_lib}xine1.2-devel +%endif +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: xine-lib-devel +%endif +%if 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%endif + +# LAME support +%if 0%{?opensuse_bs} == 0 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?with_lame} +%define with_lame 1 + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: liblame-devel +%else +BuildRequires: %{_lib}lame-devel +%endif +%endif + +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%endif + +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif + +%endif +%endif + +Requires: trinity-artsbuilder = %{version}-%{release} +Requires: trinity-juk = %{version}-%{release} +Requires: trinity-kaboodle = %{version}-%{release} +Requires: trinity-kaudiocreator = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kappfinder-data = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-tdemid = %{version}-%{release} +Requires: trinity-kmix = %{version}-%{release} +Requires: trinity-krec = %{version}-%{release} +Requires: trinity-kscd = %{version}-%{release} +%{?with_akode:Requires: trinity-libarts-akode = %{version}-%{release}} +Requires: trinity-libarts-audiofile = %{version}-%{release} +%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}} +%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} +Requires: trinity-libkcddb = %{version}-%{release} +%{?with_mpeg:Requires: trinity-mpeglib = %{version}-%{release}} +Requires: trinity-noatun = %{version}-%{release} + + +%description +The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window +System. The tdemultimedia package contains multimedia applications for +TDE, including: + artsbuilder, Synthesizer designer for aRts + juk, a media player + tdemid, a midi player + kmix, an audio mixer + arts, additional functionality for the aRts sound system + krec, a recording tool + kscd, an Audio-CD player + kaudiocreator, a graphical frontend for audio file creation + kaboodle, a media player + noatun, a media player + +%files + +########## + +%package -n trinity-artsbuilder +Summary: Synthesizer designer for aRts +Group: Productivity/Multimedia/Sound/Mixers +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-artsbuilder +This is the analog Realtime synthesizer's graphical design tool. + +%files -n trinity-artsbuilder +%defattr(-,root,root,-) +%{tde_bindir}/artsbuilder +%{tde_bindir}/artscontrol +%{tde_bindir}/midisend +%{tde_libdir}/libartsbuilder.la +%{tde_libdir}/libartsbuilder.so.* +%{tde_libdir}/libartscontrolapplet.la +%{tde_libdir}/libartscontrolapplet.so.* +%{tde_libdir}/libartscontrolsupport.la +%{tde_libdir}/libartscontrolsupport.so.* +%{tde_libdir}/libartsgui_idl.la +%{tde_libdir}/libartsgui_idl.so.* +%{tde_libdir}/libartsgui_kde.la +%{tde_libdir}/libartsgui_kde.so.* +%{tde_libdir}/libartsgui.la +%{tde_libdir}/libartsgui.so.* +%{tde_libdir}/libartsmidi_idl.la +%{tde_libdir}/libartsmidi_idl.so.* +%{tde_libdir}/libartsmidi.la +%{tde_libdir}/libartsmidi.so.* +%{tde_libdir}/libartsmodulescommon.la +%{tde_libdir}/libartsmodulescommon.so.* +%{tde_libdir}/libartsmoduleseffects.la +%{tde_libdir}/libartsmoduleseffects.so.* +%{tde_libdir}/libartsmodulesmixers.la +%{tde_libdir}/libartsmodulesmixers.so.* +%{tde_libdir}/libartsmodules.la +%{tde_libdir}/libartsmodules.so.* +%{tde_libdir}/libartsmodulessynth.la +%{tde_libdir}/libartsmodulessynth.so.* +%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcoptype +%{tde_libdir}/mcop/Arts/Button.mcopclass +%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass +%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass +%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass +%{tde_libdir}/mcop/Arts/Fader.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass +%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GraphLine.mcopclass +%{tde_libdir}/mcop/artsgui.mcopclass +%{tde_libdir}/mcop/artsgui.mcoptype +%{tde_libdir}/mcop/Arts/HBox.mcopclass +%{tde_libdir}/mcop/Arts/Label.mcopclass +%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass +%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass +%{tde_libdir}/mcop/Arts/LineEdit.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass +%{tde_libdir}/mcop/Arts/MidiManager.mcopclass +%{tde_libdir}/mcop/artsmidi.mcopclass +%{tde_libdir}/mcop/artsmidi.mcoptype +%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcoptype +%{tde_libdir}/mcop/artsmoduleseffects.mcopclass +%{tde_libdir}/mcop/artsmoduleseffects.mcoptype +%{tde_libdir}/mcop/artsmodules.mcopclass +%{tde_libdir}/mcop/artsmodules.mcoptype +%{tde_libdir}/mcop/artsmodulesmixers.mcopclass +%{tde_libdir}/mcop/artsmodulesmixers.mcoptype +%{tde_libdir}/mcop/artsmodulessynth.mcopclass +%{tde_libdir}/mcop/artsmodulessynth.mcoptype +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass +%{tde_libdir}/mcop/Arts/PopupBox.mcopclass +%{tde_libdir}/mcop/Arts/Poti.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/SpinBox.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass +%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass +%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass +%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass +%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass +%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass +%{tde_libdir}/mcop/Arts/VBox.mcopclass +%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Widget.mcopclass +%{tde_tdeappdir}/artsbuilder.desktop +%{tde_tdeappdir}/artscontrol.desktop +%{tde_datadir}/apps/artsbuilder/ +%{tde_datadir}/apps/artscontrol/ +%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz +%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png +%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png +%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz +%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop +%{tde_tdedocdir}/HTML/en/artsbuilder/ + +%post -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-juk +Summary: Music organizer and player for Trinity +Group: Productivity/Multimedia/Sound/Players + +%description -n trinity-juk +JuK (pronounced "jook") is a jukebox and music manager for the TDE +desktop similar to jukebox software on other platforms such as +iTunes or RealOne. + +Some of JuK's features include: +* Support for Ogg Vorbis and MP3 formats +* Tag editing support for both formats, including ID3v2 for MP3 files. + Multitagging or editing a selection of multiple files at once is also + supported +* Output to either the aRts, default KDE sound system, or GStreamer +* Management of your "collection" and multiple playlists +* Import and export to m3u playlists +* Binary caching of audio meta-data and playlist information for faster + load times (starting with the second time you run JuK) +* Integration into TDE that allows drag-and-drop and clipboard usage + with other TDE and X apps + +%files -n trinity-juk +%defattr(-,root,root,-) +%{tde_bindir}/juk +%{tde_tdeappdir}/juk.desktop +%{tde_datadir}/apps/juk/ +%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png +%{tde_datadir}/icons/hicolor/*/apps/juk.png +%{tde_tdedocdir}/HTML/en/juk/ + +%post -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaboodle +Summary: Light, embedded media player for Trinity +Group: System/GUI/Other + +%if 0%{?with_xine} +Requires: trinity-libarts-xine = %{version}-%{release} +%endif + +%description -n trinity-kaboodle +Kaboodle is a light, embedded media player, supporting both video and audio, +for TDE. It uses the aRts framework for playing media files. + +%files -n trinity-kaboodle +%defattr(-,root,root,-) +%{tde_bindir}/kaboodle +%{tde_tdelibdir}/libkaboodlepart.la +%{tde_tdelibdir}/libkaboodlepart.so +%{tde_tdeappdir}/kaboodle.desktop +%{tde_datadir}/apps/kaboodle/ +%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png +%{tde_datadir}/services/kaboodle_component.desktop +%{tde_datadir}/services/kaboodleengine.desktop +%{tde_tdedocdir}/HTML/en/kaboodle/ + +%post -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaudiocreator +Summary: CD ripper and audio encoder frontend for Trinity +Group: Productivity/Multimedia/CD/Grabbers + +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: vorbis-tools +Requires: flac + +%description -n trinity-kaudiocreator +KAudioCreator is a tool for audio extraction (ripping) and encoding. It can +keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also +searches CDDB to retrieve the information of the disk. + +%files -n trinity-kaudiocreator +%defattr(-,root,root,-) +%{tde_bindir}/kaudiocreator +%{tde_tdeappdir}/kaudiocreator.desktop +%{tde_datadir}/apps/kaudiocreator/ +%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd +%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd +%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop +%{tde_datadir}/config.kcfg/kaudiocreator.kcfg +%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png +%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png +%{tde_tdedocdir}/HTML/en/kaudiocreator/ + +%post -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile +Group: Productivity/Multimedia/Sound/Utilities + +%description kfile-plugins +au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_au.la +%{tde_tdelibdir}/tdefile_au.so +%{tde_tdelibdir}/tdefile_avi.la +%{tde_tdelibdir}/tdefile_avi.so +%{tde_tdelibdir}/tdefile_flac.la +%{tde_tdelibdir}/tdefile_flac.so +%{tde_tdelibdir}/tdefile_m3u.la +%{tde_tdelibdir}/tdefile_m3u.so +%{tde_tdelibdir}/tdefile_mp3.la +%{tde_tdelibdir}/tdefile_mp3.so +%{tde_tdelibdir}/tdefile_mpc.la +%{tde_tdelibdir}/tdefile_mpc.so +%{tde_tdelibdir}/tdefile_mpeg.la +%{tde_tdelibdir}/tdefile_mpeg.so +%{tde_tdelibdir}/tdefile_ogg.la +%{tde_tdelibdir}/tdefile_ogg.so +%{tde_tdelibdir}/tdefile_sid.la +%{tde_tdelibdir}/tdefile_sid.so +%{tde_tdelibdir}/tdefile_theora.la +%{tde_tdelibdir}/tdefile_theora.so +%{tde_tdelibdir}/tdefile_wav.la +%{tde_tdelibdir}/tdefile_wav.so +%{tde_datadir}/services/tdefile_au.desktop +%{tde_datadir}/services/tdefile_avi.desktop +%{tde_datadir}/services/tdefile_flac.desktop +%{tde_datadir}/services/tdefile_m3u.desktop +%{tde_datadir}/services/tdefile_mp3.desktop +%{tde_datadir}/services/tdefile_mpc.desktop +%{tde_datadir}/services/tdefile_mpeg.desktop +%{tde_datadir}/services/tdefile_ogg.desktop +%{tde_datadir}/services/tdefile_sid.desktop +%{tde_datadir}/services/tdefile_theora.desktop +%{tde_datadir}/services/tdefile_wav.desktop + +########## + +%package kappfinder-data +Summary: Multimedia data for kappfinder +Group: Productivity/Multimedia/Sound/Utilities + +Requires: trinity-kappfinder >= %{tde_version} +Requires: trinity-tdebase-runtime-data-common >= %{tde_version} + +%description kappfinder-data +This package provides data on multimedia applications for kappfinder. + +%files kappfinder-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kappfinder/ +%{tde_datadir}/desktop-directories/tde-multimedia-music.directory +%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu + +########## + +%package tdeio-plugins +Summary: Enables the browsing of audio CDs under Konqueror +Group: Productivity/Multimedia/Sound/Utilities +Requires: trinity-tdebase-tdeio-plugins >= %{tde_version} + +Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} +Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package allow audio CDs to be browsed like a file system using +Konqueror and the audiocd:/ URL. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_audiocd.la +%{tde_tdelibdir}/kcm_audiocd.so +%{tde_tdelibdir}/tdeio_audiocd.la +%{tde_tdelibdir}/tdeio_audiocd.so +%{tde_tdelibdir}/libaudiocd_encoder_flac.la +%{tde_tdelibdir}/libaudiocd_encoder_flac.so +%{tde_tdelibdir}/libaudiocd_encoder_lame.la +%{tde_tdelibdir}/libaudiocd_encoder_lame.so +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so +%{tde_tdelibdir}/libaudiocd_encoder_wav.la +%{tde_tdelibdir}/libaudiocd_encoder_wav.so +%{tde_libdir}/libaudiocdplugins.so.* +%{tde_tdeappdir}/audiocd.desktop +%{tde_datadir}/apps/tdeconf_update/audiocd.upd +%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh +%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg +%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg +%{tde_datadir}/services/audiocd.protocol +%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd/ +%{tde_tdedocdir}/HTML/en/kcontrol/audiocd/ +%{tde_datadir}/icons/hicolor/*/apps/kcmaudiocd.png + +%post tdeio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun tdeio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-tdemid +Summary: MIDI/karaoke player for Trinity +Group: Productivity/Multimedia/Sound/Midi + +Obsoletes: trinity-kmid < %{version}-%{release} +Provides: trinity-kmid = %{version}-%{release} + +%description -n trinity-tdemid +This package provides a MIDI and karaoke player for TDE. + +%files -n trinity-tdemid +%defattr(-,root,root,-) +%{tde_bindir}/tdemid +%{tde_tdelibdir}/libtdemidpart.la +%{tde_tdelibdir}/libtdemidpart.so +%{tde_libdir}/libtdemidlib.so.* +%{tde_tdeappdir}/tdemid.desktop +%{tde_datadir}/apps/tdemid/ +%{tde_datadir}/icons/hicolor/*/apps/tdemid.png +%{tde_datadir}/mimelnk/audio/x-karaoke.desktop +%{tde_datadir}/servicetypes/audiomidi.desktop +%{tde_tdedocdir}/HTML/en/tdemid/ + +%post -n trinity-tdemid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-tdemid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmix +Summary: Sound mixer applet for Trinity +Group: Productivity/Multimedia/Sound/Mixers +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-kmix +This package includes TDE's dockable sound mixer applet. + +%files -n trinity-kmix +%defattr(-,root,root,-) +%{tde_bindir}/kmix +%{tde_bindir}/kmixctrl +%{tde_tdelibdir}/kmix.la +%{tde_tdelibdir}/kmix.so +%{tde_tdelibdir}/kmix_panelapplet.la +%{tde_tdelibdir}/kmix_panelapplet.so +%{tde_tdelibdir}/kmixctrl.la +%{tde_tdelibdir}/kmixctrl.so +%{tde_libdir}/libtdeinit_kmix.so +%{tde_libdir}/libtdeinit_kmixctrl.so +%{tde_tdeappdir}/kmix.desktop +%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop +%{tde_datadir}/apps/kmix/ +%{tde_datadir}/autostart/kmix.desktop +%{tde_datadir}/autostart/restore_kmix_volumes.desktop +%{tde_datadir}/icons/hicolor/*/apps/kmix.png +%{tde_datadir}/services/kmixctrl_restore.desktop +%{tde_tdedocdir}/HTML/en/kmix/ + +%post -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-krec +Summary: Sound recorder utility for Trinity +Group: Productivity/Multimedia/CD/Record + +%description -n trinity-krec +This is a sound recording utility for Trinity. + +%files -n trinity-krec +%defattr(-,root,root,-) +%{tde_bindir}/krec +%{tde_tdelibdir}/kcm_krec.la +%{tde_tdelibdir}/kcm_krec.so +%{tde_tdelibdir}/kcm_krec_files.la +%{tde_tdelibdir}/kcm_krec_files.so +%{tde_tdelibdir}/krec.la +%{tde_tdelibdir}/krec.so +%if 0%{?with_lame} +%{tde_tdelibdir}/libkrecexport_mp3.la +%{tde_tdelibdir}/libkrecexport_mp3.so +%{tde_datadir}/services/krec_exportmp3.desktop +%endif +%{tde_tdelibdir}/libkrecexport_ogg.la +%{tde_tdelibdir}/libkrecexport_ogg.so +%{tde_tdelibdir}/libkrecexport_wave.la +%{tde_tdelibdir}/libkrecexport_wave.so +%{tde_libdir}/libtdeinit_krec.so +%{tde_tdeappdir}/krec.desktop +%{tde_datadir}/apps/krec/ +%{tde_datadir}/icons/hicolor/*/apps/krec.png +%{tde_datadir}/services/kcm_krec.desktop +%{tde_datadir}/services/kcm_krec_files.desktop +%{tde_datadir}/services/krec_exportogg.desktop +%{tde_datadir}/services/krec_exportwave.desktop +%{tde_datadir}/servicetypes/krec_exportitem.desktop +%{tde_tdedocdir}/HTML/en/krec/ + +%post -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kscd +Summary: Audio CD player for Trinity +Group: Productivity/Multimedia/CD/Players + +%description -n trinity-kscd +This is Trinity's audio CD player. + +%files -n trinity-kscd +%defattr(-,root,root,-) +%{tde_bindir}/kscd +%{tde_bindir}/workman2cddb.pl +%{tde_tdeappdir}/kscd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop +%{tde_datadir}/apps/kscd/ +%{tde_datadir}/apps/profiles/kscd.profile.xml +%{tde_datadir}/config.kcfg/kscd.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kscd.png +%{tde_datadir}/mimelnk/text/xmcd.desktop +%{tde_tdedocdir}/HTML/en/kscd/ + +%post -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?with_akode} +%package -n trinity-libarts-akode +Summary: Akode plugin for aRts +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-akode +This package contains akode plugins for aRts. + +%files -n trinity-libarts-akode +%defattr(-,root,root,-) +%{tde_libdir}/libarts_akode.so.* +%{tde_libdir}/libarts_akode.la +%{tde_libdir}/mcop/akodearts.mcoptype +%{tde_libdir}/mcop/akodearts.mcopclass +%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass +%{tde_libdir}/mcop/akodePlayObject.mcopclass +%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass + +# Requires MAD support +%{?with_mad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} + +%post -n trinity-libarts-akode +/sbin/ldconfig + +%postun -n trinity-libarts-akode +/sbin/ldconfig +%endif + +########## + +%package -n trinity-libarts-audiofile +Summary: Audiofile plugin for aRts +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-audiofile +This package contains audiofile plugins for aRts. + +%files -n trinity-libarts-audiofile +%defattr(-,root,root,-) +%{tde_libdir}/libarts_audiofile.so.* +%{tde_libdir}/libarts_audiofile.la +%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcoptype + +%post -n trinity-libarts-audiofile +/sbin/ldconfig + +%postun -n trinity-libarts-audiofile +/sbin/ldconfig + +########## + +%if 0%{?with_mpeg} +%package -n trinity-libarts-mpeglib +Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-mpeglib +This package contains the mpeglib aRts plugin, supporting mp3 and mpeg +audio and video. + +This is the arts (TDE Sound daemon) plugin. + +%files -n trinity-libarts-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/mpeglibartsplay +%{tde_libdir}/libarts_mpeglib-0.3.0.so.* +%{tde_libdir}/libarts_mpeglib.la +%{tde_libdir}/libarts_splay.so.* +%{tde_libdir}/libarts_splay.la +%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%{tde_libdir}/mcop/WAVPlayObject.mcopclass + +%post -n trinity-libarts-mpeglib +/sbin/ldconfig + +%postun -n trinity-libarts-mpeglib +/sbin/ldconfig +%endif + +########## + +%if 0%{?with_xine} +%package -n trinity-libarts-xine +Summary: ARTS plugin enabling xine support +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-xine +This package contains aRts' xine plugin, allowing the use of the xine +multimedia engine though aRts. + +%files -n trinity-libarts-xine +%defattr(-,root,root,-) +%{tde_tdelibdir}/videothumbnail.la +%{tde_tdelibdir}/videothumbnail.so +%{tde_libdir}/libarts_xine.so.* +%{tde_libdir}/libarts_xine.la +%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass +%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass +%{tde_datadir}/apps/videothumbnail/sprocket-large.png +%{tde_datadir}/apps/videothumbnail/sprocket-medium.png +%{tde_datadir}/apps/videothumbnail/sprocket-small.png +%{tde_datadir}/services/videothumbnail.desktop + +%post -n trinity-libarts-xine +/sbin/ldconfig + +%postun -n trinity-libarts-xine +/sbin/ldconfig +%endif + +########## + +%package -n trinity-libkcddb +Summary: CDDB library for Trinity +Group: Productivity/Multimedia/Other +Requires: trinity-kcontrol >= %{tde_version} + +%description -n trinity-libkcddb +The Trinity native CDDB (CD Data Base) library, providing easy access to Audio +CD meta-information (track titles, artist information, etc.) from on-line +databases, for TDE applications. + +%files -n trinity-libkcddb +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_cddb.la +%{tde_tdelibdir}/kcm_cddb.so +%{tde_libdir}/libkcddb.so.* +%{tde_tdeappdir}/libkcddb.desktop +%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd +%{tde_datadir}/config.kcfg/libkcddb.kcfg +%{tde_tdedocdir}/HTML/en/kcontrol/cddb/ + +%post -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?with_mpeg} + +%package -n trinity-mpeglib +Summary: MP3 and MPEG-1 audio and video library +Group: Productivity/Multimedia/Other +%if 0%{?with_mpeg} +Requires: trinity-libarts-mpeglib = %{version}-%{release} +%endif + +%description -n trinity-mpeglib +mpeglib is a MPEG-1 and MP3 audio and video library. It supports +MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, +and WAV playback + +%files -n trinity-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/yaf-cdda +%{tde_bindir}/yaf-mpgplay +%{tde_bindir}/yaf-splay +%{tde_bindir}/yaf-tplay +%{tde_bindir}/yaf-vorbis +%{tde_bindir}/yaf-yuv +%{tde_libdir}/libmpeg-0.3.0.so +%{tde_libdir}/libyafcore.so +%{tde_libdir}/libyafxplayer.so + +%post -n trinity-mpeglib +/sbin/ldconfig + +%postun -n trinity-mpeglib +/sbin/ldconfig + +%endif + +########## + +%package -n trinity-noatun +Summary: Media player for Trinity +Group: Productivity/Multimedia/Video/Players +Requires: trinity-tdebase-bin >= %{tde_version} + +# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: devel(libnoatunarts) +Provides: devel(libnoatunarts(64bit)) +%endif + +%description -n trinity-noatun +Noatun is an aRts-based audio and video player for Trinity. It supports all +formats supported by your installation of aRts (including aRts plugins). + +%files -n trinity-noatun +%defattr(-,root,root,-) +%{tde_bindir}/noatun +%{tde_libdir}/tdeconf_update_bin/noatun20update +%{tde_tdelibdir}/noatun.la +%{tde_tdelibdir}/noatun.so +%{tde_tdelibdir}/noatun_dcopiface.la +%{tde_tdelibdir}/noatun_dcopiface.so +%{tde_tdelibdir}/noatun_excellent.la +%{tde_tdelibdir}/noatun_excellent.so +%{tde_tdelibdir}/noatun_htmlexport.la +%{tde_tdelibdir}/noatun_htmlexport.so +%{tde_tdelibdir}/noatun_infrared.la +%{tde_tdelibdir}/noatun_infrared.so +%{tde_tdelibdir}/noatun_kaiman.la +%{tde_tdelibdir}/noatun_kaiman.so +%{tde_tdelibdir}/noatun_keyz.la +%{tde_tdelibdir}/noatun_keyz.so +%{tde_tdelibdir}/noatun_kjofol.la +%{tde_tdelibdir}/noatun_kjofol.so +%{tde_tdelibdir}/noatun_marquis.la +%{tde_tdelibdir}/noatun_marquis.so +%{tde_tdelibdir}/noatun_metatag.la +%{tde_tdelibdir}/noatun_metatag.so +%{tde_tdelibdir}/noatun_monoscope.la +%{tde_tdelibdir}/noatun_monoscope.so +%{tde_tdelibdir}/noatun_net.la +%{tde_tdelibdir}/noatun_net.so +%{tde_tdelibdir}/noatun_splitplaylist.la +%{tde_tdelibdir}/noatun_splitplaylist.so +%{tde_tdelibdir}/noatun_systray.la +%{tde_tdelibdir}/noatun_systray.so +%{tde_tdelibdir}/noatun_ui.la +%{tde_tdelibdir}/noatun_ui.so +%{tde_tdelibdir}/noatun_voiceprint.la +%{tde_tdelibdir}/noatun_voiceprint.so +%{tde_tdelibdir}/noatun_winskin.la +%{tde_tdelibdir}/noatun_winskin.so +%{tde_tdelibdir}/noatunsimple.la +%{tde_tdelibdir}/noatunsimple.so +%{tde_libdir}/libartseffects.la +%{tde_libdir}/libartseffects.so +%{tde_libdir}/libtdeinit_noatun.so +%{tde_libdir}/libnoatun.so.* +%{tde_libdir}/libnoatunarts.la +%{tde_libdir}/libnoatunarts.so +%{tde_libdir}/libnoatuncontrols.so.* +%{tde_libdir}/libnoatuntags.so.* +%{tde_libdir}/libwinskinvis.la +%{tde_libdir}/libwinskinvis.so +%{tde_libdir}/mcop/ExtraStereo.mcopclass +%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass +%{tde_libdir}/mcop/Noatun/ +%{tde_libdir}/mcop/RawWriter.mcopclass +%{tde_libdir}/mcop/VoiceRemoval.mcopclass +%{tde_libdir}/mcop/artseffects.mcopclass +%{tde_libdir}/mcop/artseffects.mcoptype +%{tde_libdir}/mcop/noatunarts.mcopclass +%{tde_libdir}/mcop/noatunarts.mcoptype +%{tde_libdir}/mcop/winskinvis.mcopclass +%{tde_libdir}/mcop/winskinvis.mcoptype +%{tde_tdeappdir}/noatun.desktop +%{tde_datadir}/apps/tdeconf_update/noatun.upd +%{tde_datadir}/apps/noatun/ +%{tde_datadir}/icons/hicolor/*/apps/noatun.png +%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop +%{tde_tdedocdir}/HTML/en/noatun/ + +%post -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Summary: Development files for %{name}, aRts and noatun plugins +Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{tde_version} + +Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} +Provides: trinity-kdemultimedia-devel = %{version}-%{release} + +%description devel +{summary}. + +Install %{name}-devel if you wish to develop or compile any +applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or +noatun plugins. + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%if 0%{?with_akode} +%{tde_libdir}/libarts_akode.so +%endif +%{tde_libdir}/libarts_audiofile.so +%if 0%{?with_mpeg} +%{tde_libdir}/libarts_mpeglib.so +%{tde_libdir}/libarts_splay.so +%endif +%if 0%{?with_xine} +%{tde_libdir}/libarts_xine.so +%endif +%{tde_libdir}/libartsbuilder.so +%{tde_libdir}/libartscontrolapplet.so +%{tde_libdir}/libartscontrolsupport.so +%{tde_libdir}/libartsgui.so +%{tde_libdir}/libartsgui_idl.so +%{tde_libdir}/libartsgui_kde.so +%{tde_libdir}/libartsmidi.so +%{tde_libdir}/libartsmidi_idl.so +%{tde_libdir}/libartsmodules.so +%{tde_libdir}/libartsmodulescommon.so +%{tde_libdir}/libartsmoduleseffects.so +%{tde_libdir}/libartsmodulesmixers.so +%{tde_libdir}/libartsmodulessynth.so +%{tde_libdir}/libaudiocdplugins.la +%{tde_libdir}/libaudiocdplugins.so +%{tde_libdir}/libkcddb.la +%{tde_libdir}/libkcddb.so +%{tde_libdir}/libtdeinit_kmix.la +%{tde_libdir}/libtdeinit_kmixctrl.la +%{tde_libdir}/libtdeinit_krec.la +%{tde_libdir}/libtdeinit_noatun.la +%{tde_libdir}/libtdemidlib.la +%{tde_libdir}/libtdemidlib.so +%if 0%{?with_mpeg} +%{tde_libdir}/libmpeg.la +%{tde_libdir}/libmpeg.so +%endif +%{tde_libdir}/libnoatun.la +%{tde_libdir}/libnoatun.so +%{tde_libdir}/libnoatuncontrols.la +%{tde_libdir}/libnoatuncontrols.so +%{tde_libdir}/libnoatuntags.la +%{tde_libdir}/libnoatuntags.so +%if 0%{?with_mpeg} +%{tde_libdir}/libyafcore.la +%{tde_libdir}/libyafxplayer.la +%endif + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__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" + +# Update icons for some control center modules +%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ + \ + --with-vorbis \ + --without-ossaudio \ + --with-alsa \ + --with-cdparanoia \ + %{?with_lame:--with-lame} %{!?with_lame:--without-lame} \ + %{?with_taglib:--with-taglib} %{!?with_taglib:--without-taglib} \ + %{?with_akode:--with-akode} %{!?with_akode:--without-akode} \ + --with-audiofile \ + %{?with_musicbrainz:--with-musicbrainz} %{!?with_musicbrainz:--without-musicbrainz} \ + --with-gstreamer \ + --with-kscd-cdda \ + --with-theora \ + --with-flac \ + %{?with_xine:--with-xine} %{!?with_xine:--without-xine} + +# Fix unexplained "undefined reference to `__stack_chk_fail'" +%if 0%{?mgaversion} >= 4 || 0%{?pclinuxos} +%__sed -i "noatun/app/Makefile" -e "/^libtdeinit_noatun_la_LDFLAGS/ s/$/ -Wl,-lc/" +%endif + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} + +# Disable MPEG support entirely +%if 0%{?with_mpeg} == 0 +%__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay +%__rm %{?buildroot}%{tde_bindir}/yaf-* +%__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib* +%__rm %{?buildroot}%{tde_libdir}/libarts_splay.* +%__rm %{?buildroot}%{tde_libdir}/libmpeg* +%__rm %{?buildroot}%{tde_libdir}/libyaf* +%__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass +%endif + +# Copy missing icons from 'crystalsvg' theme (tdelibs) +%__mkdir_p "%{?buildroot}{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64}"/apps/" +pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/ +for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/media-optical-cdaudio.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done +popd + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file krec AudioVideo Recorder +%suse_update_desktop_file tdemid AudioVideo Midi +%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing +%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing +%suse_update_desktop_file kmix AudioVideo Mixer +%suse_update_desktop_file kaboodle AudioVideo Player +%suse_update_desktop_file kaudiocreator AudioVideo CD +%suse_update_desktop_file kscd AudioVideo Player CD +%suse_update_desktop_file noatun AudioVideo Player Video +%suse_update_desktop_file juk AudioVideo Player Jukebox +%suse_update_desktop_file audiocd +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Tue Mar 10 2015 Francois Andriot <francois.andriot@free.fr> - 14.0.0-2 +- Fix dependencies and rebuild for Fedora 21 + +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +- Initial release for TDE 14.0.0 diff --git a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec index fceee8523..56244cfa6 100644 --- a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec +++ b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdenetwork (version R14.0.0) +# spec file for package tdenetwork (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdenetwork %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdepim/tdepim-14.0.0.spec b/redhat/main/tdepim/tdepim-14.0.0.spec index cfd2500bf..c07496fa4 100644 --- a/redhat/main/tdepim/tdepim-14.0.0.spec +++ b/redhat/main/tdepim/tdepim-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdepim (version R14.0.0) +# spec file for package tdepim (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdepim %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdesdk/tdesdk-14.0.0.spec b/redhat/main/tdesdk/tdesdk-14.0.0.spec index cd8e180dc..e0a56baa8 100644 --- a/redhat/main/tdesdk/tdesdk-14.0.0.spec +++ b/redhat/main/tdesdk/tdesdk-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdesdk (version R14.0.0) +# spec file for package tdesdk (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdesdk %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdetoys/tdetoys-14.0.0.spec b/redhat/main/tdetoys/tdetoys-14.0.0.spec index c32cd04e5..6610bc48e 100644 --- a/redhat/main/tdetoys/tdetoys-14.0.0.spec +++ b/redhat/main/tdetoys/tdetoys-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdetoys (version R14.0.0) +# spec file for package tdetoys (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -20,7 +20,9 @@ # Having KDE libraries may cause FTBFS here ! # TDE variables +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdetoys %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdeutils/tdeutils-14.0.0.spec b/redhat/main/tdeutils/tdeutils-14.0.0.spec index 7ecbf8d0b..1982c59a7 100644 --- a/redhat/main/tdeutils/tdeutils-14.0.0.spec +++ b/redhat/main/tdeutils/tdeutils-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdeutils (version R14.0.0) +# spec file for package tdeutils (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -20,7 +20,9 @@ # Having KDE libraries may cause FTBFS here ! # TDE variables +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdeutils %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdevelop/tdevelop-14.0.0.spec b/redhat/main/tdevelop/tdevelop-14.0.0.spec index 5a7decec2..f6eec9e16 100644 --- a/redhat/main/tdevelop/tdevelop-14.0.0.spec +++ b/redhat/main/tdevelop/tdevelop-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdevelop (version R14.0.0) +# spec file for package tdevelop (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdevelop %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin diff --git a/redhat/main/tdevelop/tdevelop-14.0.1.spec b/redhat/main/tdevelop/tdevelop-14.0.1.spec new file mode 100644 index 000000000..af521d9ea --- /dev/null +++ b/redhat/main/tdevelop/tdevelop-14.0.1.spec @@ -0,0 +1,671 @@ +# +# spec file for package tdevelop (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.1 +%endif +%define tde_pkg tdevelop +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + + +Name: trinity-%{tde_pkg} +Summary: Integrated Development Environment for C++/C +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Group: Development/Tools +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +Requires: %{name}-libs = %{version}-%{release} + +BuildRequires: tqt3-apps-devel >= 3.5.0 +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdesdk-devel >= %{tde_version} + +Obsoletes: trinity-kdevelop < %{version}-%{release} +Provides: trinity-kdevelop = %{version}-%{release} + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: fdupes +BuildRequires: desktop-file-utils +BuildRequires: make + +Requires: make +Requires: perl +Requires: tqt3-designer >= 3.5.0 +Requires: libtqt3-mt-devel >= 3.5.0 +Requires: gettext +Requires: ctags + + +# LIBIDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PCRE support +BuildRequires: pcre-devel + +# DB4 support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif + +# FLEX support +BuildRequires: flex +Requires: flex >= 2.5.4 + +# SVN support +BuildRequires: subversion-devel + +# NEON support +BuildRequires: neon-devel + +# LDAP support +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%else +BuildRequires: openldap-devel +%endif + +# LIBACL support +%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libacl-devel +%endif + +%description +The TDevelop Integrated Development Environment provides many features +that developers need as well as providing a unified interface to programs +like gdb, the C/C++ compiler, and make. TDevelop manages or provides: + +All development tools needed for C++ programming like Compiler, +Linker, automake and autoconf; KAppWizard, which generates complete, +ready-to-go sample applications; Classgenerator, for creating new +classes and integrating them into the current project; File management +for sources, headers, documentation etc. to be included in the +project; The creation of User-Handbooks written with SGML and the +automatic generation of HTML-output with the KDE look and feel; +Automatic HTML-based API-documentation for your project's classes with +cross-references to the used libraries; Internationalization support +for your application, allowing translators to easily add their target +language to a project; + +tdevelop also includes WYSIWYG (What you see is what you get)-creation +of user interfaces with a built-in dialog editor; Debugging your +application by integrating KDbg; Editing of project-specific pixmaps +with KIconEdit; The inclusion of any other program you need for +development by adding it to the "Tools"-menu according to your +individual needs. + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kdevassistant +%{tde_bindir}/kdevdesigner +%{tde_bindir}/tdevelop +%{tde_bindir}/tdevelop-htdig +%{tde_bindir}/kdevprj2kdevelop +%{tde_bindir}/kdevprofileeditor +%{tde_libdir}/tdeconf_update_bin/kdev-gen-settings-tdeconf_update +%{tde_tdeappdir}/kdevassistant.desktop +%{tde_tdeappdir}/kdevdesigner.desktop +%{tde_tdeappdir}/tdevelop.desktop +%{tde_tdeappdir}/tdevelop_c_cpp.desktop +%{tde_tdeappdir}/tdevelop_kde_cpp.desktop +%{tde_tdeappdir}/tdevelop_ruby.desktop +%{tde_tdeappdir}/tdevelop_scripting.desktop +%{tde_tdelibdir}/tdeio_chm.la +%{tde_tdelibdir}/tdeio_chm.so +%{tde_tdelibdir}/tdeio_csharpdoc.la +%{tde_tdelibdir}/tdeio_csharpdoc.so +%{tde_tdelibdir}/tdeio_perldoc.la +%{tde_tdelibdir}/tdeio_perldoc.so +%{tde_tdelibdir}/tdeio_pydoc.la +%{tde_tdelibdir}/tdeio_pydoc.so +%{tde_tdelibdir}/libdocchmplugin.la +%{tde_tdelibdir}/libdocchmplugin.so +%{tde_tdelibdir}/libdoccustomplugin.la +%{tde_tdelibdir}/libdoccustomplugin.so +%{tde_tdelibdir}/libdocdevhelpplugin.la +%{tde_tdelibdir}/libdocdevhelpplugin.so +%{tde_tdelibdir}/libdocdoxygenplugin.la +%{tde_tdelibdir}/libdocdoxygenplugin.so +%{tde_tdelibdir}/libdockdevtocplugin.la +%{tde_tdelibdir}/libdockdevtocplugin.so +%{tde_tdelibdir}/libdocqtplugin.la +%{tde_tdelibdir}/libdocqtplugin.so +%{tde_tdelibdir}/libkchmpart.la +%{tde_tdelibdir}/libkchmpart.so +%{tde_tdelibdir}/libkdevabbrev.la +%{tde_tdelibdir}/libkdevabbrev.so +%{tde_tdelibdir}/libkdevadaproject.la +%{tde_tdelibdir}/libkdevadaproject.so +%{tde_tdelibdir}/libkdevadasupport.la +%{tde_tdelibdir}/libkdevadasupport.so +%{tde_tdelibdir}/libkdevantproject.la +%{tde_tdelibdir}/libkdevantproject.so +%{tde_tdelibdir}/libkdevappview.la +%{tde_tdelibdir}/libkdevappview.so +%{tde_tdelibdir}/libkdevappwizard.la +%{tde_tdelibdir}/libkdevappwizard.so +%{tde_tdelibdir}/libkdevastyle.la +%{tde_tdelibdir}/libkdevastyle.so +%{tde_tdelibdir}/libkdevautoproject.la +%{tde_tdelibdir}/libkdevautoproject.so +%{tde_tdelibdir}/libkdevbashsupport.la +%{tde_tdelibdir}/libkdevbashsupport.so +%{tde_tdelibdir}/libkdevbookmarks.la +%{tde_tdelibdir}/libkdevbookmarks.so +%{tde_tdelibdir}/libkdevclassview.la +%{tde_tdelibdir}/libkdevclassview.so +%{tde_tdelibdir}/libkdevcppsupport.la +%{tde_tdelibdir}/libkdevcppsupport.so +%{tde_tdelibdir}/libkdevcsharpsupport.la +%{tde_tdelibdir}/libkdevcsharpsupport.so +%{tde_tdelibdir}/libkdevctags2.la +%{tde_tdelibdir}/libkdevctags2.so +%{tde_tdelibdir}/libkdevcustompcsimporter.la +%{tde_tdelibdir}/libkdevcustompcsimporter.so +%{tde_tdelibdir}/libkdevcustomproject.la +%{tde_tdelibdir}/libkdevcustomproject.so +%{tde_tdelibdir}/libkdevdccoptions.la +%{tde_tdelibdir}/libkdevdccoptions.so +%{tde_tdelibdir}/libkdevdebugger.la +%{tde_tdelibdir}/libkdevdebugger.so +%{tde_tdelibdir}/libkdevdesignerpart.la +%{tde_tdelibdir}/libkdevdesignerpart.so +%{tde_tdelibdir}/libkdevdiff.la +%{tde_tdelibdir}/libkdevdiff.so +%{tde_tdelibdir}/libkdevdistpart.la +%{tde_tdelibdir}/libkdevdistpart.so +%{tde_tdelibdir}/libkdevdocumentation.la +%{tde_tdelibdir}/libkdevdocumentation.so +%{tde_tdelibdir}/libkdevdoxygen.la +%{tde_tdelibdir}/libkdevdoxygen.so +%{tde_tdelibdir}/libkdeveditorchooser.la +%{tde_tdelibdir}/libkdeveditorchooser.so +%{tde_tdelibdir}/libkdevfilecreate.la +%{tde_tdelibdir}/libkdevfilecreate.so +%{tde_tdelibdir}/libkdevfilegroups.la +%{tde_tdelibdir}/libkdevfilegroups.so +%{tde_tdelibdir}/libkdevfilelist.la +%{tde_tdelibdir}/libkdevfilelist.so +%{tde_tdelibdir}/libkdevfileselector.la +%{tde_tdelibdir}/libkdevfileselector.so +%{tde_tdelibdir}/libkdevfileview.la +%{tde_tdelibdir}/libkdevfileview.so +%{tde_tdelibdir}/libkdevfilter.la +%{tde_tdelibdir}/libkdevfilter.so +%{tde_tdelibdir}/libkdevfortransupport.la +%{tde_tdelibdir}/libkdevfortransupport.so +%{tde_tdelibdir}/libkdevfpcoptions.la +%{tde_tdelibdir}/libkdevfpcoptions.so +%{tde_tdelibdir}/libkdevfullscreen.la +%{tde_tdelibdir}/libkdevfullscreen.so +%{tde_tdelibdir}/libkdevgccoptions.la +%{tde_tdelibdir}/libkdevgccoptions.so +%{tde_tdelibdir}/libkdevgrepview.la +%{tde_tdelibdir}/libkdevgrepview.so +%{tde_tdelibdir}/libkdevjavasupport.la +%{tde_tdelibdir}/libkdevjavasupport.so +%{tde_tdelibdir}/libkdevtdelibsimporter.la +%{tde_tdelibdir}/libkdevtdelibsimporter.so +%{tde_tdelibdir}/libkdevkonsoleview.la +%{tde_tdelibdir}/libkdevkonsoleview.so +%{tde_tdelibdir}/libkdevmakeview.la +%{tde_tdelibdir}/libkdevmakeview.so +%{tde_tdelibdir}/libkdevopenwith.la +%{tde_tdelibdir}/libkdevopenwith.so +%{tde_tdelibdir}/libkdevpartexplorer.la +%{tde_tdelibdir}/libkdevpartexplorer.so +%{tde_tdelibdir}/libkdevpascalproject.la +%{tde_tdelibdir}/libkdevpascalproject.so +%{tde_tdelibdir}/libkdevpascalsupport.la +%{tde_tdelibdir}/libkdevpascalsupport.so +%{tde_tdelibdir}/libkdevperlsupport.la +%{tde_tdelibdir}/libkdevperlsupport.so +%{tde_tdelibdir}/libkdevpgioptions.la +%{tde_tdelibdir}/libkdevpgioptions.so +%{tde_tdelibdir}/libkdevphpsupport.la +%{tde_tdelibdir}/libkdevphpsupport.so +%{tde_tdelibdir}/libkdevpythonsupport.la +%{tde_tdelibdir}/libkdevpythonsupport.so +%{tde_tdelibdir}/libkdevqt4importer.la +%{tde_tdelibdir}/libkdevqt4importer.so +%{tde_tdelibdir}/libkdevqtimporter.la +%{tde_tdelibdir}/libkdevqtimporter.so +%{tde_tdelibdir}/libkdevquickopen.la +%{tde_tdelibdir}/libkdevquickopen.so +%{tde_tdelibdir}/libkdevrbdebugger.la +%{tde_tdelibdir}/libkdevrbdebugger.so +%{tde_tdelibdir}/libkdevregexptest.la +%{tde_tdelibdir}/libkdevregexptest.so +%{tde_tdelibdir}/libkdevreplace.la +%{tde_tdelibdir}/libkdevreplace.so +%{tde_tdelibdir}/libkdevrubysupport.la +%{tde_tdelibdir}/libkdevrubysupport.so +%{tde_tdelibdir}/libkdevscripting.la +%{tde_tdelibdir}/libkdevscripting.so +%{tde_tdelibdir}/libkdevscriptproject.la +%{tde_tdelibdir}/libkdevscriptproject.so +%{tde_tdelibdir}/libkdevsnippet.la +%{tde_tdelibdir}/libkdevsnippet.so +%{tde_tdelibdir}/libkdevsqlsupport.la +%{tde_tdelibdir}/libkdevsqlsupport.so +%{tde_tdelibdir}/libkdevtexttools.la +%{tde_tdelibdir}/libkdevtexttools.so +%{tde_tdelibdir}/libkdevtipofday.la +%{tde_tdelibdir}/libkdevtipofday.so +%{tde_tdelibdir}/libkdevtools.la +%{tde_tdelibdir}/libkdevtools.so +%{tde_tdelibdir}/libkdevtrollproject.la +%{tde_tdelibdir}/libkdevtrollproject.so +%{tde_tdelibdir}/libkdevuichooser.la +%{tde_tdelibdir}/libkdevuichooser.so +%{tde_tdelibdir}/libkdevvalgrind.la +%{tde_tdelibdir}/libkdevvalgrind.so +%{tde_tdelibdir}/libkdevvcsmanager.la +%{tde_tdelibdir}/libkdevvcsmanager.so +%{tde_datadir}/apps/tdeconf_update/ +%{tde_datadir}/apps/kdevabbrev/ +%{tde_datadir}/apps/kdevadaproject/ +%{tde_datadir}/apps/kdevadasupport/ +%{tde_datadir}/apps/kdevantproject/ +%{tde_datadir}/apps/kdevappoutputview/ +%{tde_datadir}/apps/kdevappwizard/ +%{tde_datadir}/apps/kdevassistant/ +%{tde_datadir}/apps/kdevastyle/ +%{tde_datadir}/apps/kdevautoproject/ +%{tde_datadir}/apps/kdevbashsupport/ +%{tde_datadir}/apps/kdevclassview/ +%{tde_datadir}/apps/kdevcppsupport/ +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png +%{tde_datadir}/icons/hicolor/*/actions/ktip.png +%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png +%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png +%{tde_datadir}/icons/hicolor/*/apps/tdevelop.png +%{tde_datadir}/icons/locolor/*/actions/tdevelop_tip.png +%{tde_datadir}/mimelnk/application/x-tdevelop.desktop +%{tde_datadir}/services/chm.protocol +%{tde_datadir}/services/csharpdoc.protocol +%{tde_datadir}/services/docchmplugin.desktop +%{tde_datadir}/services/doccustomplugin.desktop +%{tde_datadir}/services/docdevhelpplugin.desktop +%{tde_datadir}/services/docdoxygenplugin.desktop +%{tde_datadir}/services/dockdevtocplugin.desktop +%{tde_datadir}/services/docqtplugin.desktop +%{tde_datadir}/services/kchmpart.desktop +%{tde_datadir}/services/kdevabbrev.desktop +%{tde_datadir}/services/kdevadaproject.desktop +%{tde_datadir}/services/kdevadasupport.desktop +%{tde_datadir}/services/kdevantproject.desktop +%{tde_datadir}/services/kdevappoutputview.desktop +%{tde_datadir}/services/kdevappwizard.desktop +%{tde_datadir}/services/kdevastyle.desktop +%{tde_datadir}/services/kdevautoproject.desktop +%{tde_datadir}/services/kdevbashsupport.desktop +%{tde_datadir}/services/kdevbookmarks.desktop +%{tde_datadir}/services/kdevclassview.desktop +%{tde_datadir}/services/kdevcppsupport.desktop +%{tde_datadir}/services/kdevcsharpsupport.desktop +%{tde_datadir}/services/kdevcsupport.desktop +%{tde_datadir}/services/kdevctags2.desktop +%{tde_datadir}/services/kdevcustomproject.desktop +%{tde_datadir}/services/kdevdccoptions.desktop +%{tde_datadir}/services/kdevdebugger.desktop +%{tde_datadir}/services/kdevdesigner_part.desktop +%{tde_datadir}/services/kdevdiff.desktop +%{tde_datadir}/services/kdevdistpart.desktop +%{tde_datadir}/services/kdevdocumentation.desktop +%{tde_datadir}/services/kdevdoxygen.desktop +%{tde_datadir}/services/kdeveditorchooser.desktop +%{tde_datadir}/services/kdevfilecreate.desktop +%{tde_datadir}/services/kdevfilegroups.desktop +%{tde_datadir}/services/kdevfilelist.desktop +%{tde_datadir}/services/kdevfileselector.desktop +%{tde_datadir}/services/kdevfileview.desktop +%{tde_datadir}/services/kdevfilter.desktop +%{tde_datadir}/services/kdevfortransupport.desktop +%{tde_datadir}/services/kdevfpcoptions.desktop +%{tde_datadir}/services/kdevfullscreen.desktop +%{tde_datadir}/services/kdevg77options.desktop +%{tde_datadir}/services/kdevgccoptions.desktop +%{tde_datadir}/services/kdevgppoptions.desktop +%{tde_datadir}/services/kdevgrepview.desktop +%{tde_datadir}/services/kdevjavasupport.desktop +%{tde_datadir}/services/kdevtdeautoproject.desktop +%{tde_datadir}/services/kdevtdelibsimporter.desktop +%{tde_datadir}/services/kdevkonsoleview.desktop +%{tde_datadir}/services/kdevmakeview.desktop +%{tde_datadir}/services/kdevopenwith.desktop +%{tde_datadir}/services/kdevpartexplorer.desktop +%{tde_datadir}/services/kdevpascalproject.desktop +%{tde_datadir}/services/kdevpascalsupport.desktop +%{tde_datadir}/services/kdevpcscustomimporter.desktop +%{tde_datadir}/services/kdevperlsupport.desktop +%{tde_datadir}/services/kdevpgf77options.desktop +%{tde_datadir}/services/kdevpghpfoptions.desktop +%{tde_datadir}/services/kdevphpsupport.desktop +%{tde_datadir}/services/kdevpythonsupport.desktop +%{tde_datadir}/services/kdevqt4importer.desktop +%{tde_datadir}/services/kdevqtimporter.desktop +%{tde_datadir}/services/kdevquickopen.desktop +%{tde_datadir}/services/kdevrbdebugger.desktop +%{tde_datadir}/services/kdevregexptest.desktop +%{tde_datadir}/services/kdevreplace.desktop +%{tde_datadir}/services/kdevrubysupport.desktop +%{tde_datadir}/services/kdevscripting.desktop +%{tde_datadir}/services/kdevscriptproject.desktop +%{tde_datadir}/services/kdevsnippet.desktop +%{tde_datadir}/services/kdevsqlsupport.desktop +%{tde_datadir}/services/kdevtexttools.desktop +%{tde_datadir}/services/kdevtipofday.desktop +%{tde_datadir}/services/kdevtmakeproject.desktop +%{tde_datadir}/services/kdevtools.desktop +%{tde_datadir}/services/kdevtrollproject.desktop +%{tde_datadir}/services/kdevuichooser.desktop +%{tde_datadir}/services/kdevvalgrind.desktop +%{tde_datadir}/services/kdevvcsmanager.desktop +%{tde_datadir}/services/perldoc.protocol +%{tde_datadir}/services/pydoc.protocol +%{tde_datadir}/servicetypes/tdevelopappfrontend.desktop +%{tde_datadir}/servicetypes/tdevelopcodebrowserfrontend.desktop +%{tde_datadir}/servicetypes/tdevelopcompileroptions.desktop +%{tde_datadir}/servicetypes/tdevelopcreatefile.desktop +%{tde_datadir}/servicetypes/tdevelopdifffrontend.desktop +%{tde_datadir}/servicetypes/tdevelopdocumentationplugins.desktop +%{tde_datadir}/servicetypes/tdeveloplanguagesupport.desktop +%{tde_datadir}/servicetypes/tdevelopmakefrontend.desktop +%{tde_datadir}/servicetypes/tdeveloppcsimporter.desktop +%{tde_datadir}/servicetypes/tdevelopplugin.desktop +%{tde_datadir}/servicetypes/tdevelopproject.desktop +%{tde_datadir}/servicetypes/tdevelopquickopen.desktop +%{tde_datadir}/servicetypes/tdevelopsourceformatter.desktop +%{tde_datadir}/servicetypes/tdevelopvcsintegrator.desktop +%{tde_datadir}/servicetypes/tdevelopversioncontrol.desktop +%{tde_datadir}/apps/kdevcsharpsupport/ +%{tde_datadir}/apps/kdevctags2/ +%{tde_datadir}/apps/kdevcustomproject/ +%{tde_datadir}/apps/kdevdebugger/ +%{tde_datadir}/apps/kdevdesigner/ +%{tde_datadir}/apps/kdevdesignerpart/ +%{tde_datadir}/apps/kdevdesignerpart/ +%{tde_datadir}/apps/kdevdiff/ +%{tde_datadir}/apps/kdevdistpart/ +%{tde_datadir}/apps/kdevdocumentation/ +%{tde_datadir}/apps/kdevdoxygen/ +%{tde_datadir}/apps/tdevelop/ +%{tde_datadir}/apps/kdevfilecreate/ +%{tde_datadir}/apps/kdevfilelist/ +%{tde_datadir}/apps/kdevfilter/ +%{tde_datadir}/apps/kdevfortransupport/ +%{tde_datadir}/apps/kdevfullscreen/ +%{tde_datadir}/apps/kdevgrepview/ +%{tde_datadir}/apps/kdevjavasupport/ +%{tde_datadir}/apps/kdevmakeview/ +%{tde_datadir}/apps/kdevpartexplorer/ +%{tde_datadir}/apps/kdevpascalproject/ +%{tde_datadir}/apps/kdevpascalsupport/ +%{tde_datadir}/apps/kdevperlsupport/ +%{tde_datadir}/apps/kdevphpsupport/ +%{tde_datadir}/apps/kdevpythonsupport/ +%{tde_datadir}/apps/kdevquickopen/ +%{tde_datadir}/apps/kdevrbdebugger/ +%{tde_datadir}/apps/kdevregexptest/ +%{tde_datadir}/apps/kdevreplace/ +%{tde_datadir}/apps/kdevrubysupport/ +%{tde_datadir}/apps/kdevscripting/ +%{tde_datadir}/apps/kdevscriptproject/ +%{tde_datadir}/apps/kdevsnippet/ +%{tde_datadir}/apps/kdevsqlsupport +%{tde_datadir}/apps/kdevtipofday/ +%{tde_datadir}/apps/kdevtools/ +%{tde_datadir}/apps/kdevtrollproject/ +%{tde_datadir}/apps/kdevvalgrind/ +%{tde_datadir}/apps/tdeio_pydoc/ +%{tde_datadir}/config/kdevassistantrc +%{tde_datadir}/config/tdeveloprc +%{tde_datadir}/desktop-directories/tde-development-tdevelop.directory +%{tde_tdedocdir}/HTML/en/tdevelop/ +%{tde_libdir}/libd.so.0 +%{tde_libdir}/libd.so.0.0.0 +%{tde_libdir}/libkinterfacedesigner.so.0 +%{tde_libdir}/libkinterfacedesigner.so.0.0.0 +%{tde_tdelibdir}/libkdevvisualboyadvance.la +%{tde_tdelibdir}/libkdevvisualboyadvance.so +%{tde_datadir}/apps/kdevdesignerpart/pics/ +%{tde_datadir}/apps/kdevvisualboyadvance/ +%{tde_tdedocdir}/HTML/en/tde_app_devel/ +%{tde_datadir}/mimelnk/text/x-fortran.desktop +%{tde_datadir}/services/kdevvisualboyadvance.desktop +%{tde_tdedocdir}/HTML/en/kdevdesigner/ + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/Other +Requires: %{name}-libs = %{version}-%{release} + +Obsoletes: trinity-kdevelop-devel < %{version}-%{release} +Provides: trinity-kdevelop-devel = %{version}-%{release} + +%description devel +This package contains the development files for tdevelop. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so +%{tde_libdir}/lib*.la +%{tde_includedir}/* + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-tdelibs >= %{tde_version} +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} + +Obsoletes: trinity-kdevelop-libs < %{version}-%{release} +Provides: trinity-kdevelop-libs = %{version}-%{release} + +%description libs +This package contains the libraries needed for the tdevelop programs. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/libdesignerintegration.so.0 +%{tde_libdir}/libdesignerintegration.so.0.0.0 +%{tde_libdir}/libdocumentation_interfaces.so.0 +%{tde_libdir}/libdocumentation_interfaces.so.0.0.0 +%{tde_libdir}/libgdbmi_parser.so.0 +%{tde_libdir}/libgdbmi_parser.so.0.0.0 +%{tde_libdir}/libkdevbuildbase.so.0 +%{tde_libdir}/libkdevbuildbase.so.0.0.0 +%{tde_libdir}/libkdevbuildtoolswidgets.so.0 +%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0 +%{tde_libdir}/libkdevcatalog.so.0 +%{tde_libdir}/libkdevcatalog.so.0.0.0 +%{tde_libdir}/libkdevcppparser.so.0 +%{tde_libdir}/libkdevcppparser.so.0.0.0 +%{tde_libdir}/libtdevelop.so.1 +%{tde_libdir}/libtdevelop.so.1.0.0 +%{tde_libdir}/libkdevextras.so.0 +%{tde_libdir}/libkdevextras.so.0.0.0 +%{tde_libdir}/libkdevpropertyeditor.so.0 +%{tde_libdir}/libkdevpropertyeditor.so.0.0.0 +%{tde_libdir}/libkdevqmakeparser.so.0 +%{tde_libdir}/libkdevqmakeparser.so.0.0.0 +%{tde_libdir}/libkdevshell.so.0 +%{tde_libdir}/libkdevshell.so.0.0.0 +%{tde_libdir}/libkdevwidgets.so.0 +%{tde_libdir}/libkdevwidgets.so.0.0.0 +%{tde_libdir}/liblang_debugger.so.0 +%{tde_libdir}/liblang_debugger.so.0.0.0 +%{tde_libdir}/liblang_interfaces.so.0 +%{tde_libdir}/liblang_interfaces.so.0.0.0 +%{tde_libdir}/libprofileengine.so.0 +%{tde_libdir}/libprofileengine.so.0.0.0 + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_BUILDTOOL_ALL=ON \ + -DWITH_LANGUAGE_ALL=ON \ + -DWITH_VCS_ALL=OFF \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +- Initial release for TDE 14.0.0 diff --git a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec index a546532d8..3dc56f17e 100644 --- a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec +++ b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tdewebdev (version R14.0.0) +# spec file for package tdewebdev (version R14) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -21,7 +21,9 @@ # TDE variables %define tde_epoch 2 +%if "%{?tde_version}" == "" %define tde_version 14.0.0 +%endif %define tde_pkg tdewebdev %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin |