summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--redhat/main/tdetoys/kdetoys-3.5.12.spec165
-rw-r--r--redhat/main/tdetoys/kdetoys-3.5.13-missing_ldflags.patch21
-rw-r--r--redhat/main/tdetoys/kdetoys-3.5.13.1.spec450
-rw-r--r--redhat/main/tdetoys/kdetoys-3.5.13.spec459
-rw-r--r--redhat/main/tdetoys/tdetoys-14.0.0.spec85
5 files changed, 65 insertions, 1115 deletions
diff --git a/redhat/main/tdetoys/kdetoys-3.5.12.spec b/redhat/main/tdetoys/kdetoys-3.5.12.spec
deleted file mode 100644
index 6641945c2..000000000
--- a/redhat/main/tdetoys/kdetoys-3.5.12.spec
+++ /dev/null
@@ -1,165 +0,0 @@
-# Default version for this component
-%if "%{?version}" == ""
-%define version 3.5.12
-%endif
-%define release 4
-
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?_prefix}" != "/usr"
-%define _variant .opt
-%define _docdir %{_prefix}/share/doc
-%endif
-
-# TDE 3.5.12 specific building variables
-BuildRequires: autoconf automake libtool m4
-%define tde_docdir %{_docdir}
-%define tde_includedir %{_includedir}/kde
-%define tde_libdir %{_libdir}/kde3
-
-
-Summary: K Desktop Environment - Toys and Amusements
-Name: trinity-kdetoys
-Group: Amusements/Graphics
-Version: %{?version}
-Release: %{?release}%{?dist}%{?_variant}
-
-License: GPLv2+
-Source0: kdetoys-%{version}.tar.gz
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: desktop-file-utils
-BuildRequires: tqtinterface-devel >= %{version}
-BuildRequires: trinity-kdelibs-devel >= %{version}
-BuildRequires: gettext
-
-
-%description
-Includes:
-* amor: Amusing Misuse Of Resources put's comic figures above your windows
-* eyesapplet: a kicker applet similar to XEyes
-* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them
-* kmoon: system tray applet showing the moon phase
-* kodo: mouse movement meter
-* kteatime: system tray applet that makes sure your tea doesn't get too strong
-* ktux: Tux-in-a-Spaceship screen saver
-* kweather: kicker applet that will display the current weather outside
-* kworldwatch: application and kicker applet showing daylight area on the world
- globe
-
-NOTE: kicker applets and screen savers require kdebase to be installed,
-and user to be logged-in to KDE.
-
-
-%prep
-%setup -q -n kdetoys
-
-%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
-%__make -f "admin/Makefile.common"
-
-
-%build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
-export PATH="%{_bindir}:${PATH}"
-export LDFLAGS="-L%{_libdir} -I%{_includedir}"
-
-%configure \
- --includedir=%{_includedir}/kde \
- --disable-rpath \
- --enable-new-ldflags \
- --disable-debug --disable-warnings \
- --disable-dependency-tracking --enable-final \
- --with-extra-includes=%{_includedir}/tqt
-
-%__make %{?_smp_mflags}
-
-
-%install
-export PATH="%{_bindir}:${PATH}"
-%__rm -rf "%{buildroot}"
-%__make install DESTDIR=%{buildroot}
-
-desktop-file-install \
- --dir=%{buildroot}%{_datadir}/applnk/System/ScreenSavers \
- --vendor="" \
- %{buildroot}%{_datadir}/applnk/System/ScreenSavers/*.desktop ||:
-
-desktop-file-install \
- --dir=%{buildroot}%{_datadir}/applications/kde \
- --vendor="" \
- %{buildroot}%{_datadir}/applications/kde/*.desktop ||:
-
-# replace absolute symlink with relative
-ln -nfs tips-en %{buildroot}%{_datadir}/apps/amor/tips
-
-## File lists
-# locale's
-%find_lang %{name} || touch %{name}.lang
-# HTML (1.0)
-HTML_DIR=$(kde-config --expandvars --install html)
-if [ -d %{buildroot}$HTML_DIR ]; then
-for lang_dir in %{buildroot}$HTML_DIR/* ; do
- if [ -d $lang_dir ]; then
- lang=$(basename $lang_dir)
- echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
- # replace absolute symlinks with relative ones
- pushd $lang_dir
- for i in *; do
- [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
- done
- popd
- fi
-done
-fi
-
-## Unpackaged files
-# not sure the point of just one header file 'AmorIface.h', omit (for now).
-%__rm -rf %{buildroot}%{_includedir}
-
-
-%post
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-
-%postun
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-
-
-%files -f %{name}.lang
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README
-%{_bindir}/*
-%{_libdir}/libkdeinit_*.*
-%{tde_libdir}/*
-%{_datadir}/applications/kde/*.desktop
-%{_datadir}/applnk/System/ScreenSavers/*.desktop
-%{_datadir}/apps/*
-%{_datadir}/icons/hicolor/*/*/*
-%{_datadir}/service*/*.desktop
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%changelog
-* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
-- Add support for RHEL5
-
-* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
-- Import to GIT
-
-* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
-- Correct macro to install under "/opt", if desired
-
-* Fri Aug 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
-- Initial version
-- Spec file based on Fedora 8 "kdetoys 7:3.5.10-1"
-
diff --git a/redhat/main/tdetoys/kdetoys-3.5.13-missing_ldflags.patch b/redhat/main/tdetoys/kdetoys-3.5.13-missing_ldflags.patch
deleted file mode 100644
index ef7e8b966..000000000
--- a/redhat/main/tdetoys/kdetoys-3.5.13-missing_ldflags.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- kdetoys/kweather/Makefile.am.ORI 2012-08-01 10:42:11.015544034 +0200
-+++ kdetoys/kweather/Makefile.am 2012-08-01 10:44:37.144904650 +0200
-@@ -26,7 +26,8 @@
- weatherIface.skel weatherservice.stub \
- weatherbutton.cpp
- weather_panelapplet_la_LDFLAGS = $(KDE_PLUGIN) -module $(all_libraries)
--weather_panelapplet_la_LIBADD = $(LIB_KHTML)
-+weather_panelapplet_la_LIBADD = $(LIB_KHTML) $(LIB_QT) -lDCOP
-+
-
- appletdir = $(kde_datadir)/kicker/applets
- applet_DATA = kweather.desktop
-@@ -67,7 +68,7 @@
- kde_services_DATA = kcmweather.desktop kcmweatherservice.desktop
-
- kweatherreport_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version
--kweatherreport_la_LIBADD = $(LIB_KHTML) reportview.lo
-+kweatherreport_la_LIBADD = $(LIB_KHTML) reportview.lo $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) -lDCOP
- kweatherreport_la_SOURCES = reportmain.cpp weatherservice.stub
-
- KDE_ICON = kweather
diff --git a/redhat/main/tdetoys/kdetoys-3.5.13.1.spec b/redhat/main/tdetoys/kdetoys-3.5.13.1.spec
deleted file mode 100644
index 364cb87e9..000000000
--- a/redhat/main/tdetoys/kdetoys-3.5.13.1.spec
+++ /dev/null
@@ -1,450 +0,0 @@
-# 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
-
-# TDE 3.5.13 specific building variables
-%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/kde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-%define _docdir %{tde_docdir}
-
-
-Summary: Trinity Desktop Environment - Toys and Amusements
-Name: trinity-tdetoys
-Group: Amusements/Graphics
-Version: 3.5.13.1
-Release: 1%{?dist}%{?_variant}
-
-License: GPLv2+
-Source0: kdetoys-3.5.13.1.tar.gz
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: autoconf automake libtool m4
-BuildRequires: desktop-file-utils
-BuildRequires: trinity-tqtinterface-devel >= %{version}
-BuildRequires: trinity-tdelibs-devel >= %{version}
-BuildRequires: gettext
-
-Obsoletes: trinity-kdetoys < %{version}-%{release}
-Provides: trinity-kdetoys = %{version}-%{release}
-
-# Metapackage
-Requires: trinity-amor = %{version}-%{release}
-Requires: trinity-eyesapplet = %{version}-%{release}
-Requires: trinity-fifteenapplet = %{version}-%{release}
-Requires: trinity-kmoon = %{version}-%{release}
-Requires: trinity-kodo = %{version}-%{release}
-Requires: trinity-kteatime = %{version}-%{release}
-Requires: trinity-ktux = %{version}-%{release}
-Requires: trinity-kweather = %{version}-%{release}
-Requires: trinity-kworldclock = %{version}-%{release}
-
-
-%description
-Includes:
-* amor: Amusing Misuse Of Resources put's comic figures above your windows
-* eyesapplet: a kicker applet similar to XEyes
-* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them
-* kmoon: system tray applet showing the moon phase
-* kodo: mouse movement meter
-* kteatime: system tray applet that makes sure your tea doesn't get too strong
-* ktux: Tux-in-a-Spaceship screen saver
-* kweather: kicker applet that will display the current weather outside
-* kworldwatch: application and kicker applet showing daylight area on the world
- globe
-
-NOTE: kicker applets and screen savers require kdebase to be installed,
-and user to be logged-in to TDE.
-
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README
-
-##########
-
-%package -n trinity-amor
-Summary: a Trinity creature for your desktop
-Group: Amusements/Graphics
-
-%description -n trinity-amor
-AMOR stands for Amusing Misuse Of Resources. It provides several different
-characters who prance around your X screen doing tricks and giving you tips.
-
-Note that AMOR will only work with some window managers. Both KWin (the
-KDE window manager) and Metacity (a GTK2 window manager) are supported.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-amor
-%defattr(-,root,root,-)
-%{tde_bindir}/amor
-%{tde_datadir}/apps/amor/
-%{tde_tdeappdir}/amor.desktop
-%{tde_datadir}/icons/hicolor/*/apps/amor.png
-%{tde_tdedocdir}/HTML/en/amor/
-%doc AUTHORS COPYING README
-
-%post -n trinity-amor
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-amor
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-eyesapplet
-Summary: eyes applet for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-eyesapplet
-An applet for the KDE panel containing a pair of eyes that follow your mouse
-around the screen.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-eyesapplet
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/eyes_panelapplet.la
-%{tde_tdelibdir}/eyes_panelapplet.so
-%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop
-%doc AUTHORS COPYING README
-
-##########
-
-%package -n trinity-fifteenapplet
-Summary: fifteen pieces puzzle for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-fifteenapplet
-An applet for the KDE panel that lets you play the Fifteen Pieces
-sliding block puzzle. You have to order 15 pieces in a 4x4 square by
-moving them around.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-fifteenapplet
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/fifteen_panelapplet.la
-%{tde_tdelibdir}/fifteen_panelapplet.so
-%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop
-%doc AUTHORS COPYING README
-
-##########
-
-%package -n trinity-kmoon
-Summary: moon phase indicator for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-kmoon
-An applet for the KDE panel that displays the current phase of the moon.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kmoon
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/kmoon_panelapplet.la
-%{tde_tdelibdir}/kmoon_panelapplet.so
-%{tde_datadir}/apps/kicker/applets/kmoonapplet.desktop
-%{tde_datadir}/apps/kmoon/
-%{tde_datadir}/icons/hicolor/*/apps/kmoon.png
-%{tde_tdedocdir}/HTML/en/kmoon/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kmoon
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-
-%postun
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-
-##########
-
-%package -n trinity-kodo
-Summary: mouse odometer for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-kodo
-KOdometer measures your desktop mileage. It tracks the movement of your mouse
-pointer across your desktop and renders it in inches/feet/miles! It can
-do cm/metres/km too. Its most exciting feature is the tripometer.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kodo
-%defattr(-,root,root,-)
-%{tde_bindir}/kodo
-%{tde_tdeappdir}/kodo.desktop
-%{tde_datadir}/apps/kodo/numbers.png
-%{tde_datadir}/icons/hicolor/*/apps/kodo.png
-%{tde_tdedocdir}/HTML/en/kodo/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kodo
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kodo
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-kteatime
-Summary: Trinity utility for making a fine cup of tea
-Group: Amusements/Graphics
-
-%description -n trinity-kteatime
-KTeaTime is a handy timer for steeping tea. No longer will you have to
-guess at how long it takes for your tea to be ready. Simply select the
-type of tea you have, and it will alert you when the tea is ready to
-drink.
-
-KTeaTime sits in the Trinity system tray.
-
-Please note that KTeaTime is written explicitly for Trinity. If you are
-using a non-KDE window manager or desktop environment then it is quite
-possible that KTeaTime will not work on your system.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kteatime
-%defattr(-,root,root,-)
-%{tde_bindir}/kteatime
-%{tde_tdeappdir}/kteatime.desktop
-%{tde_datadir}/apps/kteatime/
-%{tde_datadir}/icons/hicolor/*/apps/kteatime.png
-%{tde_tdedocdir}/HTML/en/kteatime/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kteatime
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kteatime
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-ktux
-Summary: Tux screensaver for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-ktux
-A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE).
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-ktux
-%defattr(-,root,root,-)
-%{tde_bindir}/ktux
-%{tde_datadir}/apps/ktux/
-%{tde_datadir}/applnk/System/ScreenSavers/ktux.desktop
-%{tde_datadir}/icons/hicolor/*/apps/ktux.png
-%doc AUTHORS COPYING README
-
-%post -n trinity-ktux
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-
-%postun -n trinity-ktux
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-
-##########
-
-%package -n trinity-kweather
-Summary: weather display applet for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-kweather
-An applet for the KDE panel that displays your area's current weather.
-Information shown includes the temperature, wind speed, air pressure
-and more. By pressing a button a full weather report can be obtained.
-
-KWeather also provides a weather service that can track multiple weather
-stations and provide this information to other applications, including
-Konqueror's sidebar and Kontact's summary page.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kweather
-%defattr(-,root,root,-)
-%{tde_bindir}/kweatherservice
-%{tde_bindir}/kweatherreport
-%{tde_libdir}/lib[kt]deinit_kweatherreport.so
-%{tde_libdir}/lib[kt]deinit_kweatherreport.la
-%{tde_tdelibdir}/kcm_weather.so
-%{tde_tdelibdir}/kcm_weather.la
-%{tde_tdelibdir}/kcm_weatherservice.so
-%{tde_tdelibdir}/kcm_weatherservice.la
-%{tde_tdelibdir}/kweatherreport.so
-%{tde_tdelibdir}/kweatherreport.la
-%{tde_tdelibdir}/weather_panelapplet.la
-%{tde_tdelibdir}/weather_panelapplet.so
-%{tde_datadir}/apps/kicker/applets/kweather.desktop
-%{tde_datadir}/apps/kweather/
-%{tde_datadir}/apps/kweatherservice/stations.dat
-%{tde_datadir}/apps/kweatherservice/weather_stations.desktop
-%{tde_datadir}/icons/hicolor/*/apps/kweather.png
-%{tde_datadir}/services/kweatherservice.desktop
-%{tde_datadir}/services/kcmweather.desktop
-%{tde_datadir}/services/kcmweatherservice.desktop
-%{tde_tdedocdir}/HTML/en/kweather/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kweather
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kweather
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-kworldclock
-Summary: earth watcher for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-kworldclock
-Displays where in the world it is light and dark depending on time, as
-well as offering the time in all of the major cities of the world.
-This can be run standalone, as an applet in the KDE panel or as a
-desktop background.
-
-Additional kworldclock themes are available in the tdeartwork-misc package.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kworldclock
-%defattr(-,root,root,-)
-%{tde_bindir}/kworldclock
-%{tde_tdelibdir}/ww_panelapplet.la
-%{tde_tdelibdir}/ww_panelapplet.so
-%{tde_tdeappdir}/kworldclock.desktop
-%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop
-%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop
-%{tde_datadir}/apps/kworldclock/
-%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png
-%{tde_tdedocdir}/HTML/en/kworldclock/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kworldclock
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kworldclock
-touch --no-create %{tde_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%if 0%{?suse_version} || 0%{?pclinuxos}
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n kdetoys-3.5.13.1
-
-# Ugly hack to modify TQT include directory inside autoconf files.
-# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
-%__sed -i admin/acinclude.m4.in \
- -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
- -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
-
-%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
-%__make -f "admin/Makefile.common"
-
-
-%build
-unset QTDIR || : ; . /etc/profile.d/qt3.sh
-export PATH="%{tde_bindir}:${PATH}"
-export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
-export KDEDIR=%{tde_prefix}
-
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --libdir=%{tde_libdir} \
- --datadir=%{tde_datadir} \
- --includedir=%{tde_tdeincludedir} \
- --disable-rpath \
- --enable-new-ldflags \
- --enable-closure \
- --disable-debug --disable-warnings \
- --disable-dependency-tracking --enable-final \
- --with-extra-includes=%{tde_includedir}/tqt
-
-%__make %{?_smp_mflags}
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf "%{buildroot}"
-%__make install DESTDIR=%{buildroot}
-
-# replace absolute symlink with relative
-ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips
-
-## File lists
-# HTML (1.0)
-HTML_DIR=$(kde-config --expandvars --install html)
-if [ -d %{buildroot}$HTML_DIR ]; then
-for lang_dir in %{buildroot}$HTML_DIR/* ; do
- if [ -d $lang_dir ]; then
- lang=$(basename $lang_dir)
- echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
- # replace absolute symlinks with relative ones
- pushd $lang_dir
- for i in *; do
- [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
- done
- popd
- fi
-done
-fi
-
-# Useless include file from Amor
-%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%changelog
-* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
-- Initial release for TDE 3.5.13.1
diff --git a/redhat/main/tdetoys/kdetoys-3.5.13.spec b/redhat/main/tdetoys/kdetoys-3.5.13.spec
deleted file mode 100644
index 57f11f2a8..000000000
--- a/redhat/main/tdetoys/kdetoys-3.5.13.spec
+++ /dev/null
@@ -1,459 +0,0 @@
-# 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
-
-# TDE 3.5.13 specific building variables
-%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/kde
-%define tde_tdedocdir %{tde_docdir}/kde
-%define tde_tdeincludedir %{tde_includedir}/kde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-%define _docdir %{tde_docdir}
-
-
-Summary: Trinity Desktop Environment - Toys and Amusements
-Name: trinity-tdetoys
-Group: Amusements/Graphics
-Version: 3.5.13
-Release: 3%{?dist}%{?_variant}
-
-License: GPLv2+
-Source0: kdetoys-%{version}.tar.gz
-
-# [kdetoys] Missing LDFLAGS cause FTBFS on Mageia 2
-Patch1: kdetoys-3.5.13-missing_ldflags.patch
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: autoconf automake libtool m4
-BuildRequires: desktop-file-utils
-BuildRequires: tqtinterface-devel
-BuildRequires: trinity-kdelibs-devel
-BuildRequires: gettext
-
-Obsoletes: trinity-kdetoys < %{version}-%{release}
-Provides: trinity-kdetoys = %{version}-%{release}
-
-# Metapackage
-Requires: trinity-amor = %{version}-%{release}
-Requires: trinity-eyesapplet = %{version}-%{release}
-Requires: trinity-fifteenapplet = %{version}-%{release}
-Requires: trinity-kmoon = %{version}-%{release}
-Requires: trinity-kodo = %{version}-%{release}
-Requires: trinity-kteatime = %{version}-%{release}
-Requires: trinity-ktux = %{version}-%{release}
-Requires: trinity-kweather = %{version}-%{release}
-Requires: trinity-kworldclock = %{version}-%{release}
-
-
-%description
-Includes:
-* amor: Amusing Misuse Of Resources put's comic figures above your windows
-* eyesapplet: a kicker applet similar to XEyes
-* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them
-* kmoon: system tray applet showing the moon phase
-* kodo: mouse movement meter
-* kteatime: system tray applet that makes sure your tea doesn't get too strong
-* ktux: Tux-in-a-Spaceship screen saver
-* kweather: kicker applet that will display the current weather outside
-* kworldwatch: application and kicker applet showing daylight area on the world
- globe
-
-NOTE: kicker applets and screen savers require kdebase to be installed,
-and user to be logged-in to TDE.
-
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README
-
-##########
-
-%package -n trinity-amor
-Summary: a Trinity creature for your desktop
-Group: Amusements/Graphics
-
-%description -n trinity-amor
-AMOR stands for Amusing Misuse Of Resources. It provides several different
-characters who prance around your X screen doing tricks and giving you tips.
-
-Note that AMOR will only work with some window managers. Both KWin (the
-KDE window manager) and Metacity (a GTK2 window manager) are supported.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-amor
-%defattr(-,root,root,-)
-%{tde_bindir}/amor
-%{tde_datadir}/apps/amor/
-%{tde_tdeappdir}/amor.desktop
-%{tde_datadir}/icons/hicolor/*/apps/amor.png
-%{tde_tdedocdir}/HTML/en/amor/
-%doc AUTHORS COPYING README
-
-%post -n trinity-amor
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-amor
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-eyesapplet
-Summary: eyes applet for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-eyesapplet
-An applet for the KDE panel containing a pair of eyes that follow your mouse
-around the screen.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-eyesapplet
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/eyes_panelapplet.la
-%{tde_tdelibdir}/eyes_panelapplet.so
-%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop
-%doc AUTHORS COPYING README
-
-##########
-
-%package -n trinity-fifteenapplet
-Summary: fifteen pieces puzzle for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-fifteenapplet
-An applet for the KDE panel that lets you play the Fifteen Pieces
-sliding block puzzle. You have to order 15 pieces in a 4x4 square by
-moving them around.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-fifteenapplet
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/fifteen_panelapplet.la
-%{tde_tdelibdir}/fifteen_panelapplet.so
-%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop
-%doc AUTHORS COPYING README
-
-##########
-
-%package -n trinity-kmoon
-Summary: moon phase indicator for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-kmoon
-An applet for the KDE panel that displays the current phase of the moon.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kmoon
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/kmoon_panelapplet.la
-%{tde_tdelibdir}/kmoon_panelapplet.so
-%{tde_datadir}/apps/kicker/applets/kmoonapplet.desktop
-%{tde_datadir}/apps/kmoon/
-%{tde_datadir}/icons/hicolor/*/apps/kmoon.png
-%{tde_tdedocdir}/HTML/en/kmoon/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kmoon
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-
-%postun
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-
-##########
-
-%package -n trinity-kodo
-Summary: mouse odometer for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-kodo
-KOdometer measures your desktop mileage. It tracks the movement of your mouse
-pointer across your desktop and renders it in inches/feet/miles! It can
-do cm/metres/km too. Its most exciting feature is the tripometer.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kodo
-%defattr(-,root,root,-)
-%{tde_bindir}/kodo
-%{tde_tdeappdir}/kodo.desktop
-%{tde_datadir}/apps/kodo/numbers.png
-%{tde_datadir}/icons/hicolor/*/apps/kodo.png
-%{tde_tdedocdir}/HTML/en/kodo/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kodo
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kodo
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-kteatime
-Summary: Trinity utility for making a fine cup of tea
-Group: Amusements/Graphics
-
-%description -n trinity-kteatime
-KTeaTime is a handy timer for steeping tea. No longer will you have to
-guess at how long it takes for your tea to be ready. Simply select the
-type of tea you have, and it will alert you when the tea is ready to
-drink.
-
-KTeaTime sits in the Trinity system tray.
-
-Please note that KTeaTime is written explicitly for Trinity. If you are
-using a non-KDE window manager or desktop environment then it is quite
-possible that KTeaTime will not work on your system.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kteatime
-%defattr(-,root,root,-)
-%{tde_bindir}/kteatime
-%{tde_tdeappdir}/kteatime.desktop
-%{tde_datadir}/apps/kteatime/
-%{tde_datadir}/icons/hicolor/*/apps/kteatime.png
-%{tde_tdedocdir}/HTML/en/kteatime/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kteatime
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kteatime
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-ktux
-Summary: Tux screensaver for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-ktux
-A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE).
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-ktux
-%defattr(-,root,root,-)
-%{tde_bindir}/ktux
-%{tde_datadir}/apps/ktux/
-%{tde_datadir}/applnk/System/ScreenSavers/ktux.desktop
-%{tde_datadir}/icons/hicolor/*/apps/ktux.png
-%doc AUTHORS COPYING README
-
-%post -n trinity-ktux
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-
-%postun -n trinity-ktux
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-
-##########
-
-%package -n trinity-kweather
-Summary: weather display applet for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-kweather
-An applet for the KDE panel that displays your area's current weather.
-Information shown includes the temperature, wind speed, air pressure
-and more. By pressing a button a full weather report can be obtained.
-
-KWeather also provides a weather service that can track multiple weather
-stations and provide this information to other applications, including
-Konqueror's sidebar and Kontact's summary page.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kweather
-%defattr(-,root,root,-)
-%{tde_bindir}/kweatherservice
-%{tde_bindir}/kweatherreport
-%{tde_libdir}/lib[kt]deinit_kweatherreport.so
-%{tde_libdir}/lib[kt]deinit_kweatherreport.la
-%{tde_tdelibdir}/kcm_weather.so
-%{tde_tdelibdir}/kcm_weather.la
-%{tde_tdelibdir}/kcm_weatherservice.so
-%{tde_tdelibdir}/kcm_weatherservice.la
-%{tde_tdelibdir}/kweatherreport.so
-%{tde_tdelibdir}/kweatherreport.la
-%{tde_tdelibdir}/weather_panelapplet.la
-%{tde_tdelibdir}/weather_panelapplet.so
-%{tde_datadir}/apps/kicker/applets/kweather.desktop
-%{tde_datadir}/apps/kweather/
-%{tde_datadir}/apps/kweatherservice/stations.dat
-%{tde_datadir}/apps/kweatherservice/weather_stations.desktop
-%{tde_datadir}/icons/hicolor/*/apps/kweather.png
-%{tde_datadir}/services/kweatherservice.desktop
-%{tde_datadir}/services/kcmweather.desktop
-%{tde_datadir}/services/kcmweatherservice.desktop
-%{tde_tdedocdir}/HTML/en/kweather/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kweather
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kweather
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-kworldclock
-Summary: earth watcher for Trinity
-Group: Amusements/Graphics
-
-%description -n trinity-kworldclock
-Displays where in the world it is light and dark depending on time, as
-well as offering the time in all of the major cities of the world.
-This can be run standalone, as an applet in the KDE panel or as a
-desktop background.
-
-Additional kworldclock themes are available in the tdeartwork-misc package.
-
-This package is part of Trinity, and a component of the TDE toys module.
-
-%files -n trinity-kworldclock
-%defattr(-,root,root,-)
-%{tde_bindir}/kworldclock
-%{tde_tdelibdir}/ww_panelapplet.la
-%{tde_tdelibdir}/ww_panelapplet.so
-%{tde_tdeappdir}/kworldclock.desktop
-%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop
-%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop
-%{tde_datadir}/apps/kworldclock/
-%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png
-%{tde_tdedocdir}/HTML/en/kworldclock/
-%doc AUTHORS COPYING README
-
-%post -n trinity-kworldclock
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kworldclock
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%prep
-%setup -q -n kdetoys
-%patch1 -p1 -b .ftbfs
-
-# Ugly hack to modify TQT include directory inside autoconf files.
-# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
-%__sed -i admin/acinclude.m4.in \
- -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
- -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
-
-%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
-%__make -f "admin/Makefile.common"
-
-
-%build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
-export PATH="%{tde_bindir}:${PATH}"
-export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
-
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --libdir=%{tde_libdir} \
- --datadir=%{tde_datadir} \
- --includedir=%{tde_tdeincludedir} \
- --disable-rpath \
- --enable-new-ldflags \
- --enable-closure \
- --disable-debug --disable-warnings \
- --disable-dependency-tracking --enable-final \
- --with-extra-includes=%{tde_includedir}/tqt
-
-%__make %{?_smp_mflags}
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf "%{buildroot}"
-%__make install DESTDIR=%{buildroot}
-
-# replace absolute symlink with relative
-ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips
-
-## File lists
-# HTML (1.0)
-HTML_DIR=$(kde-config --expandvars --install html)
-if [ -d %{buildroot}$HTML_DIR ]; then
-for lang_dir in %{buildroot}$HTML_DIR/* ; do
- if [ -d $lang_dir ]; then
- lang=$(basename $lang_dir)
- echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
- # replace absolute symlinks with relative ones
- pushd $lang_dir
- for i in *; do
- [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
- done
- popd
- fi
-done
-fi
-
-# Useless include file from Amor
-%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%changelog
-* Wed Aug 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
-- Split into several packages
-- Renames to 'trinity-tdetoys'
-- Add support for Mageia 2
-
-* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
-- Fix HTML directory location
-
-* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
-- Initial release for RHEL 6, RHEL 5 and Fedora 15
-
-* Fri Oct 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
-- Import to GIT
-
diff --git a/redhat/main/tdetoys/tdetoys-14.0.0.spec b/redhat/main/tdetoys/tdetoys-14.0.0.spec
index 3b6385237..5f3fa0fc9 100644
--- a/redhat/main/tdetoys/tdetoys-14.0.0.spec
+++ b/redhat/main/tdetoys/tdetoys-14.0.0.spec
@@ -1,46 +1,82 @@
-# 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
-
+#
+# spec file for package tdetoys (version R14.0.0)
+#
+# 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_version 14.0.0
-
-# TDE specific building variables
+%define tde_pkg tdetoys
+%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 _docdir %{tde_docdir}
+# 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: Trinity Desktop Environment - Toys and Amusements
-Name: trinity-tdetoys
-Group: Amusements/Graphics
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+Group: Amusements/Graphics
+URL: http://www.trinitydesktop.org/
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
License: GPLv2+
-Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+%endif
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: cmake >= 2.8
-BuildRequires: desktop-file-utils
-BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
-BuildRequires: trinity-arts-devel >= 1:1.5.10
+# Trinity dependencies
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+
+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
+
+BuildRequires: desktop-file-utils
BuildRequires: gettext
Obsoletes: trinity-kdetoys < %{version}-%{release}
@@ -371,7 +407,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
##########
-%if 0%{?suse_version} || 0%{?pclinuxos}
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
@@ -421,6 +457,15 @@ export PATH="%{tde_bindir}:${PATH}"
# Useless include file from Amor
%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r kworldclock Utility Clock
+%suse_update_desktop_file -r kteatime Applet
+%suse_update_desktop_file -r amor Amusement
+%suse_update_desktop_file -r kodo Amusement
+%suse_update_desktop_file ktux Screensaver
+%endif
+
%clean
%__rm -rf %{buildroot}