summaryrefslogtreecommitdiffstats
path: root/redhat/applications/yakuake
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/yakuake')
-rw-r--r--redhat/applications/yakuake/yakuake-3.5.13.2.spec62
1 files changed, 32 insertions, 30 deletions
diff --git a/redhat/applications/yakuake/yakuake-3.5.13.2.spec b/redhat/applications/yakuake/yakuake-3.5.13.2.spec
index eba5001ac..bd9b54200 100644
--- a/redhat/applications/yakuake/yakuake-3.5.13.2.spec
+++ b/redhat/applications/yakuake/yakuake-3.5.13.2.spec
@@ -1,13 +1,13 @@
# Default version for this component
-%define tdecomp yakuake
-%define tdeversion 3.5.13.2
+%define tde_pkg yakuake
+%define tde_version 3.5.13.2
# 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
+# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@@ -24,30 +24,32 @@
%define _docdir %{tde_tdedocdir}
-Name: trinity-%{tdecomp}
-Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
-Version: 2.8.1
-Release: 5%{?dist}%{?_variant}
+Name: trinity-%{tde_pkg}
+Summary: Yakuake is a Quake-style terminal emulator based on TDE Konsole technology.
+Version: 2.8.1
+Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
-License: GPLv2+
-Group: Applications/Utilities
+License: GPLv2+
+Group: Applications/Utilities
-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>
+URL: http://www.trinitydesktop.org/
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
-BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
-BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= 1:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
+
%description
-Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
+Yakuake is a Quake-style terminal emulator based on TDE Konsole technology.
%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
@@ -55,13 +57,7 @@ Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
%prep
-%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}}
-
-# 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"
+%setup -q -n %{name}-%{tde_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"
@@ -71,7 +67,6 @@ Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
%build
unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
-export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \
--prefix=%{tde_prefix} \
@@ -81,9 +76,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
- --disable-rpath \
- --with-extra-includes=%{tde_includedir}/tqt \
- --enable-closure
+ \
+ --disable-dependency-tracking \
+ --disable-debug \
+ --enable-final \
+ --enable-new-ldflags \
+ --enable-closure \
+ --enable-rpath
%__make %{?_smp_mflags}
@@ -118,6 +117,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/config.kcfg/*.kcfg
%changelog
+* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.8.1-6
+- Build for Fedora 19
+
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.8.1-5
- Initial release for TDE 3.5.13.2