summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tderadio
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tderadio')
-rw-r--r--redhat/applications/tderadio/tderadio-3.5.13.2.spec62
1 files changed, 32 insertions, 30 deletions
diff --git a/redhat/applications/tderadio/tderadio-3.5.13.2.spec b/redhat/applications/tderadio/tderadio-3.5.13.2.spec
index ae58cf081..0e30e1b7a 100644
--- a/redhat/applications/tderadio/tderadio-3.5.13.2.spec
+++ b/redhat/applications/tderadio/tderadio-3.5.13.2.spec
@@ -1,13 +1,13 @@
# Default version for this component
-%define tdecomp tderadio
-%define tdeversion 3.5.13.2
+%define tde_pkg tderadio
+%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
@@ -27,30 +27,30 @@
%define with_lirc 1
%endif
-Name: trinity-%{tdecomp}
-Summary: Comfortable Radio Application for KDE [Trinity]
-Version: 0.1.1.1
-Release: 6%{?dist}%{?_variant}
+Name: trinity-%{tde_pkg}
+Summary: Comfortable Radio Application for TDE [Trinity]
+Version: 0.1.1.1
+Release: %{?!preversion:7}%{?preversion:6_%{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-arts-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
-BuildRequires: gettext
+BuildRequires: gettext
BuildRequires: libsndfile-devel
%{?with_lirc:BuildRequires: lirc-devel}
@@ -96,13 +96,7 @@ of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome.
%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 "/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"
@@ -113,7 +107,6 @@ of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome.
%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} \
@@ -123,8 +116,14 @@ 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 \
+ \
+ --disable-dependency-tracking \
+ --disable-debug \
+ --enable-final \
+ --enable-new-ldflags \
+ --enable-closure \
+ --enable-rpath \
+ \
%{?with_lirc:--enable-lirc} %{?!with_lirc:--disable-lirc} \
--enable-v4l2 \
--enable-lame \
@@ -175,6 +174,9 @@ update-desktop-database %{tde_appdir} -q &> /dev/null ||:
%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo
%changelog
+* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-7
+- Build for Fedora 19
+
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-6
- Initial release for TDE 3.5.13.2