Browse Source

RPM Packaging: updates for 3.5.13.2 packages build on OBS

pull/3/head
François Andriot 7 years ago
parent
commit
28ee26436c
  1. 10
      mageia/dependencies/qt3/qt3-3.5.13.2.spec
  2. 28
      opensuse/core/qt3/1386900429_1ee1ffbae69dc78721af139f0794628571fd35ef.diff
  3. 8
      opensuse/core/qt3/qt3-3.5.13.2.spec
  4. 25
      redhat/dependencies/arts/arts-3.5.13.2.spec
  5. 23
      redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec
  6. 10
      redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.2.spec
  7. 2
      redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.2.spec
  8. 8
      redhat/dependencies/libcaldav/libcaldav-3.5.13.2.spec
  9. 9
      redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec
  10. 366
      redhat/dependencies/qt3/qt3-3.5.13.2.spec
  11. 4
      redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec
  12. 2
      redhat/dependencies/tqca/tqca-3.5.13.2.spec
  13. 8
      redhat/dependencies/tqtinterface/tqtinterface-3.5.13.2.spec
  14. 105
      redhat/extras/akode/akode-3.5.13.2.spec
  15. 107
      redhat/extras/brp-check-trinity/brp-check-trinity-3.5.13.2.spec
  16. 81
      redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec
  17. 200
      redhat/main/tdeaccessibility/tdeaccessibility-3.5.13.2.spec
  18. 327
      redhat/main/tdebase/tdebase-3.5.13.2.spec
  19. 149
      redhat/main/tdebindings/tdebindings-3.5.13.2.spec
  20. 215
      redhat/main/tdegames/tdegames-3.5.13.2.spec
  21. 72
      redhat/main/tdelibs/tdelibs-3.5.13.2.spec
  22. 118
      redhat/main/tdemultimedia/tdemultimedia-3.5.13.2.spec
  23. 323
      redhat/main/tdenetwork/tdenetwork-3.5.13.2.spec
  24. 222
      redhat/main/tdepim/tdepim-3.5.13.2.spec
  25. 279
      redhat/main/tdesdk/tdesdk-3.5.13.2.spec
  26. 255
      redhat/main/tdevelop/tdevelop-3.5.13.2.spec

10
mageia/dependencies/qt3/qt3-3.5.13.2.spec

@ -73,11 +73,19 @@ Buildroot: %_tmppath/%name-%version-%release-root
%if %buildSQL
BuildRequires: mysql-devel
BuildRequires: unixODBC-devel
# POSTGRESQL support
%if 0%{?mgaversion} == 4
BuildRequires: postgresql9.3-devel
%else
BuildRequires: postgresql-devel
%endif
%endif
BuildRequires: freetype2-devel
BuildRequires: mesaglu-devel
BuildRequires: libsm-devel
BuildRequires: libuuid-devel
BuildRequires: libice-devel
BuildRequires: libx11-devel
BuildRequires: libxcursor-devel
@ -97,7 +105,7 @@ BuildRequires: libiodbc-devel
BuildRequires: cups-devel
# PNG support
%if 0%{pclinuxos}
%if 0%{?pclinuxos}
BuildRequires: libpng-devel
%endif
%if 0%{?mgaversion} >= 4

28
opensuse/core/qt3/1386900429_1ee1ffbae69dc78721af139f0794628571fd35ef.diff

@ -0,0 +1,28 @@
commit 1ee1ffbae69dc78721af139f0794628571fd35ef
Author: Slávek Banko <slavek.banko@axis.cz>
Date: 1386900429 +0100
Fix FTBFS with libfreetype6 >= 2.5.x
This resolves Bug 1765
diff --git a/config.tests/x11/xfreetype.test b/config.tests/x11/xfreetype.test
index 5cabc32..d4cb4ba 100755
--- a/config.tests/x11/xfreetype.test
+++ b/config.tests/x11/xfreetype.test
@@ -116,12 +116,15 @@ fi
# check for freetype2 headers
FREETYPE2_INCDIR=
if [ "$XFT" = "yes" ]; then
- INC="freetype2/freetype/freetype.h"
XDIRS=`sed -n -e '/^QMAKE_INCDIR_X11[ ]*=/ { s/[^=]*=[ ]*//; s/-I/ /g; p; }' $XCONFIG`
LDIRS=`sed -n -e '/^QMAKE_INCDIR[ ]*=/ { s/[^=]*=[ ]*//; s/-I/ /g; p; }' $XCONFIG`
INCDIRS="$IN_INCDIRS $XDIRS $LDIRS /usr/include /include"
F=
for INCDIR in $INCDIRS; do
+ INC="freetype2/freetype/freetype.h" # libfreetype <= 2.4.9-1.1
+ if ! [ -f $INCDIR/$INC ]; then
+ INC="freetype2/freetype.h" # libfreetype >= 2.5.1-1
+ fi
if [ -f $INCDIR/$INC ]; then
# detect major version of freetype2
FREETYPE_MAJOR=`grep "#define FREETYPE_MAJOR" $INCDIR/$INC | head -n 1 | awk '{ print \$3 }'`

8
opensuse/core/qt3/qt3-3.5.13.2.spec

@ -59,6 +59,10 @@ Patch135: parseFontName.diff
Patch136: qt3-no-date.diff
Patch139: gcc46.diff
# Patches from Trinity
# [qt3] Fix FTBFS with libfreetype6 >= 2.5.x . This resolves Bug 1765
Patch200: 1386900429_1ee1ffbae69dc78721af139f0794628571fd35ef.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#Remember also to modify Requires in -devel package
@ -80,12 +84,15 @@ BuildRequires: glu-devel
# PNG support
%if %suse_version >= 1310
BuildRequires: libpng16-devel
BuildRequires: libpng16-compat-devel
%endif
%if %suse_version == 1230
BuildRequires: libpng15-devel
BuildRequires: libpng15-compat-devel
%endif
%if %suse_version >= 1110 && %suse_version <= 1220
BuildRequires: libpng14-devel
BuildRequires: libpng14-compat-devel
%endif
@ -145,6 +152,7 @@ ln -sf $PWD/src/kernel/qximinputcontext_p.h include/private/
%patch135
%patch136
%patch139
%patch200 -p1 -b .freetype250
# copy qt kde integration files
cp %SOURCE100 %SOURCE101 src/kernel/
cp %SOURCE101 include/private/

