|
|
@ -3,6 +3,8 @@
|
|
|
|
%define _variant .opt
|
|
|
|
%define _variant .opt
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define tde_version 14.0.0
|
|
|
|
|
|
|
|
|
|
|
|
# TDE specific building variables
|
|
|
|
# TDE specific building variables
|
|
|
|
%define tde_bindir %{tde_prefix}/bin
|
|
|
|
%define tde_bindir %{tde_prefix}/bin
|
|
|
|
%define tde_datadir %{tde_prefix}/share
|
|
|
|
%define tde_datadir %{tde_prefix}/share
|
|
|
@ -34,10 +36,11 @@ URL: http://www.trinitydesktop.org/
|
|
|
|
Prefix: %{tde_prefix}
|
|
|
|
Prefix: %{tde_prefix}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf automake libtool m4
|
|
|
|
BuildRequires: cmake >= 2.8
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: trinity-tqtinterface-devel >= %{version}
|
|
|
|
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
|
|
|
BuildRequires: trinity-tdelibs-devel >= %{version}
|
|
|
|
BuildRequires: trinity-arts-devel >= %{tde_version}
|
|
|
|
|
|
|
|
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
|
|
|
|
|
|
|
Obsoletes: trinity-kdetoys < %{version}-%{release}
|
|
|
|
Obsoletes: trinity-kdetoys < %{version}-%{release}
|
|
|
@ -68,7 +71,7 @@ Includes:
|
|
|
|
* kworldwatch: application and kicker applet showing daylight area on the world
|
|
|
|
* kworldwatch: application and kicker applet showing daylight area on the world
|
|
|
|
globe
|
|
|
|
globe
|
|
|
|
|
|
|
|
|
|
|
|
NOTE: kicker applets and screen savers require kdebase to be installed,
|
|
|
|
NOTE: kicker applets and screen savers require tdebase to be installed,
|
|
|
|
and user to be logged-in to TDE.
|
|
|
|
and user to be logged-in to TDE.
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -85,8 +88,8 @@ Group: Amusements/Graphics
|
|
|
|
AMOR stands for Amusing Misuse Of Resources. It provides several different
|
|
|
|
AMOR stands for Amusing Misuse Of Resources. It provides several different
|
|
|
|
characters who prance around your X screen doing tricks and giving you tips.
|
|
|
|
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
|
|
|
|
Note that AMOR will only work with some window managers. Both TWin (the
|
|
|
|
KDE window manager) and Metacity (a GTK2 window manager) are supported.
|
|
|
|
TDE window manager) and Metacity (a GTK2 window manager) are supported.
|
|
|
|
|
|
|
|
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
|
|
|
|
|
|
|
|
@ -116,7 +119,7 @@ Summary: eyes applet for Trinity
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
|
|
|
|
|
|
|
|
%description -n trinity-eyesapplet
|
|
|
|
%description -n trinity-eyesapplet
|
|
|
|
An applet for the KDE panel containing a pair of eyes that follow your mouse
|
|
|
|
An applet for the TDE panel containing a pair of eyes that follow your mouse
|
|
|
|
around the screen.
|
|
|
|
around the screen.
|
|
|
|
|
|
|
|
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
@ -135,7 +138,7 @@ Summary: fifteen pieces puzzle for Trinity
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
|
|
|
|
|
|
|
|
%description -n trinity-fifteenapplet
|
|
|
|
%description -n trinity-fifteenapplet
|
|
|
|
An applet for the KDE panel that lets you play the Fifteen Pieces
|
|
|
|
An applet for the TDE panel that lets you play the Fifteen Pieces
|
|
|
|
sliding block puzzle. You have to order 15 pieces in a 4x4 square by
|
|
|
|
sliding block puzzle. You have to order 15 pieces in a 4x4 square by
|
|
|
|
moving them around.
|
|
|
|
moving them around.
|
|
|
|
|
|
|
|
|
|
|
@ -155,7 +158,7 @@ Summary: moon phase indicator for Trinity
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
|
|
|
|
|
|
|
|
%description -n trinity-kmoon
|
|
|
|
%description -n trinity-kmoon
|
|
|
|
An applet for the KDE panel that displays the current phase of the moon.
|
|
|
|
An applet for the TDE panel that displays the current phase of the moon.
|
|
|
|
|
|
|
|
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
|
|
|
|
|
|
|
|
@ -224,7 +227,7 @@ drink.
|
|
|
|
KTeaTime sits in the Trinity system tray.
|
|
|
|
KTeaTime sits in the Trinity system tray.
|
|
|
|
|
|
|
|
|
|
|
|
Please note that KTeaTime is written explicitly for Trinity. If you are
|
|
|
|
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
|
|
|
|
using a non-TDE window manager or desktop environment then it is quite
|
|
|
|
possible that KTeaTime will not work on your system.
|
|
|
|
possible that KTeaTime will not work on your system.
|
|
|
|
|
|
|
|
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
@ -255,7 +258,7 @@ Summary: Tux screensaver for Trinity
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
|
|
|
|
|
|
|
|
%description -n trinity-ktux
|
|
|
|
%description -n trinity-ktux
|
|
|
|
A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE).
|
|
|
|
A neat Tux-in-a-spaceship screensaver for the Trinity Desktop Environment (TDE).
|
|
|
|
|
|
|
|
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
|
This package is part of Trinity, and a component of the TDE toys module.
|
|
|
|
|
|
|
|
|
|
|
@ -282,7 +285,7 @@ Summary: weather display applet for Trinity
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
Group: Amusements/Graphics
|
|
|
|
|
|
|
|
|
|
|
|
%description -n trinity-kweather
|
|
|
|
%description -n trinity-kweather
|
|
|
|
An applet for the KDE panel that displays your area's current weather.
|
|
|
|
An applet for the TDE panel that displays your area's current weather.
|
|
|
|
Information shown includes the temperature, wind speed, air pressure
|
|
|
|
Information shown includes the temperature, wind speed, air pressure
|
|
|
|
and more. By pressing a button a full weather report can be obtained.
|
|
|
|
and more. By pressing a button a full weather report can be obtained.
|
|
|
|
|
|
|
|
|
|
|
@ -336,7 +339,7 @@ Group: Amusements/Graphics
|
|
|
|
%description -n trinity-kworldclock
|
|
|
|
%description -n trinity-kworldclock
|
|
|
|
Displays where in the world it is light and dark depending on time, as
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
This can be run standalone, as an applet in the TDE panel or as a
|
|
|
|
desktop background.
|
|
|
|
desktop background.
|
|
|
|
|
|
|
|
|
|
|
|
Additional kworldclock themes are available in the tdeartwork-misc package.
|
|
|
|
Additional kworldclock themes are available in the tdeartwork-misc package.
|
|
|
@ -377,28 +380,28 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
|
|
|
|
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
|
|
|
|
|
|
|
|
|
|
|
|
%__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
|
|
|
|
%build
|
|
|
|
unset QTDIR QTINC QTLIB
|
|
|
|
unset QTDIR QTINC QTLIB
|
|
|
|
export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
|
|
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
|
|
|
--prefix=%{tde_prefix} \
|
|
|
|
%__mkdir_p build
|
|
|
|
--exec-prefix=%{tde_prefix} \
|
|
|
|
cd build
|
|
|
|
--bindir=%{tde_bindir} \
|
|
|
|
%endif
|
|
|
|
--libdir=%{tde_libdir} \
|
|
|
|
|
|
|
|
--datadir=%{tde_datadir} \
|
|
|
|
%cmake \
|
|
|
|
--includedir=%{tde_tdeincludedir} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
|
|
|
|
--disable-rpath \
|
|
|
|
-DBIN_INSTALL_DIR="%{tde_bindir}" \
|
|
|
|
--enable-new-ldflags \
|
|
|
|
-DDOC_INSTALL_DIR="%{tde_docdir}" \
|
|
|
|
--enable-closure \
|
|
|
|
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
|
|
|
|
--disable-debug --disable-warnings \
|
|
|
|
-DLIB_INSTALL_DIR="%{tde_libdir}" \
|
|
|
|
--disable-dependency-tracking --enable-final
|
|
|
|
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
|
|
|
|
|
|
|
|
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
|
|
|
|
|
|
|
|
-DCMAKE_SKIP_RPATH=OFF \
|
|
|
|
|
|
|
|
-DBUILD_ALL=ON \
|
|
|
|
|
|
|
|
..
|
|
|
|
|
|
|
|
|
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
@ -406,28 +409,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
%__make install DESTDIR=%{buildroot}
|
|
|
|
%__make install DESTDIR=%{buildroot} -C build
|
|
|
|
|
|
|
|
|
|
|
|
# replace absolute symlink with relative
|
|
|
|
|
|
|
|
ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## File lists
|
|
|
|
|
|
|
|
# HTML (1.0)
|
|
|
|
|
|
|
|
HTML_DIR=$(tde-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
|
|
|
|
# Useless include file from Amor
|
|
|
|
%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
|
|
|
|
%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
|
|
|
@ -438,6 +420,5 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
|
|
|
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
|
|
|
|
- Initial release for TDE 3.5.13.2
|
|
|
|
- Initial release for TDE 14.0.0
|
|
|
|
|
|
|
|
|
|
|
|