From cd8eb9fd74fafb2435bc1f878cbb2bc91f52d859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 3 Nov 2019 11:03:22 +0100 Subject: RPM: update spec files for TDE 14.0.7 --- redhat/dependencies/akode/akode-14.0.0.spec | 365 ----- redhat/dependencies/akode/akode.spec | 365 +++++ redhat/dependencies/arts/arts-14.0.0.spec | 303 ---- redhat/dependencies/arts/arts.spec | 303 ++++ .../dependencies/avahi-tqt/avahi-tqt-14.0.0.spec | 239 --- redhat/dependencies/avahi-tqt/avahi-tqt.spec | 239 +++ .../dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec | 191 --- redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec | 191 +++ redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec | 191 --- redhat/dependencies/dbus-tqt/dbus-tqt.spec | 191 +++ .../libart-lgpl/libart-lgpl-14.0.0.spec | 211 --- redhat/dependencies/libart-lgpl/libart-lgpl.spec | 225 +++ .../dependencies/libcaldav/libcaldav-14.0.0.spec | 198 --- .../libcaldav/libcaldav-14.0.1-rhel5.patch | 193 --- redhat/dependencies/libcaldav/libcaldav.spec | 205 +++ .../dependencies/libcarddav/libcarddav-14.0.0.spec | 197 --- .../libcarddav/libcarddav-14.0.1-rhel5.patch | 164 --- redhat/dependencies/libcarddav/libcarddav.spec | 203 +++ .../dependencies/python-tqt/python-tqt-14.0.0.spec | 264 ---- redhat/dependencies/python-tqt/python-tqt.spec | 271 ++++ redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec | 174 --- redhat/dependencies/sip4-tqt/sip4-tqt.spec | 177 +++ redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec | 118 -- redhat/dependencies/tqca-tls/tqca-tls.spec | 118 ++ redhat/dependencies/tqca/tqca-14.0.0.spec | 171 --- redhat/dependencies/tqca/tqca.spec | 171 +++ .../tqscintilla/tqscintilla-14.0.0.spec | 232 --- redhat/dependencies/tqscintilla/tqscintilla.spec | 232 +++ redhat/dependencies/tqt3/tqassistant.desktop | 13 - redhat/dependencies/tqt3/tqdesigner.desktop | 78 - redhat/dependencies/tqt3/tqlinguist.desktop | 26 - redhat/dependencies/tqt3/tqt3-14.0.0.spec | 1542 -------------------- redhat/dependencies/tqt3/tqt3.spec | 1522 +++++++++++++++++++ redhat/dependencies/tqt3/tqtconfig.desktop | 13 - .../tqtinterface/tqtinterface-14.0.0.spec | 276 ---- redhat/dependencies/tqtinterface/tqtinterface.spec | 279 ++++ 36 files changed, 4692 insertions(+), 5159 deletions(-) delete mode 100644 redhat/dependencies/akode/akode-14.0.0.spec create mode 100644 redhat/dependencies/akode/akode.spec delete mode 100644 redhat/dependencies/arts/arts-14.0.0.spec create mode 100644 redhat/dependencies/arts/arts.spec delete mode 100644 redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec create mode 100644 redhat/dependencies/avahi-tqt/avahi-tqt.spec delete mode 100644 redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec create mode 100644 redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec delete mode 100644 redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec create mode 100644 redhat/dependencies/dbus-tqt/dbus-tqt.spec delete mode 100644 redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec create mode 100644 redhat/dependencies/libart-lgpl/libart-lgpl.spec delete mode 100644 redhat/dependencies/libcaldav/libcaldav-14.0.0.spec delete mode 100644 redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch create mode 100644 redhat/dependencies/libcaldav/libcaldav.spec delete mode 100644 redhat/dependencies/libcarddav/libcarddav-14.0.0.spec delete mode 100644 redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch create mode 100644 redhat/dependencies/libcarddav/libcarddav.spec delete mode 100644 redhat/dependencies/python-tqt/python-tqt-14.0.0.spec create mode 100644 redhat/dependencies/python-tqt/python-tqt.spec delete mode 100644 redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec create mode 100644 redhat/dependencies/sip4-tqt/sip4-tqt.spec delete mode 100644 redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec create mode 100644 redhat/dependencies/tqca-tls/tqca-tls.spec delete mode 100644 redhat/dependencies/tqca/tqca-14.0.0.spec create mode 100644 redhat/dependencies/tqca/tqca.spec delete mode 100644 redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec create mode 100644 redhat/dependencies/tqscintilla/tqscintilla.spec delete mode 100644 redhat/dependencies/tqt3/tqassistant.desktop delete mode 100644 redhat/dependencies/tqt3/tqdesigner.desktop delete mode 100644 redhat/dependencies/tqt3/tqlinguist.desktop delete mode 100644 redhat/dependencies/tqt3/tqt3-14.0.0.spec create mode 100644 redhat/dependencies/tqt3/tqt3.spec delete mode 100644 redhat/dependencies/tqt3/tqtconfig.desktop delete mode 100644 redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec create mode 100644 redhat/dependencies/tqtinterface/tqtinterface.spec (limited to 'redhat/dependencies') diff --git a/redhat/dependencies/akode/akode-14.0.0.spec b/redhat/dependencies/akode/akode-14.0.0.spec deleted file mode 100644 index f4b24e33a..000000000 --- a/redhat/dependencies/akode/akode-14.0.0.spec +++ /dev/null @@ -1,365 +0,0 @@ -# -# spec file for package akode (version R14) -# -# 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 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%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/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libakode %{_lib}akode -%else -%define libakode libakode -%endif - -Name: trinity-akode -Epoch: %{tde_epoch} -Version: 2.0.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Audio-decoding framework -Group: System Environment/Libraries -URL: http://www.kde-apps.org/content/show.php?content=30375 -#URL: http://carewolf.com/akode/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: libtool - -# TQT support -BuildRequires: libtqt4-devel -BuildRequires: trinity-filesystem >= %{tde_version} - -# FLAC support -%define _with_flac --with-flac -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libflac-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: flac-devel -%endif - -# JACK support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_jack --with-jack -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libjack-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: jack-audio-connection-kit-devel -%endif -%endif - -# SAMPLERATE support -%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_libsamplerate --with-libsamplerate -BuildRequires: libsamplerate-devel -%endif - -# PULSEAUDIO support -%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_pulseaudio --with-pulseaudio -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libpulseaudio-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: pulseaudio-libs-devel -%endif -%if 0%{?suse_version} -BuildRequires: pulseaudio-devel -%endif -%endif - -# MAD support -%ifarch %{ix86} x86_64 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define _with_libmad --with-libmad -BuildRequires: libmad-devel -%endif -%endif - -# ALSA support -%if 0%{?suse_version} -BuildRequires: alsa-devel -%else -BuildRequires: alsa-lib-devel -%endif - -BuildRequires: libvorbis-devel -BuildRequires: speex-devel - - -%description -aKode is a simple audio-decoding frame-work that provides a uniform -interface to decode the most common audio-formats. It also has a direct -playback option for a number of audio-outputs. - -aKode currently has the following decoder plugins: -* mpc: Decodes musepack aka mpc audio. -* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. - -aKode also has the following audio outputs: -* alsa: Outputs to ALSA (dmix is recommended). -* jack -* pulseaudio - -%files -%defattr(-,root,root,-) -%doc rpmdocs/* -%{_bindir}/akodeplay -%{_libdir}/libakode.so.* -%{_libdir}/libakode_alsa_sink.la -%{_libdir}/libakode_alsa_sink.so -%{_libdir}/libakode_mpc_decoder.la -%{_libdir}/libakode_mpc_decoder.so -%{_libdir}/libakode_oss_sink.la -%{_libdir}/libakode_oss_sink.so -%{_libdir}/libakode_xiph_decoder.la -%{_libdir}/libakode_xiph_decoder.so - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -########## - -%package devel -Summary: Headers for developing programs that will use %{name} -Group: Development/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -%{?_with_jack:Requires: %{libakode}_jack_sink = %{?epoch:%{epoch}:}%{version}-%{release}} -%{?_with_pulseaudio:Requires: %{libakode}_pulse_sink = %{?epoch:%{epoch}:}%{version}-%{release}} -%{?_with_libsamplerate:Requires: %{libakode}_src_resampler = %{?epoch:%{epoch}:}%{version}-%{release}} -%{?_with_libmad:Requires: %{libakode}_mpeg_decoder = %{?epoch:%{epoch}:}%{version}-%{release}} -Requires: pkgconfig - -%description devel -This package contains the development files for Akode. -It is needed if you intend to build an application linked against Akode. - -%files devel -%defattr(-,root,root,-) -%{_bindir}/akode-config -%{_includedir}/* -%{_libdir}/libakode.la -%{_libdir}/libakode.so -%{_libdir}/pkgconfig/akode.pc - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if "%{?_with_jack}" != "" - -%package -n %{libakode}_jack_sink -Summary: Jack audio output backend for %{name} -Group: Development/Libraries -Provides: libakode_jack_sink = %{version}-%{release} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libakode}_jack_sink -This package contains the Jack audio output backend for Akode. - -%files -n %{libakode}_jack_sink -%defattr(-,root,root,-) -%{_libdir}/libakode_jack_sink.la -%{_libdir}/libakode_jack_sink.so - -%post -n %{libakode}_jack_sink -/sbin/ldconfig - -%postun -n %{libakode}_jack_sink -/sbin/ldconfig - -%endif - -########## - -%if "%{?_with_pulseaudio}" != "" - -%package -n %{libakode}_pulse_sink -Summary: Pulseaudio output backend for %{name} -Group: Development/Libraries -Provides: libakode_pulse_sink = %{version}-%{release} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libakode}_pulse_sink -This package contains the pulseaudio backend for Akode. -Recommended for network transparent audio. - -%files -n %{libakode}_pulse_sink -%defattr(-,root,root,-) -%{_libdir}/libakode_pulse_sink.la -%{_libdir}/libakode_pulse_sink.so - -%post -n %{libakode}_pulse_sink -/sbin/ldconfig - -%postun -n %{libakode}_pulse_sink -/sbin/ldconfig - -%endif - -########## - -# Packaged separately to keep main/core %{akode} package LGPL-clean. -%if "%{?_with_libsamplerate:1}" == "1" - -%package -n %{libakode}_src_resampler -Summary: Resampler based on libsamplerate for %{name} -Group: Development/Libraries -Provides: libakode_src_resampler = %{version}-%{release} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libakode}_src_resampler -This package contains the samplerate decoder for Akode. - -%files -n %{libakode}_src_resampler -%defattr(-,root,root,-) -%{_libdir}/libakode_src_resampler.la -%{_libdir}/libakode_src_resampler.so - -%post -n %{libakode}_src_resampler -/sbin/ldconfig - -%postun -n %{libakode}_src_resampler -/sbin/ldconfig - -%endif - -########## - -%if "%{?_with_libmad}" != "" - -%package -n %{libakode}_mpeg_decoder -Summary: Decoder based on libmad for %{name} -Group: Development/Libraries -Provides: libakode_mpeg_decoder = %{version}-%{release} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libakode}_mpeg_decoder -This package contains the mad decoder for Akode. - -%files -n %{libakode}_mpeg_decoder -%defattr(-,root,root,-) -%{_libdir}/libakode_mpeg_decoder.la -%{_libdir}/libakode_mpeg_decoder.so - -%post -n %{libakode}_mpeg_decoder -/sbin/ldconfig - -%postun -n %{libakode}_mpeg_decoder -/sbin/ldconfig - -%endif - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DINCLUDE_INSTALL_DIR=%{_includedir} \ - -DLIB_INSTALL_DIR=%{_libdir} \ - \ - -DWITH_ALL_OPTIONS="ON" \ - -DWITH_LIBLTDL="OFF" \ - -DWITH_ALSA_SINK="ON" \ - %{!?_with_jack:-DWITH_JACK_SINK="OFF"} %{?_with_jack:-DWITH_JACK_SINK="ON"} \ - %{!?_with_pulseaudio:-DWITH_PULSE_SINK="OFF"} %{?_with_pulseaudio:-DWITH_PULSE_SINK="ON"} \ - -DWITH_OSS_SINK="ON" \ - -DWITH_SUN_SINK="OFF" \ - \ - -DWITH_FFMPEG_DECODER="OFF" \ - -DWITH_MPC_DECODER="ON" \ - %{!?_with_libmad:-DWITH_MPEG_DECODER="OFF"} %{?_with_libmad:-DWITH_MPEG_DECODER="ON"} \ - -DWITH_SRC_RESAMPLER="ON" \ - -DWITH_XIPH_DECODER="ON" \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -# rpmdocs -for file in AUTHORS COPYING NEWS README TODO ; do - test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" -done - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/dependencies/akode/akode.spec b/redhat/dependencies/akode/akode.spec new file mode 100644 index 000000000..9bf70642b --- /dev/null +++ b/redhat/dependencies/akode/akode.spec @@ -0,0 +1,365 @@ +# +# spec file for package akode (version R14) +# +# 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 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%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/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libakode %{_lib}akode +%else +%define libakode libakode +%endif + +Name: trinity-akode +Epoch: %{tde_epoch} +Version: 2.0.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Audio-decoding framework +Group: System Environment/Libraries +URL: http://www.kde-apps.org/content/show.php?content=30375 +#URL: http://carewolf.com/akode/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: libtool + +# TQT support +BuildRequires: libtqt4-devel +BuildRequires: trinity-filesystem >= %{tde_version} + +# FLAC support +%define _with_flac --with-flac +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libflac-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# JACK support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_jack --with-jack +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libjack-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: jack-audio-connection-kit-devel +%endif +%endif + +# SAMPLERATE support +%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_libsamplerate --with-libsamplerate +BuildRequires: libsamplerate-devel +%endif + +# PULSEAUDIO support +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_pulseaudio --with-pulseaudio +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libpulseaudio-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: pulseaudio-libs-devel +%endif +%if 0%{?suse_version} +BuildRequires: pulseaudio-devel +%endif +%endif + +# MAD support +%ifarch %{ix86} x86_64 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define _with_libmad --with-libmad +BuildRequires: libmad-devel +%endif +%endif + +# ALSA support +%if 0%{?suse_version} +BuildRequires: alsa-devel +%else +BuildRequires: alsa-lib-devel +%endif + +BuildRequires: libvorbis-devel +BuildRequires: speex-devel + + +%description +aKode is a simple audio-decoding frame-work that provides a uniform +interface to decode the most common audio-formats. It also has a direct +playback option for a number of audio-outputs. + +aKode currently has the following decoder plugins: +* mpc: Decodes musepack aka mpc audio. +* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. + +aKode also has the following audio outputs: +* alsa: Outputs to ALSA (dmix is recommended). +* jack +* pulseaudio + +%files +%defattr(-,root,root,-) +%doc rpmdocs/* +%{_bindir}/akodeplay +%{_libdir}/libakode.so.* +%{_libdir}/libakode_alsa_sink.la +%{_libdir}/libakode_alsa_sink.so +%{_libdir}/libakode_mpc_decoder.la +%{_libdir}/libakode_mpc_decoder.so +%{_libdir}/libakode_oss_sink.la +%{_libdir}/libakode_oss_sink.so +%{_libdir}/libakode_xiph_decoder.la +%{_libdir}/libakode_xiph_decoder.so + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +########## + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +%{?_with_jack:Requires: %{libakode}_jack_sink = %{?epoch:%{epoch}:}%{version}-%{release}} +%{?_with_pulseaudio:Requires: %{libakode}_pulse_sink = %{?epoch:%{epoch}:}%{version}-%{release}} +%{?_with_libsamplerate:Requires: %{libakode}_src_resampler = %{?epoch:%{epoch}:}%{version}-%{release}} +%{?_with_libmad:Requires: %{libakode}_mpeg_decoder = %{?epoch:%{epoch}:}%{version}-%{release}} +Requires: pkgconfig + +%description devel +This package contains the development files for Akode. +It is needed if you intend to build an application linked against Akode. + +%files devel +%defattr(-,root,root,-) +%{_bindir}/akode-config +%{_includedir}/* +%{_libdir}/libakode.la +%{_libdir}/libakode.so +%{_libdir}/pkgconfig/akode.pc + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if "%{?_with_jack}" != "" + +%package -n %{libakode}_jack_sink +Summary: Jack audio output backend for %{name} +Group: Development/Libraries +Provides: libakode_jack_sink = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libakode}_jack_sink +This package contains the Jack audio output backend for Akode. + +%files -n %{libakode}_jack_sink +%defattr(-,root,root,-) +%{_libdir}/libakode_jack_sink.la +%{_libdir}/libakode_jack_sink.so + +%post -n %{libakode}_jack_sink +/sbin/ldconfig + +%postun -n %{libakode}_jack_sink +/sbin/ldconfig + +%endif + +########## + +%if "%{?_with_pulseaudio}" != "" + +%package -n %{libakode}_pulse_sink +Summary: Pulseaudio output backend for %{name} +Group: Development/Libraries +Provides: libakode_pulse_sink = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libakode}_pulse_sink +This package contains the pulseaudio backend for Akode. +Recommended for network transparent audio. + +%files -n %{libakode}_pulse_sink +%defattr(-,root,root,-) +%{_libdir}/libakode_pulse_sink.la +%{_libdir}/libakode_pulse_sink.so + +%post -n %{libakode}_pulse_sink +/sbin/ldconfig + +%postun -n %{libakode}_pulse_sink +/sbin/ldconfig + +%endif + +########## + +# Packaged separately to keep main/core %{akode} package LGPL-clean. +%if "%{?_with_libsamplerate:1}" == "1" + +%package -n %{libakode}_src_resampler +Summary: Resampler based on libsamplerate for %{name} +Group: Development/Libraries +Provides: libakode_src_resampler = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libakode}_src_resampler +This package contains the samplerate decoder for Akode. + +%files -n %{libakode}_src_resampler +%defattr(-,root,root,-) +%{_libdir}/libakode_src_resampler.la +%{_libdir}/libakode_src_resampler.so + +%post -n %{libakode}_src_resampler +/sbin/ldconfig + +%postun -n %{libakode}_src_resampler +/sbin/ldconfig + +%endif + +########## + +%if "%{?_with_libmad}" != "" + +%package -n %{libakode}_mpeg_decoder +Summary: Decoder based on libmad for %{name} +Group: Development/Libraries +Provides: libakode_mpeg_decoder = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libakode}_mpeg_decoder +This package contains the mad decoder for Akode. + +%files -n %{libakode}_mpeg_decoder +%defattr(-,root,root,-) +%{_libdir}/libakode_mpeg_decoder.la +%{_libdir}/libakode_mpeg_decoder.so + +%post -n %{libakode}_mpeg_decoder +/sbin/ldconfig + +%postun -n %{libakode}_mpeg_decoder +/sbin/ldconfig + +%endif + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DINCLUDE_INSTALL_DIR=%{_includedir} \ + -DLIB_INSTALL_DIR=%{_libdir} \ + \ + -DWITH_ALL_OPTIONS="ON" \ + -DWITH_LIBLTDL="OFF" \ + -DWITH_ALSA_SINK="ON" \ + %{!?_with_jack:-DWITH_JACK_SINK="OFF"} %{?_with_jack:-DWITH_JACK_SINK="ON"} \ + %{!?_with_pulseaudio:-DWITH_PULSE_SINK="OFF"} %{?_with_pulseaudio:-DWITH_PULSE_SINK="ON"} \ + -DWITH_OSS_SINK="ON" \ + -DWITH_SUN_SINK="OFF" \ + \ + -DWITH_FFMPEG_DECODER="OFF" \ + -DWITH_MPC_DECODER="ON" \ + %{!?_with_libmad:-DWITH_MPEG_DECODER="OFF"} %{?_with_libmad:-DWITH_MPEG_DECODER="ON"} \ + -DWITH_SRC_RESAMPLER="ON" \ + -DWITH_XIPH_DECODER="ON" \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +# rpmdocs +for file in AUTHORS COPYING NEWS README TODO ; do + test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" +done + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec deleted file mode 100644 index 765d14efa..000000000 --- a/redhat/dependencies/arts/arts-14.0.0.spec +++ /dev/null @@ -1,303 +0,0 @@ -# -# spec file for package arts (version R14) -# -# 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 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg arts -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%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_sbindir %{tde_prefix}/sbin -%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 - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.5.10 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: ARTS (analog realtime synthesizer) - the TDE sound system -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 - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 -BuildRequires: trinity-filesystem >= %{tde_version} -Requires: trinity-filesystem >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel - -# ESOUND support -%define with_esound 1 -%if 0%{?with_esound} -BuildRequires: esound-devel -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_jack 1 -%if 0%{?rhel} >= 5 || 0%{?fedora} -%define jack_devel jack-audio-connection-kit-devel -%endif -%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: libltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -%if 0%{?suse_version} >= 1220 -BuildRequires: libltdl-devel -%else -BuildRequires: libtool -%endif -%endif - -# MAD support -%ifarch %{ix86} x86_64 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_libmad 1 -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} || 0%{?mdkversion} || 0%{?mgaversion} -%define mad_devel libmad-devel -%endif -BuildRequires: %{mad_devel} -%endif -%endif - -# Pulseaudio config file -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} -%define with_pulseaudio 1 -%endif - -Requires: libtqt4 >= %{tde_epoch}:4.2.0 -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of TDE. - -The principle of arts is to create/process sound using small modules which do -certain tasks. These may be create a waveform (oscillators), play samples, -filter data, add signals, perform effects like delay/flanger/chorus, or -output the data to the soundcard. - -By connecting all those small modules together, you can perform complex -tasks like simulating a mixer, generating an instrument or things like -playing a wave file with some effects. - -%files -%defattr(-,root,root,-) -%doc COPYING.LIB -%dir %{tde_libdir}/mcop -%dir %{tde_libdir}/mcop/Arts -%dir %{tde_libdir}/mcop/Arts/Environment -%{tde_libdir}/mcop/Arts/* -%{tde_libdir}/mcop/*.mcopclass -%{tde_libdir}/mcop/*.mcoptype -%{tde_libdir}/lib*.so.* -%{tde_bindir}/artscat -%{tde_bindir}/artsd -%{tde_bindir}/artsdsp -%{tde_bindir}/artsplay -%{tde_bindir}/artsrec -%{tde_bindir}/artsshell -%{tde_bindir}/artswrapper -# The '.la' files are needed for runtime, not devel ! -%{tde_libdir}/lib*.la - -########## - -%package devel -Group: Development/Libraries -Summary: ARTS (analog realtime synthesizer) - the TDE sound system (Development files) -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -Requires: alsa-lib-devel -Requires: audiofile-devel -Requires: libvorbis-devel -%{?with_esound:Requires: esound-devel} -%{?with_libmad:Requires: %{mad_devel}} -%{?with_jack:Requires: %{jack_devel}} - -%description devel -arts (analog real-time synthesizer) is the sound system of TDE. - -The principle of arts is to create/process sound using small modules which do -certain tasks. These may be create a waveform (oscillators), play samples, -filter data, add signals, perform effects like delay/flanger/chorus, or -output the data to the soundcard. - -By connecting all those small modules together, you can perform complex -tasks like simulating a mixer, generating an instrument or things like -playing a wave file with some effects. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/mcopidl -# Arts includes are under 'tde' - this is on purpose ! -%{tde_tdeincludedir}/arts/ -# Artsc includes are not under 'tde'. -%{tde_includedir}/artsc/ -%{tde_bindir}/artsc-config -%{tde_libdir}/lib*.so -%{tde_libdir}/pkgconfig/*.pc -%{tde_libdir}/*.a - -########## - -%if 0%{?with_pulseaudio} - -%package config-pulseaudio -Group: System Environment/Daemons -Summary: ARTS - Default configuration file for Pulseaudio -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description config-pulseaudio -This package contains a default ARTS configuration file, that is -intended for systems running the Pulseaudio server. - -%files config-pulseaudio -%defattr(-,root,root,-) -%{tde_confdir}/kcmartsrc - -%endif - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - \ - -DWITH_ALSA=ON \ - -DWITH_AUDIOFILE=ON \ - -DWITH_VORBIS=ON \ - %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ - %{?with_esound:-DWITH_ESOUND=ON} \ - %{?with_jack:-DWITH_JACK=ON} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -%__install -d -m 755 %{?buildroot}%{tde_datadir}/config -%__install -d -m 755 %{?buildroot}%{tde_datadir}/doc - -# Installs the Pulseaudio configuration file -%if 0%{?with_pulseaudio} -%__mkdir_p "%{?buildroot}%{tde_confdir}" -cat <"%{?buildroot}%{tde_confdir}/kcmartsrc" -[Arts] -Arguments=\s-F 10 -S 4096 -a esd -n -s 1 -m artsmessage -c drkonqi -l 3 -f -NetworkTransparent=true -SuspendTime=1 -EOF -chmod 644 "%{?buildroot}%{tde_confdir}/kcmartsrc" -%endif - -# Add supplementary folders -%__install -d -m 755 "%{?buildroot}%{tde_libdir}/mcop/Arts/Environment" - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/arts/arts.spec b/redhat/dependencies/arts/arts.spec new file mode 100644 index 000000000..15cfc1623 --- /dev/null +++ b/redhat/dependencies/arts/arts.spec @@ -0,0 +1,303 @@ +# +# spec file for package arts (version R14) +# +# 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 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg arts +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%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_sbindir %{tde_prefix}/sbin +%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 + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.5.10 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: ARTS (analog realtime synthesizer) - the TDE sound system +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 + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 +BuildRequires: trinity-filesystem >= %{tde_version} +Requires: trinity-filesystem >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel + +# ESOUND support +%define with_esound 1 +%if 0%{?with_esound} +BuildRequires: esound-devel +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_jack 1 +%if 0%{?rhel} >= 5 || 0%{?fedora} +%define jack_devel jack-audio-connection-kit-devel +%endif +%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: libltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1220 +BuildRequires: libltdl-devel +%else +BuildRequires: libtool +%endif +%endif + +# MAD support +%ifarch %{ix86} x86_64 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_libmad 1 +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} || 0%{?mdkversion} || 0%{?mgaversion} +%define mad_devel libmad-devel +%endif +BuildRequires: %{mad_devel} +%endif +%endif + +# Pulseaudio config file +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} +%define with_pulseaudio 1 +%endif + +Requires: libtqt4 >= %{tde_epoch}:4.2.0 +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of TDE. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%dir %{tde_libdir}/mcop +%dir %{tde_libdir}/mcop/Arts +%dir %{tde_libdir}/mcop/Arts/Environment +%{tde_libdir}/mcop/Arts/* +%{tde_libdir}/mcop/*.mcopclass +%{tde_libdir}/mcop/*.mcoptype +%{tde_libdir}/lib*.so.* +%{tde_bindir}/artscat +%{tde_bindir}/artsd +%{tde_bindir}/artsdsp +%{tde_bindir}/artsplay +%{tde_bindir}/artsrec +%{tde_bindir}/artsshell +%{tde_bindir}/artswrapper +# The '.la' files are needed for runtime, not devel ! +%{tde_libdir}/lib*.la + +########## + +%package devel +Group: Development/Libraries +Summary: ARTS (analog realtime synthesizer) - the TDE sound system (Development files) +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +Requires: alsa-lib-devel +Requires: audiofile-devel +Requires: libvorbis-devel +%{?with_esound:Requires: esound-devel} +%{?with_libmad:Requires: %{mad_devel}} +%{?with_jack:Requires: %{jack_devel}} + +%description devel +arts (analog real-time synthesizer) is the sound system of TDE. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/mcopidl +# Arts includes are under 'tde' - this is on purpose ! +%{tde_tdeincludedir}/arts/ +# Artsc includes are not under 'tde'. +%{tde_includedir}/artsc/ +%{tde_bindir}/artsc-config +%{tde_libdir}/lib*.so +%{tde_libdir}/pkgconfig/*.pc +%{tde_libdir}/*.a + +########## + +%if 0%{?with_pulseaudio} + +%package config-pulseaudio +Group: System Environment/Daemons +Summary: ARTS - Default configuration file for Pulseaudio +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description config-pulseaudio +This package contains a default ARTS configuration file, that is +intended for systems running the Pulseaudio server. + +%files config-pulseaudio +%defattr(-,root,root,-) +%{tde_confdir}/kcmartsrc + +%endif + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + \ + -DWITH_ALSA=ON \ + -DWITH_AUDIOFILE=ON \ + -DWITH_VORBIS=ON \ + %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ + %{?with_esound:-DWITH_ESOUND=ON} \ + %{?with_jack:-DWITH_JACK=ON} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +%__install -d -m 755 %{?buildroot}%{tde_datadir}/config +%__install -d -m 755 %{?buildroot}%{tde_datadir}/doc + +# Installs the Pulseaudio configuration file +%if 0%{?with_pulseaudio} +%__mkdir_p "%{?buildroot}%{tde_confdir}" +cat <"%{?buildroot}%{tde_confdir}/kcmartsrc" +[Arts] +Arguments=\s-F 10 -S 4096 -a esd -n -s 1 -m artsmessage -c drkonqi -l 3 -f +NetworkTransparent=true +SuspendTime=1 +EOF +chmod 644 "%{?buildroot}%{tde_confdir}/kcmartsrc" +%endif + +# Add supplementary folders +%__install -d -m 755 "%{?buildroot}%{tde_libdir}/mcop/Arts/Environment" + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec deleted file mode 100644 index 1989ceb7b..000000000 --- a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec +++ /dev/null @@ -1,239 +0,0 @@ -# -# spec file for package avahi-tqt (version R14) -# -# 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_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libavahi %{_lib}avahi -%else -%define libavahi libavahi -%endif - - -Name: trinity-avahi-tqt -Epoch: %{tde_epoch} -Version: 0.6.30 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Avahi TQt integration library -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: LGPL-2.0+ -%else -License: LGPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 - -BuildRequires: cmake -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 -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: dbus-devel -%endif - -# PCAP support -BuildRequires: libcap-devel - -# AVAHI support -%if 0%{?mgaversion} || 0%{?mdkversion} -%define avahi_devel libavahi-client-devel -%endif -%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora} -%define avahi_devel avahi-devel -%endif -%{?avahi_devel:BuildRequires: %{avahi_devel}} - -# EXPAT support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: expat-devel -%endif -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libexpat-devel -%endif - -# NAS support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_nas 1 -BuildRequires: nas-devel -%endif - -# XT support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libXt-devel -%endif - -%description -Avahi is a fully LGPL framework for Multicast DNS Service Discovery. -It allows programs to publish and discover services and hosts -running on a local network with no specific configuration. For -example you can plug into a network and instantly find printers to -print to, files to look at and people to talk to. - . -This library contains the interface to integrate the Avahi libraries -into a TQt main loop application. - -########## - -%package -n %{libavahi}-tqt1 -Summary: Avahi TQt integration library -Group: System/Libraries -Provides: libavahi-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-avahi-tqt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-avahi-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libavahi}-tqt1 -Avahi is a fully LGPL framework for Multicast DNS Service Discovery. -It allows programs to publish and discover services and hosts -running on a local network with no specific configuration. For -example you can plug into a network and instantly find printers to -print to, files to look at and people to talk to. - . -This library contains the interface to integrate the Avahi libraries -into a TQt main loop application. - -%post -n %{libavahi}-tqt1 -/sbin/ldconfig || : - -%postun -n %{libavahi}-tqt1 -/sbin/ldconfig || : - -%files -n %{libavahi}-tqt1 -%defattr(-,root,root,-) -%{_libdir}/libavahi-tqt.so.1 -%{_libdir}/libavahi-tqt.so.1.0.0 - -########## - -%package -n %{libavahi}-tqt-devel -Summary: Avahi TQt integration library (Development Files) -Group: Development/Libraries/C and C++ -Provides: libavahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -Requires: %{libavahi}-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt4-devel >= %{tde_epoch}:4.2.0 -%{?avahi_devel:Requires: %{avahi_devel}} - -Obsoletes: trinity-avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libavahi}-tqt-devel -Avahi is a fully LGPL framework for Multicast DNS Service Discovery. -It allows programs to publish and discover services and hosts -running on a local network with no specific configuration. For -example you can plug into a network and instantly find printers to -print to, files to look at and people to talk to. - . -This library contains the interface to integrate the Avahi libraries -into a TQt main loop application. - -%post -n %{libavahi}-tqt-devel -/sbin/ldconfig || : - -%postun -n %{libavahi}-tqt-devel -/sbin/ldconfig || : - -%files -n %{libavahi}-tqt-devel -%defattr(-,root,root,-) -%{_includedir}/avahi-tqt/ -%{_libdir}/libavahi-tqt.a -%{_libdir}/libavahi-tqt.so -%{_libdir}/libavahi-tqt.la -%{_libdir}/pkgconfig/avahi-tqt.pc - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR="%{?buildroot}" -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt.spec b/redhat/dependencies/avahi-tqt/avahi-tqt.spec new file mode 100644 index 000000000..9c42233ee --- /dev/null +++ b/redhat/dependencies/avahi-tqt/avahi-tqt.spec @@ -0,0 +1,239 @@ +# +# spec file for package avahi-tqt (version R14) +# +# 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_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libavahi %{_lib}avahi +%else +%define libavahi libavahi +%endif + + +Name: trinity-avahi-tqt +Epoch: %{tde_epoch} +Version: 0.6.30 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Avahi TQt integration library +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: LGPL-2.0+ +%else +License: LGPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 + +BuildRequires: cmake +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 +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: dbus-devel +%endif + +# PCAP support +BuildRequires: libcap-devel + +# AVAHI support +%if 0%{?mgaversion} || 0%{?mdkversion} +%define avahi_devel libavahi-client-devel +%endif +%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora} +%define avahi_devel avahi-devel +%endif +%{?avahi_devel:BuildRequires: %{avahi_devel}} + +# EXPAT support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: expat-devel +%endif +%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libexpat-devel +%endif + +# NAS support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_nas 1 +BuildRequires: nas-devel +%endif + +# XT support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: libXt-devel +%endif + +%description +Avahi is a fully LGPL framework for Multicast DNS Service Discovery. +It allows programs to publish and discover services and hosts +running on a local network with no specific configuration. For +example you can plug into a network and instantly find printers to +print to, files to look at and people to talk to. + . +This library contains the interface to integrate the Avahi libraries +into a TQt main loop application. + +########## + +%package -n %{libavahi}-tqt1 +Summary: Avahi TQt integration library +Group: System/Libraries +Provides: libavahi-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-avahi-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-avahi-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libavahi}-tqt1 +Avahi is a fully LGPL framework for Multicast DNS Service Discovery. +It allows programs to publish and discover services and hosts +running on a local network with no specific configuration. For +example you can plug into a network and instantly find printers to +print to, files to look at and people to talk to. + . +This library contains the interface to integrate the Avahi libraries +into a TQt main loop application. + +%post -n %{libavahi}-tqt1 +/sbin/ldconfig || : + +%postun -n %{libavahi}-tqt1 +/sbin/ldconfig || : + +%files -n %{libavahi}-tqt1 +%defattr(-,root,root,-) +%{_libdir}/libavahi-tqt.so.1 +%{_libdir}/libavahi-tqt.so.1.0.0 + +########## + +%package -n %{libavahi}-tqt-devel +Summary: Avahi TQt integration library (Development Files) +Group: Development/Libraries/C and C++ +Provides: libavahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires: %{libavahi}-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt4-devel >= %{tde_epoch}:4.2.0 +%{?avahi_devel:Requires: %{avahi_devel}} + +Obsoletes: trinity-avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libavahi}-tqt-devel +Avahi is a fully LGPL framework for Multicast DNS Service Discovery. +It allows programs to publish and discover services and hosts +running on a local network with no specific configuration. For +example you can plug into a network and instantly find printers to +print to, files to look at and people to talk to. + . +This library contains the interface to integrate the Avahi libraries +into a TQt main loop application. + +%post -n %{libavahi}-tqt-devel +/sbin/ldconfig || : + +%postun -n %{libavahi}-tqt-devel +/sbin/ldconfig || : + +%files -n %{libavahi}-tqt-devel +%defattr(-,root,root,-) +%{_includedir}/avahi-tqt/ +%{_libdir}/libavahi-tqt.a +%{_libdir}/libavahi-tqt.so +%{_libdir}/libavahi-tqt.la +%{_libdir}/pkgconfig/avahi-tqt.pc + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR="%{?buildroot}" -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec deleted file mode 100644 index 7f8d9f3cb..000000000 --- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec +++ /dev/null @@ -1,191 +0,0 @@ -# -# spec file for package dbus-1-tqt (version R14) -# -# 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_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libdbus %{_lib}dbus -%else -%define libdbus libdbus -%endif - - -Name: trinity-dbus-1-tqt -Epoch: %{tde_epoch} -Version: 0.9 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Dbus bindings for the Trinity Qt [TQt] interface -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt3-mt-devel >= 3.5.0 -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# DBUS support -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif - -%description -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides bindings for the Trinity Qt TQt interface. - -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 -Group: System/Libraries -Provides: libdbus-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-dbus-1-tqt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-dbus-1-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libdbus}-1-tqt0 -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides bindings for the Trinity Qt TQt interface. - -See the dbus description for more information about D-BUS in general. - -%post -n %{libdbus}-1-tqt0 -/sbin/ldconfig || : - -%postun -n %{libdbus}-1-tqt0 -/sbin/ldconfig || : - -%files -n %{libdbus}-1-tqt0 -%defattr(-,root,root,-) -%{_libdir}/libdbus-1-tqt.so.0 -%{_libdir}/libdbus-1-tqt.so.0.0.0 - -########## - -%package -n %{libdbus}-1-tqt-devel -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} - -Obsoletes: trinity-dbus-1-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-dbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%if 0%{?suse_version} -Requires: dbus-1-devel -%else -Requires: dbus-devel -%endif - -%description -n %{libdbus}-1-tqt-devel -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides bindings for the Trinity Qt TQt interface. - -See the dbus description for more information about D-BUS in general. - -%post -n %{libdbus}-1-tqt-devel -/sbin/ldconfig || : - -%postun -n %{libdbus}-1-tqt-devel -/sbin/ldconfig || : - -%files -n %{libdbus}-1-tqt-devel -%defattr(-,root,root,-) -%{_bindir}/dbusxml2qt3 -%{_includedir}/*.h -%{_libdir}/libdbus-1-tqt.so -%{_libdir}/libdbus-1-tqt.la -%{_libdir}/pkgconfig/*.pc - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{_bindir} \ - -DINCLUDE_INSTALL_DIR=%{_includedir} \ - -DLIB_INSTALL_DIR=%{_libdir} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec new file mode 100644 index 000000000..55364763f --- /dev/null +++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec @@ -0,0 +1,191 @@ +# +# spec file for package dbus-1-tqt (version R14) +# +# 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_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libdbus %{_lib}dbus +%else +%define libdbus libdbus +%endif + + +Name: trinity-dbus-1-tqt +Epoch: %{tde_epoch} +Version: 0.9 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Dbus bindings for the Trinity Qt [TQt] interface +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt3-mt-devel >= 3.5.0 +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# DBUS support +%if 0%{?suse_version} +BuildRequires: dbus-1-devel +%else +BuildRequires: dbus-devel +%endif + +%description +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides bindings for the Trinity Qt TQt interface. + +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 +Group: System/Libraries +Provides: libdbus-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-1-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-1-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libdbus}-1-tqt0 +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides bindings for the Trinity Qt TQt interface. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-1-tqt0 +/sbin/ldconfig || : + +%postun -n %{libdbus}-1-tqt0 +/sbin/ldconfig || : + +%files -n %{libdbus}-1-tqt0 +%defattr(-,root,root,-) +%{_libdir}/libdbus-1-tqt.so.0 +%{_libdir}/libdbus-1-tqt.so.0.0.0 + +########## + +%package -n %{libdbus}-1-tqt-devel +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} + +Obsoletes: trinity-dbus-1-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%if 0%{?suse_version} +Requires: dbus-1-devel +%else +Requires: dbus-devel +%endif + +%description -n %{libdbus}-1-tqt-devel +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides bindings for the Trinity Qt TQt interface. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-1-tqt-devel +/sbin/ldconfig || : + +%postun -n %{libdbus}-1-tqt-devel +/sbin/ldconfig || : + +%files -n %{libdbus}-1-tqt-devel +%defattr(-,root,root,-) +%{_bindir}/dbusxml2qt3 +%{_includedir}/*.h +%{_libdir}/libdbus-1-tqt.so +%{_libdir}/libdbus-1-tqt.la +%{_libdir}/pkgconfig/*.pc + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{_bindir} \ + -DINCLUDE_INSTALL_DIR=%{_includedir} \ + -DLIB_INSTALL_DIR=%{_libdir} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec deleted file mode 100644 index 75ec11785..000000000 --- a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec +++ /dev/null @@ -1,191 +0,0 @@ -# -# spec file for package dbus-tqt (version R14) -# -# 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_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libdbus %{_lib}dbus -%else -%define libdbus libdbus -%endif - - -Name: trinity-dbus-tqt -Epoch: %{tde_epoch} -Version: 0.63 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Simple inter-process messaging system -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# DBUS support -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif - -%description -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides the TQt-based shared library for applications using the -Qt interface to D-BUS. - -See the dbus description for more information about D-BUS in general. - -########## - -%package -n %{libdbus}-tqt-1-0 -Summary: Simple inter-process messaging system (TQt-based shared library) -Group: System/Libraries -Provides: libdbus-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-dbus-tqt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-dbus-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libdbus}-tqt-1-0 -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides the TQt-based shared library for applications using the -Qt interface to D-BUS. - -See the dbus description for more information about D-BUS in general. - -%post -n %{libdbus}-tqt-1-0 -/sbin/ldconfig || : - -%postun -n %{libdbus}-tqt-1-0 -/sbin/ldconfig || : - -%files -n %{libdbus}-tqt-1-0 -%defattr(-,root,root,-) -%{_libdir}/libdbus-tqt-1.so.0 -%{_libdir}/libdbus-tqt-1.so.0.0.0 - -########## - -%package -n %{libdbus}-tqt-1-devel -Summary: Simple inter-process messaging system (TQt interface) -Group: Development/Libraries/C and C++ -Provides: libdbus-tqt-1-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{libdbus}-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%if 0%{?suse_version} -Requires: dbus-1-devel -%else -Requires: dbus-devel -%endif - -%description -n %{libdbus}-tqt-1-devel -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides the TQt-based shared library for applications using the -Qt interface to D-BUS. - -See the dbus description for more information about D-BUS in general. - -%post -n %{libdbus}-tqt-1-devel -/sbin/ldconfig || : - -%postun -n %{libdbus}-tqt-1-devel -/sbin/ldconfig || : - -%files -n %{libdbus}-tqt-1-devel -%defattr(-,root,root,-) -%{_includedir}/dbus-1.0/* -%{_libdir}/libdbus-tqt-1.so -%{_libdir}/libdbus-tqt-1.la -%{_libdir}/pkgconfig/dbus-tqt.pc - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DINCLUDE_INSTALL_DIR=%{_includedir} \ - -DLIB_INSTALL_DIR=%{_libdir} \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt.spec b/redhat/dependencies/dbus-tqt/dbus-tqt.spec new file mode 100644 index 000000000..9d6268842 --- /dev/null +++ b/redhat/dependencies/dbus-tqt/dbus-tqt.spec @@ -0,0 +1,191 @@ +# +# spec file for package dbus-tqt (version R14) +# +# 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_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libdbus %{_lib}dbus +%else +%define libdbus libdbus +%endif + + +Name: trinity-dbus-tqt +Epoch: %{tde_epoch} +Version: 0.63 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Simple inter-process messaging system +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# DBUS support +%if 0%{?suse_version} +BuildRequires: dbus-1-devel +%else +BuildRequires: dbus-devel +%endif + +%description +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides the TQt-based shared library for applications using the +Qt interface to D-BUS. + +See the dbus description for more information about D-BUS in general. + +########## + +%package -n %{libdbus}-tqt-1-0 +Summary: Simple inter-process messaging system (TQt-based shared library) +Group: System/Libraries +Provides: libdbus-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libdbus}-tqt-1-0 +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides the TQt-based shared library for applications using the +Qt interface to D-BUS. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-tqt-1-0 +/sbin/ldconfig || : + +%postun -n %{libdbus}-tqt-1-0 +/sbin/ldconfig || : + +%files -n %{libdbus}-tqt-1-0 +%defattr(-,root,root,-) +%{_libdir}/libdbus-tqt-1.so.0 +%{_libdir}/libdbus-tqt-1.so.0.0.0 + +########## + +%package -n %{libdbus}-tqt-1-devel +Summary: Simple inter-process messaging system (TQt interface) +Group: Development/Libraries/C and C++ +Provides: libdbus-tqt-1-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{libdbus}-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%if 0%{?suse_version} +Requires: dbus-1-devel +%else +Requires: dbus-devel +%endif + +%description -n %{libdbus}-tqt-1-devel +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides the TQt-based shared library for applications using the +Qt interface to D-BUS. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-tqt-1-devel +/sbin/ldconfig || : + +%postun -n %{libdbus}-tqt-1-devel +/sbin/ldconfig || : + +%files -n %{libdbus}-tqt-1-devel +%defattr(-,root,root,-) +%{_includedir}/dbus-1.0/* +%{_libdir}/libdbus-tqt-1.so +%{_libdir}/libdbus-tqt-1.la +%{_libdir}/pkgconfig/dbus-tqt.pc + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DINCLUDE_INSTALL_DIR=%{_includedir} \ + -DLIB_INSTALL_DIR=%{_libdir} \ + .. + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec deleted file mode 100644 index cd8a9ebc2..000000000 --- a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec +++ /dev/null @@ -1,211 +0,0 @@ -# -# spec file for package libart-lgpl (version R14) -# -# 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_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libart %{_lib}art -%else -%define libart libart -%endif - - -Name: trinity-libart-lgpl -Epoch: %{tde_epoch} -Version: 2.3.22 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Library of functions for 2D graphics -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: LGPL-2.0+ -%else -License: LGPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -%description -A library of functions for 2D graphics supporting a superset of the -PostScript imaging model, designed to be integrated with graphics, artwork, -and illustration programs. It is written in optimized C, and is fully -compatible with C++. With a small footprint of 10,000 lines of code, it is -especially suitable for embedded applications. - -########## - -%package -n %{libart}_lgpl_2-2 -Summary: Library of functions for 2D graphics - runtime files -Group: System/Libraries -Obsoletes: libart_lgpl < %{version}-%{release} -Provides: libart_lgpl = %{version}-%{release} -Obsoletes: %{_lib}art_lgpl2 < %{version}-%{release} -Provides: %{_lib}art_lgpl2 = %{version}-%{release} -Provides: libart_lgpl_2-2 = %{version}-%{release} - -%description -n %{libart}_lgpl_2-2 -A library of functions for 2D graphics supporting a superset of the -PostScript imaging model, designed to be integrated with graphics, artwork, -and illustration programs. It is written in optimized C, and is fully -compatible with C++. With a small footprint of 10,000 lines of code, it is -especially suitable for embedded applications. - -%post -n %{libart}_lgpl_2-2 -/sbin/ldconfig || : - -%postun -n %{libart}_lgpl_2-2 -/sbin/ldconfig || : - -%files -n %{libart}_lgpl_2-2 -%defattr(-,root,root,-) -%{_libdir}/libart_lgpl_2.so.2 -%{_libdir}/libart_lgpl_2.so.2.3.21 - -########## - -%package -n %{libart}_lgpl-devel -Summary: Library of functions for 2D graphics - development files -Group: Development/Libraries -Provides: libart_lgpl-devel = %{tde_epoch}:%{version}-%{release} -Requires: %{libart}_lgpl_2-2 = %{tde_epoch}:%{version}-%{release} - -%description -n %{libart}_lgpl-devel -A library of functions for 2D graphics supporting a superset of the -PostScript imaging model, designed to be integrated with graphics, artwork, -and illustration programs. It is written in optimized C, and is fully -compatible with C++. With a small footprint of 10,000 lines of code, it is -especially suitable for embedded applications. - -%post -n %{libart}_lgpl-devel -/sbin/ldconfig || : - -%postun -n %{libart}_lgpl-devel -/sbin/ldconfig || : - -%files -n %{libart}_lgpl-devel -%defattr(-,root,root,-) -%{_bindir}/libart2-config -%{_libdir}/libart_lgpl_2.a -%{_libdir}/libart_lgpl_2.la -%{_libdir}/libart_lgpl_2.so -%dir %{_includedir}/libart-2.0 -%dir %{_includedir}/libart-2.0/libart_lgpl -%{_includedir}/libart-2.0/libart_lgpl/art_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_alphagamma.h -%{_includedir}/libart-2.0/libart_lgpl/art_bpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_config.h -%{_includedir}/libart-2.0/libart_lgpl/art_filterlevel.h -%{_includedir}/libart-2.0/libart_lgpl/art_gray_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_misc.h -%{_includedir}/libart-2.0/libart_lgpl/art_pathcode.h -%{_includedir}/libart-2.0/libart_lgpl/art_pixbuf.h -%{_includedir}/libart-2.0/libart_lgpl/art_point.h -%{_includedir}/libart-2.0/libart_lgpl/art_rect.h -%{_includedir}/libart-2.0/libart_lgpl/art_rect_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_rect_uta.h -%{_includedir}/libart-2.0/libart_lgpl/art_render.h -%{_includedir}/libart-2.0/libart_lgpl/art_render_gradient.h -%{_includedir}/libart-2.0/libart_lgpl/art_render_mask.h -%{_includedir}/libart-2.0/libart_lgpl/art_render_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_a_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_bitmap_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_pixbuf_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_rgba_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgba.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_intersect.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_ops.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_point.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_render_aa.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_vpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_vpath_stroke.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_wind.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta_ops.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta_rect.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta_vpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_vpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_vpath_bpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_vpath_dash.h -%{_includedir}/libart-2.0/libart_lgpl/art_vpath_svp.h -%{_includedir}/libart-2.0/libart_lgpl/libart-features.h -%{_includedir}/libart-2.0/libart_lgpl/libart.h -%{_libdir}/pkgconfig/libart-2.0.pc - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "ltmain.sh" -autoreconf -fiv - - -%build -unset QTDIR QTINC QTLIB - -%configure \ - --prefix=%{_prefix} \ - --exec-prefix=%{_prefix} \ - --bindir=%{_bindir} \ - --libdir=%{_libdir} \ - --datadir=%{_datadir} \ - --includedir=%{_includedir} \ - \ - --disable-dependency-tracking - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - - -%changelog diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl.spec b/redhat/dependencies/libart-lgpl/libart-lgpl.spec new file mode 100644 index 000000000..64d352a5a --- /dev/null +++ b/redhat/dependencies/libart-lgpl/libart-lgpl.spec @@ -0,0 +1,225 @@ +# +# spec file for package libart-lgpl (version R14) +# +# 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_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libart %{_lib}art +%else +%define libart libart +%endif + + +Name: trinity-libart-lgpl +Epoch: %{tde_epoch} +Version: 2.3.22 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Library of functions for 2D graphics +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: LGPL-2.0+ +%else +License: LGPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +%description +A library of functions for 2D graphics supporting a superset of the +PostScript imaging model, designed to be integrated with graphics, artwork, +and illustration programs. It is written in optimized C, and is fully +compatible with C++. With a small footprint of 10,000 lines of code, it is +especially suitable for embedded applications. + +########## + +%package -n %{libart}_lgpl_2-2 +Summary: Library of functions for 2D graphics - runtime files +Group: System/Libraries +Obsoletes: libart_lgpl < %{version}-%{release} +Provides: libart_lgpl = %{version}-%{release} +Obsoletes: %{_lib}art_lgpl2 < %{version}-%{release} +Provides: %{_lib}art_lgpl2 = %{version}-%{release} +Provides: libart_lgpl_2-2 = %{version}-%{release} + +%description -n %{libart}_lgpl_2-2 +A library of functions for 2D graphics supporting a superset of the +PostScript imaging model, designed to be integrated with graphics, artwork, +and illustration programs. It is written in optimized C, and is fully +compatible with C++. With a small footprint of 10,000 lines of code, it is +especially suitable for embedded applications. + +%post -n %{libart}_lgpl_2-2 +/sbin/ldconfig || : + +%postun -n %{libart}_lgpl_2-2 +/sbin/ldconfig || : + +%files -n %{libart}_lgpl_2-2 +%defattr(-,root,root,-) +%{_libdir}/libart_lgpl_2.so.2 +%{_libdir}/libart_lgpl_2.so.2.3.21 + +########## + +%package -n %{libart}_lgpl-devel +Summary: Library of functions for 2D graphics - development files +Group: Development/Libraries +Provides: libart_lgpl-devel = %{tde_epoch}:%{version}-%{release} +Requires: %{libart}_lgpl_2-2 = %{tde_epoch}:%{version}-%{release} + +%description -n %{libart}_lgpl-devel +A library of functions for 2D graphics supporting a superset of the +PostScript imaging model, designed to be integrated with graphics, artwork, +and illustration programs. It is written in optimized C, and is fully +compatible with C++. With a small footprint of 10,000 lines of code, it is +especially suitable for embedded applications. + +%post -n %{libart}_lgpl-devel +/sbin/ldconfig || : + +%postun -n %{libart}_lgpl-devel +/sbin/ldconfig || : + +%files -n %{libart}_lgpl-devel +%defattr(-,root,root,-) +%{_bindir}/libart2-config +%{_libdir}/libart_lgpl_2.a +%{_libdir}/libart_lgpl_2.la +%{_libdir}/libart_lgpl_2.so +%dir %{_includedir}/libart-2.0 +%dir %{_includedir}/libart-2.0/libart_lgpl +%{_includedir}/libart-2.0/libart_lgpl/art_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_alphagamma.h +%{_includedir}/libart-2.0/libart_lgpl/art_bpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_config.h +%{_includedir}/libart-2.0/libart_lgpl/art_filterlevel.h +%{_includedir}/libart-2.0/libart_lgpl/art_gray_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_misc.h +%{_includedir}/libart-2.0/libart_lgpl/art_pathcode.h +%{_includedir}/libart-2.0/libart_lgpl/art_pixbuf.h +%{_includedir}/libart-2.0/libart_lgpl/art_point.h +%{_includedir}/libart-2.0/libart_lgpl/art_rect.h +%{_includedir}/libart-2.0/libart_lgpl/art_rect_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_rect_uta.h +%{_includedir}/libart-2.0/libart_lgpl/art_render.h +%{_includedir}/libart-2.0/libart_lgpl/art_render_gradient.h +%{_includedir}/libart-2.0/libart_lgpl/art_render_mask.h +%{_includedir}/libart-2.0/libart_lgpl/art_render_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_a_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_bitmap_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_pixbuf_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_rgba_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgba.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_intersect.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_ops.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_point.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_render_aa.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_vpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_vpath_stroke.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_wind.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta_ops.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta_rect.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta_vpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_vpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_vpath_bpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_vpath_dash.h +%{_includedir}/libart-2.0/libart_lgpl/art_vpath_svp.h +%{_includedir}/libart-2.0/libart_lgpl/libart-features.h +%{_includedir}/libart-2.0/libart_lgpl/libart.h +%{_libdir}/pkgconfig/libart-2.0.pc +%{_mandir}/man1/libart2-config.* + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + + +%changelog diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec deleted file mode 100644 index a4bf7ebb2..000000000 --- a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec +++ /dev/null @@ -1,198 +0,0 @@ -# -# spec file for package libcaldav (version R14) -# -# 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_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg libcaldav -%define tde_prefix /opt/trinity -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libcaldav %{_lib}caldav -%else -%define libcaldav libcaldav -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.6.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A client library that adds support for the CalDAV protocol (rfc4791) -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Patch1: libcaldav-14.0.1-rhel5.patch - -BuildRequires: make -BuildRequires: libtool -BuildRequires: fdupes - -# GTK2 support -%if 0%{?rhel} == 4 -BuildRequires: evolution28-gtk2-devel -%else -BuildRequires: glib2-devel -BuildRequires: gtk2-devel -%endif - -# CURL support -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define libcurl_devel libcurl-devel >= 7.15.5 -%else -%define libcurl_devel curl-devel >= 7.15.5 -%endif -%{?libcurl_devel:BuildRequires: %{libcurl_devel}} - -%description -libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). -The object is to have a library which fully implements the protocol so that it is -easy to integrate CalDAV support into any PIM application. - -########## - -%package -n %{libcaldav}0 -Summary: A client library that adds support for the CalDAV protocol (rfc4791) -Group: System/Libraries - -Obsoletes: trinity-libcaldav < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libcaldav = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libcaldav = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libcaldav}0 -libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). -The object is to have a library which fully implements the protocol so that it is -easy to integrate CalDAV support into any PIM application. - -%files -n %{libcaldav}0 -%defattr(-,root,root,-) -%{_libdir}/libcaldav.so.0 -%{_libdir}/libcaldav.so.0.0.6 -%{_docdir}/libcaldav-%{version}/ - -%post -n %{libcaldav}0 -/sbin/ldconfig - -%postun -n %{libcaldav}0 -/sbin/ldconfig - -########## - -%package -n %{libcaldav}-devel -Summary: A client library that adds support for the CalDAV protocol (Development Files) -Group: Development/Libraries/Other -Requires: %{libcaldav}0 = %{?epoch:%{epoch}:}%{version}-%{release} -%{?libcurl_devel:Requires: %{libcurl_devel}} -Requires: glib2-devel - -Obsoletes: trinity-libcaldav-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libcaldav}-devel -libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). -The object is to have a library which fully implements the protocol so that it is -easy to integrate CalDAV support into any PIM application. - -This package includes the development files. - -%files -n %{libcaldav}-devel -%defattr(-,root,root,-) -%{_includedir}/libcaldav/ -%{_libdir}/libcaldav.la -%{_libdir}/libcaldav.so -%{_libdir}/pkgconfig/libcaldav.pc - -%post -n %{libcaldav}-devel -/sbin/ldconfig - -%postun -n %{libcaldav}-devel -/sbin/ldconfig - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%if 0%{?rhel} == 5 -%patch1 -p1 -b .ftbfs -%endif -autoreconf -fiv - - -%build -# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5 -export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# RHEL4 stuff -if [ -d /usr/evolution28 ]; then - export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" -fi - -%configure \ - --docdir=%{_docdir}/libcaldav \ - --includedir=%{_includedir} \ - --libdir=%{_libdir} \ - \ - --disable-dependency-tracking - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{buildroot}%{_libdir}/*.a - -# Fix doc dir -mv -f %{?buildroot}%{_docdir}/libcaldav/ %{?buildroot}%{_docdir}/libcaldav-%{version}/ - -# Fix duplicate files -%fdupes %{?buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch b/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch deleted file mode 100644 index 0cf9f056b..000000000 --- a/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch +++ /dev/null @@ -1,193 +0,0 @@ -diff --git a/src/add-caldav-object.c b/src/add-caldav-object.c -index 68a4377..35aef48 100644 ---- a/src/add-caldav-object.c -+++ b/src/add-caldav-object.c -@@ -103,7 +103,6 @@ gboolean caldav_add(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/delete-caldav-object.c b/src/delete-caldav-object.c -index 9a85168..ea5733f 100644 ---- a/src/delete-caldav-object.c -+++ b/src/delete-caldav-object.c -@@ -150,7 +150,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - g_free(search); - curl_slist_free_all(http_header); -@@ -249,7 +248,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { - caldav_unlock_object( -@@ -380,7 +378,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - g_free(search); - curl_slist_free_all(http_header); -@@ -479,7 +476,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { - caldav_unlock_object( -diff --git a/src/get-caldav-report.c b/src/get-caldav-report.c -index d916259..0021cb8 100644 ---- a/src/get-caldav-report.c -+++ b/src/get-caldav-report.c -@@ -169,7 +169,6 @@ gboolean caldav_getall(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -266,7 +265,6 @@ gboolean caldav_getrange(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -349,7 +347,6 @@ gboolean caldav_tasks_getall(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -446,7 +443,6 @@ gboolean caldav_tasks_getrange(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/get-display-name.c b/src/get-display-name.c -index 8fc0ff8..c205efd 100644 ---- a/src/get-display-name.c -+++ b/src/get-display-name.c -@@ -99,7 +99,6 @@ gboolean caldav_getname(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/get-freebusy-report.c b/src/get-freebusy-report.c -index f75ab92..40a5a3c 100644 ---- a/src/get-freebusy-report.c -+++ b/src/get-freebusy-report.c -@@ -104,7 +104,6 @@ gboolean caldav_freebusy(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/lock-caldav-object.c b/src/lock-caldav-object.c -index 30f2d20..6845551 100644 ---- a/src/lock-caldav-object.c -+++ b/src/lock-caldav-object.c -@@ -107,7 +107,6 @@ gchar* caldav_lock_object( - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - if (res != 0) { -@@ -211,7 +210,6 @@ gboolean caldav_unlock_object(gchar* lock_token, gchar* URI, - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - if (res != 0) { -diff --git a/src/modify-caldav-object.c b/src/modify-caldav-object.c -index fb3a4d0..f3563d8 100644 ---- a/src/modify-caldav-object.c -+++ b/src/modify-caldav-object.c -@@ -151,7 +151,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - http_header = NULL; -@@ -249,7 +248,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) { - strlen(settings->file)); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { -@@ -391,7 +389,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - http_header = NULL; -@@ -489,7 +486,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) { - strlen(settings->file)); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { -diff --git a/src/options-caldav-server.c b/src/options-caldav-server.c -index 1d97d04..0045afe 100644 ---- a/src/options-caldav-server.c -+++ b/src/options-caldav-server.c -@@ -74,7 +74,6 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res == 0) { - gchar* head; -@@ -102,15 +101,12 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu - } - else if ( - (res == CURLE_SSL_CONNECT_ERROR || -- CURLE_PEER_FAILED_VERIFICATION || - CURLE_SSL_ENGINE_NOTFOUND || - CURLE_SSL_ENGINE_SETFAILED || - CURLE_SSL_CERTPROBLEM || - CURLE_SSL_CIPHER || - CURLE_SSL_CACERT || -- CURLE_SSL_CACERT_BADFILE || -- CURLE_SSL_CRL_BADFILE || -- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) { -+ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) { - error->code = -2; - error->str = g_strdup(error_buf); - } diff --git a/redhat/dependencies/libcaldav/libcaldav.spec b/redhat/dependencies/libcaldav/libcaldav.spec new file mode 100644 index 000000000..312221adf --- /dev/null +++ b/redhat/dependencies/libcaldav/libcaldav.spec @@ -0,0 +1,205 @@ +# +# spec file for package libcaldav (version R14) +# +# 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_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg libcaldav +%define tde_prefix /opt/trinity +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libcaldav %{_lib}caldav +%else +%define libcaldav libcaldav +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.6.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A client library that adds support for the CalDAV protocol (rfc4791) +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: cmake >= 2.8 +BuildRequires: make +BuildRequires: libtool +BuildRequires: fdupes + +# GTK2 support +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +%else +BuildRequires: glib2-devel +BuildRequires: gtk2-devel +%endif + +# CURL support +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define libcurl_devel libcurl-devel >= 7.15.5 +%else +%define libcurl_devel curl-devel >= 7.15.5 +%endif +%{?libcurl_devel:BuildRequires: %{libcurl_devel}} + +%description +libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). +The object is to have a library which fully implements the protocol so that it is +easy to integrate CalDAV support into any PIM application. + +########## + +%package -n %{libcaldav}0 +Summary: A client library that adds support for the CalDAV protocol (rfc4791) +Group: System/Libraries + +Obsoletes: trinity-libcaldav < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libcaldav = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libcaldav = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libcaldav}0 +libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). +The object is to have a library which fully implements the protocol so that it is +easy to integrate CalDAV support into any PIM application. + +%files -n %{libcaldav}0 +%defattr(-,root,root,-) +%{_libdir}/libcaldav.so.0 +%{_libdir}/libcaldav.so.0.0.6 +%{_docdir}/libcaldav/ + +%post -n %{libcaldav}0 +/sbin/ldconfig + +%postun -n %{libcaldav}0 +/sbin/ldconfig + +########## + +%package -n %{libcaldav}-devel +Summary: A client library that adds support for the CalDAV protocol (Development Files) +Group: Development/Libraries/Other +Requires: %{libcaldav}0 = %{?epoch:%{epoch}:}%{version}-%{release} +%{?libcurl_devel:Requires: %{libcurl_devel}} +Requires: glib2-devel + +Obsoletes: trinity-libcaldav-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libcaldav}-devel +libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). +The object is to have a library which fully implements the protocol so that it is +easy to integrate CalDAV support into any PIM application. + +This package includes the development files. + +%files -n %{libcaldav}-devel +%defattr(-,root,root,-) +%{_includedir}/libcaldav/ +%{_libdir}/libcaldav.la +%{_libdir}/libcaldav.so +%{_libdir}/pkgconfig/libcaldav.pc + +%post -n %{libcaldav}-devel +/sbin/ldconfig + +%postun -n %{libcaldav}-devel +/sbin/ldconfig + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Fix duplicate files +%fdupes %{?buildroot} + +# Fix doc directory +%if "%{_docdir}" != "%{_datadir}/doc" +%__mkdir_p "%{?buildroot}/%{_docdir}" +%__mv -f "%{?buildroot}/%{_datadir}/doc/libcaldav" "%{?buildroot}/%{_docdir}/libcaldav" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec b/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec deleted file mode 100644 index 27e23795e..000000000 --- a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec +++ /dev/null @@ -1,197 +0,0 @@ -# -# spec file for package libcarddav (version R14) -# -# 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_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg libcarddav -%define tde_prefix /opt/trinity -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libcarddav %{_lib}carddav -%else -%define libcarddav libcarddav -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.6.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A portable CardDAV client implementation -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Deskio -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Patch1: libcarddav-14.0.1-rhel5.patch - -BuildRequires: make -BuildRequires: libtool - -# CURL support -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define libcurl_devel libcurl-devel >= 7.15.5 -%else -# Specific CURL version for TDE on RHEL 5 (and older) -%define libcurl_devel curl-devel >= 7.15.5 -%endif -%{?libcurl_devel:BuildRequires: %{libcurl_devel}} - -# GTK2 support -%if 0%{?rhel} == 4 -BuildRequires: evolution28-gtk2-devel -%else -BuildRequires: glib2-devel -BuildRequires: gtk2-devel -%endif - -%description -Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. -It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. -Build dependencies are minimal, requiring only libcurl. - -########## - -%package -n %{libcarddav}0 -Summary: A portable CardDAV client implementation -Group: System/Libraries - -Obsoletes: trinity-libcarddav < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libcarddav = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libcarddav = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libcarddav}0 -Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. -It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. -Build dependencies are minimal, requiring only libcurl. - -%files -n %{libcarddav}0 -%defattr(-,root,root,-) -%{_libdir}/libcarddav.so.0 -%{_libdir}/libcarddav.so.0.0.6 - -%post -n %{libcarddav}0 -/sbin/ldconfig - -%postun -n %{libcarddav}0 -/sbin/ldconfig - - -########## - -%package -n %{libcarddav}-devel -Summary: A portable CardDAV client implementation (Development Files) -Group: Development/Libraries/Other -Requires: %{libcarddav}0 = %{?epoch:%{epoch}:}%{version}-%{release} -%{?libcurl_devel:Requires: %{libcurl_devel}} -Requires: glib2-devel - -Obsoletes: trinity-libcarddav-devel < %{version}-%{release} -Provides: trinity-libcarddav-devel = %{version}-%{release} -Provides: libcarddav-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libcarddav}-devel -Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. -It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. -Build dependencies are minimal, requiring only libcurl. - -This package contains the development files. - -%files -n %{libcarddav}-devel -%defattr(-,root,root,-) -%{_includedir}/libcarddav/ -%{_libdir}/libcarddav.la -%{_libdir}/libcarddav.so -%{_libdir}/pkgconfig/libcarddav.pc - -%post -n %{libcarddav}-devel -/sbin/ldconfig - -%postun -n %{libcarddav}-devel -/sbin/ldconfig - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%if 0%{?rhel} == 5 -%patch1 -p1 -b .ftbfs -%endif - -# Fix empty ChangeLog cause invalid macro in 'configure.ac' -echo "%{name} (%{version})" >ChangeLog - -autoreconf -fiv - - -%build -unset QTDIR QTINC QTLIB - -# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5 -export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# RHEL4 stuff -if [ -d /usr/evolution28 ]; then - export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" -fi - -%configure \ - --includedir=%{_includedir} \ - --libdir=%{_libdir} \ - \ - --disable-dependency-tracking - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{buildroot}%{_libdir}/libcarddav.a - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch b/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch deleted file mode 100644 index a6bf4e6e0..000000000 --- a/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch +++ /dev/null @@ -1,164 +0,0 @@ -diff --git a/src/add-carddav-object.c b/src/add-carddav-object.c -index 5574991..a1586d8 100644 ---- a/src/add-carddav-object.c -+++ b/src/add-carddav-object.c -@@ -104,7 +104,6 @@ gboolean carddav_add(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/delete-carddav-object.c b/src/delete-carddav-object.c -index 96b9033..6984a82 100644 ---- a/src/delete-carddav-object.c -+++ b/src/delete-carddav-object.c -@@ -132,7 +132,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - g_free(search); - curl_slist_free_all(http_header); -@@ -231,7 +230,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { - carddav_unlock_object( -@@ -417,7 +415,6 @@ gboolean carddav_delete_by_uri(carddav_settings* settings, carddav_error* error) - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { - carddav_unlock_object( -diff --git a/src/get-carddav-report.c b/src/get-carddav-report.c -index b44fd2c..7655b29 100644 ---- a/src/get-carddav-report.c -+++ b/src/get-carddav-report.c -@@ -117,7 +117,6 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error) - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -243,7 +242,6 @@ gboolean carddav_getall(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -345,7 +343,6 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error) - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -378,4 +375,4 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error) - curl_easy_cleanup(curl); - g_free(dav_file_listing); - return result; --} -\ No newline at end of file -+} -diff --git a/src/get-display-name.c b/src/get-display-name.c -index 9e782e0..16c3e4b 100644 ---- a/src/get-display-name.c -+++ b/src/get-display-name.c -@@ -100,7 +100,6 @@ gboolean carddav_getname(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/lock-carddav-object.c b/src/lock-carddav-object.c -index 163264c..2292cad 100644 ---- a/src/lock-carddav-object.c -+++ b/src/lock-carddav-object.c -@@ -109,7 +109,6 @@ gchar* carddav_lock_object( - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - if (res != 0) { -@@ -214,7 +213,6 @@ gboolean carddav_unlock_object(gchar* lock_token, gchar* URI, - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - if (res != 0) { -diff --git a/src/modify-carddav-object.c b/src/modify-carddav-object.c -index 1822068..a8b6de2 100644 ---- a/src/modify-carddav-object.c -+++ b/src/modify-carddav-object.c -@@ -133,7 +133,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - http_header = NULL; -@@ -231,7 +230,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) { - strlen(settings->file)); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { -@@ -430,7 +428,6 @@ gboolean carddav_modify_by_uri(carddav_settings* settings, carddav_error* error) - strlen(settings->file)); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { -diff --git a/src/options-carddav-server.c b/src/options-carddav-server.c -index b774401..b44aae2 100644 ---- a/src/options-carddav-server.c -+++ b/src/options-carddav-server.c -@@ -75,7 +75,6 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - if (settings->debug) { - curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); - } -@@ -106,15 +105,12 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re - } - else if ( - (res == CURLE_SSL_CONNECT_ERROR || -- CURLE_PEER_FAILED_VERIFICATION || - CURLE_SSL_ENGINE_NOTFOUND || - CURLE_SSL_ENGINE_SETFAILED || - CURLE_SSL_CERTPROBLEM || - CURLE_SSL_CIPHER || - CURLE_SSL_CACERT || -- CURLE_SSL_CACERT_BADFILE || -- CURLE_SSL_CRL_BADFILE || -- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) { -+ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) { - error->code = -2; - error->str = g_strdup(error_buf); - } diff --git a/redhat/dependencies/libcarddav/libcarddav.spec b/redhat/dependencies/libcarddav/libcarddav.spec new file mode 100644 index 000000000..de5d69bed --- /dev/null +++ b/redhat/dependencies/libcarddav/libcarddav.spec @@ -0,0 +1,203 @@ +# +# spec file for package libcarddav (version R14) +# +# 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_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg libcarddav +%define tde_prefix /opt/trinity +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libcarddav %{_lib}carddav +%else +%define libcarddav libcarddav +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.6.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A portable CardDAV client implementation +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Deskio +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: cmake >= 2.8 +BuildRequires: make +BuildRequires: libtool + +# CURL support +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define libcurl_devel libcurl-devel >= 7.15.5 +%else +# Specific CURL version for TDE on RHEL 5 (and older) +%define libcurl_devel curl-devel >= 7.15.5 +%endif +%{?libcurl_devel:BuildRequires: %{libcurl_devel}} + +# GTK2 support +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +%else +BuildRequires: glib2-devel +BuildRequires: gtk2-devel +%endif + +%description +Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. +It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. +Build dependencies are minimal, requiring only libcurl. + +########## + +%package -n %{libcarddav}0 +Summary: A portable CardDAV client implementation +Group: System/Libraries + +Obsoletes: trinity-libcarddav < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libcarddav = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libcarddav = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libcarddav}0 +Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. +It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. +Build dependencies are minimal, requiring only libcurl. + +%files -n %{libcarddav}0 +%defattr(-,root,root,-) +%{_libdir}/libcarddav.so.0 +%{_libdir}/libcarddav.so.0.0.6 +%{_docdir}/libcarddav/ + +%post -n %{libcarddav}0 +/sbin/ldconfig + +%postun -n %{libcarddav}0 +/sbin/ldconfig + + +########## + +%package -n %{libcarddav}-devel +Summary: A portable CardDAV client implementation (Development Files) +Group: Development/Libraries/Other +Requires: %{libcarddav}0 = %{?epoch:%{epoch}:}%{version}-%{release} +%{?libcurl_devel:Requires: %{libcurl_devel}} +Requires: glib2-devel + +Obsoletes: trinity-libcarddav-devel < %{version}-%{release} +Provides: trinity-libcarddav-devel = %{version}-%{release} +Provides: libcarddav-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libcarddav}-devel +Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. +It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. +Build dependencies are minimal, requiring only libcurl. + +This package contains the development files. + +%files -n %{libcarddav}-devel +%defattr(-,root,root,-) +%{_includedir}/libcarddav/ +%{_libdir}/libcarddav.la +%{_libdir}/libcarddav.so +%{_libdir}/pkgconfig/libcarddav.pc + +%post -n %{libcarddav}-devel +/sbin/ldconfig + +%postun -n %{libcarddav}-devel +/sbin/ldconfig + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Fix doc directory +%if "%{_docdir}" != "%{_datadir}/doc" +%__mkdir_p "%{?buildroot}/%{_docdir}" +%__mv -f "%{?buildroot}/%{_datadir}/doc/libcarddav" "%{?buildroot}/%{_docdir}/libcarddav" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec deleted file mode 100644 index 3b8b54d68..000000000 --- a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec +++ /dev/null @@ -1,264 +0,0 @@ -# -# spec file for package python-tqt (version R14) -# -# 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 ! - -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg python-tqt -%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 - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 3.18.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TQt bindings for Python -Group: Development/Libraries/Python -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Obsoletes: trinity-PyQt -Obsoletes: trinity-python-qt3 - -BuildRequires: tqt3-apps-devel >= 3.5.0 -BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 -BuildRequires: trinity-filesystem >= %{tde_version} -BuildRequires: sip4-tqt-devel >= %{?epoch:%{epoch}:}4.10.5 -BuildRequires: libtqscintilla-devel >= %{?epoch:%{epoch}:}1.7.1 - -BuildRequires: gcc-c++ -BuildRequires: python -BuildRequires: python-devel - -# MESA support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: mesaglu-devel -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif - -# XMU support -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libXmu-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 -BuildRequires: libXmu-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 -BuildRequires: libxmu-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 -BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel -%endif - -%description -Python binding module that allows use of TQt X Window toolkit v3. -You can use it to create portable graphics-capable scripts. - -At this moment python-tqt offers a vast subset of TQt API. There are -some minor issues related to the differences between C++ and Python -(types, etc), but usually you'll be able to write code pretty much the -same way in both languages (with syntax differences, of course) - -########## - -%package -n python-tqt -Summary: TQt bindings for Python -Group: Development/Libraries/Python -Requires: trinity-filesystem >= %{tde_version} -Requires: sip4-tqt >= %{?epoch:%{epoch}:}4.10.5 -Requires: libtqt4 >= %{?epoch:%{epoch}:}4.2.0 - -%description -n python-tqt -Python binding module that allows use of TQt X Window toolkit v3. -You can use it to create portable graphics-capable scripts. - -At this moment python-tqt offers a vast subset of TQt API. There are -some minor issues related to the differences between C++ and Python -(types, etc), but usually you'll be able to write code pretty much the -same way in both languages (with syntax differences, of course) - -%files -n python-tqt -%defattr(-,root,root,-) -%doc NEWS README -%dir %{python_sitearch}/python_tqt -%{python_sitearch}/python_tqt/__init__.py* -%{python_sitearch}/python_tqt/qt.so -%{python_sitearch}/python_tqt/qtcanvas.so -%{python_sitearch}/python_tqt/qtnetwork.so -%{python_sitearch}/python_tqt/qtsql.so -%{python_sitearch}/python_tqt/qttable.so -%{python_sitearch}/python_tqt/qtui.so -%{python_sitearch}/python_tqt/qtxml.so - -########## - -%package -n python-tqt-gl -Summary: TQt OpenGL bindings for Python -Group: Development/Libraries/Python -Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n python-tqt-gl -Python binding module that allows use of the OpenGL facilities -offered by the TQt X Window toolkit v3. You can use it to create -portable graphics-capable scripts. - -%files -n python-tqt-gl -%defattr(-,root,root,-) -%{python_sitearch}/python_tqt/qtgl.so - -########## - -%package -n python-tqt-tqtext -Summary: TQtext extensions for python-tqt -Group: Development/Libraries/Python -Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n python-tqt-tqtext -python-tqt Extensions. Contains: - -* TQScintilla: a featureful TQt source code editing component based - on Scintilla. - -%files -n python-tqt-tqtext -%defattr(-,root,root,-) -%{python_sitearch}/python_tqt/qtext.so - -########## - -%package -n trinity-pytqt-tools -Summary: Pyuic and pylupdate for TQt -Group: Development/Libraries/Python -Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-pytqt-tools -pyuic is the PyQt counterpart for TQt's uic. It takes an XML -user interface file and generates Python code. - -pylupdate is the counterpart for TQt's lupdate. It updates TQt -Linguist translation files from Python code. - -%files -n trinity-pytqt-tools -%defattr(-,root,root,-) -%{tde_bindir}/pylupdate -%{tde_bindir}/pyuic - -########## - -%package -n python-tqt-devel -Summary: TQt bindings for Python - Development files -Group: Development/Libraries/Python -Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: trinity-pytqt-tools = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 - -%description -n python-tqt-devel -Development .sip files with definitions of PyQt classes. They -are needed to build PyQt, but also as building blocks of other -packages based on them, like PyTDE. - -%files -n python-tqt-devel -%defattr(-,root,root,-) -%{python_sitearch}/python_tqt/pyqtconfig.py* -%dir %{_datadir}/sip -%{_datadir}/sip/tqt/ - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -mkdir build -cd build - -# WTF ? CentOS 6 ! -cp -rf ../pyuic3 ../pylupdate3 - -echo yes | %__python ../configure.py \ - -c -n %{_includedir}/tqscintilla \ - -q %{_datadir}/tqt3 \ - -y tqt-mt \ - -o %{_libdir} -u -j 10 \ - -d %{python_sitearch}/python_tqt \ - -v %{_datadir}/sip/tqt \ - -b %{tde_bindir} \ - -w \ - CXXFLAGS_RELEASE="" CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt" STRIP="" - -%__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%__install -d %{?buildroot}%{_datadir}/sip/ -%__cp -rf sip/* %{?buildroot}%{_datadir}/sip/tqt/ - - -%clean -%__rm -rf %{?buildroot}%{python_sitearch}/python_tqt/__init__.py - - -%changelog diff --git a/redhat/dependencies/python-tqt/python-tqt.spec b/redhat/dependencies/python-tqt/python-tqt.spec new file mode 100644 index 000000000..0a3731cc1 --- /dev/null +++ b/redhat/dependencies/python-tqt/python-tqt.spec @@ -0,0 +1,271 @@ +# +# spec file for package python-tqt (version R14) +# +# 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 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg python-tqt +%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 + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 3.18.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TQt bindings for Python +Group: Development/Libraries/Python +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +Obsoletes: trinity-PyQt +Obsoletes: trinity-python-qt3 + +BuildRequires: tqt3-apps-devel >= 3.5.0 +BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 +BuildRequires: trinity-filesystem >= %{tde_version} +BuildRequires: sip4-tqt-devel >= %{?epoch:%{epoch}:}4.10.5 +BuildRequires: libtqscintilla-devel >= %{?epoch:%{epoch}:}1.7.1 + +BuildRequires: gcc-c++ + +# PYTHON +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: mesaglu-devel +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif + +# XMU support +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libXmu-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 +BuildRequires: libXmu-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 +BuildRequires: libxmu-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 +BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel +%endif + +%description +Python binding module that allows use of TQt X Window toolkit v3. +You can use it to create portable graphics-capable scripts. + +At this moment python-tqt offers a vast subset of TQt API. There are +some minor issues related to the differences between C++ and Python +(types, etc), but usually you'll be able to write code pretty much the +same way in both languages (with syntax differences, of course) + +########## + +%package -n python-tqt +Summary: TQt bindings for Python +Group: Development/Libraries/Python +Requires: trinity-filesystem >= %{tde_version} +Requires: sip4-tqt >= %{?epoch:%{epoch}:}4.10.5 +Requires: libtqt4 >= %{?epoch:%{epoch}:}4.2.0 + +%description -n python-tqt +Python binding module that allows use of TQt X Window toolkit v3. +You can use it to create portable graphics-capable scripts. + +At this moment python-tqt offers a vast subset of TQt API. There are +some minor issues related to the differences between C++ and Python +(types, etc), but usually you'll be able to write code pretty much the +same way in both languages (with syntax differences, of course) + +%files -n python-tqt +%defattr(-,root,root,-) +%doc NEWS README +%dir %{python_sitearch}/python_tqt +%{python_sitearch}/python_tqt/__init__.py* +%{python_sitearch}/python_tqt/qt.so +%{python_sitearch}/python_tqt/qtcanvas.so +%{python_sitearch}/python_tqt/qtnetwork.so +%{python_sitearch}/python_tqt/qtsql.so +%{python_sitearch}/python_tqt/qttable.so +%{python_sitearch}/python_tqt/qtui.so +%{python_sitearch}/python_tqt/qtxml.so + +########## + +%package -n python-tqt-gl +Summary: TQt OpenGL bindings for Python +Group: Development/Libraries/Python +Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n python-tqt-gl +Python binding module that allows use of the OpenGL facilities +offered by the TQt X Window toolkit v3. You can use it to create +portable graphics-capable scripts. + +%files -n python-tqt-gl +%defattr(-,root,root,-) +%{python_sitearch}/python_tqt/qtgl.so + +########## + +%package -n python-tqt-tqtext +Summary: TQtext extensions for python-tqt +Group: Development/Libraries/Python +Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n python-tqt-tqtext +python-tqt Extensions. Contains: + +* TQScintilla: a featureful TQt source code editing component based + on Scintilla. + +%files -n python-tqt-tqtext +%defattr(-,root,root,-) +%{python_sitearch}/python_tqt/qtext.so + +########## + +%package -n trinity-pytqt-tools +Summary: Pyuic and pylupdate for TQt +Group: Development/Libraries/Python +Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-pytqt-tools +pyuic is the PyQt counterpart for TQt's uic. It takes an XML +user interface file and generates Python code. + +pylupdate is the counterpart for TQt's lupdate. It updates TQt +Linguist translation files from Python code. + +%files -n trinity-pytqt-tools +%defattr(-,root,root,-) +%{tde_bindir}/pylupdate +%{tde_bindir}/pyuic + +########## + +%package -n python-tqt-devel +Summary: TQt bindings for Python - Development files +Group: Development/Libraries/Python +Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-pytqt-tools = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 + +%description -n python-tqt-devel +Development .sip files with definitions of PyQt classes. They +are needed to build PyQt, but also as building blocks of other +packages based on them, like PyTDE. + +%files -n python-tqt-devel +%defattr(-,root,root,-) +%{python_sitearch}/python_tqt/pyqtconfig.py* +%dir %{_datadir}/sip +%{_datadir}/sip/tqt/ + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +mkdir build +cd build + +# WTF ? CentOS 6 ! +cp -rf ../pyuic3 ../pylupdate3 + +echo yes | %__python ../configure.py \ + -c -n %{_includedir}/tqscintilla \ + -q %{_datadir}/tqt3 \ + -y tqt-mt \ + -o %{_libdir} -u -j 10 \ + -d %{python_sitearch}/python_tqt \ + -v %{_datadir}/sip/tqt \ + -b %{tde_bindir} \ + -w \ + CXXFLAGS_RELEASE="" CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt" STRIP="" + +%__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +%__install -d %{?buildroot}%{_datadir}/sip/ +%__cp -rf sip/* %{?buildroot}%{_datadir}/sip/tqt/ + + +%clean +%__rm -rf %{?buildroot}%{python_sitearch}/python_tqt/__init__.py + + +%changelog diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec b/redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec deleted file mode 100644 index 6432e8099..000000000 --- a/redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec +++ /dev/null @@ -1,174 +0,0 @@ -# -# spec file for package sip4-tqt (version R14) -# -# 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 ! - -# Note for RHEL6 / Fedora: -# Do *NOT* use 'byacc' to build sip4-tqt. -# Instead, use 'bison' with a wrapper shell script. -# e.g. /usr/local/bin/yacc -# contains 'bison --yacc $@' - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg sip4-tqt -%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 - -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 4.10.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Python/C++ bindings generator runtime library -Group: Development/Tools/Building -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 -BuildRequires: trinity-filesystem >= %{tde_version} - -BuildRequires: gcc-c++ -BuildRequires: python -BuildRequires: python-devel - -%description -SIP is a tool for generating bindings for C++ classes with some ideas -borrowed from SWIG, but capable of tighter bindings because of its -specificity towards C++ and Python. - -########## - -%package -n sip4-tqt -Summary: Python/C++ bindings generator (Runtime Library) -Group: Development/Tools/Building -Requires: trinity-filesystem >= %{tde_version} -Requires: python - -%description -n sip4-tqt -SIP is a tool for generating bindings for C++ classes with some ideas -borrowed from SWIG, but capable of tighter bindings because of its -specificity towards C++ and Python. - -%files -n sip4-tqt -%defattr(-,root,root,-) -%dir %{python_sitearch}/sip4_tqt -%{python_sitearch}/sip4_tqt/sip.so -%{python_sitearch}/sip4_tqt/sipconfig.py* -%{python_sitearch}/sip4_tqt/sipdistutils.py* -%{python_sitearch}/sip4_tqt/__init__.py* - -########## - -%package -n sip4-tqt-devel -Summary: Python/C++ bindings generator (Development Files) -Group: Development/Libraries/Python -Requires: sip4-tqt = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: python-devel - -%description -n sip4-tqt-devel -SIP is a tool for generating bindings for C++ classes with some ideas -borrowed from SWIG, but capable of tighter bindings because of its -specificity towards C++ and Python. - -SIP was originally designed to generate Python bindings for KDE and so -has explicit support for the signal slot mechanism used by the Qt/KDE -class libraries. - -Features: -- connecting TQt signals to Python functions and class methods -- connecting Python signals to TQt slots -- overloading virtual member functions with Python class methods -- protected member functions -- abstract classes -- enumerated types -- global class instances -- static member functions. - -This package contains the code generator tool and the development headers -needed to develop Python bindings with sip. - -%files -n sip4-tqt-devel -%defattr(-,root,root,-) -%{tde_bindir}/sip -%{tde_includedir}/sip.h - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -mkdir build -cd build -%__python ../configure.py \ - -b %{tde_bindir} \ - -d %{python_sitearch}/sip4_tqt \ - -e %{tde_includedir} \ - -u STRIP="" \ - CFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" \ - CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt.spec b/redhat/dependencies/sip4-tqt/sip4-tqt.spec new file mode 100644 index 000000000..601659a5e --- /dev/null +++ b/redhat/dependencies/sip4-tqt/sip4-tqt.spec @@ -0,0 +1,177 @@ +# +# spec file for package sip4-tqt (version R14) +# +# 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 ! + +# Note for RHEL6 / Fedora: +# Do *NOT* use 'byacc' to build sip4-tqt. +# Instead, use 'bison' with a wrapper shell script. +# e.g. /usr/local/bin/yacc +# contains 'bison --yacc $@' + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg sip4-tqt +%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 + +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 4.10.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Python/C++ bindings generator runtime library +Group: Development/Tools/Building +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 +BuildRequires: trinity-filesystem >= %{tde_version} + +BuildRequires: gcc-c++ + +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel + +%description +SIP is a tool for generating bindings for C++ classes with some ideas +borrowed from SWIG, but capable of tighter bindings because of its +specificity towards C++ and Python. + +########## + +%package -n sip4-tqt +Summary: Python/C++ bindings generator (Runtime Library) +Group: Development/Tools/Building +Requires: trinity-filesystem >= %{tde_version} +Requires: %{python} + +%description -n sip4-tqt +SIP is a tool for generating bindings for C++ classes with some ideas +borrowed from SWIG, but capable of tighter bindings because of its +specificity towards C++ and Python. + +%files -n sip4-tqt +%defattr(-,root,root,-) +%{python_sitearch}/sip4_tqt/ + +########## + +%package -n sip4-tqt-devel +Summary: Python/C++ bindings generator (Development Files) +Group: Development/Libraries/Python +Requires: sip4-tqt = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{python}-devel + +%description -n sip4-tqt-devel +SIP is a tool for generating bindings for C++ classes with some ideas +borrowed from SWIG, but capable of tighter bindings because of its +specificity towards C++ and Python. + +SIP was originally designed to generate Python bindings for KDE and so +has explicit support for the signal slot mechanism used by the Qt/KDE +class libraries. + +Features: +- connecting TQt signals to Python functions and class methods +- connecting Python signals to TQt slots +- overloading virtual member functions with Python class methods +- protected member functions +- abstract classes +- enumerated types +- global class instances +- static member functions. + +This package contains the code generator tool and the development headers +needed to develop Python bindings with sip. + +%files -n sip4-tqt-devel +%defattr(-,root,root,-) +%{tde_bindir}/sip +%{tde_includedir}/sip.h + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +mkdir build +cd build +%__python ../configure.py \ + -b %{tde_bindir} \ + -d %{python_sitearch}/sip4_tqt \ + -e %{tde_includedir} \ + -u STRIP="" \ + CFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" \ + CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec deleted file mode 100644 index 0323731dc..000000000 --- a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec +++ /dev/null @@ -1,118 +0,0 @@ -# -# spec file for package tqca-tls (version R14) -# -# 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_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tqca-tls -%define tde_prefix /opt/trinity -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqt3 %{_lib}tqt3 -%else -%define libtqt3 libtqt3 -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TLS plugin for the TQt Cryptographic Architecture -Group: Applications/Internet -URL: http://delta.affinix.com/qca/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 -BuildRequires: libtqca-devel >= %{tde_epoch}:1.0 - -BuildRequires: gcc-c++ -BuildRequires: openssl-devel >= 0.9.8 - - -%description -This is a plugin to provide SSL/TLS capability to programs that use the TQt -Cryptographic Architecture (TQCA). TQCA is a library providing an easy API -for several cryptographic algorithms to TQt programs. This package only -contains the TLS plugin. - -########## - -%package -n %{libtqt3}-mt-tqca-tls -Summary: TLS plugin for the TQt Cryptographic Architecture -Group: Applications/Internet - -%description -n %{libtqt3}-mt-tqca-tls -This is a plugin to provide SSL/TLS capability to programs that use the TQt -Cryptographic Architecture (TQCA). TQCA is a library providing an easy API -for several cryptographic algorithms to TQt programs. This package only -contains the TLS plugin. - -%files -n %{libtqt3}-mt-tqca-tls -%defattr(0644,root,root,0755) -%doc README COPYING -%dir %{_libdir}/tqt3/plugins/crypto -%{_libdir}/tqt3/plugins/crypto/libtqca-tls.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB - -./configure \ - --qtdir=%{_prefix} - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install INSTALL_ROOT=%{?buildroot} - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/tqca-tls/tqca-tls.spec b/redhat/dependencies/tqca-tls/tqca-tls.spec new file mode 100644 index 000000000..a3a029de7 --- /dev/null +++ b/redhat/dependencies/tqca-tls/tqca-tls.spec @@ -0,0 +1,118 @@ +# +# spec file for package tqca-tls (version R14) +# +# 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_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tqca-tls +%define tde_prefix /opt/trinity +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqt3 %{_lib}tqt3 +%else +%define libtqt3 libtqt3 +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TLS plugin for the TQt Cryptographic Architecture +Group: Applications/Internet +URL: http://delta.affinix.com/qca/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 +BuildRequires: libtqca-devel >= %{tde_epoch}:1.0 + +BuildRequires: gcc-c++ +BuildRequires: openssl-devel >= 0.9.8 + + +%description +This is a plugin to provide SSL/TLS capability to programs that use the TQt +Cryptographic Architecture (TQCA). TQCA is a library providing an easy API +for several cryptographic algorithms to TQt programs. This package only +contains the TLS plugin. + +########## + +%package -n %{libtqt3}-mt-tqca-tls +Summary: TLS plugin for the TQt Cryptographic Architecture +Group: Applications/Internet + +%description -n %{libtqt3}-mt-tqca-tls +This is a plugin to provide SSL/TLS capability to programs that use the TQt +Cryptographic Architecture (TQCA). TQCA is a library providing an easy API +for several cryptographic algorithms to TQt programs. This package only +contains the TLS plugin. + +%files -n %{libtqt3}-mt-tqca-tls +%defattr(0644,root,root,0755) +%doc README COPYING +%dir %{_libdir}/tqt3/plugins/crypto +%{_libdir}/tqt3/plugins/crypto/libtqca-tls.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB + +./configure \ + --tqtdir=%{_prefix} + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install INSTALL_ROOT=%{?buildroot} + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/tqca/tqca-14.0.0.spec b/redhat/dependencies/tqca/tqca-14.0.0.spec deleted file mode 100644 index a6e59e772..000000000 --- a/redhat/dependencies/tqca/tqca-14.0.0.spec +++ /dev/null @@ -1,171 +0,0 @@ -# -# spec file for package tqca (version R14) -# -# 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_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tqca -%define tde_prefix /opt/trinity -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqca %{_lib}tqca -%else -%define libtqca libtqca -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TQt Cryptographic Architecture -Group: Development/Libraries/C and C++ -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: trinity-tqca-rpmlintrc - -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 -BuildRequires: gcc-c++ - -%description -Taking a hint from the similarly-named Java Cryptography Architecture, -TQCA aims to provide a straightforward and cross-platform crypto API, -using TQt datatypes and conventions. TQCA separates the API from the -implementation, using plugins known as Providers. The advantage of this -model is to allow applications to avoid linking to or explicitly depending -on any particular cryptographic library. This allows one to easily change -or upgrade crypto implementations without even needing to recompile the -application! - -########## - -%package -n %{libtqca}1 -Summary: TQt Cryptographic Architecture -Group: Development/Libraries/C and C++ - -Obsoletes: trinity-libtqca < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libtqca = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libtqca = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libtqca1 = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libtqca}1 -Taking a hint from the similarly-named Java Cryptography Architecture, -TQCA aims to provide a straightforward and cross-platform crypto API, -using TQt datatypes and conventions. TQCA separates the API from the -implementation, using plugins known as Providers. The advantage of this -model is to allow applications to avoid linking to or explicitly depending -on any particular cryptographic library. This allows one to easily change -or upgrade crypto implementations without even needing to recompile the -application! - -%post -n %{libtqca}1 -/sbin/ldconfig - -%postun -n %{libtqca}1 -/sbin/ldconfig - -%files -n %{libtqca}1 -%defattr(-,root,root,-) -%doc COPYING README TODO -%{_libdir}/libqca.so.1 -%{_libdir}/libqca.so.1.0 -%{_libdir}/libqca.so.1.0.0 - -########## - -%package -n %{libtqca}-devel -Summary: TQt Cryptographic Architecture development files -Group: Development/Libraries/C and C++ -Requires: %{libtqca}1 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-libtqca-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libtqca-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libtqca-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libtqca}-devel -This packages contains the development files for TQCA - -%post -n %{libtqca}-devel -/sbin/ldconfig - -%postun -n %{libtqca}-devel -/sbin/ldconfig - -%files -n %{libtqca}-devel -%defattr(-,root,root,-) -%{_includedir}/qca.h -%{_libdir}/libqca.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix 'lib64' library directory -perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra - - -%build -unset QTDIR QTINC QTLIB - -./configure \ - --prefix=%{_prefix} \ - --qtdir=/usr \ - --debug - - -# Workaround strange tqmake behaviour in RHEL5 -%if 0%{?rhel} == 5 -%__sed -i "Makefile" -e "s|..\/..\/..\/..|%{_prefix}|g" -%endif - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install INSTALL_ROOT="${RPM_BUILD_ROOT}/" - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/dependencies/tqca/tqca.spec b/redhat/dependencies/tqca/tqca.spec new file mode 100644 index 000000000..0ea095f6a --- /dev/null +++ b/redhat/dependencies/tqca/tqca.spec @@ -0,0 +1,171 @@ +# +# spec file for package tqca (version R14) +# +# 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_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tqca +%define tde_prefix /opt/trinity +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqca %{_lib}tqca +%else +%define libtqca libtqca +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TQt Cryptographic Architecture +Group: Development/Libraries/C and C++ +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: trinity-tqca-rpmlintrc + +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 +BuildRequires: gcc-c++ + +%description +Taking a hint from the similarly-named Java Cryptography Architecture, +TQCA aims to provide a straightforward and cross-platform crypto API, +using TQt datatypes and conventions. TQCA separates the API from the +implementation, using plugins known as Providers. The advantage of this +model is to allow applications to avoid linking to or explicitly depending +on any particular cryptographic library. This allows one to easily change +or upgrade crypto implementations without even needing to recompile the +application! + +########## + +%package -n %{libtqca}1 +Summary: TQt Cryptographic Architecture +Group: Development/Libraries/C and C++ + +Obsoletes: trinity-libtqca < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libtqca = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libtqca = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libtqca1 = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libtqca}1 +Taking a hint from the similarly-named Java Cryptography Architecture, +TQCA aims to provide a straightforward and cross-platform crypto API, +using TQt datatypes and conventions. TQCA separates the API from the +implementation, using plugins known as Providers. The advantage of this +model is to allow applications to avoid linking to or explicitly depending +on any particular cryptographic library. This allows one to easily change +or upgrade crypto implementations without even needing to recompile the +application! + +%post -n %{libtqca}1 +/sbin/ldconfig + +%postun -n %{libtqca}1 +/sbin/ldconfig + +%files -n %{libtqca}1 +%defattr(-,root,root,-) +%doc COPYING README TODO +%{_libdir}/libqca.so.1 +%{_libdir}/libqca.so.1.0 +%{_libdir}/libqca.so.1.0.0 + +########## + +%package -n %{libtqca}-devel +Summary: TQt Cryptographic Architecture development files +Group: Development/Libraries/C and C++ +Requires: %{libtqca}1 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-libtqca-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libtqca-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libtqca-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libtqca}-devel +This packages contains the development files for TQCA + +%post -n %{libtqca}-devel +/sbin/ldconfig + +%postun -n %{libtqca}-devel +/sbin/ldconfig + +%files -n %{libtqca}-devel +%defattr(-,root,root,-) +%{_includedir}/qca.h +%{_libdir}/libqca.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Fix 'lib64' library directory +perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra + + +%build +unset QTDIR QTINC QTLIB + +./configure \ + --prefix=%{_prefix} \ + --tqtdir=/usr \ + --debug + + +# Workaround strange tqmake behaviour in RHEL5 +%if 0%{?rhel} == 5 +%__sed -i "Makefile" -e "s|..\/..\/..\/..|%{_prefix}|g" +%endif + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install INSTALL_ROOT="${RPM_BUILD_ROOT}/" + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec deleted file mode 100644 index 2d5616cd9..000000000 --- a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec +++ /dev/null @@ -1,232 +0,0 @@ -# -# spec file for package tqscintilla (version R14) -# -# 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_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tqscintilla -%define tde_prefix /opt/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_tdedocdir %{tde_datadir}/doc/tde - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqscintilla %{_lib}tqscintilla -%else -%define libtqscintilla libtqscintilla -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.7.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TQt source code editing component based on Scintilla -Group: Development/Libraries/C and C++ -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: trinity-tqscintilla-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-filesystem >= %{tde_version} - -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: gcc-c++ - -%description -Scintilla is a free source code editing component. It has features found -in standard editing components, as well as features especially useful -when editing and debugging source code. - -TQScintilla is a port or Scintilla to the TQt GUI toolkit. - -########## - -%package -n %{libtqscintilla}7 -Summary: TQt source code editing component based on Scintilla -Group: Development/Libraries/C and C++ -Provides: libtqscintilla = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt3-mt >= 3.5.0 - -%description -n %{libtqscintilla}7 -Scintilla is a free source code editing component. It has features found -in standard editing components, as well as features especially useful -when editing and debugging source code. - -TQScintilla is a port or Scintilla to the TQt GUI toolkit. - -%post -n %{libtqscintilla}7 -/sbin/ldconfig - -%postun -n %{libtqscintilla}7 -/sbin/ldconfig - -%files -n %{libtqscintilla}7 -%defattr(-,root,root,-) -%doc ChangeLog LICENSE NEWS README -%{_libdir}/libqscintilla.so.7 -%{_libdir}/libqscintilla.so.7.0 -%{_libdir}/libqscintilla.so.7.0.1 -%{_libdir}/tqt3/plugins/designer/*.so -%dir %{_datadir}/tqt3/translations/ -%{_datadir}/tqt3/translations/*.qm - -########## - -%package -n %{libtqscintilla}-devel -Summary: TQScintilla Development Files -Group: Development/Libraries/C and C++ -Provides: libtqscintilla-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{libtqscintilla}7 = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt3-mt-devel >= 3.5.0 - -%description -n %{libtqscintilla}-devel -This package contains the development files for tqscintilla. - -%post -n %{libtqscintilla}-devel -/sbin/ldconfig - -%postun -n %{libtqscintilla}-devel -/sbin/ldconfig - -%files -n %{libtqscintilla}-devel -%defattr(-,root,root,-) -%doc doc/Scintilla example -%{_includedir}/tqscintilla/ -%{_libdir}/libqscintilla.so - -########## - -%package -n %{libtqscintilla}-doc -Summary: TQScintilla Documentation -Group: Development/Libraries/C and C++ -Provides: libtqscintilla-doc = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{libtqscintilla}7 = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: trinity-filesystem >= %{tde_version} - -%description -n %{libtqscintilla}-doc -This package contains the documentation for tqscintilla. - -%files -n %{libtqscintilla}-doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/en/%{name}/ - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix perms -chmod -x doc/Scintilla/* -chmod -x example/* - -# Fix path in project files -%__sed -i "qt/qscintilla.pro" \ - -e "s|^INCLUDEPATH = .*|INCLUDEPATH = . ../include ../src /usr/include/tqt /usr/include/tqt3|" \ - -e "s|^header.path = .*|header.path = %{_includedir}/tqt3|" \ - -e "s|^trans.path = .*|trans.path = %{_datadir}/tqt3/translations|" - -%__sed -i "designer/designer.pro" \ - -e "s|\$(QTDIR)|%{_libdir}/tqt3|" \ - -e "s|# DESTDIR|DESTDIR|" - -export QTDIR=%{_libdir}/tqt3 -export TQTDIR=%{_prefix} -( cd qt; tqmake "DESTDIR=$PWD/../tmplib" ) -( cd designer; tqmake ) - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -# Workaround strange tqmake behaviour in RHEL5 -%if 0%{?rhel} == 5 -%__sed -i "qt/Makefile" -e "s|..\/..\/..\/..\/..|%{_prefix}|g" -%endif - -export QTDIR=%{_libdir}/tqt3 -export TQTDIR=%{_prefix} -%__make %{?_smp_mflags} -C qt -%__make %{?_smp_mflags} -C designer - - -%install -unset QTDIR QTINC QTLIB -export QTDIR=%{_libdir}/tqt3 -export TQTDIR=%{_prefix} -%__rm -rf $RPM_BUILD_ROOT - -# Installs the QT part -%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install - -# Installs supplementary headers -for i in include/*.h; do - %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/} -done - -# Installs the HTML documentation correctly -for i in doc/html/*; do - %__install -D -m 644 $i %{buildroot}%{tde_tdedocdir}/HTML/en/%{name}/${i##*/} -done - -# Installs the Designer plugin -for i in designer/*.so ${QTDIR}/plugins/designer/*.so ${TQTDIR}/plugins/designer/*.so; do - [ -r "${i}" ] || continue - %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/} -done - -# Installs libraries -%__mkdir_p %{buildroot}%{_libdir} -%__mv -f tmplib/* %{buildroot}%{_libdir} - -# Fix private headers location -%__mkdir_p %{buildroot}%{_includedir} -%__mv -f %{buildroot}/private %{buildroot}%{_includedir}/tqt3 -%__mv -f %{buildroot}%{_includedir}/tqt3 %{buildroot}%{_includedir}/tqscintilla - -# Fix permissions -chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h -chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/dependencies/tqscintilla/tqscintilla.spec b/redhat/dependencies/tqscintilla/tqscintilla.spec new file mode 100644 index 000000000..4b200aa96 --- /dev/null +++ b/redhat/dependencies/tqscintilla/tqscintilla.spec @@ -0,0 +1,232 @@ +# +# spec file for package tqscintilla (version R14) +# +# 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_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tqscintilla +%define tde_prefix /opt/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_tdedocdir %{tde_datadir}/doc/tde + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqscintilla %{_lib}tqscintilla +%else +%define libtqscintilla libtqscintilla +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.7.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TQt source code editing component based on Scintilla +Group: Development/Libraries/C and C++ +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: trinity-tqscintilla-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-filesystem >= %{tde_version} + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: gcc-c++ + +%description +Scintilla is a free source code editing component. It has features found +in standard editing components, as well as features especially useful +when editing and debugging source code. + +TQScintilla is a port or Scintilla to the TQt GUI toolkit. + +########## + +%package -n %{libtqscintilla}7 +Summary: TQt source code editing component based on Scintilla +Group: Development/Libraries/C and C++ +Provides: libtqscintilla = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt3-mt >= 3.5.0 + +%description -n %{libtqscintilla}7 +Scintilla is a free source code editing component. It has features found +in standard editing components, as well as features especially useful +when editing and debugging source code. + +TQScintilla is a port or Scintilla to the TQt GUI toolkit. + +%post -n %{libtqscintilla}7 +/sbin/ldconfig + +%postun -n %{libtqscintilla}7 +/sbin/ldconfig + +%files -n %{libtqscintilla}7 +%defattr(-,root,root,-) +%doc ChangeLog LICENSE NEWS README +%{_libdir}/libqscintilla.so.7 +%{_libdir}/libqscintilla.so.7.0 +%{_libdir}/libqscintilla.so.7.0.1 +%{_libdir}/tqt3/plugins/designer/*.so +%dir %{_datadir}/tqt3/translations/ +%{_datadir}/tqt3/translations/*.qm + +########## + +%package -n %{libtqscintilla}-devel +Summary: TQScintilla Development Files +Group: Development/Libraries/C and C++ +Provides: libtqscintilla-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{libtqscintilla}7 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt3-mt-devel >= 3.5.0 + +%description -n %{libtqscintilla}-devel +This package contains the development files for tqscintilla. + +%post -n %{libtqscintilla}-devel +/sbin/ldconfig + +%postun -n %{libtqscintilla}-devel +/sbin/ldconfig + +%files -n %{libtqscintilla}-devel +%defattr(-,root,root,-) +%doc doc/Scintilla example +%{_includedir}/tqscintilla/ +%{_libdir}/libqscintilla.so + +########## + +%package -n %{libtqscintilla}-doc +Summary: TQScintilla Documentation +Group: Development/Libraries/C and C++ +Provides: libtqscintilla-doc = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{libtqscintilla}7 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-filesystem >= %{tde_version} + +%description -n %{libtqscintilla}-doc +This package contains the documentation for tqscintilla. + +%files -n %{libtqscintilla}-doc +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/en/%{name}/ + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Fix perms +chmod -x doc/Scintilla/* +chmod -x example/* + +# Fix path in project files +%__sed -i "qt/qscintilla.pro" \ + -e "s|^INCLUDEPATH = .*|INCLUDEPATH = . ../include ../src /usr/include/tqt /usr/include/tqt3|" \ + -e "s|^header.path = .*|header.path = %{_includedir}/tqt3|" \ + -e "s|^trans.path = .*|trans.path = %{_datadir}/tqt3/translations|" + +%__sed -i "designer/designer.pro" \ + -e "s|\$(QTDIR)|%{_libdir}/tqt3|" \ + -e "s|# DESTDIR|DESTDIR|" + +export QTDIR=%{_libdir}/tqt3 +export TQTDIR=%{_prefix} +( cd qt; tqmake "DESTDIR=$PWD/../tmplib" ) +( cd designer; tqmake ) + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +# Workaround strange tqmake behaviour in RHEL5 +%if 0%{?rhel} == 5 +%__sed -i "qt/Makefile" -e "s|..\/..\/..\/..\/..|%{_prefix}|g" +%endif + +export QTDIR=%{_libdir}/tqt3 +export TQTDIR=%{_prefix} +%__make %{?_smp_mflags} -C qt +%__make %{?_smp_mflags} -C designer + + +%install +unset QTDIR QTINC QTLIB +export QTDIR=%{_libdir}/tqt3 +export TQTDIR=%{_prefix} +%__rm -rf $RPM_BUILD_ROOT + +# Installs the QT part +%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install + +# Installs supplementary headers +for i in include/*.h; do + %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/} +done + +# Installs the HTML documentation correctly +for i in doc/html/*; do + %__install -D -m 644 $i %{buildroot}%{tde_tdedocdir}/HTML/en/%{name}/${i##*/} +done + +# Installs the Designer plugin +for i in designer/*.so ${QTDIR}/plugins/designer/*.so ${TQTDIR}/plugins/designer/*.so; do + [ -r "${i}" ] || continue + %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/} +done + +# Installs libraries +%__mkdir_p %{buildroot}%{_libdir} +%__mv -f tmplib/* %{buildroot}%{_libdir} + +# Fix private headers location +%__mkdir_p %{buildroot}%{_includedir} +%__mv -f %{buildroot}/private %{buildroot}%{_includedir}/tqt3 +%__mv -f %{buildroot}%{_includedir}/tqt3 %{buildroot}%{_includedir}/tqscintilla + +# Fix permissions +chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h +chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog diff --git a/redhat/dependencies/tqt3/tqassistant.desktop b/redhat/dependencies/tqt3/tqassistant.desktop deleted file mode 100644 index c178007d8..000000000 --- a/redhat/dependencies/tqt3/tqassistant.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=tqassistant -Name=TQt3 Assistant -Name[de]=TQt3 Assistent -GenericName=Document Browser -Comment=TQt3 Helpcenter -Comment[de]= TQt3 Hilfezentrum -MimeType=application/x-assistant; -Icon=tqassistant -Terminal=false -Type=Application -Categories=Qt;Development; diff --git a/redhat/dependencies/tqt3/tqdesigner.desktop b/redhat/dependencies/tqt3/tqdesigner.desktop deleted file mode 100644 index 2152b777b..000000000 --- a/redhat/dependencies/tqt3/tqdesigner.desktop +++ /dev/null @@ -1,78 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=tqdesigner -Name=TQt3 Designer -Name[bg]=TQt3 Дизайнер -Name[br]=Ergrafer TQt3 -Name[ca]=Dissenyador TQt3 -Name[cs]=TQt3 designer -Name[de]=TQt3-Designer -Name[eo]=TQt3-Desegnilo -Name[es]=Diseñador TQt3 -Name[et]=TQt3 disainer -Name[eu]=TQt3 Diseinatzailea -Name[gl]=Deseñador de TQt3 -Name[he]=TQt3 בצעמ -Name[it]=Designer TQt3 -Name[ja]=TQt3デザイナー -Name[ko]=TQt3 디자이너 -Name[lv]=TQt3 Dizainers -Name[mk]=TQt3 дизајнер -Name[no]=TQt3-designer -Name[oc]=Dessinador TQt3 -Name[pl]=Projektant TQt3 -Name[sk]=TQt3 Dizajnér -Name[sl]=Snovalnik TQt3 -Name[ta]=TQt3 À¨¼ôÀ¡Ç÷ -Name[uk]=Дизайнер TQt3 -Name[zh_CN.GB2312]=TQt3 设计者 -Name[zh_TW.Big5]=TQt3 設計器 -GenericName=Interface Designer -Comment=TQt3 interface designer -Comment[az]=TQt3 axtar üz dizayn proqramı -Comment[bg]=TQt3 interface дизайнер -Comment[br]=Ergrafer etrefas TQt3 -Comment[ca]=Dissenyador d'interfícies TQt3 -Comment[cs]=Editor UI pro TQt3 -Comment[da]=TQt3 grænseflade designer -Comment[de]=Schnittstellen-Designer für TQt3 -Comment[el]=Σχεδιασμός περιβάλλοντων TQt3 -Comment[eo]=TQt3-Interfacdesegnilo -Comment[es]=Diseñador de interfaces de TQt3 -Comment[et]=TQt3 dialoogide redaktor -Comment[eu]=TQt3 interfaze diseinatzailea -Comment[fi]=TQt3:n käyttöliittymäsuunnittelija -Comment[fr]=Conception d'interfaces avec TQt3 -Comment[gl]=Editor de interfaces de TQt3 -Comment[he]=TQt3-ל םיקשממ בצעמ -Comment[hu]=TQt3 felülettervező -Comment[is]=Viðmótshönnunartól fyrir TQt3 -Comment[it]=Editor per le interfaccie TQt3 -Comment[ja]=TQt3インターフェースデザイナー -Comment[ko]=TQt3 인터페이스 디자이너 -Comment[lt]=TQt3 sąsajos redaktorius -Comment[lv]=TQt3 starsejas dizainers -Comment[mk]=Дизајнер на TQt3 дијалози -Comment[nl]=TQt3 interface-ontwerper -Comment[no]=TQt3-grensesnittdesigner -Comment[no_NY]=Redigering av TQt3-miljø -Comment[oc]=Dessinador d'interfacies TQt3 -Comment[pl]=Projektant interfejsu TQt3 -Comment[pt]=Editor de interfaces do TQt3 -Comment[pt_BR]=Designer de interface TQt3 -Comment[ro]=Dezvoltator de interfeţe TQt3 -Comment[ru]=редактор интерфейсов приложений TQt3 -Comment[sk]=TQt3 dizajnér rozhrania -Comment[sl]=Snovalnik vmesnikov za TQt3 -Comment[sr]=Dizajner TQt3 interfejsa -Comment[sv]=Editor för gränssnitt till TQt3 -Comment[ta]=TQt3 À¨¼ôÀ¡Ç÷ -Comment[tr]=TQt3 arayüz tasarım programı -Comment[uk]=Редактор інтерфейсу для TQt3 -Comment[zh_CN.GB2312]=TQt3 界面设计程序 -Comment[zh_TW.Big5]=TQt3 介面編輯器 -MimeType=application/x-designer; -Icon=tqdesigner -Terminal=false -Type=Application -Categories=Qt;Development; diff --git a/redhat/dependencies/tqt3/tqlinguist.desktop b/redhat/dependencies/tqt3/tqlinguist.desktop deleted file mode 100644 index 6cbbe713d..000000000 --- a/redhat/dependencies/tqt3/tqlinguist.desktop +++ /dev/null @@ -1,26 +0,0 @@ -[Desktop Entry] -Exec=tqlinguist -Name=TQt3 Linguist -Name[de]=TQt3-Linguist -Name[eo]=TQt3-Lingvisto -Name[es]=Lingüista TQt3 -Name[ko]=TQt3 언어학자 -Name[lv]=TQt3 Lingvists -GenericName=Translation Tool -Comment=Tool for translating message catalogues of TQt3 based programs -Comment[da]=Redskab til at oversætte TQt3 baserede programmer -Comment[de]=Dienstprogramm zur Übersetzung von Programmen, die auf TQt3 basieren -Comment[eo]=Ilo por tradukado de mesaĝaroj de TQt3-bazitaj programoj -Comment[es]=Herramienta para la traducción de catálogos de mensajes de programas basados en TQt3 -Comment[he]=TQt3 תוססובמ תוינכות לש תועדוה יגולטק םוגרתל ילכ -Comment[hu]=Segédprogram a TQt3-alapú programok üzenetfájljainak lefordításához -Comment[ko]=TQt3를 바탕으로 하는 프로그램에서 쓸 번역된 메세지 목록을 관리하는 도구 -Comment[lv]=Rīks ziņojumu katalogu tulkošanai uz TQt3 bāzētās programmās -Comment[pt]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3 -Comment[pt_BR]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3 -Comment[sv]=Verktyg för att översätta meddelandekataloger från TQt3-baserade program -MimeType=application/x-linguist; -Terminal=false -Icon=tqlinguist -Type=Application -Categories=Qt;Development diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec deleted file mode 100644 index b7fc869e6..000000000 --- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec +++ /dev/null @@ -1,1542 +0,0 @@ -# -# spec file for package tqt3 (version R14) -# -# 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 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqt3 %{_lib}tqt3 -%else -%define libtqt3 libtqt3 -%endif - - -Name: trinity-tqt3 -Version: 3.5.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TQt GUI Library, Version 3 -Group: System/GUI/Other -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: build-examples.sh - -Source11: tqassistant.desktop -Source12: tqdesigner.desktop -Source13: tqlinguist.desktop -Source14: tqtconfig.desktop - - -BuildRequires: glibc-devel -BuildRequires: gcc-c++ -BuildRequires: make - -BuildRequires: desktop-file-utils -BuildRequires: perl -BuildRequires: sed -BuildRequires: findutils -BuildRequires: tar - -# ZLIB support -BuildRequires: zlib-devel - -# JPEG support -BuildRequires: libjpeg-devel - -# MNG support -BuildRequires: libmng-devel - -# PNG support -BuildRequires: libpng-devel - -# GIF support -BuildRequires: giflib-devel - -# FREETYPE support -BuildRequires: freetype-devel - -# FONTCONFIG support -BuildRequires: fontconfig-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -# CUPS support -BuildRequires: cups-devel - -# GLIB2 support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define with_glibmainloop 1 -%define glib2_devel glib2-devel -%endif -%{?glib2_devel:BuildRequires: %{glib2_devel}} - -# UUID support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define uuid_devel libuuid-devel -%endif -%if 0%{?rhel} == 5 -%define uuid_devel e2fsprogs-devel -%endif -%{?uuid_devel:BuildRequires: %{uuid_devel}} - -# LIBAUDIO support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_nas 1 -%define libaudio_devel nas-devel -%endif -%{?libaudio_devel:BuildRequires: %{libaudio_devel}} - -# Xrender support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xrender_devel libXrender-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xrender_devel libxrender-devel -%endif -%{?xrender_devel:BuildRequires: %{xrender_devel}} - -# Xrandr support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xrandr_devel libXrandr-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%if 0%{?pclinuxos} -%define xrandr_devel %{_lib}xrandr2-devel -%else -%define xrandr_devel libxrandr-devel -%endif -%endif -%{?xrandr_devel:BuildRequires: %{xrandr_devel}} - -# Xcursor support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xcursor_devel libXcursor-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xcursor_devel libxcursor-devel -%endif -%{?xcursor_devel:BuildRequires: %{xcursor_devel}} - -# Xinerama support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xinerama_devel libXinerama-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xinerama_devel libxinerama-devel -%endif -%{?xinerama_devel:BuildRequires: %{xinerama_devel}} - -# Xft support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xft_devel libXft-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xft_devel libxft-devel -%endif -%{?xft_devel:BuildRequires: %{xft_devel}} - -# XEXT support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xext_devel libXext-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xext_devel libxext-devel -%endif -%{?xext_devel:BuildRequires: %{xext_devel}} - -# X11 support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define x11_devel libX11-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define x11_devel libx11-devel -%endif -%{?x11_devel:BuildRequires: %{x11_devel}} - -# SM support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define sm_devel libSM-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define sm_devel libsm-devel -%endif -%{?sm_devel:BuildRequires: %{sm_devel}} - -# ICE support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define ice_devel libICE-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define ice_devel libice-devel -%endif -%{?ice_devel:BuildRequires: %{ice_devel}} - -# XT support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libXt-devel -%endif - -# XMU support -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libXmu-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 -BuildRequires: libXmu-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 -BuildRequires: libxmu-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 -BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel -%endif - -# XI support -%if 0%{?rhel} == 4 -%define xi_devel xorg-x11-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -%define xi_devel libxi-devel -%endif -%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} -%define xi_devel libXi-devel -%endif -%if 0%{?suse_version} == 1140 -%define xi_devel libXi6-devel -%endif -%{?xi_devel:BuildRequires: %{xi_devel}} - -# Xorg support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: xorg-x11-proto-devel -%endif - -# MESA support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%if 0%{?pclinuxos} -BuildRequires: MesaGLU-devel -%else -BuildRequires: mesaglu-devel -%endif -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif - -# MYSQL support -BuildRequires: mysql-devel - -# unixODBC support -BuildRequires: unixODBC-devel - -# SQLITE support -BuildRequires: sqlite-devel - -# SQLITE3 support -%if 0%{?mgaversion} -BuildRequires: sqlite3-devel -%endif - -# POSTGRESQL support -BuildRequires: postgresql -%if 0%{?fedora} >= 30 -BuildRequires: postgresql-server-devel -%else -BuildRequires: postgresql-devel -%endif - -# Firebird support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_ibase 1 -BuildRequires: firebird-devel -%endif - -# FBCLIENT support -%if 0%{?mgaversion} >= 6 -BuildRequires: %{_lib}fbclient-devel -%endif - -# NIS support -%define with_nis 1 - -# RPC support -%if 0%{?fedora} >= 28 || 0%{?suse_version} >= 1500 -%if 0%{?fedora} -BuildRequires: libnsl2-devel -%else -BuildRequires: libnsl-devel -%endif -BuildRequires: libtirpc-devel -%endif - -# x86_64 specific stuff -%if "%{_lib}" != "lib" -%if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2) -BuildRequires: linux32 -%else -BuildRequires: util-linux -%endif -%endif - -%description -This is the Trolltech TQt library, version 3. It's necessary for -applications that link against the libtqt-mt.so.3, e.g. all Trinity -applications. - -########## - -%package -n %{libtqt3}-mt -Summary: TQt GUI Library (Threaded runtime version), Version 3 -Group: System/GUI/Other -Provides: libtqt3-mt = %{version}-%{release} -Provides: trinity-tqt3 = %{version}-%{release} - -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig -Requires: coreutils -Requires: fontconfig >= 2.0 -Requires: /etc/ld.so.conf.d - -%description -n %{libtqt3}-mt -This is the Trolltech TQt library, version 3. It's necessary for -applications that link against the libtqt-mt.so.3, e.g. all Trinity -applications. - -%post -n %{libtqt3}-mt -/sbin/ldconfig || : - -%postun -n %{libtqt3}-mt -/sbin/ldconfig || : - -%files -n %{libtqt3}-mt -%defattr(-,root,root,-) -%doc FAQ LICENSE* README* changes* -%dir %{_datadir}/icons/hicolor -%dir %{_datadir}/icons/hicolor/32x32 -%dir %{_datadir}/icons/hicolor/32x32/apps -%dir %{_datadir}/tqt3/ -%dir %{_datadir}/tqt3/doc/ -%dir %{_datadir}/tqt3/doc/html/ -%dir %{_datadir}/tqt3/tools/ -%dir %{_libdir}/tqt3/ -%dir %{_libdir}/tqt3/plugins/ -%dir %{_libdir}/tqt3/plugins/designer/ -%dir %{_libdir}/tqt3/plugins/imageformats/ -%dir %{_libdir}/tqt3/plugins/inputmethods/ -%dir %{_libdir}/tqt3/plugins/sqldrivers/ -%dir %{_sysconfdir}/tqt3 -%{_libdir}/libtqt-mt.so.3 -%{_libdir}/libtqt-mt.so.3.5 -%{_libdir}/libtqt-mt.so.3.5.0 -%{_libdir}/libtqui.so.1 -%{_libdir}/libtqui.so.1.0 -%{_libdir}/libtqui.so.1.0.0 -%{_libdir}/tqt3/plugins/imageformats/libqmng.so -%{_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so -%{_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so -%{_libdir}/tqt3/plugins/inputmethods/libqsimple.so -%{_libdir}/tqt3/plugins/inputmethods/libqxim.so - -########### - -%package -n %{libtqt3}-mt-devel -Summary: TQt development files (Threaded) -Group: Development/Libraries/X11 -Provides: trinity-tqt3-devel = %{version}-%{release} -Provides: libtqt3-mt-devel = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -Requires: glibc-devel -Requires: fontconfig-devel -Requires: freetype-devel -Requires: libjpeg-devel -Requires: libpng-devel -Requires: zlib-devel - -%{?glib2_devel:Requires: %{glib2_devel}} -%{?uuid_devel:Requires: %{uuid_devel}} -%{?xi_devel:Requires: %{xi_devel}} -%{?xrender_devel:Requires: %{xrender_devel}} -%{?xrandr_devel:Requires: %{xrandr_devel}} -%{?xcursor_devel:Requires: %{xcursor_devel}} -%{?xinerama_devel:Requires: %{xinerama_devel}} -%{?xft_devel:Requires: %{xft_devel}} -%{?xext_devel:Requires: %{xext_devel}} -%{?x11_devel:Requires: %{x11_devel}} -%{?sm_devel:Requires: %{sm_devel}} -%{?ice_devel:Requires: %{ice_devel}} -%{?libaudio_devel:Requires: %{libaudio_devel}} - -%description -n %{libtqt3}-mt-devel -TQt is a C++ class library optimized for graphical user interface -development. This package contains the libtqt-mt.so symlink, necessary -for building threaded TQt applications as well as the libtqui.so symlink -and the necessary header files for libtqui.so. (See README.Debian and -the TQt Documentation for instructions on libtqui.so) - -WARNING: If you plan to build some older TQt3 applications, you will -most probably have to install the tqt3-compat-headers package. It -contains all the headers which are not part of the official TQt3 API -anymore but which are still used by some programs. So if you encounter -problems with missing header files, please install this package first -before you send a bugreport. - -%post -n %{libtqt3}-mt-devel -/sbin/ldconfig || : - -%postun -n %{libtqt3}-mt-devel -/sbin/ldconfig || : - -%files -n %{libtqt3}-mt-devel -%defattr(-,root,root,-) -%{_libdir}/libtqt-mt.la -%{_libdir}/libtqt-mt.so -%{_libdir}/libtqt-mt.prl -%{_libdir}/libtqui.so -%{_libdir}/libtqui.prl -%{_libdir}/pkgconfig/tqt-mt.pc -%dir %{_includedir}/tqt3 -%{_includedir}/tqt3/ntqgl.h -%{_includedir}/tqt3/ntqglcolormap.h -%{_includedir}/tqt3/ntqwidgetfactory.h -%{_includedir}/tqt3/actioninterface.h -%{_includedir}/tqt3/arghintwidget.h -%{_includedir}/tqt3/browser.h -%{_includedir}/tqt3/cindent.h -%{_includedir}/tqt3/classbrowserinterface.h -%{_includedir}/tqt3/completion.h -%{_includedir}/tqt3/conf.h -%{_includedir}/tqt3/designerinterface.h -%{_includedir}/tqt3/editor.h -%{_includedir}/tqt3/editorinterface.h -%{_includedir}/tqt3/filterinterface.h -%{_includedir}/tqt3/interpreterinterface.h -%{_includedir}/tqt3/languageinterface.h -%{_includedir}/tqt3/markerwidget.h -%{_includedir}/tqt3/ntqabstractlayout.h -%{_includedir}/tqt3/ntqaccel.h -%{_includedir}/tqt3/ntqaccessible.h -%{_includedir}/tqt3/ntqaction.h -%{_includedir}/tqt3/ntqapplication.h -%{_includedir}/tqt3/ntqasciicache.h -%{_includedir}/tqt3/ntqasciidict.h -%{_includedir}/tqt3/ntqasyncimageio.h -%{_includedir}/tqt3/ntqasyncio.h -%{_includedir}/tqt3/ntqbig5codec.h -%{_includedir}/tqt3/ntqbitarray.h -%{_includedir}/tqt3/ntqbitmap.h -%{_includedir}/tqt3/ntqbrush.h -%{_includedir}/tqt3/ntqbuffer.h -%{_includedir}/tqt3/ntqbutton.h -%{_includedir}/tqt3/ntqbuttongroup.h -%{_includedir}/tqt3/ntqcache.h -%{_includedir}/tqt3/ntqcanvas.h -%{_includedir}/tqt3/ntqcdestyle.h -%{_includedir}/tqt3/ntqcheckbox.h -%{_includedir}/tqt3/ntqcleanuphandler.h -%{_includedir}/tqt3/ntqclipboard.h -%{_includedir}/tqt3/ntqcolor.h -%{_includedir}/tqt3/ntqcolordialog.h -%{_includedir}/tqt3/ntqcombobox.h -%{_includedir}/tqt3/ntqcommonstyle.h -%{_includedir}/tqt3/ntqcompactstyle.h -%{_includedir}/tqt3/ntqconfig.h -%{_includedir}/tqt3/ntqconnection.h -%{_includedir}/tqt3/ntqcstring.h -%{_includedir}/tqt3/ntqcursor.h -%{_includedir}/tqt3/ntqdatabrowser.h -%{_includedir}/tqt3/ntqdatastream.h -%{_includedir}/tqt3/ntqdatatable.h -%{_includedir}/tqt3/ntqdataview.h -%{_includedir}/tqt3/ntqdatetime.h -%{_includedir}/tqt3/ntqdatetimeedit.h -%{_includedir}/tqt3/ntqdeepcopy.h -%{_includedir}/tqt3/ntqdesktopwidget.h -%{_includedir}/tqt3/ntqdial.h -%{_includedir}/tqt3/ntqdialog.h -%{_includedir}/tqt3/ntqdict.h -%{_includedir}/tqt3/ntqdir.h -%{_includedir}/tqt3/ntqdns.h -%{_includedir}/tqt3/ntqdockarea.h -%{_includedir}/tqt3/ntqdockwindow.h -%{_includedir}/tqt3/ntqdom.h -%{_includedir}/tqt3/ntqdragobject.h -%{_includedir}/tqt3/ntqdrawutil.h -%{_includedir}/tqt3/ntqdropsite.h -%{_includedir}/tqt3/ntqeditorfactory.h -%{_includedir}/tqt3/ntqerrormessage.h -%{_includedir}/tqt3/ntqeucjpcodec.h -%{_includedir}/tqt3/ntqeuckrcodec.h -%{_includedir}/tqt3/ntqevent.h -%{_includedir}/tqt3/ntqeventloop.h -%{_includedir}/tqt3/ntqfeatures.h -%{_includedir}/tqt3/ntqfile.h -%{_includedir}/tqt3/ntqfiledialog.h -%{_includedir}/tqt3/ntqfileinfo.h -%{_includedir}/tqt3/ntqfocusdata.h -%{_includedir}/tqt3/ntqfont.h -%{_includedir}/tqt3/ntqfontdatabase.h -%{_includedir}/tqt3/ntqfontdialog.h -%{_includedir}/tqt3/ntqfontinfo.h -%{_includedir}/tqt3/ntqfontmetrics.h -%{_includedir}/tqt3/ntqframe.h -%{_includedir}/tqt3/ntqftp.h -%{_includedir}/tqt3/ntqgarray.h -%{_includedir}/tqt3/ntqgb18030codec.h -%{_includedir}/tqt3/ntqgbkcodec.h -%{_includedir}/tqt3/ntqgcache.h -%{_includedir}/tqt3/ntqgdict.h -%{_includedir}/tqt3/ntqgeneric.h -%{_includedir}/tqt3/ntqgif.h -%{_includedir}/tqt3/ntqglist.h -%{_includedir}/tqt3/ntqglobal.h -%{_includedir}/tqt3/ntqgplugin.h -%{_includedir}/tqt3/ntqgrid.h -%{_includedir}/tqt3/ntqgridview.h -%{_includedir}/tqt3/ntqgroupbox.h -%{_includedir}/tqt3/ntqguardedptr.h -%{_includedir}/tqt3/ntqgvector.h -%{_includedir}/tqt3/ntqhbox.h -%{_includedir}/tqt3/ntqhbuttongroup.h -%{_includedir}/tqt3/ntqheader.h -%{_includedir}/tqt3/ntqhgroupbox.h -%{_includedir}/tqt3/ntqhostaddress.h -%{_includedir}/tqt3/ntqhttp.h -%{_includedir}/tqt3/ntqiconset.h -%{_includedir}/tqt3/ntqiconview.h -%{_includedir}/tqt3/ntqimage.h -%{_includedir}/tqt3/ntqimageformatplugin.h -%{_includedir}/tqt3/ntqinputcontext.h -%{_includedir}/tqt3/ntqinputcontextfactory.h -%{_includedir}/tqt3/ntqinputcontextplugin.h -%{_includedir}/tqt3/ntqinputdialog.h -%{_includedir}/tqt3/ntqintcache.h -%{_includedir}/tqt3/ntqintdict.h -%{_includedir}/tqt3/ntqinterlacestyle.h -%{_includedir}/tqt3/ntqiodevice.h -%{_includedir}/tqt3/ntqjiscodec.h -%{_includedir}/tqt3/ntqjpegio.h -%{_includedir}/tqt3/ntqjpunicode.h -%{_includedir}/tqt3/ntqkeycode.h -%{_includedir}/tqt3/ntqkeysequence.h -%{_includedir}/tqt3/ntqlabel.h -%{_includedir}/tqt3/ntqlayout.h -%{_includedir}/tqt3/ntqlcdnumber.h -%{_includedir}/tqt3/ntqlibrary.h -%{_includedir}/tqt3/ntqlineedit.h -%{_includedir}/tqt3/ntqlistbox.h -%{_includedir}/tqt3/ntqlistview.h -%{_includedir}/tqt3/ntqlocale.h -%{_includedir}/tqt3/ntqlocalfs.h -%{_includedir}/tqt3/ntqmainwindow.h -%{_includedir}/tqt3/ntqmap.h -%{_includedir}/tqt3/ntqmemarray.h -%{_includedir}/tqt3/ntqmenubar.h -%{_includedir}/tqt3/ntqmenudata.h -%{_includedir}/tqt3/ntqmessagebox.h -%{_includedir}/tqt3/ntqmetaobject.h -%{_includedir}/tqt3/ntqmime.h -%{_includedir}/tqt3/ntqmngio.h -%{_includedir}/tqt3/ntqmodules.h -%{_includedir}/tqt3/ntqmotifplusstyle.h -%{_includedir}/tqt3/ntqmotifstyle.h -%{_includedir}/tqt3/ntqmovie.h -%{_includedir}/tqt3/ntqmultilineedit.h -%{_includedir}/tqt3/ntqmutex.h -%{_includedir}/tqt3/ntqnamespace.h -%{_includedir}/tqt3/ntqnetwork.h -%{_includedir}/tqt3/ntqnetworkprotocol.h -%{_includedir}/tqt3/ntqnp.h -%{_includedir}/tqt3/ntqobject.h -%{_includedir}/tqt3/ntqobjectcleanuphandler.h -%{_includedir}/tqt3/ntqobjectdefs.h -%{_includedir}/tqt3/ntqobjectdict.h -%{_includedir}/tqt3/ntqobjectlist.h -%{_includedir}/tqt3/ntqpaintdevice.h -%{_includedir}/tqt3/ntqpaintdevicedefs.h -%{_includedir}/tqt3/ntqpaintdevicemetrics.h -%{_includedir}/tqt3/ntqpainter.h -%{_includedir}/tqt3/ntqpair.h -%{_includedir}/tqt3/ntqpalette.h -%{_includedir}/tqt3/ntqpen.h -%{_includedir}/tqt3/ntqpicture.h -%{_includedir}/tqt3/ntqpixmap.h -%{_includedir}/tqt3/ntqpixmapcache.h -%{_includedir}/tqt3/ntqplatinumstyle.h -%{_includedir}/tqt3/ntqpngio.h -%{_includedir}/tqt3/ntqpoint.h -%{_includedir}/tqt3/ntqpointarray.h -%{_includedir}/tqt3/ntqpolygonscanner.h -%{_includedir}/tqt3/ntqpopupmenu.h -%{_includedir}/tqt3/ntqprintdialog.h -%{_includedir}/tqt3/ntqprinter.h -%{_includedir}/tqt3/ntqprocess.h -%{_includedir}/tqt3/ntqprogressbar.h -%{_includedir}/tqt3/ntqprogressdialog.h -%{_includedir}/tqt3/ntqptrcollection.h -%{_includedir}/tqt3/ntqptrdict.h -%{_includedir}/tqt3/ntqptrlist.h -%{_includedir}/tqt3/ntqptrqueue.h -%{_includedir}/tqt3/ntqptrstack.h -%{_includedir}/tqt3/ntqptrvector.h -%{_includedir}/tqt3/ntqpushbutton.h -%{_includedir}/tqt3/ntqradiobutton.h -%{_includedir}/tqt3/ntqrangecontrol.h -%{_includedir}/tqt3/ntqrect.h -%{_includedir}/tqt3/ntqregexp.h -%{_includedir}/tqt3/ntqregion.h -%{_includedir}/tqt3/ntqrtlcodec.h -%{_includedir}/tqt3/ntqscrollbar.h -%{_includedir}/tqt3/ntqscrollview.h -%{_includedir}/tqt3/ntqsemaphore.h -%{_includedir}/tqt3/ntqsemimodal.h -%{_includedir}/tqt3/ntqserversocket.h -%{_includedir}/tqt3/ntqsession.h -%{_includedir}/tqt3/ntqsessionmanager.h -%{_includedir}/tqt3/ntqsettings.h -%{_includedir}/tqt3/ntqsgistyle.h -%{_includedir}/tqt3/ntqshared.h -%{_includedir}/tqt3/ntqsignal.h -%{_includedir}/tqt3/ntqsignalmapper.h -%{_includedir}/tqt3/ntqsignalslotimp.h -%{_includedir}/tqt3/ntqsimplerichtext.h -%{_includedir}/tqt3/ntqsize.h -%{_includedir}/tqt3/ntqsizegrip.h -%{_includedir}/tqt3/ntqsizepolicy.h -%{_includedir}/tqt3/ntqsjiscodec.h -%{_includedir}/tqt3/ntqslider.h -%{_includedir}/tqt3/ntqsocket.h -%{_includedir}/tqt3/ntqsocketdevice.h -%{_includedir}/tqt3/ntqsocketnotifier.h -%{_includedir}/tqt3/ntqsortedlist.h -%{_includedir}/tqt3/ntqsound.h -%{_includedir}/tqt3/ntqspinbox.h -%{_includedir}/tqt3/ntqsplashscreen.h -%{_includedir}/tqt3/ntqsplitter.h -%{_includedir}/tqt3/ntqsql.h -%{_includedir}/tqt3/ntqsqlcursor.h -%{_includedir}/tqt3/ntqsqldatabase.h -%{_includedir}/tqt3/ntqsqldriver.h -%{_includedir}/tqt3/ntqsqldriverplugin.h -%{_includedir}/tqt3/ntqsqleditorfactory.h -%{_includedir}/tqt3/ntqsqlerror.h -%{_includedir}/tqt3/ntqsqlfield.h -%{_includedir}/tqt3/ntqsqlform.h -%{_includedir}/tqt3/ntqsqlindex.h -%{_includedir}/tqt3/ntqsqlpropertymap.h -%{_includedir}/tqt3/ntqsqlquery.h -%{_includedir}/tqt3/ntqsqlrecord.h -%{_includedir}/tqt3/ntqsqlresult.h -%{_includedir}/tqt3/ntqsqlselectcursor.h -%{_includedir}/tqt3/ntqstatusbar.h -%{_includedir}/tqt3/ntqstring.h -%{_includedir}/tqt3/ntqstringlist.h -%{_includedir}/tqt3/ntqstrlist.h -%{_includedir}/tqt3/ntqstrvec.h -%{_includedir}/tqt3/ntqstyle.h -%{_includedir}/tqt3/ntqstylefactory.h -%{_includedir}/tqt3/ntqstyleplugin.h -%{_includedir}/tqt3/ntqstylesheet.h -%{_includedir}/tqt3/ntqsyntaxhighlighter.h -%{_includedir}/tqt3/ntqt.h -%{_includedir}/tqt3/ntqtabbar.h -%{_includedir}/tqt3/ntqtabdialog.h -%{_includedir}/tqt3/ntqtable.h -%{_includedir}/tqt3/ntqtabwidget.h -%{_includedir}/tqt3/ntqtextbrowser.h -%{_includedir}/tqt3/ntqtextcodec.h -%{_includedir}/tqt3/ntqtextcodecfactory.h -%{_includedir}/tqt3/ntqtextcodecplugin.h -%{_includedir}/tqt3/ntqtextedit.h -%{_includedir}/tqt3/ntqtextstream.h -%{_includedir}/tqt3/ntqtextview.h -%{_includedir}/tqt3/ntqthread.h -%{_includedir}/tqt3/ntqthreadstorage.h -%{_includedir}/tqt3/ntqtimer.h -%{_includedir}/tqt3/ntqtl.h -%{_includedir}/tqt3/ntqtoolbar.h -%{_includedir}/tqt3/ntqtoolbox.h -%{_includedir}/tqt3/ntqtoolbutton.h -%{_includedir}/tqt3/ntqtooltip.h -%{_includedir}/tqt3/ntqtranslator.h -%{_includedir}/tqt3/ntqtsciicodec.h -%{_includedir}/tqt3/ntqurl.h -%{_includedir}/tqt3/ntqurlinfo.h -%{_includedir}/tqt3/ntqurloperator.h -%{_includedir}/tqt3/ntqutfcodec.h -%{_includedir}/tqt3/ntquuid.h -%{_includedir}/tqt3/ntqvalidator.h -%{_includedir}/tqt3/ntqvaluelist.h -%{_includedir}/tqt3/ntqvaluestack.h -%{_includedir}/tqt3/ntqvaluevector.h -%{_includedir}/tqt3/ntqvariant.h -%{_includedir}/tqt3/ntqvbox.h -%{_includedir}/tqt3/ntqvbuttongroup.h -%{_includedir}/tqt3/ntqvfbhdr.h -%{_includedir}/tqt3/ntqvgroupbox.h -%{_includedir}/tqt3/ntqwaitcondition.h -%{_includedir}/tqt3/ntqwhatsthis.h -%{_includedir}/tqt3/ntqwidget.h -%{_includedir}/tqt3/ntqwidgetintdict.h -%{_includedir}/tqt3/ntqwidgetlist.h -%{_includedir}/tqt3/ntqwidgetplugin.h -%{_includedir}/tqt3/ntqwidgetstack.h -%{_includedir}/tqt3/ntqwindowdefs.h -%{_includedir}/tqt3/ntqwindowsstyle.h -%{_includedir}/tqt3/ntqwinexport.h -%{_includedir}/tqt3/ntqwizard.h -%{_includedir}/tqt3/ntqwmatrix.h -%{_includedir}/tqt3/ntqworkspace.h -%{_includedir}/tqt3/ntqxml.h -%{_includedir}/tqt3/paragdata.h -%{_includedir}/tqt3/parenmatcher.h -%{_includedir}/tqt3/preferenceinterface.h -%{_includedir}/tqt3/preferences.h -%{_includedir}/tqt3/preferences.ui.h -%{_includedir}/tqt3/projectsettingsiface.h -%{_includedir}/tqt3/qconfig-dist.h -%{_includedir}/tqt3/qconfig-large.h -%{_includedir}/tqt3/qconfig-medium.h -%{_includedir}/tqt3/qconfig-minimal.h -%{_includedir}/tqt3/qconfig-small.h -%{_includedir}/tqt3/qsql_ibase.h -%{_includedir}/tqt3/qsql_mysql.h -%{_includedir}/tqt3/qsql_odbc.h -%{_includedir}/tqt3/qsql_psql.h -%{_includedir}/tqt3/qsql_sqlite.h -%{_includedir}/tqt3/qsql_sqlite3.h -%{_includedir}/tqt3/qsqlcachedresult.h -%{_includedir}/tqt3/qt_pch.h -%{_includedir}/tqt3/qtmultilineedit.h -%{_includedir}/tqt3/qttableview.h -%{_includedir}/tqt3/qwindow.h -%{_includedir}/tqt3/sourcetemplateiface.h -%{_includedir}/tqt3/templatewizardiface.h -%{_includedir}/tqt3/viewmanager.h -%{_includedir}/tqt3/widgetinterface.h - -%dir %{_includedir}/tqt3/private/ -%{_includedir}/tqt3/private/*.h - -########## - -%package -n %{libtqt3}-mt-mysql -Summary: MySQL database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-mysql = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-mysql -This package contains the threaded MySQL plugin for TQt3. Install it if -you intend to use or write TQt programs that are to access a MySQL DB. - -%files -n %{libtqt3}-mt-mysql -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so - -########## - -%package -n %{libtqt3}-mt-odbc -Summary: ODBC database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-odbc = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-odbc -This package contains the threaded ODBC plugin for TQt3. Install it if -you intend to use or write TQt programs that are to access an ODBC DB. - -%files -n %{libtqt3}-mt-odbc -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so - -########## - -%package -n %{libtqt3}-mt-psql -Summary: PostgreSQL database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-psql = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-psql -This package contains the threaded PostgreSQL plugin for TQt3. -Install it if you intend to use or write TQt programs that are -to access a PostgreSQL DB. - -%files -n %{libtqt3}-mt-psql -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so - -########## - -%if 0%{?with_ibase} -%package -n %{libtqt3}-mt-ibase -Summary: InterBase/FireBird database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-ibase = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-ibase -This package contains the threaded InterBase/FireBird plugin -for TQt3. Install it if you intend to use or write TQt programs -that are to access an InterBase/FireBird DB. - -%files -n %{libtqt3}-mt-ibase -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so -%endif - -########## - -%package -n %{libtqt3}-mt-sqlite -Summary: SQLite database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-sqlite = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-sqlite -This package contains the threaded SQLite plugin for TQt3. Install -it if you intend to use or write TQt programs that are to access an -SQLite DB. - -%files -n %{libtqt3}-mt-sqlite -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so - -########## - -%package -n %{libtqt3}-mt-sqlite3 -Summary: SQLite3 database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-sqlite3 = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-sqlite3 -This package contains the threaded SQLite3 plugin for TQt3. Install -it if you intend to use or write TQt programs that are to access an -SQLite3 DB. - -%files -n %{libtqt3}-mt-sqlite3 -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite3.so - -########### - -%package -n tqt3-compat-headers -Summary: TQt 1.x and 2.x compatibility includes -Group: Development/Libraries/X11 -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n tqt3-compat-headers -This package contains header files that are intended for build -compatibility for applications that build with TQt3 but still use -deprecated includes. It is meant as an intermediate solution and -these header files are not part of the official TQt3 API. -All sourcecode that is still using the headers of this package is -subject to be changed to use the new header files which are in -libtqt3-headers. - -%files -n tqt3-compat-headers -%defattr(-,root,root,-) -%{_includedir}/tqt3/ntq1xcompatibility.h -%{_includedir}/tqt3/ntqapp.h -%{_includedir}/tqt3/ntqarray.h -%{_includedir}/tqt3/ntqbitarry.h -%{_includedir}/tqt3/ntqbttngrp.h -%{_includedir}/tqt3/ntqchkbox.h -%{_includedir}/tqt3/ntqclipbrd.h -%{_includedir}/tqt3/ntqcollect.h -%{_includedir}/tqt3/ntqcollection.h -%{_includedir}/tqt3/ntqcombo.h -%{_includedir}/tqt3/ntqconnect.h -%{_includedir}/tqt3/ntqdatetm.h -%{_includedir}/tqt3/ntqdrawutl.h -%{_includedir}/tqt3/ntqdstream.h -%{_includedir}/tqt3/ntqfiledef.h -%{_includedir}/tqt3/ntqfiledlg.h -%{_includedir}/tqt3/ntqfileinf.h -%{_includedir}/tqt3/ntqfontinf.h -%{_includedir}/tqt3/ntqfontmet.h -%{_includedir}/tqt3/ntqgrpbox.h -%{_includedir}/tqt3/ntqintcach.h -%{_includedir}/tqt3/ntqiodev.h -%{_includedir}/tqt3/ntqlcdnum.h -%{_includedir}/tqt3/ntqlined.h -%{_includedir}/tqt3/ntqlist.h -%{_includedir}/tqt3/ntqmenudta.h -%{_includedir}/tqt3/ntqmetaobj.h -%{_includedir}/tqt3/ntqmlined.h -%{_includedir}/tqt3/ntqmsgbox.h -%{_includedir}/tqt3/ntqmultilinedit.h -%{_includedir}/tqt3/ntqobjcoll.h -%{_includedir}/tqt3/ntqobjdefs.h -%{_includedir}/tqt3/ntqpaintd.h -%{_includedir}/tqt3/ntqpaintdc.h -%{_includedir}/tqt3/ntqpdevmet.h -%{_includedir}/tqt3/ntqpmcache.h -%{_includedir}/tqt3/ntqpntarry.h -%{_includedir}/tqt3/ntqpopmenu.h -%{_includedir}/tqt3/ntqprndlg.h -%{_includedir}/tqt3/ntqprogbar.h -%{_includedir}/tqt3/ntqprogdlg.h -%{_includedir}/tqt3/ntqpsprn.h -%{_includedir}/tqt3/ntqpushbt.h -%{_includedir}/tqt3/ntqqueue.h -%{_includedir}/tqt3/ntqradiobt.h -%{_includedir}/tqt3/ntqrangect.h -%{_includedir}/tqt3/ntqscrbar.h -%{_includedir}/tqt3/ntqsocknot.h -%{_includedir}/tqt3/ntqstack.h -%{_includedir}/tqt3/ntqtabdlg.h -%{_includedir}/tqt3/ntqtstream.h -%{_includedir}/tqt3/ntqvector.h -%{_includedir}/tqt3/ntqwidcoll.h -%{_includedir}/tqt3/ntqwindefs.h -%dir %{_docdir}/tqt3-compat-headers -%{_docdir}/tqt3-compat-headers/attic.tar.gz - -########### - -%package -n tqt3-dev-tools -Summary: TQt3 development tools -Group: Development/Libraries/X11 -Requires: %{libtqt3}-mt-devel = %{version}-%{release} -Requires: tqt3-dev-tools-devel = %{version}-%{release} - -%description -n tqt3-dev-tools -This package contains all tools that are necessary to build programs -that are written using TQt3. These are: qmake, uic and moc. -For TQt3 development, you most likely want to install this package. - -%files -n tqt3-dev-tools -%defattr(-,root,root,-) -%{_datadir}/tqt3/doc/html/qmake*html -%{_datadir}/tqt3/doc/html/qmake*dcf -%{_bindir}/tqmake -%{_bindir}/tqlupdate -%{_bindir}/tqlrelease -%{_bindir}/tquic -%{_bindir}/tqmoc -%{_bindir}/tqembed -%{_mandir}/man1/lupdate-tqt3.1* -%{_mandir}/man1/lrelease-tqt3.1* -%{_mandir}/man1/moc-tqt3.1* -%{_mandir}/man1/uic-tqt3.1* - -########## - -%package -n tqt3-dev-tools-devel -Summary: TQt3 development tools -Group: Development/Libraries/X11 - -%description -n tqt3-dev-tools-devel -This package contains all tools that are necessary to build programs -that are written using TQt3. - -%files -n tqt3-dev-tools-devel -%defattr(-,root,root,-) -%dir %{_datadir}/tqt3/mkspecs/ -%{_datadir}/tqt3/mkspecs/* - -########## - -%package -n tqt3-designer -Summary: TQt3 Designer -Group: System/GUI/Other -Requires: %{libtqt3}-mt = %{version}-%{release} -Requires: tqt3-doc = %{version}-%{release} - -%description -n tqt3-designer -The TQt Designer is a GUI design program that interactively lets you -construct user interfaces for the TQt library. Additionally it lets you -create whole project and works together with the database drivers -provided by TQt to create applications with easy database access through -TQt. The resulting user interface files can then be converted to -C++ classes using the uic commandline utility which is usually done -automatically for the developer with a project management with qmake -or automake. - -%files -n tqt3-designer -%defattr(-,root,root,-) -%{_bindir}/tqdesigner -%{_bindir}/tqtcreatecw -%{_bindir}/tqtconv2ui -%{_datadir}/tqt3/doc/html/designer*html -%{_datadir}/tqt3/doc/html/designer*dcf -%{_datadir}/tqt3/doc/html/designer*jpg -%dir %{_datadir}/tqt3/templates/ -%{_datadir}/tqt3/templates/* -%{_libdir}/tqt3/plugins/designer/libcppeditor.so -%{_libdir}/tqt3/plugins/designer/libdlgplugin.so -%{_libdir}/tqt3/plugins/designer/libgladeplugin.so -%{_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so -%{_libdir}/tqt3/plugins/designer/librcplugin.so -%{_libdir}/tqt3/plugins/designer/libwizards.so -%dir %{_datadir}/tqt3/tools/tqtconv2ui -%{_datadir}/tqt3/tools/tqtconv2ui/main.cpp -%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui.pro -%dir %{_datadir}/tqt3/tools/tqtcreatecw -%{_datadir}/tqt3/tools/tqtcreatecw/README -%{_datadir}/tqt3/tools/tqtcreatecw/main.cpp -%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro -%{_datadir}/applications/tqdesigner.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png - -########### - -%package -n tqt3-apps-devel -Summary: TQt3 Developer applications development files -Group: Development/Libraries/X11 -Requires: %{libtqt3}-mt-devel = %{version}-%{release} - -%description -n tqt3-apps-devel -This package is intended for developers who want to develop applications -using the additional static libraries that ship with the applications -included with TQt; the TQt Designer and the TQt Assistant. -It allows integrating additional enhancements into the TQt Designer -respectively faciliate the TQt Assistant from within your TQt application -to interactively call the Assistant for displaying online help that the -developer includes with his application. - -%post -n tqt3-apps-devel -/sbin/ldconfig || : - -%postun -n tqt3-apps-devel -/sbin/ldconfig || : - -%files -n tqt3-apps-devel -%defattr(-,root,root,-) -%{_libdir}/libtqtdesignercore.prl -%{_libdir}/libtqtdesignercore.so -%{_libdir}/libtqtdesignercore.so.1 -%{_libdir}/libtqtdesignercore.so.1.0 -%{_libdir}/libtqtdesignercore.so.1.0.0 -%{_libdir}/libtqteditor.prl -%{_libdir}/libtqteditor.so -%{_libdir}/libtqteditor.so.1 -%{_libdir}/libtqteditor.so.1.0 -%{_libdir}/libtqteditor.so.1.0.0 -%{_libdir}/libtqassistantclient.prl -%{_libdir}/libtqassistantclient.so -%{_libdir}/libtqassistantclient.so.1 -%{_libdir}/libtqassistantclient.so.1.0 -%{_libdir}/libtqassistantclient.so.1.0.0 -%{_includedir}/tqt3/ntqassistantclient.h - -########## - -%package -n tqt3-linguist -Summary: The TQt3 Linguist -Group: System/GUI/Other -Requires: %{libtqt3}-mt = %{version}-%{release} -Requires: tqt3-doc = %{version}-%{release} - -%description -n tqt3-linguist -This package contains the TQt3 Linguist which provides translators a -tool perfect for translating any TQt-based application into other -languages and can be used and installed independently of any TQt -development files by the translator. - -%files -n tqt3-linguist -%defattr(-,root,root,-) -%{_bindir}/tqlinguist -%dir %{_datadir}/tqt3/phrasebooks/ -%{_datadir}/tqt3/phrasebooks/* -%{_datadir}/tqt3/doc/html/linguist*html -%{_datadir}/tqt3/doc/html/linguist*dcf -%dir %{_docdir}/tqt3-linguist -%{_docdir}/tqt3-linguist/qt_untranslated.ts -%{_datadir}/applications/tqlinguist.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png - -########## - -%package -n tqt3-assistant -Summary: The TQt3 assistant application -Group: System/GUI/Other -Requires: %{libtqt3}-mt = %{version}-%{release} -Requires: tqt3-doc = %{version}-%{release} - -%description -n tqt3-assistant -This package contains the TQt3 Assistant, an easy to use frontend for -the complete TQt3 documentation and serves as an online help viewer for -any TQt program that wants to give the usesr access to online help. -Within the TQt tools it is used as the help viewer for the online help -for the TQt3 Designer and Linguist as well as qmake and the TQt 3 API -documentation. - -Developers of TQt Application who want to faciliate the TQt Assistant for online -help display should refer to the README.Debian file for libtqt3-mt-devel and -the package tqt3-apps-devel. - -%files -n tqt3-assistant -%defattr(-,root,root,-) -%{_bindir}/tqassistant -%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png -%{_datadir}/tqt3/doc/html/assistant*html -%{_datadir}/tqt3/doc/html/assistant*dcf -%{_datadir}/applications/tqassistant.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png - -########## - -%package -n tqt3-qtconfig -Summary: The TQt3 Configuration Application -Group: Development/Libraries/X11 -Requires: %{libtqt3}-mt = %{version}-%{release} -Requires: tqt3-doc = %{version}-%{release} - -%description -n tqt3-qtconfig -The TQt Configuration program allows endusers to configure the look -and behavior of any TQt3 application. It is mostly only necessary -on systems which don't run TDE because the Trinity control center already -covers this configuration automatically for the users TQt3 applications -according to his desktop settings in TDE. However, if you need to run -CJK-fonts or other non-latin scripts, you will most likely want to -install this package. - -%files -n tqt3-qtconfig -%defattr(-,root,root,-) -%{_bindir}/tqtconfig -%{_datadir}/applications/tqtconfig.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png - -########### - -%package -n tqt3-dev-tools-embedded -Summary: Tools to develop embedded TQt applications -Group: System/GUI/Other -Requires: %{libtqt3}-mt-devel = %{version}-%{release} - -%description -n tqt3-dev-tools-embedded -This package contains applications only suitable for developing -applications with TQt Embedded and/or Qtopia. It provides the QVFB -program for simulating an embedded device desktop as well as maketqpf -for converting fonts to embedded fonts suitable for being utilized -by TQt Embedded applications. - -%files -n tqt3-dev-tools-embedded -%defattr(-,root,root,-) -%{_bindir}/maketqpf -%{_bindir}/tqvfb -%dir %{_sysconfdir}/tqt3/tqvfb -%config %{_sysconfdir}/tqt3/tqvfb/pda.skin -%dir %{_datadir}/tqvfb -%{_datadir}/tqvfb/pda_down.png -%{_datadir}/tqvfb/pda_up.png - -########### - -%package -n tqt3-dev-tools-compat -Summary: Conversion utilities for TQt3 development -Group: System/GUI/Other -Requires: %{libtqt3}-mt-devel = %{version}-%{release} - -%description -n tqt3-dev-tools-compat -This package contains some older TQt tools (namely tqt20fix tqtrename140, -tqm2ts, tqtmergetr, tqtfindtr and msg2tqm). These tools are needed only by -application developers who need to migrate any TQt application written -for TQt 1.x or 2.x over to TQt 3.x. The purpose of the tools are to -help fixing the changes with include file renaming as well as migrating -the message file format of TQt 2 translation files or any gettext-based -translation system to the TQt 3 system. - -%files -n tqt3-dev-tools-compat -%defattr(-,root,root,-) -%{_bindir}/tqt20fix -%{_bindir}/tqtrename140 -%{_bindir}/tqm2ts -%{_bindir}/tqtmergetr -%{_bindir}/tqtfindtr -%{_bindir}/msg2tqm - -########## - -%package -n tqt3-i18n -Summary: Translation (i18n) files for TQt3 library -Group: System/GUI/Other -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n tqt3-i18n -This package contains the internationalization files for the TQt library. -TQt applications that are internationalized will need to depend on this package -for full internationalization support of the application towards the end user. - -%files -n tqt3-i18n -%defattr(-,root,root,-) -%dir %{_datadir}/tqt3/translations/ -%{_datadir}/tqt3/translations/assistant_de.qm -%{_datadir}/tqt3/translations/assistant_fr.qm -%{_datadir}/tqt3/translations/designer_de.qm -%{_datadir}/tqt3/translations/designer_fr.qm -%{_datadir}/tqt3/translations/linguist_de.qm -%{_datadir}/tqt3/translations/linguist_fr.qm -%{_datadir}/tqt3/translations/qt_ar.qm -%{_datadir}/tqt3/translations/qt_ca.qm -%{_datadir}/tqt3/translations/qt_cs.qm -%{_datadir}/tqt3/translations/qt_de.qm -%{_datadir}/tqt3/translations/qt_es.qm -%{_datadir}/tqt3/translations/qt_fr.qm -%{_datadir}/tqt3/translations/qt_he.qm -%{_datadir}/tqt3/translations/qt_it.qm -%{_datadir}/tqt3/translations/qt_ja.qm -%{_datadir}/tqt3/translations/qt_nb.qm -%{_datadir}/tqt3/translations/qt_pt-br.qm -%{_datadir}/tqt3/translations/qt_ru.qm -%{_datadir}/tqt3/translations/qt_sk.qm -%{_datadir}/tqt3/translations/qt_zh-cn.qm -%{_datadir}/tqt3/translations/qt_zh-tw.qm - -########## - -%package -n tqt3-doc -Summary: TQt3 API documentation -Group: System/GUI/Other - -%description -n tqt3-doc -This package contains the complete API documentation for TQt3. -Examples to coding are in tqt3-examples. The documentation is provided -in HTML and manpage format; the HTML version can be viewed in conjunction -with the TQt Assistant. - -%files -n tqt3-doc -%defattr(-,root,root,-) -%exclude %{_datadir}/tqt3/doc/html/qmake*html -%exclude %{_datadir}/tqt3/doc/html/qmake*dcf -%exclude %{_datadir}/tqt3/doc/html/designer*html -%exclude %{_datadir}/tqt3/doc/html/designer*dcf -%exclude %{_datadir}/tqt3/doc/html/designer*jpg -%exclude %{_datadir}/tqt3/doc/html/linguist*html -%exclude %{_datadir}/tqt3/doc/html/linguist*dcf -%exclude %{_datadir}/tqt3/doc/html/assistant*html -%exclude %{_datadir}/tqt3/doc/html/assistant*dcf -%{_datadir}/tqt3/doc/html/* - -########## - -%package -n tqt3-examples -summary: Examples for TQt3 -Group: System/GUI/Other - -%description -n tqt3-examples -These are examples provided with TQt3. They may be especially useful for -you if you are learning to program in TQt as they cover tquite a lot of -things that are possible with TQt3. - -%files -n tqt3-examples -%defattr(-,root,root,-) -%dir %{_docdir}/tqt3-examples/ -%{_docdir}/tqt3-examples/build-examples -%{_docdir}/tqt3-examples/tqt3-examples.tar.gz - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix strange FTBFS on RHEL5 -%if 0%{?rhel} == 5 -%__sed -i "src/kernel/ntqstyle.h" -e "s|#ifdef ENABLE_T*QSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|" -%endif - -%if 0%{?suse_version} -echo "suse_version = %{?suse_version}" -echo "sle_version = %{?sle_version}" -%endif - -# Add missing sqlite3 header -%__ln_s ../src/sql/drivers/sqlite3/qsql_sqlite3.h include/qsql_sqlite3.h - -# fix variables in 'qmake.conf' -%__sed -i mkspecs/*/qmake.conf \ - -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \ - -e "s|\$(QTDIR)|/usr|g" \ - -e "s|-lqt|-ltqt|g" \ - -e "s|^QMAKE_CFLAGS =.*|QMAKE_CFLAGS = %{?optflags} -pipe -fvisibility=hidden -fvisibility-inlines-hidden|" \ - -e "s|^QMAKE_INCDIR =.*|QMAKE_INCDIR = %{_includedir}|" \ - -e "s|^QMAKE_LIBDIR =.*|QMAKE_LIBDIR = %{_libdir}|" \ - -e "s|^QMAKE_RPATH = .*|QMAKE_RPATH =|" \ - -e "s|^QMAKE_STRIP =.*|QMAKE_STRIP =|" \ - -e "s|^QMAKE_STRIPFLAGS_LIB +=.*|QMAKE_STRIPFLAGS_LIB +=|" \ - -e "s|^QMAKE_MOC =.*|QMAKE_MOC = %{_bindir}/tqmoc|" \ - -e "s|^QMAKE_UIC =.*|QMAKE_UIC = %{_bindir}/tquic|" \ - -e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \ - -e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = %{_libdir}|" \ - - -%build -unset QTDIR QTINC QTLIB -export QTDIR=$(pwd) -export PATH=${QTDIR}/bin:${PATH} -export MANPATH=${QTDIR}/doc/man:${MANPATH} -export LD_LIBRARY_PATH="${QTDIR}/lib" - -# Checks for supplementary include dir -INCDIRS="" -for d in \ - %{_includedir}/fontconfig \ - %{_includedir}/pgsql \ - %{_includedir}/pgsql/server \ - %{_includedir}/postgresql/server \ - %{_includedir}/Xft2 \ - %{_includedir}/Xft2/X11/Xft \ - %{_includedir}/mysql \ - %{_includedir}/libpng15 \ - %{_includedir}/libpng16 \ - %{_includedir}/tirpc \ -; do - if [ -d "${d}" ]; then - INCDIRS="${INCDIRS} -I${d}" - fi -done - -# Checks for supplementary library dirs -LIBDIRS="" -for d in \ - %{_libdir}/mysql \ - %{_libdir}/pgsql \ -; do - if [ -d "${d}" ]; then - LIBDIRS="${LIBDIRS} -L${d}" - fi -done - -# build shared, threaded (default) libraries -echo yes | ./configure \ - ${INCDIRS} \ - ${LIBDIRS} \ - -L%{_libdir} \ - -prefix "%{_prefix}" \ - -libdir "%{_libdir}" \ - -sysconfdir "%{_sysconfdir}/tqt3" \ - -datadir "%{_datadir}/tqt3" \ - -headerdir "%{_includedir}/tqt3" \ - -docdir "%{_datadir}/tqt3/doc" \ - -plugindir "%{_libdir}/tqt3/plugins" \ - -translationdir "%{_datadir}/tqt3/translations" \ - \ - -thread \ - -shared \ - -fast \ - -no-exceptions \ -%if "%{_lib}" == "lib64" - -platform linux-g++-64 \ -%else - -platform linux-g++ \ -%endif - \ - %{?with_nis:-nis} %{?!with_nis:-no-nis} \ - -no-pch \ - -cups \ - -stl \ - -ipv6 \ - \ - -sm \ - -xshape \ - -xinerama \ - -xcursor \ - -xrandr \ - -xrender \ - -xft \ - -tablet \ - -xkb \ - \ - -system-zlib \ - -system-libpng \ - -system-libmng \ - -system-libjpeg \ - %{?with_nas:-system-nas-sound} %{?!with_nas:-no-nas-sound} \ - \ - -enable-opengl \ - -dlopen-opengl \ - \ - -qt-gif \ - -qt-imgfmt-mng \ - -qt-imgfmt-png \ - -qt-imgfmt-jpeg \ - -plugin-imgfmt-mng \ - \ - -plugin-sql-odbc \ - -plugin-sql-psql \ - -plugin-sql-mysql \ - %{?with_ibase:-plugin-sql-ibase} \ - -plugin-sql-sqlite \ - -plugin-sql-sqlite3 \ - \ - -lfontconfig \ - -inputmethod \ - %{?with_glibmainloop:-glibmainloop} \ - -debug \ - -v - -# proceed -%__make %{?_smp_mflags} sub-src || %__make sub-src -%__make %{?_smp_mflags} sub-plugins || %__make sub-plugins -%__make %{?_smp_mflags} sub-tools - -# build tqtconv2ui -%__make -C tools/designer/tools/tqtconv2ui - -# build tqvfb -%__make -C tools/tqvfb - -# fix .prl files -%__sed -i lib/*.prl -e "s|${QTDIR}|%{_datadir}/tqt3|g" - - -%install -%__rm -rf %{buildroot} -export QTDIR=$(pwd) -export PATH="${QTDIR}/bin:${PATH}" -export LD_LIBRARY_PATH=${QTDIR}/lib - -# Installs 'libtqt-mt.so.3' library -%__make -C src INSTALL_ROOT="%{?buildroot}" install_target - -# Installs all the remaining -%__make INSTALL_ROOT=%{?buildroot} install -%__make INSTALL_ROOT=%{?buildroot} plugins-install - -%__install -m755 "bin/tqtrename140" "%{?buildroot}%{_bindir}" -%__install -m755 "bin/tqt20fix" "%{?buildroot}%{_bindir}" -%__install -m755 "bin/tqtfindtr" "%{?buildroot}%{_bindir}" - -# install tqtconv2ui -%__install -m755 "bin/tqtconv2ui" "%{?buildroot}%{_bindir}/tqtconv2ui" - -# install tqvfb -%__install -m755 -D "tools/tqvfb/tqvfb" "%{?buildroot}%{_bindir}/tqvfb" -%__install -m644 -D "tools/tqvfb/pda.skin" "%{?buildroot}%{_sysconfdir}/tqt3/tqvfb/pda.skin" -%__install -m644 -D "tools/tqvfb/pda_down.png" "%{?buildroot}%{_datadir}/tqvfb/pda_down.png" -%__install -m644 -D "tools/tqvfb/pda_up.png" "%{?buildroot}%{_datadir}/tqvfb/pda_up.png" - -## create tqt3-apps-dev-package -cp tools/designer/interfaces/*.h "%{?buildroot}%{?_includedir}/tqt3/" -cp tools/designer/editor/*.h "%{?buildroot}%{?_includedir}/tqt3/" - -# language file for linguist -%__install -D -m644 "translations/template.ts" "%{?buildroot}%{?_docdir}/tqt3-linguist/qt_untranslated.ts" - -# fix that stupid friggin professional file -perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' "src/qt_professional.pri" - -## i18n files for designer, linguist and assistant -for i in designer/designer assistant linguist/linguist; do - pushd "tools/${i}" - tqlrelease "${i##*/}.pro" - for j in ${i##*/}_*.qm; do - install -m644 "${j}" "%{?buildroot}%{_datadir}/tqt3/translations/" - done - popd -done - -# desktop lnk files -%__install -m644 -D "%{SOURCE11}" "%{?buildroot}%{_datadir}/applications/tqassistant.desktop" -%__install -m644 -D "%{SOURCE12}" "%{?buildroot}%{_datadir}/applications/tqdesigner.desktop" -%__install -m644 -D "%{SOURCE13}" "%{?buildroot}%{_datadir}/applications/tqlinguist.desktop" -%__install -m644 -D "%{SOURCE14}" "%{?buildroot}%{_datadir}/applications/tqtconfig.desktop" - -%if 0%{?suse_version} -%suse_update_desktop_file tqassistant Documentation -%suse_update_desktop_file tqdesigner GUIDesigner -%suse_update_desktop_file tqlinguist Translation -%suse_update_desktop_file tqtconfig Utility -%endif - -# Install applications icons -%__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png" -%__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png" -%__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png" -%__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png" - -# build attic package and copy it to tqt3-compat-headers -pushd src -tar cvvfz "attic.tar.gz" attic/ -install -D -m644 "attic.tar.gz" "%{?buildroot}%{_docdir}/tqt3-compat-headers/attic.tar.gz" -popd - -# install the man pages -install -D -m644 "doc/man/man1/moc.1" "%{?buildroot}%{_mandir}/man1/moc-tqt3.1" -install -D -m644 "doc/man/man1/uic.1" "%{?buildroot}%{_mandir}/man1/uic-tqt3.1" -install -D -m644 "doc/man/man1/lrelease.1" "%{?buildroot}%{_mandir}/man1/lrelease-tqt3.1" -install -D -m644 "doc/man/man1/lupdate.1" "%{?buildroot}%{_mandir}/man1/lupdate-tqt3.1" - -# Install source for the designer tools, such as tqtcreatecw. -cp -ra tools/designer/tools %{?buildroot}%{_datadir}/tqt3/tools -rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw -rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.moc -rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.obj -rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/Makefile -rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui -rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.moc -rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.obj -rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/Makefile - -# create examples package -%__install -d tqt3-examples -cp -ax examples tqt3-examples/ -cp -ax tutorial tqt3-examples/ -mkdir -p tqt3-examples/tools/designer -cp -ax tools/designer/examples tqt3-examples/tools/designer/ -mkdir -p tqt3-examples/tools/linguist -cp -ax tools/linguist/tutorial tqt3-examples/tools/linguist/ -find tqt3-examples -name "tt1" -print | xargs rm -rf -find tqt3-examples -name "tt2" -print | xargs rm -rf -find tqt3-examples -name "tt3" -print | xargs rm -rf -find tqt3-examples -name ".moc" | xargs rm -rf -find tqt3-examples -name ".obj" | xargs rm -rf -find tqt3-examples -name "Makefile" | xargs rm -rf -install -D -m 755 %{SOURCE1} %{?buildroot}%{_docdir}/tqt3-examples/build-examples -tar cvvfz tqt3-examples.tar.gz tqt3-examples/ -install -D -m644 "tqt3-examples.tar.gz" "%{?buildroot}%{_docdir}/tqt3-examples/tqt3-examples.tar.gz" - -# Fix wrong permissions -chmod 644 "%{?buildroot}%{_datadir}/tqt3/mkspecs/"*/* - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec new file mode 100644 index 000000000..c1daea7b4 --- /dev/null +++ b/redhat/dependencies/tqt3/tqt3.spec @@ -0,0 +1,1522 @@ +# +# spec file for package tqt3 (version R14) +# +# 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 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqt3 %{_lib}tqt3 +%else +%define libtqt3 libtqt3 +%endif + + +Name: trinity-tqt3 +Version: 3.5.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TQt GUI Library, Version 3 +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: build-examples.sh + +BuildRequires: glibc-devel +BuildRequires: gcc-c++ +BuildRequires: make + +BuildRequires: desktop-file-utils +BuildRequires: perl +BuildRequires: sed +BuildRequires: findutils +BuildRequires: tar + +# ZLIB support +BuildRequires: zlib-devel + +# JPEG support +BuildRequires: libjpeg-devel + +# MNG support +BuildRequires: libmng-devel + +# PNG support +BuildRequires: libpng-devel + +# GIF support +BuildRequires: giflib-devel + +# FREETYPE support +BuildRequires: freetype-devel + +# FONTCONFIG support +BuildRequires: fontconfig-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +# CUPS support +BuildRequires: cups-devel + +# GLIB2 support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define with_glibmainloop 1 +%define glib2_devel glib2-devel +%endif +%{?glib2_devel:BuildRequires: %{glib2_devel}} + +# UUID support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define uuid_devel libuuid-devel +%endif +%if 0%{?rhel} == 5 +%define uuid_devel e2fsprogs-devel +%endif +%{?uuid_devel:BuildRequires: %{uuid_devel}} + +# LIBAUDIO support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_nas 1 +%define libaudio_devel nas-devel +%endif +%{?libaudio_devel:BuildRequires: %{libaudio_devel}} + +# Xrender support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xrender_devel libXrender-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xrender_devel libxrender-devel +%endif +%{?xrender_devel:BuildRequires: %{xrender_devel}} + +# Xrandr support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xrandr_devel libXrandr-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%if 0%{?pclinuxos} +%define xrandr_devel %{_lib}xrandr2-devel +%else +%define xrandr_devel libxrandr-devel +%endif +%endif +%{?xrandr_devel:BuildRequires: %{xrandr_devel}} + +# Xcursor support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xcursor_devel libXcursor-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xcursor_devel libxcursor-devel +%endif +%{?xcursor_devel:BuildRequires: %{xcursor_devel}} + +# Xinerama support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xinerama_devel libXinerama-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xinerama_devel libxinerama-devel +%endif +%{?xinerama_devel:BuildRequires: %{xinerama_devel}} + +# Xft support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xft_devel libXft-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xft_devel libxft-devel +%endif +%{?xft_devel:BuildRequires: %{xft_devel}} + +# XEXT support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xext_devel libXext-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xext_devel libxext-devel +%endif +%{?xext_devel:BuildRequires: %{xext_devel}} + +# X11 support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define x11_devel libX11-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define x11_devel libx11-devel +%endif +%{?x11_devel:BuildRequires: %{x11_devel}} + +# SM support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define sm_devel libSM-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define sm_devel libsm-devel +%endif +%{?sm_devel:BuildRequires: %{sm_devel}} + +# ICE support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define ice_devel libICE-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define ice_devel libice-devel +%endif +%{?ice_devel:BuildRequires: %{ice_devel}} + +# XT support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: libXt-devel +%endif + +# XMU support +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libXmu-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 +BuildRequires: libXmu-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 +BuildRequires: libxmu-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 +BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel +%endif + +# XI support +%if 0%{?rhel} == 4 +%define xi_devel xorg-x11-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +%define xi_devel libxi-devel +%endif +%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} +%define xi_devel libXi-devel +%endif +%if 0%{?suse_version} == 1140 +%define xi_devel libXi6-devel +%endif +%{?xi_devel:BuildRequires: %{xi_devel}} + +# Xorg support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: xorg-x11-proto-devel +%endif + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%if 0%{?pclinuxos} +BuildRequires: MesaGLU-devel +%else +BuildRequires: mesaglu-devel +%endif +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif + +# MYSQL support +BuildRequires: mysql-devel + +# unixODBC support +BuildRequires: unixODBC-devel + +# SQLITE support +BuildRequires: sqlite-devel + +# SQLITE3 support +%if 0%{?mgaversion} +BuildRequires: sqlite3-devel +%endif + +# POSTGRESQL support +BuildRequires: postgresql +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +BuildRequires: postgresql-server-devel +%else +BuildRequires: postgresql-devel +%endif + +# Firebird support +%if 0%{?mdkversion} || 0%{?mgaversion} +%define with_ibase 1 +BuildRequires: firebird-devel +%endif + +# FBCLIENT support +%if 0%{?mgaversion} >= 6 +BuildRequires: %{_lib}fbclient-devel +%endif + +# NIS support +%define with_nis 1 + +# RPC support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 28 +BuildRequires: libnsl2-devel +BuildRequires: libtirpc-devel +%endif +%if 0%{?suse_version} >= 1500 +BuildRequires: libnsl-devel +BuildRequires: libtirpc-devel +%endif + +# x86_64 specific stuff +%if "%{_lib}" != "lib" +%if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2) +BuildRequires: linux32 +%else +BuildRequires: util-linux +%endif +%endif + +%description +This is the Trolltech TQt library, version 3. It's necessary for +applications that link against the libtqt-mt.so.3, e.g. all Trinity +applications. + +########## + +%package -n %{libtqt3}-mt +Summary: TQt GUI Library (Threaded runtime version), Version 3 +Group: System/GUI/Other +Provides: libtqt3-mt = %{version}-%{release} +Provides: trinity-tqt3 = %{version}-%{release} + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Requires: coreutils +Requires: fontconfig >= 2.0 +Requires: /etc/ld.so.conf.d + +%description -n %{libtqt3}-mt +This is the Trolltech TQt library, version 3. It's necessary for +applications that link against the libtqt-mt.so.3, e.g. all Trinity +applications. + +%post -n %{libtqt3}-mt +/sbin/ldconfig || : + +%postun -n %{libtqt3}-mt +/sbin/ldconfig || : + +%files -n %{libtqt3}-mt +%defattr(-,root,root,-) +%doc FAQ LICENSE* README* changes* +%dir %{_datadir}/tqt3/ +%dir %{_datadir}/tqt3/doc/ +%dir %{_datadir}/tqt3/doc/html/ +%dir %{_datadir}/tqt3/tools/ +%dir %{_libdir}/tqt3/ +%dir %{_libdir}/tqt3/plugins/ +%dir %{_libdir}/tqt3/plugins/designer/ +%dir %{_libdir}/tqt3/plugins/imageformats/ +%dir %{_libdir}/tqt3/plugins/inputmethods/ +%dir %{_libdir}/tqt3/plugins/sqldrivers/ +%dir %{_sysconfdir}/tqt3 +%{_libdir}/libtqt-mt.so.3 +%{_libdir}/libtqt-mt.so.3.5 +%{_libdir}/libtqt-mt.so.3.5.0 +%{_libdir}/libtqui.so.1 +%{_libdir}/libtqui.so.1.0 +%{_libdir}/libtqui.so.1.0.0 +%{_libdir}/tqt3/plugins/imageformats/libqmng.so +%{_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so +%{_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so +%{_libdir}/tqt3/plugins/inputmethods/libqsimple.so +%{_libdir}/tqt3/plugins/inputmethods/libqxim.so + +########### + +%package -n %{libtqt3}-mt-devel +Summary: TQt development files (Threaded) +Group: Development/Libraries/X11 +Provides: trinity-tqt3-devel = %{version}-%{release} +Provides: libtqt3-mt-devel = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +Requires: glibc-devel +Requires: fontconfig-devel +Requires: freetype-devel +Requires: libjpeg-devel +Requires: libpng-devel +Requires: zlib-devel + +%{?glib2_devel:Requires: %{glib2_devel}} +%{?uuid_devel:Requires: %{uuid_devel}} +%{?xi_devel:Requires: %{xi_devel}} +%{?xrender_devel:Requires: %{xrender_devel}} +%{?xrandr_devel:Requires: %{xrandr_devel}} +%{?xcursor_devel:Requires: %{xcursor_devel}} +%{?xinerama_devel:Requires: %{xinerama_devel}} +%{?xft_devel:Requires: %{xft_devel}} +%{?xext_devel:Requires: %{xext_devel}} +%{?x11_devel:Requires: %{x11_devel}} +%{?sm_devel:Requires: %{sm_devel}} +%{?ice_devel:Requires: %{ice_devel}} +%{?libaudio_devel:Requires: %{libaudio_devel}} + +%description -n %{libtqt3}-mt-devel +TQt is a C++ class library optimized for graphical user interface +development. This package contains the libtqt-mt.so symlink, necessary +for building threaded TQt applications as well as the libtqui.so symlink +and the necessary header files for libtqui.so. (See README.Debian and +the TQt Documentation for instructions on libtqui.so) + +WARNING: If you plan to build some older TQt3 applications, you will +most probably have to install the tqt3-compat-headers package. It +contains all the headers which are not part of the official TQt3 API +anymore but which are still used by some programs. So if you encounter +problems with missing header files, please install this package first +before you send a bugreport. + +%post -n %{libtqt3}-mt-devel +/sbin/ldconfig || : + +%postun -n %{libtqt3}-mt-devel +/sbin/ldconfig || : + +%files -n %{libtqt3}-mt-devel +%defattr(-,root,root,-) +%{_libdir}/libtqt-mt.la +%{_libdir}/libtqt-mt.so +%{_libdir}/libtqt-mt.prl +%{_libdir}/libtqui.so +%{_libdir}/libtqui.prl +%{_libdir}/pkgconfig/tqt-mt.pc +%dir %{_includedir}/tqt3 +%{_includedir}/tqt3/ntqgl.h +%{_includedir}/tqt3/ntqglcolormap.h +%{_includedir}/tqt3/ntqwidgetfactory.h +%{_includedir}/tqt3/actioninterface.h +%{_includedir}/tqt3/arghintwidget.h +%{_includedir}/tqt3/browser.h +%{_includedir}/tqt3/cindent.h +%{_includedir}/tqt3/classbrowserinterface.h +%{_includedir}/tqt3/completion.h +%{_includedir}/tqt3/conf.h +%{_includedir}/tqt3/designerinterface.h +%{_includedir}/tqt3/editor.h +%{_includedir}/tqt3/editorinterface.h +%{_includedir}/tqt3/filterinterface.h +%{_includedir}/tqt3/interpreterinterface.h +%{_includedir}/tqt3/languageinterface.h +%{_includedir}/tqt3/markerwidget.h +%{_includedir}/tqt3/ntqabstractlayout.h +%{_includedir}/tqt3/ntqaccel.h +%{_includedir}/tqt3/ntqaccessible.h +%{_includedir}/tqt3/ntqaction.h +%{_includedir}/tqt3/ntqapplication.h +%{_includedir}/tqt3/ntqasciicache.h +%{_includedir}/tqt3/ntqasciidict.h +%{_includedir}/tqt3/ntqasyncimageio.h +%{_includedir}/tqt3/ntqasyncio.h +%{_includedir}/tqt3/ntqbig5codec.h +%{_includedir}/tqt3/ntqbitarray.h +%{_includedir}/tqt3/ntqbitmap.h +%{_includedir}/tqt3/ntqbrush.h +%{_includedir}/tqt3/ntqbuffer.h +%{_includedir}/tqt3/ntqbutton.h +%{_includedir}/tqt3/ntqbuttongroup.h +%{_includedir}/tqt3/ntqcache.h +%{_includedir}/tqt3/ntqcanvas.h +%{_includedir}/tqt3/ntqcdestyle.h +%{_includedir}/tqt3/ntqcheckbox.h +%{_includedir}/tqt3/ntqcleanuphandler.h +%{_includedir}/tqt3/ntqclipboard.h +%{_includedir}/tqt3/ntqcolor.h +%{_includedir}/tqt3/ntqcolordialog.h +%{_includedir}/tqt3/ntqcombobox.h +%{_includedir}/tqt3/ntqcommonstyle.h +%{_includedir}/tqt3/ntqcompactstyle.h +%{_includedir}/tqt3/ntqconfig.h +%{_includedir}/tqt3/ntqconnection.h +%{_includedir}/tqt3/ntqcstring.h +%{_includedir}/tqt3/ntqcursor.h +%{_includedir}/tqt3/ntqdatabrowser.h +%{_includedir}/tqt3/ntqdatastream.h +%{_includedir}/tqt3/ntqdatatable.h +%{_includedir}/tqt3/ntqdataview.h +%{_includedir}/tqt3/ntqdatetime.h +%{_includedir}/tqt3/ntqdatetimeedit.h +%{_includedir}/tqt3/ntqdeepcopy.h +%{_includedir}/tqt3/ntqdesktopwidget.h +%{_includedir}/tqt3/ntqdial.h +%{_includedir}/tqt3/ntqdialog.h +%{_includedir}/tqt3/ntqdict.h +%{_includedir}/tqt3/ntqdir.h +%{_includedir}/tqt3/ntqdns.h +%{_includedir}/tqt3/ntqdockarea.h +%{_includedir}/tqt3/ntqdockwindow.h +%{_includedir}/tqt3/ntqdom.h +%{_includedir}/tqt3/ntqdragobject.h +%{_includedir}/tqt3/ntqdrawutil.h +%{_includedir}/tqt3/ntqdropsite.h +%{_includedir}/tqt3/ntqeditorfactory.h +%{_includedir}/tqt3/ntqerrormessage.h +%{_includedir}/tqt3/ntqeucjpcodec.h +%{_includedir}/tqt3/ntqeuckrcodec.h +%{_includedir}/tqt3/ntqevent.h +%{_includedir}/tqt3/ntqeventloop.h +%{_includedir}/tqt3/ntqfeatures.h +%{_includedir}/tqt3/ntqfile.h +%{_includedir}/tqt3/ntqfiledialog.h +%{_includedir}/tqt3/ntqfileinfo.h +%{_includedir}/tqt3/ntqfocusdata.h +%{_includedir}/tqt3/ntqfont.h +%{_includedir}/tqt3/ntqfontdatabase.h +%{_includedir}/tqt3/ntqfontdialog.h +%{_includedir}/tqt3/ntqfontinfo.h +%{_includedir}/tqt3/ntqfontmetrics.h +%{_includedir}/tqt3/ntqframe.h +%{_includedir}/tqt3/ntqftp.h +%{_includedir}/tqt3/ntqgarray.h +%{_includedir}/tqt3/ntqgb18030codec.h +%{_includedir}/tqt3/ntqgbkcodec.h +%{_includedir}/tqt3/ntqgcache.h +%{_includedir}/tqt3/ntqgdict.h +%{_includedir}/tqt3/ntqgeneric.h +%{_includedir}/tqt3/ntqgif.h +%{_includedir}/tqt3/ntqglist.h +%{_includedir}/tqt3/ntqglobal.h +%{_includedir}/tqt3/ntqgplugin.h +%{_includedir}/tqt3/ntqgrid.h +%{_includedir}/tqt3/ntqgridview.h +%{_includedir}/tqt3/ntqgroupbox.h +%{_includedir}/tqt3/ntqguardedptr.h +%{_includedir}/tqt3/ntqgvector.h +%{_includedir}/tqt3/ntqhbox.h +%{_includedir}/tqt3/ntqhbuttongroup.h +%{_includedir}/tqt3/ntqheader.h +%{_includedir}/tqt3/ntqhgroupbox.h +%{_includedir}/tqt3/ntqhostaddress.h +%{_includedir}/tqt3/ntqhttp.h +%{_includedir}/tqt3/ntqiconset.h +%{_includedir}/tqt3/ntqiconview.h +%{_includedir}/tqt3/ntqimage.h +%{_includedir}/tqt3/ntqimageformatplugin.h +%{_includedir}/tqt3/ntqinputcontext.h +%{_includedir}/tqt3/ntqinputcontextfactory.h +%{_includedir}/tqt3/ntqinputcontextplugin.h +%{_includedir}/tqt3/ntqinputdialog.h +%{_includedir}/tqt3/ntqintcache.h +%{_includedir}/tqt3/ntqintdict.h +%{_includedir}/tqt3/ntqinterlacestyle.h +%{_includedir}/tqt3/ntqiodevice.h +%{_includedir}/tqt3/ntqjiscodec.h +%{_includedir}/tqt3/ntqjpegio.h +%{_includedir}/tqt3/ntqjpunicode.h +%{_includedir}/tqt3/ntqkeycode.h +%{_includedir}/tqt3/ntqkeysequence.h +%{_includedir}/tqt3/ntqlabel.h +%{_includedir}/tqt3/ntqlayout.h +%{_includedir}/tqt3/ntqlcdnumber.h +%{_includedir}/tqt3/ntqlibrary.h +%{_includedir}/tqt3/ntqlineedit.h +%{_includedir}/tqt3/ntqlistbox.h +%{_includedir}/tqt3/ntqlistview.h +%{_includedir}/tqt3/ntqlocale.h +%{_includedir}/tqt3/ntqlocalfs.h +%{_includedir}/tqt3/ntqmainwindow.h +%{_includedir}/tqt3/ntqmap.h +%{_includedir}/tqt3/ntqmemarray.h +%{_includedir}/tqt3/ntqmenubar.h +%{_includedir}/tqt3/ntqmenudata.h +%{_includedir}/tqt3/ntqmessagebox.h +%{_includedir}/tqt3/ntqmetaobject.h +%{_includedir}/tqt3/ntqmime.h +%{_includedir}/tqt3/ntqmngio.h +%{_includedir}/tqt3/ntqmodules.h +%{_includedir}/tqt3/ntqmotifplusstyle.h +%{_includedir}/tqt3/ntqmotifstyle.h +%{_includedir}/tqt3/ntqmovie.h +%{_includedir}/tqt3/ntqmultilineedit.h +%{_includedir}/tqt3/ntqmutex.h +%{_includedir}/tqt3/ntqnamespace.h +%{_includedir}/tqt3/ntqnetwork.h +%{_includedir}/tqt3/ntqnetworkprotocol.h +%{_includedir}/tqt3/ntqnp.h +%{_includedir}/tqt3/ntqobject.h +%{_includedir}/tqt3/ntqobjectcleanuphandler.h +%{_includedir}/tqt3/ntqobjectdefs.h +%{_includedir}/tqt3/ntqobjectdict.h +%{_includedir}/tqt3/ntqobjectlist.h +%{_includedir}/tqt3/ntqpaintdevice.h +%{_includedir}/tqt3/ntqpaintdevicedefs.h +%{_includedir}/tqt3/ntqpaintdevicemetrics.h +%{_includedir}/tqt3/ntqpainter.h +%{_includedir}/tqt3/ntqpair.h +%{_includedir}/tqt3/ntqpalette.h +%{_includedir}/tqt3/ntqpen.h +%{_includedir}/tqt3/ntqpicture.h +%{_includedir}/tqt3/ntqpixmap.h +%{_includedir}/tqt3/ntqpixmapcache.h +%{_includedir}/tqt3/ntqplatinumstyle.h +%{_includedir}/tqt3/ntqpngio.h +%{_includedir}/tqt3/ntqpoint.h +%{_includedir}/tqt3/ntqpointarray.h +%{_includedir}/tqt3/ntqpolygonscanner.h +%{_includedir}/tqt3/ntqpopupmenu.h +%{_includedir}/tqt3/ntqprintdialog.h +%{_includedir}/tqt3/ntqprinter.h +%{_includedir}/tqt3/ntqprocess.h +%{_includedir}/tqt3/ntqprogressbar.h +%{_includedir}/tqt3/ntqprogressdialog.h +%{_includedir}/tqt3/ntqptrcollection.h +%{_includedir}/tqt3/ntqptrdict.h +%{_includedir}/tqt3/ntqptrlist.h +%{_includedir}/tqt3/ntqptrqueue.h +%{_includedir}/tqt3/ntqptrstack.h +%{_includedir}/tqt3/ntqptrvector.h +%{_includedir}/tqt3/ntqpushbutton.h +%{_includedir}/tqt3/ntqradiobutton.h +%{_includedir}/tqt3/ntqrangecontrol.h +%{_includedir}/tqt3/ntqrect.h +%{_includedir}/tqt3/ntqregexp.h +%{_includedir}/tqt3/ntqregion.h +%{_includedir}/tqt3/ntqrtlcodec.h +%{_includedir}/tqt3/ntqscrollbar.h +%{_includedir}/tqt3/ntqscrollview.h +%{_includedir}/tqt3/ntqsemaphore.h +%{_includedir}/tqt3/ntqsemimodal.h +%{_includedir}/tqt3/ntqserversocket.h +%{_includedir}/tqt3/ntqsession.h +%{_includedir}/tqt3/ntqsessionmanager.h +%{_includedir}/tqt3/ntqsettings.h +%{_includedir}/tqt3/ntqsgistyle.h +%{_includedir}/tqt3/ntqshared.h +%{_includedir}/tqt3/ntqsignal.h +%{_includedir}/tqt3/ntqsignalmapper.h +%{_includedir}/tqt3/ntqsignalslotimp.h +%{_includedir}/tqt3/ntqsimplerichtext.h +%{_includedir}/tqt3/ntqsize.h +%{_includedir}/tqt3/ntqsizegrip.h +%{_includedir}/tqt3/ntqsizepolicy.h +%{_includedir}/tqt3/ntqsjiscodec.h +%{_includedir}/tqt3/ntqslider.h +%{_includedir}/tqt3/ntqsocket.h +%{_includedir}/tqt3/ntqsocketdevice.h +%{_includedir}/tqt3/ntqsocketnotifier.h +%{_includedir}/tqt3/ntqsortedlist.h +%{_includedir}/tqt3/ntqsound.h +%{_includedir}/tqt3/ntqspinbox.h +%{_includedir}/tqt3/ntqsplashscreen.h +%{_includedir}/tqt3/ntqsplitter.h +%{_includedir}/tqt3/ntqsql.h +%{_includedir}/tqt3/ntqsqlcursor.h +%{_includedir}/tqt3/ntqsqldatabase.h +%{_includedir}/tqt3/ntqsqldriver.h +%{_includedir}/tqt3/ntqsqldriverplugin.h +%{_includedir}/tqt3/ntqsqleditorfactory.h +%{_includedir}/tqt3/ntqsqlerror.h +%{_includedir}/tqt3/ntqsqlfield.h +%{_includedir}/tqt3/ntqsqlform.h +%{_includedir}/tqt3/ntqsqlindex.h +%{_includedir}/tqt3/ntqsqlpropertymap.h +%{_includedir}/tqt3/ntqsqlquery.h +%{_includedir}/tqt3/ntqsqlrecord.h +%{_includedir}/tqt3/ntqsqlresult.h +%{_includedir}/tqt3/ntqsqlselectcursor.h +%{_includedir}/tqt3/ntqstatusbar.h +%{_includedir}/tqt3/ntqstring.h +%{_includedir}/tqt3/ntqstringlist.h +%{_includedir}/tqt3/ntqstrlist.h +%{_includedir}/tqt3/ntqstrvec.h +%{_includedir}/tqt3/ntqstyle.h +%{_includedir}/tqt3/ntqstylefactory.h +%{_includedir}/tqt3/ntqstyleplugin.h +%{_includedir}/tqt3/ntqstylesheet.h +%{_includedir}/tqt3/ntqsyntaxhighlighter.h +%{_includedir}/tqt3/ntqt.h +%{_includedir}/tqt3/ntqtabbar.h +%{_includedir}/tqt3/ntqtabdialog.h +%{_includedir}/tqt3/ntqtable.h +%{_includedir}/tqt3/ntqtabwidget.h +%{_includedir}/tqt3/ntqtextbrowser.h +%{_includedir}/tqt3/ntqtextcodec.h +%{_includedir}/tqt3/ntqtextcodecfactory.h +%{_includedir}/tqt3/ntqtextcodecplugin.h +%{_includedir}/tqt3/ntqtextedit.h +%{_includedir}/tqt3/ntqtextstream.h +%{_includedir}/tqt3/ntqtextview.h +%{_includedir}/tqt3/ntqthread.h +%{_includedir}/tqt3/ntqthreadstorage.h +%{_includedir}/tqt3/ntqtimer.h +%{_includedir}/tqt3/ntqtl.h +%{_includedir}/tqt3/ntqtoolbar.h +%{_includedir}/tqt3/ntqtoolbox.h +%{_includedir}/tqt3/ntqtoolbutton.h +%{_includedir}/tqt3/ntqtooltip.h +%{_includedir}/tqt3/ntqtranslator.h +%{_includedir}/tqt3/ntqtsciicodec.h +%{_includedir}/tqt3/ntqurl.h +%{_includedir}/tqt3/ntqurlinfo.h +%{_includedir}/tqt3/ntqurloperator.h +%{_includedir}/tqt3/ntqutfcodec.h +%{_includedir}/tqt3/ntquuid.h +%{_includedir}/tqt3/ntqvalidator.h +%{_includedir}/tqt3/ntqvaluelist.h +%{_includedir}/tqt3/ntqvaluestack.h +%{_includedir}/tqt3/ntqvaluevector.h +%{_includedir}/tqt3/ntqvariant.h +%{_includedir}/tqt3/ntqvbox.h +%{_includedir}/tqt3/ntqvbuttongroup.h +%{_includedir}/tqt3/ntqvfbhdr.h +%{_includedir}/tqt3/ntqvgroupbox.h +%{_includedir}/tqt3/ntqwaitcondition.h +%{_includedir}/tqt3/ntqwhatsthis.h +%{_includedir}/tqt3/ntqwidget.h +%{_includedir}/tqt3/ntqwidgetintdict.h +%{_includedir}/tqt3/ntqwidgetlist.h +%{_includedir}/tqt3/ntqwidgetplugin.h +%{_includedir}/tqt3/ntqwidgetstack.h +%{_includedir}/tqt3/ntqwindowdefs.h +%{_includedir}/tqt3/ntqwindowsstyle.h +%{_includedir}/tqt3/ntqwinexport.h +%{_includedir}/tqt3/ntqwizard.h +%{_includedir}/tqt3/ntqwmatrix.h +%{_includedir}/tqt3/ntqworkspace.h +%{_includedir}/tqt3/ntqxml.h +%{_includedir}/tqt3/paragdata.h +%{_includedir}/tqt3/parenmatcher.h +%{_includedir}/tqt3/preferenceinterface.h +%{_includedir}/tqt3/preferences.h +%{_includedir}/tqt3/preferences.ui.h +%{_includedir}/tqt3/projectsettingsiface.h +%{_includedir}/tqt3/qconfig-dist.h +%{_includedir}/tqt3/qconfig-large.h +%{_includedir}/tqt3/qconfig-medium.h +%{_includedir}/tqt3/qconfig-minimal.h +%{_includedir}/tqt3/qconfig-small.h +%{_includedir}/tqt3/qsql_ibase.h +%{_includedir}/tqt3/qsql_mysql.h +%{_includedir}/tqt3/qsql_odbc.h +%{_includedir}/tqt3/qsql_psql.h +%{_includedir}/tqt3/qsql_sqlite.h +%{_includedir}/tqt3/qsql_sqlite3.h +%{_includedir}/tqt3/qsqlcachedresult.h +%{_includedir}/tqt3/qt_pch.h +%{_includedir}/tqt3/qtmultilineedit.h +%{_includedir}/tqt3/qttableview.h +%{_includedir}/tqt3/qwindow.h +%{_includedir}/tqt3/sourcetemplateiface.h +%{_includedir}/tqt3/templatewizardiface.h +%{_includedir}/tqt3/viewmanager.h +%{_includedir}/tqt3/widgetinterface.h + +%dir %{_includedir}/tqt3/private/ +%{_includedir}/tqt3/private/*.h + +########## + +%package -n %{libtqt3}-mt-mysql +Summary: MySQL database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-mysql = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-mysql +This package contains the threaded MySQL plugin for TQt3. Install it if +you intend to use or write TQt programs that are to access a MySQL DB. + +%files -n %{libtqt3}-mt-mysql +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so + +########## + +%package -n %{libtqt3}-mt-odbc +Summary: ODBC database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-odbc = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-odbc +This package contains the threaded ODBC plugin for TQt3. Install it if +you intend to use or write TQt programs that are to access an ODBC DB. + +%files -n %{libtqt3}-mt-odbc +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so + +########## + +%package -n %{libtqt3}-mt-psql +Summary: PostgreSQL database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-psql = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-psql +This package contains the threaded PostgreSQL plugin for TQt3. +Install it if you intend to use or write TQt programs that are +to access a PostgreSQL DB. + +%files -n %{libtqt3}-mt-psql +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so + +########## + +%if 0%{?with_ibase} +%package -n %{libtqt3}-mt-ibase +Summary: InterBase/FireBird database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-ibase = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-ibase +This package contains the threaded InterBase/FireBird plugin +for TQt3. Install it if you intend to use or write TQt programs +that are to access an InterBase/FireBird DB. + +%files -n %{libtqt3}-mt-ibase +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so +%endif + +########## + +%package -n %{libtqt3}-mt-sqlite +Summary: SQLite database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-sqlite = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-sqlite +This package contains the threaded SQLite plugin for TQt3. Install +it if you intend to use or write TQt programs that are to access an +SQLite DB. + +%files -n %{libtqt3}-mt-sqlite +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so + +########## + +%package -n %{libtqt3}-mt-sqlite3 +Summary: SQLite3 database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-sqlite3 = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-sqlite3 +This package contains the threaded SQLite3 plugin for TQt3. Install +it if you intend to use or write TQt programs that are to access an +SQLite3 DB. + +%files -n %{libtqt3}-mt-sqlite3 +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite3.so + +########### + +%package -n tqt3-compat-headers +Summary: TQt 1.x and 2.x compatibility includes +Group: Development/Libraries/X11 +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n tqt3-compat-headers +This package contains header files that are intended for build +compatibility for applications that build with TQt3 but still use +deprecated includes. It is meant as an intermediate solution and +these header files are not part of the official TQt3 API. +All sourcecode that is still using the headers of this package is +subject to be changed to use the new header files which are in +libtqt3-headers. + +%files -n tqt3-compat-headers +%defattr(-,root,root,-) +%{_includedir}/tqt3/ntq1xcompatibility.h +%{_includedir}/tqt3/ntqapp.h +%{_includedir}/tqt3/ntqarray.h +%{_includedir}/tqt3/ntqbitarry.h +%{_includedir}/tqt3/ntqbttngrp.h +%{_includedir}/tqt3/ntqchkbox.h +%{_includedir}/tqt3/ntqclipbrd.h +%{_includedir}/tqt3/ntqcollect.h +%{_includedir}/tqt3/ntqcollection.h +%{_includedir}/tqt3/ntqcombo.h +%{_includedir}/tqt3/ntqconnect.h +%{_includedir}/tqt3/ntqdatetm.h +%{_includedir}/tqt3/ntqdrawutl.h +%{_includedir}/tqt3/ntqdstream.h +%{_includedir}/tqt3/ntqfiledef.h +%{_includedir}/tqt3/ntqfiledlg.h +%{_includedir}/tqt3/ntqfileinf.h +%{_includedir}/tqt3/ntqfontinf.h +%{_includedir}/tqt3/ntqfontmet.h +%{_includedir}/tqt3/ntqgrpbox.h +%{_includedir}/tqt3/ntqintcach.h +%{_includedir}/tqt3/ntqiodev.h +%{_includedir}/tqt3/ntqlcdnum.h +%{_includedir}/tqt3/ntqlined.h +%{_includedir}/tqt3/ntqlist.h +%{_includedir}/tqt3/ntqmenudta.h +%{_includedir}/tqt3/ntqmetaobj.h +%{_includedir}/tqt3/ntqmlined.h +%{_includedir}/tqt3/ntqmsgbox.h +%{_includedir}/tqt3/ntqmultilinedit.h +%{_includedir}/tqt3/ntqobjcoll.h +%{_includedir}/tqt3/ntqobjdefs.h +%{_includedir}/tqt3/ntqpaintd.h +%{_includedir}/tqt3/ntqpaintdc.h +%{_includedir}/tqt3/ntqpdevmet.h +%{_includedir}/tqt3/ntqpmcache.h +%{_includedir}/tqt3/ntqpntarry.h +%{_includedir}/tqt3/ntqpopmenu.h +%{_includedir}/tqt3/ntqprndlg.h +%{_includedir}/tqt3/ntqprogbar.h +%{_includedir}/tqt3/ntqprogdlg.h +%{_includedir}/tqt3/ntqpsprn.h +%{_includedir}/tqt3/ntqpushbt.h +%{_includedir}/tqt3/ntqqueue.h +%{_includedir}/tqt3/ntqradiobt.h +%{_includedir}/tqt3/ntqrangect.h +%{_includedir}/tqt3/ntqscrbar.h +%{_includedir}/tqt3/ntqsocknot.h +%{_includedir}/tqt3/ntqstack.h +%{_includedir}/tqt3/ntqtabdlg.h +%{_includedir}/tqt3/ntqtstream.h +%{_includedir}/tqt3/ntqvector.h +%{_includedir}/tqt3/ntqwidcoll.h +%{_includedir}/tqt3/ntqwindefs.h +%dir %{_docdir}/tqt3-compat-headers +%{_docdir}/tqt3-compat-headers/attic.tar.gz + +########### + +%package -n tqt3-dev-tools +Summary: TQt3 development tools +Group: Development/Libraries/X11 +Requires: %{libtqt3}-mt-devel = %{version}-%{release} +Requires: tqt3-dev-tools-devel = %{version}-%{release} + +%description -n tqt3-dev-tools +This package contains all tools that are necessary to build programs +that are written using TQt3. These are: qmake, uic and moc. +For TQt3 development, you most likely want to install this package. + +%files -n tqt3-dev-tools +%defattr(-,root,root,-) +%{_datadir}/tqt3/doc/html/qmake*html +%{_datadir}/tqt3/doc/html/qmake*dcf +%{_bindir}/tqmake +%{_bindir}/tqlupdate +%{_bindir}/tqlrelease +%{_bindir}/tquic +%{_bindir}/tqmoc +%{_bindir}/tqembed +%{_mandir}/man1/lupdate-tqt3.1* +%{_mandir}/man1/lrelease-tqt3.1* +%{_mandir}/man1/moc-tqt3.1* +%{_mandir}/man1/uic-tqt3.1* + +########## + +%package -n tqt3-dev-tools-devel +Summary: TQt3 development tools +Group: Development/Libraries/X11 + +%description -n tqt3-dev-tools-devel +This package contains all tools that are necessary to build programs +that are written using TQt3. + +%files -n tqt3-dev-tools-devel +%defattr(-,root,root,-) +%dir %{_datadir}/tqt3/mkspecs/ +%{_datadir}/tqt3/mkspecs/* + +########## + +%package -n tqt3-designer +Summary: TQt3 Designer +Group: System/GUI/Other +Requires: %{libtqt3}-mt = %{version}-%{release} +Requires: tqt3-doc = %{version}-%{release} + +%description -n tqt3-designer +The TQt Designer is a GUI design program that interactively lets you +construct user interfaces for the TQt library. Additionally it lets you +create whole project and works together with the database drivers +provided by TQt to create applications with easy database access through +TQt. The resulting user interface files can then be converted to +C++ classes using the uic commandline utility which is usually done +automatically for the developer with a project management with qmake +or automake. + +%files -n tqt3-designer +%defattr(-,root,root,-) +%{_bindir}/tqdesigner +%{_bindir}/tqtcreatecw +%{_bindir}/tqtconv2ui +%{_datadir}/tqt3/doc/html/designer*html +%{_datadir}/tqt3/doc/html/designer*dcf +%{_datadir}/tqt3/doc/html/designer*jpg +%dir %{_datadir}/tqt3/templates/ +%{_datadir}/tqt3/templates/* +%{_libdir}/tqt3/plugins/designer/libcppeditor.so +%{_libdir}/tqt3/plugins/designer/libdlgplugin.so +%{_libdir}/tqt3/plugins/designer/libgladeplugin.so +%{_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so +%{_libdir}/tqt3/plugins/designer/librcplugin.so +%{_libdir}/tqt3/plugins/designer/libwizards.so +%dir %{_datadir}/tqt3/tools/tqtconv2ui +%{_datadir}/tqt3/tools/tqtconv2ui/main.cpp +%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui.pro +%dir %{_datadir}/tqt3/tools/tqtcreatecw +%{_datadir}/tqt3/tools/tqtcreatecw/README +%{_datadir}/tqt3/tools/tqtcreatecw/main.cpp +%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro +%{_datadir}/applications/tqdesigner.desktop +%{_datadir}/pixmaps/tqdesigner.png + +########### + +%package -n tqt3-apps-devel +Summary: TQt3 Developer applications development files +Group: Development/Libraries/X11 +Requires: %{libtqt3}-mt-devel = %{version}-%{release} + +%description -n tqt3-apps-devel +This package is intended for developers who want to develop applications +using the additional static libraries that ship with the applications +included with TQt; the TQt Designer and the TQt Assistant. +It allows integrating additional enhancements into the TQt Designer +respectively faciliate the TQt Assistant from within your TQt application +to interactively call the Assistant for displaying online help that the +developer includes with his application. + +%post -n tqt3-apps-devel +/sbin/ldconfig || : + +%postun -n tqt3-apps-devel +/sbin/ldconfig || : + +%files -n tqt3-apps-devel +%defattr(-,root,root,-) +%{_libdir}/libtqtdesignercore.prl +%{_libdir}/libtqtdesignercore.so +%{_libdir}/libtqtdesignercore.so.1 +%{_libdir}/libtqtdesignercore.so.1.0 +%{_libdir}/libtqtdesignercore.so.1.0.0 +%{_libdir}/libtqteditor.prl +%{_libdir}/libtqteditor.so +%{_libdir}/libtqteditor.so.1 +%{_libdir}/libtqteditor.so.1.0 +%{_libdir}/libtqteditor.so.1.0.0 +%{_libdir}/libtqassistantclient.prl +%{_libdir}/libtqassistantclient.so +%{_libdir}/libtqassistantclient.so.1 +%{_libdir}/libtqassistantclient.so.1.0 +%{_libdir}/libtqassistantclient.so.1.0.0 +%{_includedir}/tqt3/ntqassistantclient.h + +########## + +%package -n tqt3-linguist +Summary: The TQt3 Linguist +Group: System/GUI/Other +Requires: %{libtqt3}-mt = %{version}-%{release} +Requires: tqt3-doc = %{version}-%{release} + +%description -n tqt3-linguist +This package contains the TQt3 Linguist which provides translators a +tool perfect for translating any TQt-based application into other +languages and can be used and installed independently of any TQt +development files by the translator. + +%files -n tqt3-linguist +%defattr(-,root,root,-) +%{_bindir}/tqlinguist +%dir %{_datadir}/tqt3/phrasebooks/ +%{_datadir}/tqt3/phrasebooks/* +%{_datadir}/tqt3/doc/html/linguist*html +%{_datadir}/tqt3/doc/html/linguist*dcf +%dir %{_docdir}/tqt3-linguist +%{_docdir}/tqt3-linguist/qt_untranslated.ts +%{_datadir}/applications/tqlinguist.desktop +%{_datadir}/pixmaps/tqlinguist.png + +########## + +%package -n tqt3-assistant +Summary: The TQt3 assistant application +Group: System/GUI/Other +Requires: %{libtqt3}-mt = %{version}-%{release} +Requires: tqt3-doc = %{version}-%{release} + +%description -n tqt3-assistant +This package contains the TQt3 Assistant, an easy to use frontend for +the complete TQt3 documentation and serves as an online help viewer for +any TQt program that wants to give the usesr access to online help. +Within the TQt tools it is used as the help viewer for the online help +for the TQt3 Designer and Linguist as well as qmake and the TQt 3 API +documentation. + +Developers of TQt Application who want to faciliate the TQt Assistant for online +help display should refer to the README.Debian file for libtqt3-mt-devel and +the package tqt3-apps-devel. + +%files -n tqt3-assistant +%defattr(-,root,root,-) +%{_bindir}/tqassistant +%{_datadir}/tqt3/doc/html/assistant*html +%{_datadir}/tqt3/doc/html/assistant*dcf +%{_datadir}/applications/tqassistant.desktop +%{_datadir}/pixmaps/tqassistant.png + +########## + +%package -n tqt3-qtconfig +Summary: The TQt3 Configuration Application +Group: Development/Libraries/X11 +Requires: %{libtqt3}-mt = %{version}-%{release} +Requires: tqt3-doc = %{version}-%{release} + +%description -n tqt3-qtconfig +The TQt Configuration program allows endusers to configure the look +and behavior of any TQt3 application. It is mostly only necessary +on systems which don't run TDE because the Trinity control center already +covers this configuration automatically for the users TQt3 applications +according to his desktop settings in TDE. However, if you need to run +CJK-fonts or other non-latin scripts, you will most likely want to +install this package. + +%files -n tqt3-qtconfig +%defattr(-,root,root,-) +%{_bindir}/tqtconfig +%{_datadir}/applications/tqtconfig.desktop +%{_datadir}/pixmaps/tqtconfig.png + +########### + +%package -n tqt3-dev-tools-embedded +Summary: Tools to develop embedded TQt applications +Group: System/GUI/Other +Requires: %{libtqt3}-mt-devel = %{version}-%{release} + +%description -n tqt3-dev-tools-embedded +This package contains applications only suitable for developing +applications with TQt Embedded and/or Qtopia. It provides the QVFB +program for simulating an embedded device desktop as well as maketqpf +for converting fonts to embedded fonts suitable for being utilized +by TQt Embedded applications. + +%files -n tqt3-dev-tools-embedded +%defattr(-,root,root,-) +%{_bindir}/maketqpf +%{_bindir}/tqvfb +%dir %{_sysconfdir}/tqt3/tqvfb +%config %{_sysconfdir}/tqt3/tqvfb/pda.skin +%dir %{_datadir}/tqvfb +%{_datadir}/tqvfb/pda_down.png +%{_datadir}/tqvfb/pda_up.png + +########### + +%package -n tqt3-dev-tools-compat +Summary: Conversion utilities for TQt3 development +Group: System/GUI/Other +Requires: %{libtqt3}-mt-devel = %{version}-%{release} + +%description -n tqt3-dev-tools-compat +This package contains some older TQt tools (namely tqt20fix tqtrename140, +tqm2ts, tqtmergetr, tqtfindtr and msg2tqm). These tools are needed only by +application developers who need to migrate any TQt application written +for TQt 1.x or 2.x over to TQt 3.x. The purpose of the tools are to +help fixing the changes with include file renaming as well as migrating +the message file format of TQt 2 translation files or any gettext-based +translation system to the TQt 3 system. + +%files -n tqt3-dev-tools-compat +%defattr(-,root,root,-) +%{_bindir}/tqt20fix +%{_bindir}/tqtrename140 +%{_bindir}/tqm2ts +%{_bindir}/tqtmergetr +%{_bindir}/tqtfindtr +%{_bindir}/msg2tqm + +########## + +%package -n tqt3-i18n +Summary: Translation (i18n) files for TQt3 library +Group: System/GUI/Other +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n tqt3-i18n +This package contains the internationalization files for the TQt library. +TQt applications that are internationalized will need to depend on this package +for full internationalization support of the application towards the end user. + +%files -n tqt3-i18n +%defattr(-,root,root,-) +%dir %{_datadir}/tqt3/translations/ +%{_datadir}/tqt3/translations/assistant_de.qm +%{_datadir}/tqt3/translations/assistant_fr.qm +%{_datadir}/tqt3/translations/designer_de.qm +%{_datadir}/tqt3/translations/designer_fr.qm +%{_datadir}/tqt3/translations/linguist_de.qm +%{_datadir}/tqt3/translations/linguist_fr.qm +%{_datadir}/tqt3/translations/qt_ar.qm +%{_datadir}/tqt3/translations/qt_ca.qm +%{_datadir}/tqt3/translations/qt_cs.qm +%{_datadir}/tqt3/translations/qt_de.qm +%{_datadir}/tqt3/translations/qt_es.qm +%{_datadir}/tqt3/translations/qt_fr.qm +%{_datadir}/tqt3/translations/qt_he.qm +%{_datadir}/tqt3/translations/qt_it.qm +%{_datadir}/tqt3/translations/qt_ja.qm +%{_datadir}/tqt3/translations/qt_nb.qm +%{_datadir}/tqt3/translations/qt_pt-br.qm +%{_datadir}/tqt3/translations/qt_ru.qm +%{_datadir}/tqt3/translations/qt_sk.qm +%{_datadir}/tqt3/translations/qt_zh-cn.qm +%{_datadir}/tqt3/translations/qt_zh-tw.qm + +########## + +%package -n tqt3-doc +Summary: TQt3 API documentation +Group: System/GUI/Other + +%description -n tqt3-doc +This package contains the complete API documentation for TQt3. +Examples to coding are in tqt3-examples. The documentation is provided +in HTML and manpage format; the HTML version can be viewed in conjunction +with the TQt Assistant. + +%files -n tqt3-doc +%defattr(-,root,root,-) +%exclude %{_datadir}/tqt3/doc/html/qmake*html +%exclude %{_datadir}/tqt3/doc/html/qmake*dcf +%exclude %{_datadir}/tqt3/doc/html/designer*html +%exclude %{_datadir}/tqt3/doc/html/designer*dcf +%exclude %{_datadir}/tqt3/doc/html/designer*jpg +%exclude %{_datadir}/tqt3/doc/html/linguist*html +%exclude %{_datadir}/tqt3/doc/html/linguist*dcf +%exclude %{_datadir}/tqt3/doc/html/assistant*html +%exclude %{_datadir}/tqt3/doc/html/assistant*dcf +%{_datadir}/tqt3/doc/html/* + +########## + +%package -n tqt3-examples +summary: Examples for TQt3 +Group: System/GUI/Other + +%description -n tqt3-examples +These are examples provided with TQt3. They may be especially useful for +you if you are learning to program in TQt as they cover tquite a lot of +things that are possible with TQt3. + +%files -n tqt3-examples +%defattr(-,root,root,-) +%dir %{_docdir}/tqt3-examples/ +%{_docdir}/tqt3-examples/build-examples +%{_docdir}/tqt3-examples/tqt3-examples.tar.gz + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%if 0%{?suse_version} +echo "suse_version = %{?suse_version}" +echo "sle_version = %{?sle_version}" +%endif + +# Add missing sqlite3 header +%__ln_s ../src/sql/drivers/sqlite3/qsql_sqlite3.h include/qsql_sqlite3.h + +# fix variables in 'qmake.conf' +%__sed -i mkspecs/*/qmake.conf \ + -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \ + -e "s|\$(QTDIR)|/usr|g" \ + -e "s|-lqt|-ltqt|g" \ + -e "s|^QMAKE_CFLAGS =.*|QMAKE_CFLAGS = %{?optflags} -pipe -fvisibility=hidden -fvisibility-inlines-hidden|" \ + -e "s|^QMAKE_INCDIR =.*|QMAKE_INCDIR = %{_includedir}|" \ + -e "s|^QMAKE_LIBDIR =.*|QMAKE_LIBDIR = %{_libdir}|" \ + -e "s|^QMAKE_RPATH = .*|QMAKE_RPATH =|" \ + -e "s|^QMAKE_STRIP =.*|QMAKE_STRIP =|" \ + -e "s|^QMAKE_STRIPFLAGS_LIB +=.*|QMAKE_STRIPFLAGS_LIB +=|" \ + -e "s|^QMAKE_MOC =.*|QMAKE_MOC = %{_bindir}/tqmoc|" \ + -e "s|^QMAKE_UIC =.*|QMAKE_UIC = %{_bindir}/tquic|" \ + -e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \ + -e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = %{_libdir}|" \ + + +%build +unset QTDIR QTINC QTLIB +export QTDIR=$(pwd) +export PATH=${QTDIR}/bin:${PATH} +export MANPATH=${QTDIR}/doc/man:${MANPATH} +export LD_LIBRARY_PATH="${QTDIR}/lib" + +# Checks for supplementary include dir +INCDIRS="" +for d in \ + %{_includedir}/fontconfig \ + %{_includedir}/pgsql \ + %{_includedir}/pgsql/server \ + %{_includedir}/postgresql/server \ + %{_includedir}/Xft2 \ + %{_includedir}/Xft2/X11/Xft \ + %{_includedir}/mysql \ + %{_includedir}/libpng15 \ + %{_includedir}/libpng16 \ + %{_includedir}/tirpc \ +; do + if [ -d "${d}" ]; then + INCDIRS="${INCDIRS} -I${d}" + fi +done + +# Checks for supplementary library dirs +LIBDIRS="" +for d in \ + %{_libdir}/mysql \ + %{_libdir}/pgsql \ +; do + if [ -d "${d}" ]; then + LIBDIRS="${LIBDIRS} -L${d}" + fi +done + +# build shared, threaded (default) libraries +echo yes | ./configure \ + ${INCDIRS} \ + ${LIBDIRS} \ + -L%{_libdir} \ + -prefix "%{_prefix}" \ + -libdir "%{_libdir}" \ + -sysconfdir "%{_sysconfdir}/tqt3" \ + -datadir "%{_datadir}/tqt3" \ + -headerdir "%{_includedir}/tqt3" \ + -docdir "%{_datadir}/tqt3/doc" \ + -plugindir "%{_libdir}/tqt3/plugins" \ + -translationdir "%{_datadir}/tqt3/translations" \ + -sysshare "%{_datadir}" \ + \ + -thread \ + -shared \ + -fast \ + -no-exceptions \ +%if "%{_lib}" == "lib64" + -platform linux-g++-64 \ +%else + -platform linux-g++ \ +%endif + \ + %{?with_nis:-nis} %{?!with_nis:-no-nis} \ + -no-pch \ + -cups \ + -stl \ + -ipv6 \ + \ + -sm \ + -xshape \ + -xinerama \ + -xcursor \ + -xrandr \ + -xrender \ + -xft \ + -tablet \ + -xkb \ + \ + -system-zlib \ + -system-libpng \ + -system-libmng \ + -system-libjpeg \ + %{?with_nas:-system-nas-sound} %{?!with_nas:-no-nas-sound} \ + \ + -enable-opengl \ + -dlopen-opengl \ + \ + -qt-gif \ + -qt-imgfmt-mng \ + -qt-imgfmt-png \ + -qt-imgfmt-jpeg \ + -plugin-imgfmt-mng \ + \ + -plugin-sql-odbc \ + -plugin-sql-psql \ + -plugin-sql-mysql \ + %{?with_ibase:-plugin-sql-ibase} \ + -plugin-sql-sqlite \ + -plugin-sql-sqlite3 \ + \ + -lfontconfig \ + -inputmethod \ + %{?with_glibmainloop:-glibmainloop} \ + -debug \ + -v + +# proceed +%__make %{?_smp_mflags} sub-src || %__make sub-src +%__make %{?_smp_mflags} sub-plugins || %__make sub-plugins +%__make %{?_smp_mflags} sub-tools + +# build tqtconv2ui +%__make -C tools/designer/tools/tqtconv2ui + +# build tqvfb +%__make -C tools/tqvfb + +# fix .prl files +%__sed -i lib/*.prl -e "s|${QTDIR}|%{_datadir}/tqt3|g" + + +%install +%__rm -rf %{buildroot} +export QTDIR=$(pwd) +export PATH="${QTDIR}/bin:${PATH}" +export LD_LIBRARY_PATH=${QTDIR}/lib + +# Installs 'libtqt-mt.so.3' library +%__make -C src INSTALL_ROOT="%{?buildroot}" install_target + +# Installs all the remaining +%__make INSTALL_ROOT=%{?buildroot} install +%__make INSTALL_ROOT=%{?buildroot} plugins-install + +%__install -m755 "bin/tqtrename140" "%{?buildroot}%{_bindir}" +%__install -m755 "bin/tqt20fix" "%{?buildroot}%{_bindir}" +%__install -m755 "bin/tqtfindtr" "%{?buildroot}%{_bindir}" + +# install tqtconv2ui +%__install -m755 "bin/tqtconv2ui" "%{?buildroot}%{_bindir}/tqtconv2ui" + +# install tqvfb +%__install -m755 -D "tools/tqvfb/tqvfb" "%{?buildroot}%{_bindir}/tqvfb" +%__install -m644 -D "tools/tqvfb/pda.skin" "%{?buildroot}%{_sysconfdir}/tqt3/tqvfb/pda.skin" +%__install -m644 -D "tools/tqvfb/pda_down.png" "%{?buildroot}%{_datadir}/tqvfb/pda_down.png" +%__install -m644 -D "tools/tqvfb/pda_up.png" "%{?buildroot}%{_datadir}/tqvfb/pda_up.png" + +## create tqt3-apps-dev-package +cp tools/designer/interfaces/*.h "%{?buildroot}%{?_includedir}/tqt3/" +cp tools/designer/editor/*.h "%{?buildroot}%{?_includedir}/tqt3/" + +# language file for linguist +%__install -D -m644 "translations/template.ts" "%{?buildroot}%{?_docdir}/tqt3-linguist/qt_untranslated.ts" + +# fix that stupid friggin professional file +perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' "src/qt_professional.pri" + +## i18n files for designer, linguist and assistant +for i in designer/designer assistant linguist/linguist; do + pushd "tools/${i}" + tqlrelease "${i##*/}.pro" + for j in ${i##*/}_*.qm; do + install -m644 "${j}" "%{?buildroot}%{_datadir}/tqt3/translations/" + done + popd +done + +%if 0%{?suse_version} +%suse_update_desktop_file tqassistant Documentation +%suse_update_desktop_file tqdesigner GUIDesigner +%suse_update_desktop_file tqlinguist Translation +%suse_update_desktop_file tqtconfig Utility +%endif + +# Install applications icons +#__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png" +#__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png" +#__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png" +#__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png" + +# build attic package and copy it to tqt3-compat-headers +pushd src +tar cvvfz "attic.tar.gz" attic/ +install -D -m644 "attic.tar.gz" "%{?buildroot}%{_docdir}/tqt3-compat-headers/attic.tar.gz" +popd + +# install the man pages +install -D -m644 "doc/man/man1/moc.1" "%{?buildroot}%{_mandir}/man1/moc-tqt3.1" +install -D -m644 "doc/man/man1/uic.1" "%{?buildroot}%{_mandir}/man1/uic-tqt3.1" +install -D -m644 "doc/man/man1/lrelease.1" "%{?buildroot}%{_mandir}/man1/lrelease-tqt3.1" +install -D -m644 "doc/man/man1/lupdate.1" "%{?buildroot}%{_mandir}/man1/lupdate-tqt3.1" + +# Install source for the designer tools, such as tqtcreatecw. +cp -ra tools/designer/tools %{?buildroot}%{_datadir}/tqt3/tools +rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw +rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.moc +rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.obj +rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/Makefile +rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui +rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.moc +rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.obj +rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/Makefile + +# create examples package +%__install -d tqt3-examples +cp -ax examples tqt3-examples/ +cp -ax tutorial tqt3-examples/ +mkdir -p tqt3-examples/tools/designer +cp -ax tools/designer/examples tqt3-examples/tools/designer/ +mkdir -p tqt3-examples/tools/linguist +cp -ax tools/linguist/tutorial tqt3-examples/tools/linguist/ +find tqt3-examples -name "tt1" -print | xargs rm -rf +find tqt3-examples -name "tt2" -print | xargs rm -rf +find tqt3-examples -name "tt3" -print | xargs rm -rf +find tqt3-examples -name ".moc" | xargs rm -rf +find tqt3-examples -name ".obj" | xargs rm -rf +find tqt3-examples -name "Makefile" | xargs rm -rf +install -D -m 755 %{SOURCE1} %{?buildroot}%{_docdir}/tqt3-examples/build-examples +tar cvvfz tqt3-examples.tar.gz tqt3-examples/ +install -D -m644 "tqt3-examples.tar.gz" "%{?buildroot}%{_docdir}/tqt3-examples/tqt3-examples.tar.gz" + +# Fix wrong permissions +chmod 644 "%{?buildroot}%{_datadir}/tqt3/mkspecs/"*/* + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/dependencies/tqt3/tqtconfig.desktop b/redhat/dependencies/tqt3/tqtconfig.desktop deleted file mode 100644 index d20d2191d..000000000 --- a/redhat/dependencies/tqt3/tqtconfig.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=tqtconfig -Name=TQt3 Configuration -Name[de]=TQt3 Konfiguration -GenericName=Configuration Utility -Comment=A graphical configuration tool for programs using TQt 3 -Comment[de]=Ein grafisches Konfigurationstool für TQt3-Programme -MimeType=application/x-qtconfig; -Terminal=false -Icon=tqtconfig -Type=Application -Categories=Qt;Settings; diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec deleted file mode 100644 index de6ad4622..000000000 --- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec +++ /dev/null @@ -1,276 +0,0 @@ -# -# spec file for package tqtinterface (version R14) -# -# 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 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tqtinterface -%define cmake_modules_dir %{_datadir}/cmake/Modules - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqt4 %{_lib}tqt4 -%else -%define libtqt4 libtqt4 -%endif - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 4.2.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: The Trinity Qt Interface Libraries -Group: System/GUI/Other -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt3-mt-devel >= 3.5.0 -BuildRequires: tqt3-dev-tools >= 3.5.0 - -%if 0%{?suse_version} && 0%{?suse_version} < 1300 -BuildRequires: trinity-cmake-macros -%endif - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# UUID support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define uuid_devel libuuid-devel -%endif -%if 0%{?rhel} == 5 -%define uuid_devel e2fsprogs-devel -%endif -%{?uuid_devel:BuildRequires: %{uuid_devel}} - - -# PTHREAD support -%if 0%{?rhel} >= 5 || 0%{?mdkversion} || 0%{?mgaversion} -%if 0%{?mgaversion} >= 7 -BuildRequires: %{_lib}npth-devel -%else -BuildRequires: pth-devel -%endif -%endif -%if 0%{?fedora} && 0%{?fedora} <= 26 -BuildRequires: pth-devel -%endif -%if 0%{?suse_version} && 0%{?suse_version} < 1500 -BuildRequires: libpth-devel -%endif - -# MESA support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: mesaglu-devel -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif - -# X11 libraries -%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 - -%description -The Trinity Qt Interface is a library that abstracts Qt from Trinity. -This allows the Trinity code to rapidly port from one version of Qt to another. -This is primarily accomplished by defining old functions in terms of new functions, -although some code has been added for useful functions that are no longer part of Qt. - - -########## - -%package -n %{libtqt4} -Group: System/GUI/Other -Summary: The Trinity Qt Interface Libraries -Provides: libtqt4 = %{?epoch:%{epoch}:}%{version}-%{release} - -Requires: libtqt3-mt >= 3.5.0 - -%if 0%{?suse_version} && 0%{?suse_version} < 1300 -Requires: trinity-cmake-macros -%endif - -Obsoletes: trinity-tqtinterface < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-tqtinterface = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libtqt4} -The Trinity Qt Interface is a library that abstracts Qt from Trinity. -This allows the Trinity code to rapidly port from one version of Qt to another. -This is primarily accomplished by defining old functions in terms of new functions, -although some code has been added for useful functions that are no longer part of Qt. - -%files -n %{libtqt4} -%defattr(-,root,root,-) -%{_libdir}/libtqt.so.4 -%{_libdir}/libtqt.so.4.2.0 - -%post -n %{libtqt4} -/sbin/ldconfig || : - -%postun -n %{libtqt4} -/sbin/ldconfig || : - -########## - -%package -n %{libtqt4}-devel -Group: Development/Libraries/X11 -Summary: The Trinity Qt Interface Libraries (Development Files) -Provides: libtqt4-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -Requires: %{libtqt4} = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt3-mt-devel >= 3.5.0 -Requires: tqt3-dev-tools >= 3.5.0 - -%if 0%{?suse_version} && 0%{?suse_version} < 1300 -Requires: trinity-cmake-macros -%endif - -Obsoletes: trinity-tqtinterface-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-tqtinterface-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libtqt4}-devel -The Trinity Qt Interface is a library that abstracts Qt from Trinity. -This allows the Trinity code to rapidly port from one version of Qt to another. -This is primarily accomplished by defining old functions in terms of new functions, -although some code has been added for useful functions that are no longer part of Qt. - -%post -n %{libtqt4}-devel -/sbin/ldconfig || : - -%postun -n %{libtqt4}-devel -/sbin/ldconfig || : - -%files -n %{libtqt4}-devel -%defattr(-,root,root,-) -%{_bindir}/convert_qt_tqt1 -%{_bindir}/convert_qt_tqt2 -%{_bindir}/convert_qt_tqt3 -%{_bindir}/dcopidl-tqt -%{_bindir}/dcopidl2cpp-tqt -%{_bindir}/dcopidlng-tqt -%{_bindir}/mcopidl-tqt -%{_bindir}/moc-tqt -%{_bindir}/tmoc -%{_bindir}/tqt-replace -%{_bindir}/tqt-replace-stream -%{_bindir}/uic-tqt -%{_includedir}/tqt/ -%{_libdir}/libtqt.la -%{_libdir}/libtqt.so -%{_libdir}/pkgconfig/tqt.pc -%{_libdir}/pkgconfig/tqtqui.pc -%{cmake_modules_dir}/*.cmake - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DQTDIR="%{_datadir}/tqt3" \ - -DQT_INCLUDE_DIR="%{_includedir}/tqt3" \ - -DQT_LIBRARY_DIR="%{_libdir}" \ - \ - -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ - -DPKGCONFIG_INSTALL_DIR="%{_libdir}/pkgconfig" \ - -DINCLUDE_INSTALL_DIR=%{_includedir}/tqt \ - -DLIB_INSTALL_DIR=%{_libdir} \ - -DBIN_INSTALL_DIR=%{_bindir} \ - \ - -DCMAKE_LIBRARY_PATH="%{_libdir}" \ - -DCMAKE_INCLUDE_PATH="%{_includedir}" \ - \ - -DWITH_QT3="ON" \ - -DBUILD_ALL="ON" \ - -DUSE_QT3="ON" \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf "%{?buildroot}" -%__make install DESTDIR="%{?buildroot}" -C build - -# Install 'cmake' modules for development use -%__mkdir_p "%{?buildroot}%{cmake_modules_dir}" -for i in cmake/modules/*.cmake; do - %__install -m 644 "$i" "%{?buildroot}%{cmake_modules_dir}" -done - - -%clean -%__rm -rf "%{?buildroot}" - - -%changelog diff --git a/redhat/dependencies/tqtinterface/tqtinterface.spec b/redhat/dependencies/tqtinterface/tqtinterface.spec new file mode 100644 index 000000000..392ca0bb6 --- /dev/null +++ b/redhat/dependencies/tqtinterface/tqtinterface.spec @@ -0,0 +1,279 @@ +# +# spec file for package tqtinterface (version R14) +# +# 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 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tqtinterface +%define cmake_modules_dir %{_datadir}/cmake/Modules + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqt4 %{_lib}tqt4 +%else +%define libtqt4 libtqt4 +%endif + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 4.2.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: The Trinity Qt Interface Libraries +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt3-mt-devel >= 3.5.0 +BuildRequires: tqt3-dev-tools >= 3.5.0 + +%if 0%{?suse_version} && 0%{?suse_version} < 1300 +BuildRequires: trinity-cmake-macros +%endif + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# UUID support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define uuid_devel libuuid-devel +%endif +%if 0%{?rhel} == 5 +%define uuid_devel e2fsprogs-devel +%endif +%{?uuid_devel:BuildRequires: %{uuid_devel}} + + +# PTHREAD support +%if 0%{?mdkversion} || 0%{?mgaversion} +%if 0%{?mgaversion} >= 7 +BuildRequires: %{_lib}npth-devel +%else +BuildRequires: pth-devel +%endif +%endif +%if 0%{?fedora} && 0%{?fedora} <= 26 +BuildRequires: pth-devel +%endif +%if 0%{?rhel} >= 5 && 0%{?rhel} <= 7 +BuildRequires: pth-devel +%endif +%if 0%{?suse_version} && 0%{?suse_version} < 1500 +BuildRequires: libpth-devel +%endif + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: mesaglu-devel +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif + +# X11 libraries +%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 + +%description +The Trinity Qt Interface is a library that abstracts Qt from Trinity. +This allows the Trinity code to rapidly port from one version of Qt to another. +This is primarily accomplished by defining old functions in terms of new functions, +although some code has been added for useful functions that are no longer part of Qt. + + +########## + +%package -n %{libtqt4} +Group: System/GUI/Other +Summary: The Trinity Qt Interface Libraries +Provides: libtqt4 = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires: libtqt3-mt >= 3.5.0 + +%if 0%{?suse_version} && 0%{?suse_version} < 1300 +Requires: trinity-cmake-macros +%endif + +Obsoletes: trinity-tqtinterface < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-tqtinterface = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libtqt4} +The Trinity Qt Interface is a library that abstracts Qt from Trinity. +This allows the Trinity code to rapidly port from one version of Qt to another. +This is primarily accomplished by defining old functions in terms of new functions, +although some code has been added for useful functions that are no longer part of Qt. + +%files -n %{libtqt4} +%defattr(-,root,root,-) +%{_libdir}/libtqt.so.4 +%{_libdir}/libtqt.so.4.2.0 + +%post -n %{libtqt4} +/sbin/ldconfig || : + +%postun -n %{libtqt4} +/sbin/ldconfig || : + +########## + +%package -n %{libtqt4}-devel +Group: Development/Libraries/X11 +Summary: The Trinity Qt Interface Libraries (Development Files) +Provides: libtqt4-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires: %{libtqt4} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt3-mt-devel >= 3.5.0 +Requires: tqt3-dev-tools >= 3.5.0 + +%if 0%{?suse_version} && 0%{?suse_version} < 1300 +Requires: trinity-cmake-macros +%endif + +Obsoletes: trinity-tqtinterface-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-tqtinterface-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libtqt4}-devel +The Trinity Qt Interface is a library that abstracts Qt from Trinity. +This allows the Trinity code to rapidly port from one version of Qt to another. +This is primarily accomplished by defining old functions in terms of new functions, +although some code has been added for useful functions that are no longer part of Qt. + +%post -n %{libtqt4}-devel +/sbin/ldconfig || : + +%postun -n %{libtqt4}-devel +/sbin/ldconfig || : + +%files -n %{libtqt4}-devel +%defattr(-,root,root,-) +%{_bindir}/convert_qt_tqt1 +%{_bindir}/convert_qt_tqt2 +%{_bindir}/convert_qt_tqt3 +%{_bindir}/dcopidl-tqt +%{_bindir}/dcopidl2cpp-tqt +%{_bindir}/dcopidlng-tqt +%{_bindir}/mcopidl-tqt +%{_bindir}/moc-tqt +%{_bindir}/tmoc +%{_bindir}/tqt-replace +%{_bindir}/tqt-replace-stream +%{_bindir}/uic-tqt +%{_includedir}/tqt/ +%{_libdir}/libtqt.la +%{_libdir}/libtqt.so +%{_libdir}/pkgconfig/tqt.pc +%{_libdir}/pkgconfig/tqtqui.pc +%{cmake_modules_dir}/*.cmake + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DQTDIR="%{_datadir}/tqt3" \ + -DQT_INCLUDE_DIR="%{_includedir}/tqt3" \ + -DQT_LIBRARY_DIR="%{_libdir}" \ + \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DPKGCONFIG_INSTALL_DIR="%{_libdir}/pkgconfig" \ + -DINCLUDE_INSTALL_DIR=%{_includedir}/tqt \ + -DLIB_INSTALL_DIR=%{_libdir} \ + -DBIN_INSTALL_DIR=%{_bindir} \ + \ + -DCMAKE_LIBRARY_PATH="%{_libdir}" \ + -DCMAKE_INCLUDE_PATH="%{_includedir}" \ + \ + -DWITH_QT3="ON" \ + -DBUILD_ALL="ON" \ + -DUSE_QT3="ON" \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf "%{?buildroot}" +%__make install DESTDIR="%{?buildroot}" -C build + +# Install 'cmake' modules for development use +%__mkdir_p "%{?buildroot}%{cmake_modules_dir}" +for i in cmake/modules/*.cmake; do + %__install -m 644 "$i" "%{?buildroot}%{cmake_modules_dir}" +done + + +%clean +%__rm -rf "%{?buildroot}" + + +%changelog -- cgit v1.2.1