25
redhat/dependencies/arts/arts-3.5.13.2.spec

@ -29,6 +29,7 @@
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_sbindir %{tde_prefix}/sbin
%define tde_tdeappdir %{tde_datadir}/applications/kde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
@ -43,7 +44,7 @@
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
Version: 1.5.10
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: ARTS (analog realtime synthesizer) - the TDE sound system
Group: System Environment/Daemons
URL: http://www.trinitydesktop.org/
@ -62,6 +63,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
%{?tde_patch:Patch1: %{tde_pkg}-%{tde_version}.patch}
BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0
BuildRequires: trinity-filesystem >= %{tde_version}
Requires: trinity-filesystem >= %{tde_version}
@ -83,25 +86,22 @@ BuildRequires: esound-devel
# JACK support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?with_jack}
%define with_jack 1
%if 0%{?mgaversion} || 0%{?mdkversion}
%define jack_devel %{_lib}jack-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
%define jack_devel jack-audio-connection-kit-devel
%endif
%if 0%{?suse_version}
%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
%define jack_devel libjack-devel
%endif
BuildRequires: %{jack_devel}
%endif
# LIBTOOL
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}ltdl-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: libtool-ltdl-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libltdl-devel
%endif
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1220
BuildRequires: libltdl-devel
@ -110,16 +110,14 @@ BuildRequires: libtool
%endif
%endif
# UUID support
BuildRequires: libuuid-devel
# MAD support
%ifarch %{ix86} x86_64
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
%define with_libmad 1
%if 0%{?mdkversion} || 0%{?mgaversion}
%define mad_devel %{_lib}mad-devel
%endif
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
%define mad_devel libmad-devel
%endif
BuildRequires: %{mad_devel}
%endif
%endif
@ -250,6 +248,7 @@ intended for systems running the Pulseaudio server.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%{?tde_patch:%patch1 -p1}
%build

23
redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec

@ -29,7 +29,7 @@
Name: trinity-avahi-tqt
Epoch: %{tde_epoch}
Version: 0.6.30
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: Avahi TQt integration library
Group: System/Libraries
URL: http://www.trinitydesktop.org/
@ -54,9 +54,26 @@ BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
# GLIB2 support
BuildRequires: glib2-devel
# GETTEXT support
BuildRequires: gettext-devel
# Xi support
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libxi-devel
%endif
%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: libXi-devel
%endif
%if 0%{?suse_version} == 1140
BuildRequires: libXi6-devel
%endif
# DBUS support
%if 0%{?suse_version}
BuildRequires: dbus-1-devel
@ -70,7 +87,7 @@ BuildRequires: libcap-devel
# AVAHI support
%if 0%{?mgaversion} || 0%{?mdkversion}
%define avahi_devel %{_lib}avahi-client-devel
%define avahi_devel libavahi-client-devel
%endif
%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora}
%define avahi_devel avahi-devel
@ -176,7 +193,7 @@ into a TQt main loop application.
##########
%if 0%{?pclinuxos}
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif

10
redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.2.spec

@ -29,8 +29,8 @@
Name: trinity-dbus-1-tqt
Epoch: %{tde_epoch}
Version: 0.9
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
Summary: dbus bindings for the Trinity Qt [TQt] interface
Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: Dbus bindings for the Trinity Qt [TQt] interface
Group: System/Libraries
URL: http://www.trinitydesktop.org/
@ -74,7 +74,7 @@ See the dbus description for more information about D-BUS in general.
###########
%package -n %{libdbus}-1-tqt0
Summary: dbus bindings for the Trinity Qt [TQt] interface
Summary: Dbus bindings for the Trinity Qt [TQt] interface
Group: System/Libraries
Provides: libdbus-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release}
@ -104,7 +104,7 @@ See the dbus description for more information about D-BUS in general.
##########
%package -n %{libdbus}-1-tqt-devel
Summary: dbus bindings for the Trinity Qt [TQt] interface (Development Files)
Summary: Dbus bindings for the Trinity Qt [TQt] interface (Development Files)
Group: Development/Libraries/C and C++
Provides: libdbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{libdbus}-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release}
@ -137,7 +137,7 @@ See the dbus description for more information about D-BUS in general.
##########
%if 0%{?pclinuxos}
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif

2
redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.2.spec

@ -29,7 +29,7 @@
Name: trinity-dbus-tqt
Epoch: %{tde_epoch}
Version: 0.63
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: Simple inter-process messaging system
Group: System/Libraries
URL: http://www.trinitydesktop.org/

8
redhat/dependencies/libcaldav/libcaldav-3.5.13.2.spec

@ -65,15 +65,11 @@ BuildRequires: gtk2-devel
%endif
# CURL support
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
%define libcurl_devel libcurl-devel
%else
%if 0%{?mgaversion} || 0%{?mdkversion}
%define libcurl_devel %{_lib}curl-devel
%else
# Specific CURL version for TDE on RHEL 5 (and older)
#define libcurl_devel trinity-libcurl-devel
%endif
%define libcurl_devel trinity-libcurl-devel
%endif
%{?libcurl_devel:BuildRequires: %{libcurl_devel}}

9
redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec

@ -56,15 +56,11 @@ BuildRequires: make
BuildRequires: libtool
# CURL support
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
%define libcurl_devel libcurl-devel
%else
%if 0%{?mgaversion} || 0%{?mdkversion}
%define libcurl_devel %{_lib}curl-devel
%else
# Specific CURL version for TDE on RHEL 5 (and older)
#define libcurl_devel trinity-libcurl-devel
%endif
%define libcurl_devel trinity-libcurl-devel
%endif
%{?libcurl_devel:BuildRequires: %{libcurl_devel}}
@ -151,6 +147,7 @@ This package contains the development files.
%prep
%setup -q -n libcarddav-%{version}
%__sed -i "src/get-carddav-report.c" -e "89s/return TRUE/return NULL/"
autoreconf --force --install --symlink

