# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" %define _variant .opt %define _docdir %{_datadir}/doc %endif Name: trinity-desktop Version: 3.5.13 Release: 6%{?dist}%{?_variant} License: GPL Summary: Meta-package to install TDE Group: User Interface/Desktops Vendor: Trinity Project Packager: Francois Andriot URL: http://www.trinitydesktop.org/ Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Source0: trinity-3.5.13-fedora.repo Source1: trinity-3.5.13-rhel.repo Obsoletes: trinity-desktop-extras < %{version}-%{release} Provides: trinity-desktop-extras = %{version}-%{release} Requires: trinity-tdeaccessibility >= %{version} Requires: trinity-tdeaddons >= %{version} Requires: trinity-tdeadmin >= %{version} Requires: trinity-tdeartwork >= %{version} Requires: trinity-tdebase >= %{version} Requires: trinity-tdebindings >= %{version} Requires: trinity-tdeedu >= %{version} Requires: trinity-tdegames >= %{version} Requires: trinity-tdegraphics >= %{version} Requires: trinity-tdemultimedia >= %{version} Requires: trinity-tdenetwork >= %{version} Requires: trinity-tdepim >= %{version} Requires: trinity-tdeutils >= %{version} Requires: trinity-tdetoys >= %{version} Requires: hal %if 0%{?rhel} || 0%{?fedora} Requires: trinity-repo >= %{version} %endif %description The TDE project aims to keep the KDE3.5 computing style alive, as well as polish off any rough edges that were present as of KDE 3.5.10. Along the way, new useful features will be added to keep the environment up-to-date. Toward that end, significant new enhancements have already been made in areas such as display control, network connectivity, user authentication, and much more! %files ########## %package devel Group: User Interface/Desktops Summary: Meta-package to install TDE development tools Obsoletes: trinity-desktop-dev < %{version}-%{release} Provides: trinity-desktop-dev = %{version}-%{release} Requires: trinity-tdesdk >= %{version} Requires: trinity-tdevelop >= %{version} Requires: trinity-tdewebdev >= %{version} %description devel %{summary} %files devel ########## %package applications Group: User Interface/Desktops Summary: Meta-package to install all TDE applications Requires: trinity-abakus Requires: trinity-amarok Requires: trinity-basket Requires: trinity-bibletime #Requires: trinity-compizconfig-backend-kconfig #Requires: trinity-desktop-effects-kde Requires: trinity-digikam Requires: trinity-dolphin Requires: trinity-filelight #Requires: trinity-filelight-l10n # Fusion-icon requires 'trinity-compizconfig-backend-kconfig' #Requires: trinity-fusion-icon Requires: trinity-gwenview Requires: trinity-k3b # Warning, k9copy requires ffmpeg Requires: trinity-k9copy Requires: trinity-kaffeine Requires: trinity-kaffeine-mozilla Requires: trinity-katapult Requires: trinity-kbarcode Requires: trinity-kbfx Requires: trinity-kbookreader Requires: trinity-kchmviewer Requires: trinity-kcmautostart Requires: trinity-kcpuload Requires: trinity-kdbusnotification Requires: trinity-guidance Requires: trinity-style-lipstik Requires: trinity-style-qtcurve Requires: trinity-systemsettings Requires: trinity-kdesudo Requires: trinity-kdesvn Requires: trinity-kdiff3 Requires: trinity-kdirstat Requires: trinity-kdmtheme Requires: trinity-keep Requires: trinity-kerry Requires: trinity-kgtk-qt3 Requires: trinity-kile Requires: trinity-kima Requires: trinity-kio-locate Requires: trinity-kio-umountwrapper Requires: trinity-kiosktool Requires: trinity-kmplayer Requires: trinity-kmyfirewall Requires: trinity-kmymoney Requires: trinity-knemo Requires: trinity-knetload Requires: trinity-knetstats Requires: trinity-knetworkmanager Requires: trinity-knights Requires: trinity-knowit Requires: trinity-knutclient Requires: trinity-koffice-suite #Requires: trinity-konstruct Requires: trinity-konversation Requires: trinity-kopete-otr Requires: trinity-kpicosim Requires: trinity-kpilot # Warning, kradio requires libmp3lame Requires: trinity-kradio Requires: trinity-krename Requires: trinity-krusader Requires: trinity-ksplash-engine-moodin Requires: trinity-ksquirrel Requires: trinity-kstreamripper Requires: trinity-ksystemlog Requires: trinity-ktechlab Requires: trinity-ktorrent Requires: trinity-kuickshow Requires: trinity-kvirc Requires: trinity-kvkbd #Requires: trinity-kvpnc # R14 only Requires: trinity-kwin-style-crystal Requires: trinity-piklab Requires: trinity-potracegui #Requires: trinity-qt4-tqt-theme-engine Requires: trinity-smartcardauth Requires: trinity-smb4k Requires: trinity-soundkonverter Requires: trinity-tellico Requires: trinity-wlassistant Requires: trinity-yakuake # On RHEL 5, HAL version is too old for kpowersave . %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} Requires: trinity-kpowersave %endif # On RHEL 5, GTK2 version is too old for gtk-qt-engine. %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} Requires: trinity-gtk-qt-engine %endif # On RHEL 5, lilypond is not available, so no rosegarden :'-( %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} Requires: trinity-rosegarden %endif %description applications %{summary} %files applications ########## %package extras Group: User Interface/Desktops Summary: Meta-package to install all extras (unofficial) TDE packages Requires: trinity-akode Requires: trinity-kasablanca Requires: trinity-kdebluetooth Requires: trinity-ksensors Requires: trinity-style-ia-oa %description extras %{summary} %files extras ########## %package all Group: User Interface/Desktops Summary: Meta-package to install all TDE packages Requires: %{name} = %{version} Requires: %{name}-applications = %{version} Requires: %{name}-devel = %{version} #Requires: %{name}-extras = %{version} %description all %{summary} %files all ########## %if 0%{?rhel} || 0%{?fedora} %package -n trinity-repo Group: User Interface/Desktops Summary: Yum configuration files for Trinity %description -n trinity-repo %{summary} %files -n trinity-repo %{_sysconfdir}/yum.repos.d/*.repo %endif ########## %prep %build %install %__rm -rf %{?buildroot} %__mkdir_p %{?buildroot}%{_sysconfdir}/yum.repos.d # Fedora repo file %if 0%{?fedora} > 0 %__sed %{SOURCE0} \ -e 's/\$releasever/%{fedora}/g' \ -e 's/-fedora/-f%{fedora}/g' \ >%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13-f%{fedora}.repo %endif # RHEL repo file %if 0%{?rhel} > 0 %__sed %{SOURCE1} \ -e 's/\$releasever/%{rhel}/g' \ >%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13-el%{rhel}.repo %endif %if 0%{?fedora} || 0%{?rhel} %__chmod 644 %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo %endif %changelog * Mon Aug 06 2012 Francois Andriot - 3.5.13-6 - Add 'applications' subpackage * Wed Aug 01 2012 Francois Andriot - 3.5.13-5 - Updates to reflect new packages names - Add Mageia 2 support - Removes 'extras' packages * Wed Jun 06 2012 Francois Andriot - 3.5.13-4 - Enable mirrorlist * Wed Nov 30 2011 Francois Andriot - 3.5.13-3 - Fix repo files name and content * Sat Nov 12 2011 Francois Andriot - 3.5.13-2 - Add 'repo' package