366
redhat/dependencies/qt3/qt3-3.5.13.2.spec

@ -10,7 +10,12 @@
# qt-devel
# ...maybe others !!!!
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Name: qt
%else
Name: qt3
%endif
Epoch: 1
Version: 3.3.8.d%{?preversion:_%{preversion}}
Release: 10%{?dist}
@ -20,13 +25,10 @@ License: QPL or GPLv2 or GPLv3
Group: System Environment/Libraries
URL: http://www.trinitydesktop.org/
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: qt3 = %{?epoch:%{epoch}:}%{version}-%{release}
Source0: trinity-qt3-3.5.13.2%{?preversion:~%{preversion}}.tar.gz
Source2: qt.sh
Source3: qt.csh
@ -48,7 +50,7 @@ Patch27: qt-3.3.6-fontrendering-ml_IN-209097.patch
Patch29: qt-3.3.8-fontrendering-as_IN-209972.patch
Patch31: qt-3.3.6-fontrendering-te_IN-211259.patch
Patch32: qt-3.3.6-fontrendering-214371.patch
Patch33: qt-3.3.8-fontrendering-#214570.patch
Patch33: qt-3.3.8-fontrendering-214570.patch
Patch34: qt-3.3.6-fontrendering-ml_IN-209974.patch
Patch35: qt-3.3.6-fontrendering-ml_IN-217657.patch
Patch37: qt-3.3.6-fontrendering-gu-228452.patch
@ -135,21 +137,71 @@ BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLU-devel
%endif
%description
Qt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications
for the X Window System.
Qt is written in C++ and is fully object-oriented.
This package contains the shared library needed to run Qt 3
applications, as well as the README files for Qt 3.
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc FAQ LICENSE* README* changes*
%dir %{qtdir}
%dir %{qtdir}/bin
%dir %{qtdir}/lib
%dir %{qtdir}/plugins
%dir %{qtdir}/plugins/sqldrivers
%dir %{qtdir}/plugins/styles
%{qtdir}/translations
%{qtdir}/plugins/designer/
%if %{immodule}
%{qtdir}/plugins/inputmethods
%endif
%config /etc/profile.d/*
/etc/ld.so.conf.d/*
%{qtdir}/lib/libqui.so.*
%{qtdir}/lib/libqt*.so.*
##########
%package config
Summary: Graphical configuration tool for programs using Qt 3
Group: User Interface/Desktops
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt-config < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt-config = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
Requires: qt3 = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt3-config = %{?epoch:%{epoch}:}%{version}-%{release}
%description config
Qt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications
for the X Window System.
Qt is written in C++ and is fully object-oriented.
This package contains a graphical configuration tool for programs using Qt 3.
%files config
%defattr(-,root,root,-)
%{qtdir}/bin/qtconfig
%{_datadir}/applications/*qtconfig*.desktop
%{_datadir}/pixmaps/qtconfig3.png
##########
%package devel
Summary: Development files for the Qt 3 GUI toolkit
Group: Development/Libraries
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: qt3 = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt3-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: freetype-devel
Requires: fontconfig-devel
Requires: libpng-devel
@ -172,87 +224,6 @@ Requires: xorg-x11-proto-devel
Requires: mesa-libGL-devel
Requires: mesa-libGLU-devel
%endif
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
%package devel-docs
Summary: Documentation for the Qt 3 GUI toolkit
Group: Development/Libraries
Requires: %{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt-devel-docs < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt-devel-docs = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
%package ODBC
Summary: ODBC drivers for Qt 3's SQL classes
Group: System Environment/Libraries
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt-ODBC < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt-ODBC = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
%package MySQL
Summary: MySQL drivers for Qt 3's SQL classes
Group: System Environment/Libraries
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt-MySQL < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt-MySQL = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
%package PostgreSQL
Summary: PostgreSQL drivers for Qt 3's SQL classes
Group: System Environment/Libraries
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt-PostgreSQL < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt-PostgreSQL = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
%package sqlite
Summary: sqlite drivers for Qt 3's SQL classes
Group: System Environment/Libraries
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt-sqlite < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt-sqlite = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
%package designer
Summary: Interface designer (IDE) for the Qt 3 toolkit
Group: Development/Tools
Requires: %{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt-designer < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt-designer = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
%description
Qt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications
for the X Window System.
Qt is written in C++ and is fully object-oriented.
This package contains the shared library needed to run Qt 3
applications, as well as the README files for Qt 3.
%description config
Qt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications
for the X Window System.
Qt is written in C++ and is fully object-oriented.
This package contains a graphical configuration tool for programs using Qt 3.
%description devel
The %{name}-devel package contains the files necessary to develop
@ -262,32 +233,143 @@ object compiler.
Install %{name}-devel if you want to develop GUI applications using the Qt 3
toolkit.
%files devel
%defattr(-,root,root,-)
%{qt_docdir}/
%{qtdir}/bin/moc
%{qtdir}/bin/uic
%{qtdir}/bin/findtr
%{qtdir}/bin/qt20fix
%{qtdir}/bin/qtrename140
%{qtdir}/bin/assistant
%{qtdir}/bin/qm2ts
%{qtdir}/bin/qmake
%{qtdir}/bin/qembed
%{qtdir}/bin/linguist
%{qtdir}/bin/lupdate
%{qtdir}/bin/lrelease
%{qtdir}/include
%{qtdir}/mkspecs
%{qtdir}/lib/libqt*.so
%{qtdir}/lib/libqui.so
%{qtdir}/lib/libeditor.a
%{qtdir}/lib/libdesigner*.a
%{qtdir}/lib/libqassistantclient.a
%{qtdir}/lib/*.prl
%{qtdir}/phrasebooks
%{_libdir}/pkgconfig/*
%{_datadir}/applications/*linguist*.desktop
%{_datadir}/applications/*assistant*.desktop
%{_datadir}/pixmaps/linguist3.png
%{_datadir}/pixmaps/assistant3.png
# QT 3.3.8.D (TDE): 4 binaries have appeared
%{qtdir}/bin/createcw
%{qtdir}/bin/makeqpf
%{qtdir}/bin/mergetr
%{qtdir}/bin/msg2qm
##########
%package devel-docs
Summary: Documentation for the Qt 3 GUI toolkit
Group: Development/Libraries
Requires: %{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
Obsoletes: qt-devel-docs < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt-devel-docs = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
%description devel-docs
The %{name}-devel-docs package contains the man pages, the HTML documentation and
example programs for Qt 3.
%files devel-docs
%defattr(-,root,root,-)
%doc examples
%doc tutorial
%{_mandir}/*/*
##########
%package ODBC
Summary: ODBC drivers for Qt 3's SQL classes
Group: System Environment/Libraries
Requires: qt3 = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt3-ODBC = %{?epoch:%{epoch}:}%{version}-%{release}
%description ODBC
ODBC driver for Qt 3's SQL classes (QSQL)
%files ODBC
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlodbc.so
##########
%package MySQL
Summary: MySQL drivers for Qt 3's SQL classes
Group: System Environment/Libraries
Requires: qt3 = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt3-MySQL = %{?epoch:%{epoch}:}%{version}-%{release}
%description MySQL
MySQL driver for Qt 3's SQL classes (QSQL)
%files MySQL
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlmysql.so
##########
%package PostgreSQL
Summary: PostgreSQL drivers for Qt 3's SQL classes
Group: System Environment/Libraries
Requires: qt3 = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt3-PostgreSQL = %{?epoch:%{epoch}:}%{version}-%{release}
%description PostgreSQL
PostgreSQL driver for Qt 3's SQL classes (QSQL)
%files PostgreSQL
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlpsql.so
##########
%package sqlite
Summary: sqlite drivers for Qt 3's SQL classes
Group: System Environment/Libraries
Requires: qt3 = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt3-sqlite = %{?epoch:%{epoch}:}%{version}-%{release}
%description sqlite
sqlite driver for Qt 3's SQL classes (QSQL)
%files sqlite
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlite.so
##########
%package designer
Summary: Interface designer (IDE) for the Qt 3 toolkit
Group: Development/Tools
Requires: qt3 = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: qt3-designer = %{?epoch:%{epoch}:}%{version}-%{release}
%description designer
The %{name}-designer package contains an User Interface designer tool
for the Qt 3 toolkit.
%files designer
%defattr(-,root,root,-)
%{qtdir}/templates
%{qtdir}/bin/designer
%{_datadir}/applications/*designer*.desktop
%{_datadir}/pixmaps/designer3.png
##########
%prep
%setup -q -n trinity-qt3-3.5.13.2%{?preversion:~%{preversion}}
@ -523,106 +605,10 @@ install -m 644 tools/assistant/images/linguist.png %{buildroot}%{_datadir}/pixma
# own style directory
mkdir -p %{buildroot}%{qtdir}/plugins/styles
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc FAQ LICENSE* README* changes*
%dir %{qtdir}
%dir %{qtdir}/bin
%dir %{qtdir}/lib
%dir %{qtdir}/plugins
%dir %{qtdir}/plugins/sqldrivers
%dir %{qtdir}/plugins/styles
%{qtdir}/translations
%{qtdir}/plugins/designer/
%if %{immodule}
%{qtdir}/plugins/inputmethods
%endif
%config /etc/profile.d/*
/etc/ld.so.conf.d/*
%{qtdir}/lib/libqui.so.*
%{qtdir}/lib/libqt*.so.*
%files config
%defattr(-,root,root,-)
%{qtdir}/bin/qtconfig
%{_datadir}/applications/*qtconfig*.desktop
%{_datadir}/pixmaps/qtconfig3.png
%files devel
%defattr(-,root,root,-)
%{qt_docdir}/
%{qtdir}/bin/moc
%{qtdir}/bin/uic
%{qtdir}/bin/findtr
%{qtdir}/bin/qt20fix
%{qtdir}/bin/qtrename140
%{qtdir}/bin/assistant
%{qtdir}/bin/qm2ts
%{qtdir}/bin/qmake
%{qtdir}/bin/qembed
%{qtdir}/bin/linguist
%{qtdir}/bin/lupdate
%{qtdir}/bin/lrelease
%{qtdir}/include
%{qtdir}/mkspecs
%{qtdir}/lib/libqt*.so
%{qtdir}/lib/libqui.so
%{qtdir}/lib/libeditor.a
%{qtdir}/lib/libdesigner*.a
%{qtdir}/lib/libqassistantclient.a
%{qtdir}/lib/*.prl
%{qtdir}/phrasebooks
%{_libdir}/pkgconfig/*
%{_datadir}/applications/*linguist*.desktop
%{_datadir}/applications/*assistant*.desktop
%{_datadir}/pixmaps/linguist3.png
%{_datadir}/pixmaps/assistant3.png
# QT 3.3.8.D (TDE): 4 binaries have appeared
%{qtdir}/bin/createcw
%{qtdir}/bin/makeqpf
%{qtdir}/bin/mergetr
%{qtdir}/bin/msg2qm
%files devel-docs
%defattr(-,root,root,-)
%doc examples
%doc tutorial
%{_mandir}/*/*
%files sqlite
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlite.so
%files ODBC
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlodbc.so
%files PostgreSQL
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlpsql.so
%files MySQL
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlmysql.so
%files designer
%defattr(-,root,root,-)
%{qtdir}/templates
%{qtdir}/bin/designer
%{_datadir}/applications/*designer*.desktop
%{_datadir}/pixmaps/designer3.png
%changelog
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.3.8.d-10

4
redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec

@ -24,9 +24,9 @@
%define tde_libdir %{tde_prefix}/%{_lib}
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libtqt3 %{_lib}tqt3
%define libtqt3 %{_lib}qt3
%else
%define libtqt3 libtqt3
%define libtqt3 libqt3
%endif

2
redhat/dependencies/tqca/tqca-3.5.13.2.spec

@ -33,7 +33,7 @@
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
Version: 1.0
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
Release: %{?!preversion:4}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: TQt Cryptographic Architecture
Group: Development/Libraries/C and C++
URL: http://www.trinitydesktop.org/

8
redhat/dependencies/tqtinterface/tqtinterface-3.5.13.2.spec

@ -39,7 +39,7 @@
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
Version: 4.2.0
Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
Release: %{?!preversion:3}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: The Trinity Qt Interface Libraries
Group: System/GUI/Other
URL: http://www.trinitydesktop.org/
@ -69,6 +69,9 @@ BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
# UUID support
BuildRequires: libuuid-devel
# PTHREAD support
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
BuildRequires: pth-devel
@ -92,7 +95,7 @@ BuildRequires: Mesa-libGLU-devel
BuildRequires: xorg-x11-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xi-devel
BuildRequires: libxi-devel
%endif
%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: libXi-devel
@ -152,6 +155,7 @@ Provides: libtqt4-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{libtqt4} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: qt3-devel >= 3.3.8d
Requires: libuuid-devel
%if 0%{?suse_version} && 0%{?suse_version} < 1300
Requires: trinity-cmake-macros

105
redhat/extras/akode/akode-3.5.13.2.spec

@ -1,49 +1,61 @@
# 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
#
# spec file for package akode (version 3.5.13-SRU)
#
# 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_epoch 1
%define tde_version 3.5.13.2
%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_mandir %{tde_datadir}/man
%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}
# 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
Summary: Audio-decoding framework
Name: trinity-akode
Summary: Audio-decoding framework
Group: System Environment/Libraries
Epoch: %{tde_epoch}
Version: 2.0.2
Release: 5%{?dist}%{?_variant}
Release: 1%{?dist}%{?_variant}
URL: http://www.kde-apps.org/content/show.php?content=30375
License: LGPLv2+
Group: System Environment/Libraries
#URL: http://carewolf.com/akode/
URL: http://www.kde-apps.org/content/show.php?content=30375
Source0: akode-2.0.2.tar.bz2
Source0: akode-%{tde_version}.tar.gz
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Legacy Fedora 9 patches
Patch1: akode-pulseaudio.patch
Patch2: akode-2.0.2-multilib.patch
Patch3: akode-2.0.2-flac113-portable.patch
Patch4: akode-2.0.2-gcc43.patch
# New patches
Patch10: akode-autotools.patch
Patch11: akode-2.0.2-fix_ffmpeg_include.patch
# FLAC support
%define _with_flac --with-flac
%if 0%{?mgaversion} || 0%{?mdkversion}
@ -145,15 +157,15 @@ aKode also has the following audio outputs:
%package devel
Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%{?_with_jack:Requires: %{name}-jack = %{version}-%{release}}
%{?_with_pulseaudio:Requires: %{name}-pulseaudio = %{version}-%{release}}
%{?_with_libsamplerate:Requires: %{name}-libsamplerate = %{version}-%{release}}
%{?_with_libmad:Requires: %{name}-libmad = %{version}-%{release}}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%{?_with_jack:Requires: %{name}-jack = %{?epoch:%{epoch}:}%{version}-%{release}}
%{?_with_pulseaudio:Requires: %{name}-pulseaudio = %{?epoch:%{epoch}:}%{version}-%{release}}
%{?_with_libsamplerate:Requires: %{name}-libsamplerate = %{?epoch:%{epoch}:}%{version}-%{release}}
%{?_with_libmad:Requires: %{name}-libmad = %{?epoch:%{epoch}:}%{version}-%{release}}
Requires: pkgconfig
%description devel
%{summary}.
This package contains the development files for Akode.
%files devel
%defattr(-,root,root,-)
@ -176,10 +188,10 @@ Requires: pkgconfig
%package jack
Summary: Jack audio output backend for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description jack
%{summary}.
This package contains the Jack audio output backend for Akode.
%files jack
%defattr(-,root,root,-)
@ -201,10 +213,10 @@ Requires: %{name} = %{version}-%{release}
%package pulseaudio
Summary: Pulseaudio output backend for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description pulseaudio
%{summary}.
This package contains the pulseaudio backend for Akode.
Recommended for network transparent audio.
%files pulseaudio
@ -229,10 +241,10 @@ Recommended for network transparent audio.
Summary: Resampler based on libsamplerate for %{name}
Group: Development/Libraries
License: GPLv2+
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libsamplerate
%{summary}.
This package contains the samplerate decoder for Akode.
# License: GPLv2+
%files libsamplerate
@ -255,10 +267,10 @@ Requires: %{name} = %{version}-%{release}
%package libmad
Summary: Decoder based on libmad for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libmad
%{summary}.
This package contains the mad decoder for Akode.
%files libmad
%{tde_libdir}/libakode_mpeg_decoder.la
@ -274,28 +286,23 @@ Requires: %{name} = %{version}-%{release}
##########
%if 0%{?suse_version} || 0%{?pclinuxos}
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
##########
%prep
%setup -q -n akode-%{version}
%patch1 -p1 -b .pulseaudio
%patch2 -p1 -b .multilib
%patch3 -p4 -b .flac113_portable
%patch4 -p1 -b .gcc43
%patch10 -p1 -b .autotools
%patch11 -p1 -b .ffmpeg
%setup -q -n akode-2.0.2
%__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 cvs
%__make -f admin/Makefile.common
%build
export CXXFLAGS="${RPM_OPT_FLAGS} -DHAVE_STDINT_H"
%configure \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
@ -342,7 +349,7 @@ done
%changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-5
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:2.0.2-1
- Build for Fedora 19
* Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-4

107
redhat/extras/brp-check-trinity/brp-check-trinity-3.5.13.2.spec

@ -0,0 +1,107 @@
#
# spec file for package brp-check-trinity (version 3.5.13-SRU)
#
# 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/
#
# TDE variables
%define tde_version 3.5.13.2
%define tde_prefix /opt/trinity
Name: brp-check-trinity
Version: 1.0
Release: 1%{?dist}
Summary: Build root policy check scripts for Trinity
Group: System Environment/Daemons
URL: http://www.trinitydesktop.org/
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
#Vendor: Trinity Project
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: update-desktop-files
BuildRequires: brp-check-suse
BuildRequires: brp-extract-appdata
Requires: update-desktop-files
Requires: brp-check-suse
Requires: brp-extract-appdata
Requires: sed
%description
This package dynamically patches the openSUSE brp script to allow
building of Trinity Desktop Environment (TDE) instead of KDE3.
It should not be installed on runtime computer.
%files
%post
for i in \
brp-desktop.data/applications.menu \
brp-desktop.data/kde-settings.menu \
brp-desktop.data/xdg_menu \
brp-suse.d/brp-25-symlink \
brp-suse.d/brp-72-extract-appdata \
suse_update_desktop_file.sh \
; do
echo "Patching file '/usr/lib/rpm/${i}' ..."
install -D "/usr/lib/rpm/${i}" "/usr/lib/rpm.orig/${i}"
sed -i "/usr/lib/rpm/${i}" \
-e "s|opt/kde3|opt/trinity|g" \
-e "s|kde-settings-|tde-settings-|g" \
-e "s|doc/kde|doc/tde|g" \
-e "s|kde_xdgdata|tde_xdgdata|g" \
done
%postun
for i in \
brp-desktop.data/applications.menu \
brp-desktop.data/kde-settings.menu \
brp-desktop.data/xdg_menu \
brp-suse.d/brp-25-symlink \
brp-suse.d/brp-72-extract-appdata \
suse_update_desktop_file.sh \
; do
echo "Restoring file '/usr/lib/rpm/${i}' ..."
install "/usr/lib/rpm.orig/${i}" "/usr/lib/rpm/${i}"
done
rm -rf "/usr/lib/rpm.orig"
##########
%prep
%build
%install
%clean
%__rm -rf %{?buildroot}
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-1
- Initial release for TDE R14.0.0

81
redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec

@ -80,27 +80,9 @@ Requires: trinity-tdewebdev >= %{version}
Group: User Interface/Desktops
Summary: Meta-package to install all TDE applications
# Some applications are disabled for now ...
# Compiz-related stuff does not work (obsolete)
#Requires: trinity-compizconfig-backend-kconfig
#Requires: trinity-desktop-effects-kde
#Requires: trinity-fusion-icon
# Obsolete l10n package
#Requires: trinity-filelight-l10n
# Not even an RPM package ...
#Requires: trinity-konstruct
# Debian/Ubuntu specific ...
#Requires: trinity-adept
# Future R14 packages
#Requires: trinity-kvpnc
#Requires: trinity-qt4-tqt-theme-engine
# Warning, k9copy requires ffmpeg
# Warning, tderadio requires libmp3lame
Requires: trinity-abakus
Requires: trinity-amarok
Requires: trinity-basket
@ -109,8 +91,8 @@ Requires: trinity-digikam
Requires: trinity-dolphin
Requires: trinity-filelight
Requires: trinity-gwenview
#Requires: trinity-gwenview-i18n
Requires: trinity-k3b
Requires: trinity-k9copy
Requires: trinity-kaffeine
Requires: trinity-kaffeine-mozilla
Requires: trinity-katapult
@ -119,7 +101,6 @@ Requires: trinity-kbfx
Requires: trinity-kbookreader
Requires: trinity-kchmviewer
Requires: trinity-kcpuload
Requires: trinity-k9copy
Requires: trinity-kdiff3
Requires: trinity-kdirstat
Requires: trinity-keep
@ -147,22 +128,22 @@ Requires: trinity-ktorrent
Requires: trinity-kuickshow
Requires: trinity-kvirc
Requires: trinity-kvkbd
Requires: trinity-twin-style-crystal
Requires: trinity-piklab
Requires: trinity-potracegui
Requires: trinity-smb4k
Requires: trinity-smartcardauth
Requires: trinity-soundkonverter
Requires: trinity-tde-guidance
Requires: trinity-tde-guidance-powermanager
Requires: trinity-tde-style-lipstik
Requires: trinity-tde-style-qtcurve
Requires: trinity-tde-systemsettings
Requires: trinity-tdeio-apt
Requires: trinity-tdeio-locate
Requires: trinity-tdeio-umountwrapper
Requires: trinity-tderadio
Requires: trinity-tdmtheme
Requires: trinity-tellico
Requires: trinity-twin-style-crystal
Requires: trinity-wlassistant
Requires: trinity-yakuake
@ -171,42 +152,46 @@ Requires: trinity-yakuake
Requires: trinity-tdesudo
%endif
# Disabled applications for RHEL5
# RHEL5: pilot library is too old
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
Requires: trinity-kpilot
%endif
# Network management
# RHEL 6 and openSUSE 11.x: knetworkmanager8
%if 0%{?rhel} == 6
Requires: trinity-knetworkmanager
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 1140
Requires: trinity-knetworkmanager
%endif
# Power management
Requires: trinity-tde-guidance-powermanager
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
# On RHEL 5, HAL version is too old for kpowersave .
Requires: trinity-kpowersave
# On RHEL 5, GTK2 version is too old for GTK stuff ...
Requires: trinity-gtk-qt-engine
# RHEL5: kpilot library is too old
Requires: trinity-kpilot
%endif
# Decoration-related stuff (not installed by default)
#Requires: trinity-kgtk-qt3
#Requires: trinity-gtk-qt-engine
#Requires: trinity-gtk3-tqt-engine
#Requires: trinity-qt4-tqt-theme-engine
# On RHEL 5/7, lilypond is not available, so no rosegarden :'-(
%if 0%{?rhel} == 5 || 0%{?rhel} == 7
%else
Requires: trinity-rosegarden
%endif
# On RHEL 7, lirc is not available, so not tderaiod :'-(
%if 0%{?rhel} != 7
Requires: trinity-tderadio
%endif
# This one causes several crashes . Obsolete.
#Requires: trinity-kgtk-qt3
#Obsoletes: trinity-kgtk-qt3
# OBSOLETE: beagle does not exist anymore. Kerry is now useless.
# RHEL, openSUSE 12: no Beagle library
Obsoletes: trinity-kerry
# Compiz-related stuff does not work (obsolete)
#Requires: trinity-compizconfig-backend-kconfig
#Requires: trinity-desktop-effects-kde
#Requires: trinity-fusion-icon
# RHEL 6 and openSUSE 11.x: knetworkmanager8
%if 0%{?rhel} == 6
Requires: trinity-knetworkmanager
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 1140
Requires: trinity-knetworkmanager
%endif
# Useless l10n package
#Requires: trinity-filelight-l10n
# RHEL 4
%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
@ -216,7 +201,7 @@ Requires: trinity-kmplayer
# No OTR support
Requires: trinity-kopete-otr
# No DBUS support
Requires: trinity-kdbusnotification
Requires: trinity-kdbusfnotification
# Subversion 1.1 is too old
Requires: trinity-tdesvn
%endif

200
redhat/main/tdeaccessibility/tdeaccessibility-3.5.13.2.spec

@ -1,56 +1,98 @@
# 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 tdeaccessibility (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_epoch 1
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_pkg tdeaccessibility
%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/kde
%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
Summary: Trinity Desktop Environment - Accessibility
Name: trinity-tdeaccessibility
Summary: Trinity Desktop Environment - Accessibility
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2
Group: User Interface/Desktops
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
Release: %{?!preversion:3}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Group: System/GUI/Other
URL: http://www.trinitydesktop.org/
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
#Vendor: Trinity Project
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf automake libtool m4
BuildRequires: desktop-file-utils
BuildRequires: trinity-akode-devel
BuildRequires: trinity-arts-devel >= 1:1.5.10
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
BuildRequires: alsa-lib-devel
BuildRequires: autoconf automake libtool m4
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
BuildRequires: fdupes
# X11 Libraries
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
BuildRequires: libXtst-devel
# 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
# AUDIOFILE support
BuildRequires: audiofile-devel
# AKODE support
%if 0%{?with_akode}
BuildRequires: trinity-akode-devel
%{?with_mad:BuildRequires: trinity-akode-libmad}
%endif
# ALSA support
BuildRequires: alsa-lib-devel
# XCB support
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos}
BuildRequires: libxcb-devel
@ -61,35 +103,24 @@ BuildRequires: %{_lib}xcb-devel
%endif
%endif
# X11 stuff
# XAU support
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xi-devel
%if 0%{?mgaversion} >= 4
BuildRequires: %{_lib}xext-devel
BuildRequires: %{_lib}x11-devel
BuildRequires: %{_lib}xau-devel
%else
BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel
BuildRequires: %{_lib}xau%{?mgaversion:6}-devel
%endif
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libXi-devel
BuildRequires: libXext-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
%endif
%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140
BuildRequires: xorg-x11-devel
%endif
Obsoletes: trinity-kdeaccessibility < %{version}-%{release}
Provides: trinity-kdeaccessibility = %{version}-%{release}
Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release}
Provides: trinity-kdeaccessibility-libs = %{version}-%{release}
Requires: trinity-kde-icons-mono = %{version}-%{release}
Requires: trinity-tde-icons-mono = %{version}-%{release}
Requires: trinity-kbstate = %{version}-%{release}
Requires: trinity-kmag = %{version}-%{release}
Requires: trinity-kmousetool = %{version}-%{release}
@ -111,7 +142,7 @@ Included with this package are:
%package -n trinity-tde-icons-mono
Summary: A monochromatic icons theme for TDE
Group: User Interface/Desktops
Group: System/GUI/Other
Obsoletes: trinity-kde-icons-mono < %{version}-%{release}
Provides: trinity-kde-icons-mono = %{version}-%{release}
@ -123,14 +154,21 @@ This package is part of Trinity, as a component of the TDE accessibility module.
%files -n trinity-tde-icons-mono
%defattr(-,root,root,-)
%dir %{tde_datadir}/icons/mono
%dir %{tde_datadir}/icons/mono/scalable
%dir %{tde_datadir}/icons/mono/scalable/actions
%dir %{tde_datadir}/icons/mono/scalable/apps
%dir %{tde_datadir}/icons/mono/scalable/devices
%dir %{tde_datadir}/icons/mono/scalable/filesystems
%dir %{tde_datadir}/icons/mono/scalable/mimetypes
%{tde_datadir}/icons/mono/index.theme
%{tde_datadir}/icons/mono/scalable/*/*.svgz
##########
%package -n trinity-kbstate
Summary: a keyboard status applet for TDE
Group: User Interface/Desktops
Summary: A keyboard status applet for TDE
Group: System/GUI/Other
%description -n trinity-kbstate
A panel applet that displays the keyboard status.
@ -148,7 +186,7 @@ This package is part of Trinity, as a component of the TDE accessibility module.
%package -n trinity-kmag
Summary: A screen magnifier for TDE
Group: User Interface/Desktops
Group: System/GUI/Other
%description -n trinity-kmag
TDE's screen magnifier tool.
@ -163,7 +201,7 @@ This package is part of Trinity, as a component of the TDE accessibility module.
%files -n trinity-kmag
%defattr(-,root,root,-)
%{tde_bindir}/kmag
%{tde_datadir}/applnk/Applications/kmag.desktop
%{tde_tdeappdir}/kmag.desktop
%{tde_datadir}/apps/kmag/
%{tde_datadir}/icons/hicolor/*/apps/kmag.png
%{tde_datadir}/icons/locolor/*/apps/kmag.png
@ -187,7 +225,7 @@ done
%package -n trinity-kmousetool
Summary: TDE mouse manipulation tool for the disabled
Group: User Interface/Desktops
Group: System/GUI/Other
%description -n trinity-kmousetool
KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was
@ -199,7 +237,7 @@ This package is part of Trinity, as a component of the TDE accessibility module.
%files -n trinity-kmousetool
%defattr(-,root,root,-)
%{tde_bindir}/kmousetool
%{tde_datadir}/applnk/Applications/kmousetool.desktop
%{tde_tdeappdir}/kmousetool.desktop
%{tde_datadir}/apps/kmousetool/
%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png
%{tde_tdedocdir}/HTML/en/kmousetool/
@ -220,7 +258,7 @@ done
%package -n trinity-kmouth
Summary: A type-and-say KDE frontend for speech synthesizers
Group: User Interface/Desktops
Group: System/GUI/Other
%description -n trinity-kmouth
KDE's type-and-say frontend for speech synthesizers.
@ -234,7 +272,7 @@ This package is part of Trinity, as a component of the TDE accessibility module.
%defattr(-,root,root,-)
%{tde_datadir}/config/kmouthrc
%{tde_bindir}/kmouth
%{tde_datadir}/applnk/Applications/kmouth.desktop
%{tde_tdeappdir}/kmouth.desktop
%{tde_datadir}/apps/kmouth/
%{tde_datadir}/icons/hicolor/*/actions/speak.png
%{tde_datadir}/icons/hicolor/*/actions/nospeak.png
@ -259,7 +297,7 @@ done
%package -n trinity-ksayit
Summary: A frontend for the TDE Text-to-Speech system
Group: User Interface/Desktops
Group: System/GUI/Other
%description -n trinity-ksayit
Text-to-speech front-end to kttsd.
@ -269,7 +307,6 @@ This package is part of Trinity, as a component of the TDE accessibility module.
%files -n trinity-ksayit
%defattr(-,root,root,-)
%{tde_bindir}/ksayit
%{tde_tdeincludedir}/ksayit_fxplugin.h
%{tde_tdelibdir}/libFreeverb_plugin.la
%{tde_tdelibdir}/libFreeverb_plugin.so
%{tde_libdir}/libKTTSD_Lib.so.*
@ -301,7 +338,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%package -n trinity-kttsd
Summary: A Text-to-Speech system for TDE
Group: User Interface/Desktops
Group: System/GUI/Other
%description -n trinity-kttsd
The KDE Text-to-Speech system is a plugin based service that allows any KDE
@ -322,8 +359,10 @@ Homepage: http://accessibility.kde.org/developer/kttsd
%{tde_tdelibdir}/kcm_kttsd.so
%{tde_tdelibdir}/ktexteditor_kttsd.la
%{tde_tdelibdir}/ktexteditor_kttsd.so
%if 0%{?with_akode}
%{tde_tdelibdir}/libkttsd_akodeplugin.la
%{tde_tdelibdir}/libkttsd_akodeplugin.so
%endif
%{tde_tdelibdir}/libkttsd_alsaplugin.la
%{tde_tdelibdir}/libkttsd_alsaplugin.so
%{tde_tdelibdir}/libkttsd_artsplugin.la
@ -349,14 +388,18 @@ Homepage: http://accessibility.kde.org/developer/kttsd
%{tde_libdir}/libkttsd.so.*
%{tde_tdeappdir}/kcmkttsd.desktop
%{tde_tdeappdir}/kttsmgr.desktop
%{tde_datadir}/apps/ktexteditor_kttsd/ktexteditor_kttsdui.rc
%{tde_datadir}/apps/ktexteditor_kttsd/
%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl
%{tde_datadir}/apps/kttsd/
%{tde_datadir}/icons/hicolor/16x16/actions/female.png
%{tde_datadir}/icons/hicolor/16x16/actions/male.png
%{tde_datadir}/icons/hicolor/*/apps/kttsd.png
%{tde_datadir}/icons/hicolor/*/apps/kcmkttsd.png
%{tde_datadir}/services/ktexteditor_kttsd.desktop
%{tde_datadir}/services/kttsd.desktop
%if 0%{?with_akode}
%{tde_datadir}/services/kttsd_akodeplugin.desktop
%endif
%{tde_datadir}/services/kttsd_alsaplugin.desktop
%{tde_datadir}/services/kttsd_artsplugin.desktop
%{tde_datadir}/services/kttsd_commandplugin.desktop
@ -371,8 +414,6 @@ Homepage: http://accessibility.kde.org/developer/kttsd
%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop
%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop
%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop
%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png
%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz
%{tde_tdedocdir}/HTML/en/kttsd/
%post -n trinity-kttsd
@ -394,8 +435,8 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
##########
%package -n trinity-kttsd-contrib-plugins
Summary: the TDE Text-to-Speech system
Group: User Interface/Desktops
Summary: The TDE Text-to-Speech system
Group: System/GUI/Other
Requires: trinity-kttsd = %{version}-%{release}
%description -n trinity-kttsd-contrib-plugins
@ -420,16 +461,19 @@ This package is part of Trinity, as a component of the TDE accessibility module.
##########
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Summary: Development files for tdeaccessibility
Group: Development/Libraries/X11
Requires: %{name} = %{version}-%{release}
Requires: trinity-tdelibs-devel >= %{version}
Requires: libjpeg-devel
Requires: libpng-devel
Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release}
Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
%description devel
%{summary}.
This package contains the development file for TDE accessibility
programs.
%files devel
%defattr(-,root,root,-)
@ -437,6 +481,7 @@ Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
%{tde_libdir}/libkttsd.so
%{tde_libdir}/libKTTSD_Lib.la
%{tde_libdir}/libKTTSD_Lib.so
%{tde_tdeincludedir}/ksayit_fxplugin.h
%post devel
/sbin/ldconfig ||:
@ -446,7 +491,7 @@ Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
##########
%if 0%{?suse_version} || 0%{?pclinuxos}
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
@ -455,6 +500,9 @@ Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
# Update icons for some control center modules
%__sed -i "kttsd/kcmkttsmgr/kcmkttsd.desktop" -e "s|^Icon=.*|Icon=kcmkttsd|"