From 84236b1a97dac6fc43ba593b98577f7b820a1c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Fri, 5 Jul 2013 20:20:56 +0200 Subject: RPM Packaging: rename lots of SPEC files --- redhat/dependencies/arts/arts-14.0.0.spec | 239 +++++++++ redhat/dependencies/arts/arts-3.5.12.spec | 153 ++++++ redhat/dependencies/arts/arts-3.5.13.1.spec | 182 +++++++ redhat/dependencies/arts/arts-3.5.13.2.spec | 243 +++++++++ redhat/dependencies/arts/arts-3.5.13.spec | 201 +++++++ redhat/dependencies/arts/trinity-arts-14.0.0.spec | 239 --------- redhat/dependencies/arts/trinity-arts-3.5.12.spec | 153 ------ .../dependencies/arts/trinity-arts-3.5.13.1.spec | 182 ------- .../dependencies/arts/trinity-arts-3.5.13.2.spec | 243 --------- redhat/dependencies/arts/trinity-arts-3.5.13.spec | 201 ------- redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec | 87 ++++ .../dependencies/tqca-tls/tqca-tls-3.5.13.2.spec | 106 ++++ .../tqca-tls/trinity-tqca-tls-14.0.0.spec | 87 ---- .../tqca-tls/trinity-tqca-tls-3.5.13.2.spec | 106 ---- redhat/dependencies/tqca/tqca-14.0.0.spec | 123 +++++ redhat/dependencies/tqca/tqca-3.5.13.2.spec | 131 +++++ redhat/dependencies/tqca/trinity-tqca-14.0.0.spec | 123 ----- .../dependencies/tqca/trinity-tqca-3.5.13.2.spec | 131 ----- redhat/dependencies/tqt3/tqt3-14.0.0.spec | 580 +++++++++++++++++++++ redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec | 580 --------------------- 20 files changed, 2045 insertions(+), 2045 deletions(-) create mode 100644 redhat/dependencies/arts/arts-14.0.0.spec create mode 100644 redhat/dependencies/arts/arts-3.5.12.spec create mode 100644 redhat/dependencies/arts/arts-3.5.13.1.spec create mode 100644 redhat/dependencies/arts/arts-3.5.13.2.spec create mode 100644 redhat/dependencies/arts/arts-3.5.13.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-14.0.0.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-3.5.12.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-3.5.13.1.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-3.5.13.2.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-3.5.13.spec create mode 100644 redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec create mode 100644 redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec delete mode 100644 redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec delete mode 100644 redhat/dependencies/tqca-tls/trinity-tqca-tls-3.5.13.2.spec create mode 100644 redhat/dependencies/tqca/tqca-14.0.0.spec create mode 100644 redhat/dependencies/tqca/tqca-3.5.13.2.spec delete mode 100644 redhat/dependencies/tqca/trinity-tqca-14.0.0.spec delete mode 100644 redhat/dependencies/tqca/trinity-tqca-3.5.13.2.spec create mode 100644 redhat/dependencies/tqt3/tqt3-14.0.0.spec delete mode 100644 redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec (limited to 'redhat/dependencies') diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec new file mode 100644 index 000000000..8a2c5c242 --- /dev/null +++ b/redhat/dependencies/arts/arts-14.0.0.spec @@ -0,0 +1,239 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + +Name: trinity-arts +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the TDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kcmartsrc-pulseaudio + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel + +# ESOUND support +%define with_esound 1 +BuildRequires: esound-devel + +# JACK support +# Not on RHEL4 ! +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define with_jack 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: jack-audio-connection-kit-devel +%endif +%if 0%{?suse_version} +BuildRequires: libjack-devel +%endif +%endif + +# LIBTOOL +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1220 +BuildRequires: libltdl-devel +%else +BuildRequires: libtool +%endif +%endif + +# MAD support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_libmad 1 +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}mad-devel +%endif +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: libmad-devel +%endif +%endif + +# Pulseaudio config file +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} +%define with_pulseaudio 1 +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 + +Requires: trinity-tqtinterface >= %{version} +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +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 +%{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 runtime, not devel ! +%{tde_libdir}/lib*.la + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%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 + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?with_pulseaudio} + +%package config-pulseaudio +Group: System Environment/Daemons +Summary: %{name} - Default configuration file for Pulseaudio +Requires: %{name} = %{version}-%{release} + +%description config-pulseaudio +%{summary} + +%files config-pulseaudio +%defattr(-,root,root,-) +%{tde_datadir}/config/kcmartsrc + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + + +%build +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -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} \ + -DCMAKE_SKIP_RPATH=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +# Installs the Pulseaudio configuration file +%if 0%{?with_pulseaudio} +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc +%endif + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Thu Feb 16 2012 Francois Andriot - 14.0.0-1 +- Initial build for TDE R14, using 'tqt3' instead of 'qt3' diff --git a/redhat/dependencies/arts/arts-3.5.12.spec b/redhat/dependencies/arts/arts-3.5.12.spec new file mode 100644 index 000000000..1a72133d6 --- /dev/null +++ b/redhat/dependencies/arts/arts-3.5.12.spec @@ -0,0 +1,153 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 6 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 + + +Name: trinity-arts +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the KDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: arts-%{version}.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: libtool-ltdl-devel +BuildRequires: gsl-devel + +Requires: tqtinterface +Requires: audiofile + +%if "%{?_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +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. + + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%prep +%setup -q -n dependencies/arts + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --enable-new-ldflags \ + --disable-libmad \ + --with-alsa \ + --enable-final \ + --enable-closure \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + +%clean +%__rm -rf %{?buildroot} + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%dir %{_libdir}/mcop +%dir %{_libdir}/mcop/Arts +%{_libdir}/mcop/Arts/* +%{_libdir}/mcop/*.mcopclass +%{_libdir}/mcop/*.mcoptype +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la +%{_bindir}/artscat +%{_bindir}/artsd +%{_bindir}/artsdsp +%{_bindir}/artsplay +%{_bindir}/artsrec +%{_bindir}/artsshell +%{_bindir}/artswrapper + +%files devel +%defattr(-,root,root,-) +%{_bindir}/mcopidl +%dir %{_includedir} +%{_includedir}/arts/ +%{_includedir}/artsc/ +%{_bindir}/artsc-config +%{_libdir}/lib*.so + + +%changelog +* Fri Sep 16 2011 Francois Andriot - 3.5.12-6 +- Add support for RHEL 5. + +* Mon Sep 12 2011 Francois Andriot - 3.5.12-5 +- Add "Group" field + +* Sun Sep 04 2011 Francois Andriot - 3.5.12-4 +- Import to GIT +- Removes cmake stuff, build with autotools only + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 +- Correct macro to install under "/opt", if desired + +* Sat Dec 18 2010 Francois Andriot - 3.5.12-2 +- Add cmake support +- Add some BuildRequires + +* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 +- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity) +- Add '--with-extra-includes=%{_includedir}/tqt' + +* Tue Dec 07 2010 Francois Andriot - 3.5.12-0 +- Initial version + diff --git a/redhat/dependencies/arts/arts-3.5.13.1.spec b/redhat/dependencies/arts/arts-3.5.13.1.spec new file mode 100644 index 000000000..03a922e4e --- /dev/null +++ b/redhat/dependencies/arts/arts-3.5.13.1.spec @@ -0,0 +1,182 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_prefix}/share/doc + +Name: trinity-arts +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the KDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: arts-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel +BuildRequires: esound-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: jack-audio-connection-kit-devel +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +BuildRequires: libjack-devel +BuildRequires: libltdl-devel +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 + +Requires: trinity-tqtinterface >= %{version} +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +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 +%{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 runtime, not devel ! +%{tde_libdir}/lib*.la + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%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 + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n arts-3.5.13.1 + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -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 \ + -DWITH_MAD=OFF \ + -DWITH_ESOUND=ON \ +%if 0%{?rhel} == 4 + -DWITH_JACK=OFF \ +%else + -DWITH_JACK=ON \ +%endif + -DCMAKE_SKIP_RPATH="OFF" \ + .. + + +%__make %{?_smp_mflags} + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Tue Sep 11 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/dependencies/arts/arts-3.5.13.2.spec b/redhat/dependencies/arts/arts-3.5.13.2.spec new file mode 100644 index 000000000..0c72fdc6c --- /dev/null +++ b/redhat/dependencies/arts/arts-3.5.13.2.spec @@ -0,0 +1,243 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + +Name: trinity-arts +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the TDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kcmartsrc-pulseaudio + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel + +# ESOUND support +%define with_esound 1 +BuildRequires: esound-devel + +# JACK support +# Not on RHEL4 ! +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define with_jack 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: jack-audio-connection-kit-devel +%endif +%if 0%{?suse_version} +BuildRequires: libjack-devel +%endif +%endif + +# LIBTOOL +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1220 +BuildRequires: libltdl-devel +%else +BuildRequires: libtool +%endif +%endif + +# MAD support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_libmad 1 +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}mad-devel +%endif +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: libmad-devel +%endif +%endif + +# Pulseaudio config file +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} +%define with_pulseaudio 1 +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 + +Requires: trinity-tqtinterface >= %{version} +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +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 +%{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 runtime, not devel ! +%{tde_libdir}/lib*.la + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%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 + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?with_pulseaudio} + +%package config-pulseaudio +Group: System Environment/Daemons +Summary: %{name} - Default configuration file for Pulseaudio +Requires: %{name} = %{version}-%{release} + +%description config-pulseaudio +%{summary} + +%files config-pulseaudio +%defattr(-,root,root,-) +%{tde_datadir}/config/kcmartsrc + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -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} \ + -DCMAKE_SKIP_RPATH=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +# Installs the Pulseaudio configuration file +%if 0%{?with_pulseaudio} +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc +%endif + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + diff --git a/redhat/dependencies/arts/arts-3.5.13.spec b/redhat/dependencies/arts/arts-3.5.13.spec new file mode 100644 index 000000000..af9fef33a --- /dev/null +++ b/redhat/dependencies/arts/arts-3.5.13.spec @@ -0,0 +1,201 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeincludedir %{tde_includedir}/kde + +%define _docdir %{tde_prefix}/share/doc + +Name: trinity-arts +Version: 3.5.13 +Release: 4%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the KDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: arts-%{version}.tar.gz + +# TDE 3.5.13: Re-enable lost OSS support +Patch0: arts-3.5.13-enable_oss.patch + +# TDE 3.5.13: Re-enable lost JACK support +Patch1: arts-3.5.13-enable_jack.patch + +BuildRequires: tqtinterface-devel >= %{version} +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel +BuildRequires: esound-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 +BuildRequires: jack-audio-connection-kit-devel +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +BuildRequires: libjack-devel +BuildRequires: libltdl-devel +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 + +Requires: tqtinterface +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +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 +%{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 runtime, not devel ! +%{tde_libdir}/lib*.la + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/mcopidl +%{tde_tdeincludedir}/arts/ +%{tde_includedir}/artsc/ +%{tde_bindir}/artsc-config +%{tde_libdir}/lib*.so +%{tde_libdir}/pkgconfig/*.pc +%{tde_libdir}/*.a + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} +%debug_package +%endif + +########## + + +%prep +%setup -q -n dependencies/arts +%patch0 -p1 +%patch1 -p1 + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_includedir}/arts \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ + -DWITH_ALSA=ON \ + -DWITH_AUDIOFILE=ON \ + -DWITH_VORBIS=ON \ + -DWITH_MAD=OFF \ + -DWITH_ESOUND=ON \ +%if 0%{?rhel} == 4 + -DWITH_JACK=OFF \ +%else + -DWITH_JACK=ON \ +%endif + -DCMAKE_SKIP_RPATH="OFF" \ + .. + + +%__make %{?_smp_mflags} + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Fri Dec 16 2011 Francois Andriot - 3.5.13-4 +- Enables JACK support + +* Mon Nov 14 2011 Francois Andriot - 3.5.13-3 +- Enables OSS and ESD support + +* Thu Nov 03 2011 Francois Andriot - 3.5.13-2 +- Add missing BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Fri Sep 02 2011 Francois Andriot - 3.5.13-0 +- Import to GIT +- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) diff --git a/redhat/dependencies/arts/trinity-arts-14.0.0.spec b/redhat/dependencies/arts/trinity-arts-14.0.0.spec deleted file mode 100644 index 8a2c5c242..000000000 --- a/redhat/dependencies/arts/trinity-arts-14.0.0.spec +++ /dev/null @@ -1,239 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - -Name: trinity-arts -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the TDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kcmartsrc-pulseaudio - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel - -# ESOUND support -%define with_esound 1 -BuildRequires: esound-devel - -# JACK support -# Not on RHEL4 ! -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define with_jack 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: jack-audio-connection-kit-devel -%endif -%if 0%{?suse_version} -BuildRequires: libjack-devel -%endif -%endif - -# LIBTOOL -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -%if 0%{?suse_version} >= 1220 -BuildRequires: libltdl-devel -%else -BuildRequires: libtool -%endif -%endif - -# MAD support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_libmad 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}mad-devel -%endif -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: libmad-devel -%endif -%endif - -# Pulseaudio config file -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} -%define with_pulseaudio 1 -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 - -Requires: trinity-tqtinterface >= %{version} -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -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 -%{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 runtime, not devel ! -%{tde_libdir}/lib*.la - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%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 - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?with_pulseaudio} - -%package config-pulseaudio -Group: System Environment/Daemons -Summary: %{name} - Default configuration file for Pulseaudio -Requires: %{name} = %{version}-%{release} - -%description config-pulseaudio -%{summary} - -%files config-pulseaudio -%defattr(-,root,root,-) -%{tde_datadir}/config/kcmartsrc - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - - -%build -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -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} \ - -DCMAKE_SKIP_RPATH=OFF \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -# Installs the Pulseaudio configuration file -%if 0%{?with_pulseaudio} -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc -%endif - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Thu Feb 16 2012 Francois Andriot - 14.0.0-1 -- Initial build for TDE R14, using 'tqt3' instead of 'qt3' diff --git a/redhat/dependencies/arts/trinity-arts-3.5.12.spec b/redhat/dependencies/arts/trinity-arts-3.5.12.spec deleted file mode 100644 index 1a72133d6..000000000 --- a/redhat/dependencies/arts/trinity-arts-3.5.12.spec +++ /dev/null @@ -1,153 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 6 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 - - -Name: trinity-arts -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the KDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: arts-%{version}.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: libtool-ltdl-devel -BuildRequires: gsl-devel - -Requires: tqtinterface -Requires: audiofile - -%if "%{?_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -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. - - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%prep -%setup -q -n dependencies/arts - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking \ - --enable-new-ldflags \ - --disable-libmad \ - --with-alsa \ - --enable-final \ - --enable-closure \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - -%clean -%__rm -rf %{?buildroot} - -%files -%defattr(-,root,root,-) -%doc COPYING.LIB -%dir %{_libdir}/mcop -%dir %{_libdir}/mcop/Arts -%{_libdir}/mcop/Arts/* -%{_libdir}/mcop/*.mcopclass -%{_libdir}/mcop/*.mcoptype -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la -%{_bindir}/artscat -%{_bindir}/artsd -%{_bindir}/artsdsp -%{_bindir}/artsplay -%{_bindir}/artsrec -%{_bindir}/artsshell -%{_bindir}/artswrapper - -%files devel -%defattr(-,root,root,-) -%{_bindir}/mcopidl -%dir %{_includedir} -%{_includedir}/arts/ -%{_includedir}/artsc/ -%{_bindir}/artsc-config -%{_libdir}/lib*.so - - -%changelog -* Fri Sep 16 2011 Francois Andriot - 3.5.12-6 -- Add support for RHEL 5. - -* Mon Sep 12 2011 Francois Andriot - 3.5.12-5 -- Add "Group" field - -* Sun Sep 04 2011 Francois Andriot - 3.5.12-4 -- Import to GIT -- Removes cmake stuff, build with autotools only - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 -- Correct macro to install under "/opt", if desired - -* Sat Dec 18 2010 Francois Andriot - 3.5.12-2 -- Add cmake support -- Add some BuildRequires - -* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 -- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity) -- Add '--with-extra-includes=%{_includedir}/tqt' - -* Tue Dec 07 2010 Francois Andriot - 3.5.12-0 -- Initial version - diff --git a/redhat/dependencies/arts/trinity-arts-3.5.13.1.spec b/redhat/dependencies/arts/trinity-arts-3.5.13.1.spec deleted file mode 100644 index 03a922e4e..000000000 --- a/redhat/dependencies/arts/trinity-arts-3.5.13.1.spec +++ /dev/null @@ -1,182 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_prefix}/share/doc - -Name: trinity-arts -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the KDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: arts-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel -BuildRequires: esound-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: jack-audio-connection-kit-devel -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -BuildRequires: libjack-devel -BuildRequires: libltdl-devel -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 - -Requires: trinity-tqtinterface >= %{version} -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -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 -%{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 runtime, not devel ! -%{tde_libdir}/lib*.la - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%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 - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n arts-3.5.13.1 - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -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 \ - -DWITH_MAD=OFF \ - -DWITH_ESOUND=ON \ -%if 0%{?rhel} == 4 - -DWITH_JACK=OFF \ -%else - -DWITH_JACK=ON \ -%endif - -DCMAKE_SKIP_RPATH="OFF" \ - .. - - -%__make %{?_smp_mflags} - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Tue Sep 11 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec b/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec deleted file mode 100644 index 0c72fdc6c..000000000 --- a/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec +++ /dev/null @@ -1,243 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - -Name: trinity-arts -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the TDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kcmartsrc-pulseaudio - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel - -# ESOUND support -%define with_esound 1 -BuildRequires: esound-devel - -# JACK support -# Not on RHEL4 ! -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define with_jack 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: jack-audio-connection-kit-devel -%endif -%if 0%{?suse_version} -BuildRequires: libjack-devel -%endif -%endif - -# LIBTOOL -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -%if 0%{?suse_version} >= 1220 -BuildRequires: libltdl-devel -%else -BuildRequires: libtool -%endif -%endif - -# MAD support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_libmad 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}mad-devel -%endif -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: libmad-devel -%endif -%endif - -# Pulseaudio config file -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} -%define with_pulseaudio 1 -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 - -Requires: trinity-tqtinterface >= %{version} -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -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 -%{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 runtime, not devel ! -%{tde_libdir}/lib*.la - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%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 - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?with_pulseaudio} - -%package config-pulseaudio -Group: System Environment/Daemons -Summary: %{name} - Default configuration file for Pulseaudio -Requires: %{name} = %{version}-%{release} - -%description config-pulseaudio -%{summary} - -%files config-pulseaudio -%defattr(-,root,root,-) -%{tde_datadir}/config/kcmartsrc - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -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} \ - -DCMAKE_SKIP_RPATH=OFF \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -# Installs the Pulseaudio configuration file -%if 0%{?with_pulseaudio} -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc -%endif - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - diff --git a/redhat/dependencies/arts/trinity-arts-3.5.13.spec b/redhat/dependencies/arts/trinity-arts-3.5.13.spec deleted file mode 100644 index af9fef33a..000000000 --- a/redhat/dependencies/arts/trinity-arts-3.5.13.spec +++ /dev/null @@ -1,201 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeincludedir %{tde_includedir}/kde - -%define _docdir %{tde_prefix}/share/doc - -Name: trinity-arts -Version: 3.5.13 -Release: 4%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the KDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: arts-%{version}.tar.gz - -# TDE 3.5.13: Re-enable lost OSS support -Patch0: arts-3.5.13-enable_oss.patch - -# TDE 3.5.13: Re-enable lost JACK support -Patch1: arts-3.5.13-enable_jack.patch - -BuildRequires: tqtinterface-devel >= %{version} -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel -BuildRequires: esound-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 -BuildRequires: jack-audio-connection-kit-devel -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -BuildRequires: libjack-devel -BuildRequires: libltdl-devel -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 - -Requires: tqtinterface -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -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 -%{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 runtime, not devel ! -%{tde_libdir}/lib*.la - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/mcopidl -%{tde_tdeincludedir}/arts/ -%{tde_includedir}/artsc/ -%{tde_bindir}/artsc-config -%{tde_libdir}/lib*.so -%{tde_libdir}/pkgconfig/*.pc -%{tde_libdir}/*.a - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} -%debug_package -%endif - -########## - - -%prep -%setup -q -n dependencies/arts -%patch0 -p1 -%patch1 -p1 - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir}/arts \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ - -DWITH_ALSA=ON \ - -DWITH_AUDIOFILE=ON \ - -DWITH_VORBIS=ON \ - -DWITH_MAD=OFF \ - -DWITH_ESOUND=ON \ -%if 0%{?rhel} == 4 - -DWITH_JACK=OFF \ -%else - -DWITH_JACK=ON \ -%endif - -DCMAKE_SKIP_RPATH="OFF" \ - .. - - -%__make %{?_smp_mflags} - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Fri Dec 16 2011 Francois Andriot - 3.5.13-4 -- Enables JACK support - -* Mon Nov 14 2011 Francois Andriot - 3.5.13-3 -- Enables OSS and ESD support - -* Thu Nov 03 2011 Francois Andriot - 3.5.13-2 -- Add missing BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Fri Sep 02 2011 Francois Andriot - 3.5.13-0 -- Import to GIT -- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) diff --git a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec new file mode 100644 index 000000000..be6f406dc --- /dev/null +++ b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec @@ -0,0 +1,87 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_version 14.0.0 + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + +Name: trinity-tqca-tls +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TLS plugin for the TQt Cryptographic Architecture +License: LGPLv2+ +Group: Applications/Internet + +URL: http://delta.affinix.com/qca/ +Vendor: Trinity Project +Packager: Francois Andriot + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqt3-devel >= %{tde_version} +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} +BuildRequires: trinity-tqca-devel >= 1.0 +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. + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure \ + --qtdir=/usr +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install INSTALL_ROOT=%{?buildroot} + + +%clean +%__rm -rf %{?buildroot} + + +%files +%defattr(0644,root,root,0755) +%doc README COPYING +%{_libdir}/tqt3/plugins/crypto/libqca-tls.so + +%changelog +* Thu Jun 27 2013 Francois Andriot - 1.0-2 +- Initial build for TDE 14.0.0 + +* Mon Jun 03 2013 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec b/redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec new file mode 100644 index 000000000..003eb95e5 --- /dev/null +++ b/redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec @@ -0,0 +1,106 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + +Name: trinity-tqca-tls +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TLS plugin for the TQt Cryptographic Architecture +License: LGPLv2+ +Group: Applications/Internet + +URL: http://delta.affinix.com/qca/ +Vendor: Trinity Project +Packager: Francois Andriot + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: tqca-tls-master.tar.gz + +# Fix build in mach for QT apps +Patch0: qca-tls-1.0-mach.patch +# Build with openssl 1.0.0 +Patch2: qca-tls-1.0-ossl10.patch +# Allows building with TQT3 from TDE +Patch10: tqca-tls-qt3.patch + +BuildRequires: qt3-devel >= 3.3.8.d +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tqca-devel >= 1.0 +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. + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n tqca-tls-master +%patch0 -p0 -b .mach +%patch2 -p1 -b .ossl10 +%patch10 -p1 -b .qt + +# Revert TQCA to QCA +%__sed -i * -e "s|TQCA|QCA|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install INSTALL_ROOT=%{?buildroot} + + +%clean +%__rm -rf %{?buildroot} + + +%files +%defattr(0644,root,root,0755) +%doc README COPYING +%if 0%{?mgaversion} || 0%{?mdkversion} +%{_libdir}/qt3/plugins/crypto/libqca-tls.so +%endif +%if 0%{?suse_version} +%{_usr}/lib/qt3/plugins/crypto/libqca-tls.so +%endif +%if 0%{?rhel} || 0%{?fedora} +%{_libdir}/qt-3.3/plugins/crypto/libqca-tls.so +%endif + + +%changelog +* Thu Jun 27 2013 Francois Andriot - 1.0-2 +- Renames TQCA to QCA in source code + +* Mon Jun 03 2013 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec deleted file mode 100644 index be6f406dc..000000000 --- a/redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec +++ /dev/null @@ -1,87 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_version 14.0.0 - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - -Name: trinity-tqca-tls -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -Summary: TLS plugin for the TQt Cryptographic Architecture -License: LGPLv2+ -Group: Applications/Internet - -URL: http://delta.affinix.com/qca/ -Vendor: Trinity Project -Packager: Francois Andriot - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqt3-devel >= %{tde_version} -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-tqca-devel >= 1.0 -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. - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -./configure \ - --qtdir=/usr -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install INSTALL_ROOT=%{?buildroot} - - -%clean -%__rm -rf %{?buildroot} - - -%files -%defattr(0644,root,root,0755) -%doc README COPYING -%{_libdir}/tqt3/plugins/crypto/libqca-tls.so - -%changelog -* Thu Jun 27 2013 Francois Andriot - 1.0-2 -- Initial build for TDE 14.0.0 - -* Mon Jun 03 2013 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca-tls/trinity-tqca-tls-3.5.13.2.spec b/redhat/dependencies/tqca-tls/trinity-tqca-tls-3.5.13.2.spec deleted file mode 100644 index 003eb95e5..000000000 --- a/redhat/dependencies/tqca-tls/trinity-tqca-tls-3.5.13.2.spec +++ /dev/null @@ -1,106 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - -Name: trinity-tqca-tls -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -Summary: TLS plugin for the TQt Cryptographic Architecture -License: LGPLv2+ -Group: Applications/Internet - -URL: http://delta.affinix.com/qca/ -Vendor: Trinity Project -Packager: Francois Andriot - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: tqca-tls-master.tar.gz - -# Fix build in mach for QT apps -Patch0: qca-tls-1.0-mach.patch -# Build with openssl 1.0.0 -Patch2: qca-tls-1.0-ossl10.patch -# Allows building with TQT3 from TDE -Patch10: tqca-tls-qt3.patch - -BuildRequires: qt3-devel >= 3.3.8.d -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tqca-devel >= 1.0 -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. - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n tqca-tls-master -%patch0 -p0 -b .mach -%patch2 -p1 -b .ossl10 -%patch10 -p1 -b .qt - -# Revert TQCA to QCA -%__sed -i * -e "s|TQCA|QCA|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -./configure -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install INSTALL_ROOT=%{?buildroot} - - -%clean -%__rm -rf %{?buildroot} - - -%files -%defattr(0644,root,root,0755) -%doc README COPYING -%if 0%{?mgaversion} || 0%{?mdkversion} -%{_libdir}/qt3/plugins/crypto/libqca-tls.so -%endif -%if 0%{?suse_version} -%{_usr}/lib/qt3/plugins/crypto/libqca-tls.so -%endif -%if 0%{?rhel} || 0%{?fedora} -%{_libdir}/qt-3.3/plugins/crypto/libqca-tls.so -%endif - - -%changelog -* Thu Jun 27 2013 Francois Andriot - 1.0-2 -- Renames TQCA to QCA in source code - -* Mon Jun 03 2013 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca/tqca-14.0.0.spec b/redhat/dependencies/tqca/tqca-14.0.0.spec new file mode 100644 index 000000000..9cc4131ad --- /dev/null +++ b/redhat/dependencies/tqca/tqca-14.0.0.spec @@ -0,0 +1,123 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_version 14.0.0 + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + + +Name: trinity-tqca +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TQt Cryptographic Architecture + +Group: System Environment/Libraries +License: LGPLv2+ + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqt3-devel >= %{tde_version} +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} + + +%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! + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING README TODO +%{tde_libdir}/libqca.so.* + +########## + +%package devel +Summary: TQt Cryptographic Architecture development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This packages contains the development files for TQCA + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/qca.h +%{tde_libdir}/libqca.so + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%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 +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure \ + --prefix=%{tde_prefix} \ + --qtdir=/usr \ + --debug + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install INSTALL_ROOT=$RPM_BUILD_ROOT + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca/tqca-3.5.13.2.spec b/redhat/dependencies/tqca/tqca-3.5.13.2.spec new file mode 100644 index 000000000..eefe8a16e --- /dev/null +++ b/redhat/dependencies/tqca/tqca-3.5.13.2.spec @@ -0,0 +1,131 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + + +Name: trinity-tqca +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TQt Cryptographic Architecture + +Group: System Environment/Libraries +License: LGPLv2+ + +Vendor: Trinity Project +#URL: http://delta.affinix.com/qca +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: tqca-master.tar.gz +Patch0: qca-1.0-mach.patch +Patch1: tqca-1.0-fix_qt3_detection.patch + +BuildRequires: qt3-devel >= 3.3.8.d +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 + +%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! + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING README TODO +%{tde_libdir}/libqca.so.* + +########## + +%package devel +Summary: TQt Cryptographic Architecture development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This packages contains the development files for TQCA + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/qca.h +%{tde_libdir}/libqca.so + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n tqca-master +%patch0 -p0 -b .mach +%patch1 -p1 -b .qt + +# Fix 'lib64' library directory +perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra + +# Revert TQCA to QCA +%__sed -i examples/*/*.cpp src/*.h src/*.cpp -e "s|TQCA|QCA|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure \ + --prefix=%{tde_prefix} \ + --qtdir=${QTDIR} \ + --debug + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install INSTALL_ROOT=$RPM_BUILD_ROOT + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Thu Jun 27 2013 Francois Andriot - 1.0-2 +- Renames TQCA to QCA in source code + +* Mon Jun 03 2013 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca/trinity-tqca-14.0.0.spec b/redhat/dependencies/tqca/trinity-tqca-14.0.0.spec deleted file mode 100644 index 9cc4131ad..000000000 --- a/redhat/dependencies/tqca/trinity-tqca-14.0.0.spec +++ /dev/null @@ -1,123 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_version 14.0.0 - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - - -Name: trinity-tqca -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -Summary: TQt Cryptographic Architecture - -Group: System Environment/Libraries -License: LGPLv2+ - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqt3-devel >= %{tde_version} -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} - - -%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! - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%doc COPYING README TODO -%{tde_libdir}/libqca.so.* - -########## - -%package devel -Summary: TQt Cryptographic Architecture development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -This packages contains the development files for TQCA - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/qca.h -%{tde_libdir}/libqca.so - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%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 -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -./configure \ - --prefix=%{tde_prefix} \ - --qtdir=/usr \ - --debug - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install INSTALL_ROOT=$RPM_BUILD_ROOT - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca/trinity-tqca-3.5.13.2.spec b/redhat/dependencies/tqca/trinity-tqca-3.5.13.2.spec deleted file mode 100644 index eefe8a16e..000000000 --- a/redhat/dependencies/tqca/trinity-tqca-3.5.13.2.spec +++ /dev/null @@ -1,131 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - - -Name: trinity-tqca -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -Summary: TQt Cryptographic Architecture - -Group: System Environment/Libraries -License: LGPLv2+ - -Vendor: Trinity Project -#URL: http://delta.affinix.com/qca -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: tqca-master.tar.gz -Patch0: qca-1.0-mach.patch -Patch1: tqca-1.0-fix_qt3_detection.patch - -BuildRequires: qt3-devel >= 3.3.8.d -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 - -%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! - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%doc COPYING README TODO -%{tde_libdir}/libqca.so.* - -########## - -%package devel -Summary: TQt Cryptographic Architecture development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -This packages contains the development files for TQCA - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/qca.h -%{tde_libdir}/libqca.so - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n tqca-master -%patch0 -p0 -b .mach -%patch1 -p1 -b .qt - -# Fix 'lib64' library directory -perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra - -# Revert TQCA to QCA -%__sed -i examples/*/*.cpp src/*.h src/*.cpp -e "s|TQCA|QCA|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -./configure \ - --prefix=%{tde_prefix} \ - --qtdir=${QTDIR} \ - --debug - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install INSTALL_ROOT=$RPM_BUILD_ROOT - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Thu Jun 27 2013 Francois Andriot - 1.0-2 -- Renames TQCA to QCA in source code - -* Mon Jun 03 2013 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec new file mode 100644 index 000000000..15d8e2748 --- /dev/null +++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec @@ -0,0 +1,580 @@ +%define tde_version 14.0.0 + +# Always install under standard prefix +%define tde_prefix /usr +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +# The following QT4 packages should NOT be installed to +# allow QT3 compilation (please uninstall them prior to compile) +# qt +# qt-sqlite +# qt-mysql +# qt-x11 +# qt-devel +# ...maybe others !!!! + +Name: trinity-tqt3 +Version: 14.0.0%{?preversion:_%{preversion}} +Release: 1%{?dist} +Summary: The shared library for the Trinity Qt 3 GUI toolkit + +License: QPL or GPLv2 or GPLv3 +Group: System Environment/Libraries +BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n) +Url: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +# [tqt3] Build shared libraries +Patch1: tqt3-14.0.0-shared_lib.patch +# [tqt3] Fix FTBFS +Patch2: tqt3-14.0.0-fix_ftbfs.patch + +BuildRequires: desktop-file-utils +BuildRequires: libmng-devel +BuildRequires: glibc-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: zlib-devel +BuildRequires: giflib-devel +BuildRequires: perl +BuildRequires: sed +BuildRequires: findutils +BuildRequires: cups-devel +BuildRequires: tar +BuildRequires: freetype-devel +BuildRequires: fontconfig-devel + +# Xrender support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXrender-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxrender-devel +%endif + +# Xrandr support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXrandr-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxrandr-devel +%endif + +# Xcursor support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXcursor-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxcursor-devel +%endif + +# Xinerama support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXinerama-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxinerama-devel +%endif + +# Xft support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXft-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxft-devel +%endif + +# Xext support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXext-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxext-devel +%endif + +# X11 support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libX11-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libx11-devel +%endif + +# SM support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libSM-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libsm-devel +%endif + +# ICE support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libICE-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libice-devel +%endif + +# XT support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXt-devel +%endif + +# XMU support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXmu-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxmu-devel +%endif + +# XI support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXi-devel +%endif + +# Xorg support +%if 0%{?rhel} || 0%{?fedora} +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} +BuildRequires: mesaglu-devel +%endif + +BuildRequires: desktop-file-utils +BuildRequires: mysql-devel +BuildRequires: postgresql-devel +BuildRequires: unixODBC-devel +BuildRequires: sqlite-devel + +# Firebird support +%if 0%{?mdkversion} || 0%{?mgaversion} +%define with_ibase 1 +BuildRequires: firebird-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 + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Requires: coreutils +Requires: fontconfig >= 2.0 +Requires: /etc/ld.so.conf.d + +%if 0%{?mdkversion} || 0%{?mgaversion} +Obsoletes: %{_lib}qt3 +Provides: %{_lib}qt3 = 3.3.8.d +%endif + + +%description +TQt is a GUI software toolkit which simplifies the task of writing and +maintaining GUI (Graphical User Interface) applications +for the X Window System. + +TQt is written in C++ and is fully object-oriented. + +This package contains the shared library needed to run TQt 3 +applications, as well as the README files for TQt 3. + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%files +%defattr(-,root,root,-) +%doc FAQ LICENSE* README* changes* +%dir %{tde_libdir}/tqt3/plugins +%dir %{tde_libdir}/tqt3/plugins/sqldrivers +#%dir %{tde_libdir}/tqt3/plugins/styles +%{tde_datadir}/tqt3/translations/ +%dir %{tde_libdir}/tqt3/plugins/designer +%{tde_libdir}/tqt3/plugins/designer/libcppeditor.so +%{tde_libdir}/tqt3/plugins/designer/libdlgplugin.so +%{tde_libdir}/tqt3/plugins/designer/libgladeplugin.so +%{tde_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so +%{tde_libdir}/tqt3/plugins/designer/librcplugin.so +%{tde_libdir}/tqt3/plugins/designer/libwizards.so +%dir %{tde_libdir}/tqt3/plugins/imageformats +%{tde_libdir}/tqt3/plugins/imageformats/libqmng.so +%dir %{tde_libdir}/tqt3/plugins/inputmethods +%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so +%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so +%{tde_libdir}/tqt3/plugins/inputmethods/libqsimple.so +%{tde_libdir}/tqt3/plugins/inputmethods/libqxim.so +%{tde_libdir}/libtqt-mt.so.3 +%{tde_libdir}/libtqt-mt.so.3.3 +%{tde_libdir}/libtqt-mt.so.3.3.8 +%{tde_libdir}/libtqt-mt.la +%{tde_libdir}/libtqui.so.1 +%{tde_libdir}/libtqui.so.1.0 +%{tde_libdir}/libtqui.so.1.0.0 +%{tde_libdir}/libdesignercore.so.1 +%{tde_libdir}/libdesignercore.so.1.0 +%{tde_libdir}/libdesignercore.so.1.0.0 +%{tde_libdir}/libeditor.so.1 +%{tde_libdir}/libeditor.so.1.0 +%{tde_libdir}/libeditor.so.1.0.0 +%{tde_libdir}/libqassistantclient.so.1 +%{tde_libdir}/libqassistantclient.so.1.0 +%{tde_libdir}/libqassistantclient.so.1.0.0 + +########## + +%package config +Summary: Graphical configuration tool for programs using Qt 3 +Group: User Interface/Desktops +Requires: %{name} = %{version}-%{release} + +%description config +TQt is a GUI software toolkit which simplifies the task of writing and +maintaining GUI (Graphical User Interface) applications +for the X Window System. + +TQt is written in C++ and is fully object-oriented. + +This package contains a graphical configuration tool for programs using TQt 3. + +%files config +%defattr(-,root,root,-) +%{tde_bindir}/tqtconfig + +########## + +%package devel +Summary: Development files for the Qt 3 GUI toolkit +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains the files necessary to develop +applications using the TQt GUI toolkit: the header files, the TQt meta +object compiler. + +Install %{name}-devel if you want to develop GUI applications using the TQt 3 +toolkit. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/conv2ui +%{tde_bindir}/qvfb +%{tde_bindir}/tqmoc +%{tde_bindir}/tquic +%{tde_bindir}/findtr +%{tde_bindir}/qt20fix +%{tde_bindir}/qtrename140 +%{tde_bindir}/tqassistant +%{tde_bindir}/qm2ts +%{tde_bindir}/tqmake +%{tde_bindir}/tqembed +%{tde_bindir}/tqlinguist +%{tde_bindir}/tqlupdate +%{tde_bindir}/tqlrelease +%{tde_bindir}/createcw +%{tde_bindir}/makeqpf +%{tde_bindir}/mergetr +%{tde_bindir}/msg2qm +%{tde_datadir}/tqt3/mkspecs/ +%{tde_datadir}/tqt3/phrasebooks/ +%{tde_includedir}/tqt3/ +%{tde_libdir}/libdesignercore.prl +%{tde_libdir}/libdesignercore.so +%{tde_libdir}/libeditor.prl +%{tde_libdir}/libeditor.so +%{tde_libdir}/libqassistantclient.prl +%{tde_libdir}/libqassistantclient.so +%{tde_libdir}/libtqt-mt.so +%{tde_libdir}/libtqt-mt.prl +%{tde_libdir}/libtqui.so +%{tde_libdir}/libtqui.prl +%{tde_libdir}/pkgconfig/tqt-mt.pc + + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%package devel-docs +Summary: Documentation for the TQt 3 GUI toolkit +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description devel-docs +The %{name}-devel-docs package contains the man pages, the HTML documentation and +example programs for TQt 3. + +%files devel-docs +%defattr(-,root,root,-) +%doc examples +%doc tutorial +%{tde_datadir}/tqt3/doc/html/ + +########## + +%package ODBC +Summary: ODBC drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description ODBC +ODBC driver for TQt 3's SQL classes (QSQL) + +%files ODBC +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so + +########## + +%package MySQL +Summary: MySQL drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description MySQL +MySQL driver for TQt 3's SQL classes (QSQL) + +%files MySQL +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so + +########## + +%package PostgreSQL +Summary: PostgreSQL drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description PostgreSQL +PostgreSQL driver for TQt 3's SQL classes (QSQL) + +%files PostgreSQL +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so + +########## + +%package sqlite +Summary: sqlite drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description sqlite +sqlite driver for TQt 3's SQL classes (QSQL) + +%files sqlite +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so + +########## + +%if %{?with_ibase} +%package ibase +Summary: ibase drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description ibase +ibase driver for TQt 3's SQL classes (QSQL) + +%files ibase +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so +%endif + +########## + +%package designer +Summary: In3erface designer (IDE) for the Qt 3 toolkit +Group: Development/Tools +Requires: %{name}-devel = %{version}-%{release} + +%description designer +The %{name}-designer package contains an User Interface designer tool +for the TQt 3 toolkit. + +%files designer +%defattr(-,root,root,-) +%{tde_bindir}/tqdesigner +%{tde_datadir}/tqt3/templates/ + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +%patch1 -p1 -b .sharedlibs +%patch2 -p1 -b .ftbfs + +%build +unset QTDIR QTINC QTLIB +export QTDIR=$(pwd) +export PATH=${QTDIR}/stripbin:${QTDIR}/bin:$PATH +export MANPATH=${QTDIR}/doc/man:$MANPATH +export LD_LIBRARY_PATH=${QTDIR}/lib:$LD_LIBRARY_PATH + +# Checks for supplementary include dir +INCDIRS="" +for d in \ + /usr/include/fontconfig \ + /usr/include/pgsql/server \ + /usr/include/postgresql/server \ + /usr/include/Xft2 \ + /usr/include/Xft2/X11/Xft \ + /usr/include/mysql \ + /usr/include/libpng15 \ +; 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 "%{tde_prefix}" \ + -libdir "%{tde_libdir}" \ + -sysconfdir "%{_sysconfdir}/tqt3" \ + -datadir "%{tde_datadir}/tqt3" \ + -headerdir "%{tde_includedir}/tqt3" \ + -docdir "%{tde_datadir}/tqt3/doc" \ + -plugindir "%{tde_libdir}/tqt3/plugins" \ + -translationdir "%{tde_datadir}/tqt3/translations" \ + \ + -thread \ + -shared \ + -fast \ + -no-exceptions \ +%if "%{_lib}" == "lib64" + -platform linux-g++-64 \ +%else + -platform linux-g++ \ +%endif + \ + -nis \ + -no-pch \ + -cups \ + -stl \ + -ipv6 \ + \ + -sm \ + -xshape \ + -xinerama \ + -xcursor \ + -xrandr \ + -xrender \ + -xft \ + -tablet \ + -xkb \ + \ + -system-zlib \ + -system-libpng \ + -system-libmng \ + -system-libjpeg \ + -system-nas-sound \ + \ + -enable-opengl \ + -dlopen-opengl \ + \ + -qt-gif \ + -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 \ + \ + -lfontconfig \ + -inputmethod \ + -glibmainloop + + +# Fix bad headers +rm -rf include/ntqinputcontext.h include/ntqinputcontextfactory.h include/ntqinputcontextplugin.h +ln -s ../src/kernel/ntqinputcontext.h include/ntqinputcontext.h +ln -s ../src/inputmethod/ntqinputcontextfactory.h include/ntqinputcontextfactory.h +ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h + +# proceed +#%__make %{?_smp_mflags} symlinks src-qmake src-moc +%__make %{?_smp_mflags} sub-src sub-plugins sub-tools + +# build conv2ui +%__make -C tools/designer/tools/conv2ui + +# build qvfb +%__make -C tools/qvfb + +# fix .prl files +%__sed -i lib/*.prl -e "s|${QTDIR}|%{tde_datadir}/tqt3|g" + +# fix QTDIR in 'qmake.conf' +%__sed -i mkspecs/*/qmake.conf -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = \$(QTDIR)/include/tqt3|" + + +%install +%__rm -rf %{buildroot} + +%__make -C src INSTALL_ROOT=%{?buildroot} install_target +%__make INSTALL_ROOT=%{?buildroot} install +%__make INSTALL_ROOT=%{?buildroot} plugins-install + +%__install -m755 bin/qtrename140 %{?buildroot}%{_bindir} +%__install -m755 bin/qt20fix %{?buildroot}%{_bindir} +%__install -m755 bin/findtr %{?buildroot}%{_bindir} + +# install conv2ui +%__install -m755 bin/conv2ui %{?buildroot}%{_bindir}/conv2ui + +# install qvfb +%__install -m755 tools/qvfb/qvfb %{?buildroot}%{_bindir}/qvfb + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Feb 13 2012 Francois Andriot - 14.0.0-1 +- Initial build for TDE R14.0.0 diff --git a/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec b/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec deleted file mode 100644 index 15d8e2748..000000000 --- a/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec +++ /dev/null @@ -1,580 +0,0 @@ -%define tde_version 14.0.0 - -# Always install under standard prefix -%define tde_prefix /usr -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -# The following QT4 packages should NOT be installed to -# allow QT3 compilation (please uninstall them prior to compile) -# qt -# qt-sqlite -# qt-mysql -# qt-x11 -# qt-devel -# ...maybe others !!!! - -Name: trinity-tqt3 -Version: 14.0.0%{?preversion:_%{preversion}} -Release: 1%{?dist} -Summary: The shared library for the Trinity Qt 3 GUI toolkit - -License: QPL or GPLv2 or GPLv3 -Group: System Environment/Libraries -BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n) -Url: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -# [tqt3] Build shared libraries -Patch1: tqt3-14.0.0-shared_lib.patch -# [tqt3] Fix FTBFS -Patch2: tqt3-14.0.0-fix_ftbfs.patch - -BuildRequires: desktop-file-utils -BuildRequires: libmng-devel -BuildRequires: glibc-devel -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel -BuildRequires: zlib-devel -BuildRequires: giflib-devel -BuildRequires: perl -BuildRequires: sed -BuildRequires: findutils -BuildRequires: cups-devel -BuildRequires: tar -BuildRequires: freetype-devel -BuildRequires: fontconfig-devel - -# Xrender support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXrender-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxrender-devel -%endif - -# Xrandr support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXrandr-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxrandr-devel -%endif - -# Xcursor support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXcursor-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxcursor-devel -%endif - -# Xinerama support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXinerama-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxinerama-devel -%endif - -# Xft support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXft-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxft-devel -%endif - -# Xext support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXext-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxext-devel -%endif - -# X11 support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libX11-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libx11-devel -%endif - -# SM support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libSM-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libsm-devel -%endif - -# ICE support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libICE-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libice-devel -%endif - -# XT support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXt-devel -%endif - -# XMU support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXmu-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxmu-devel -%endif - -# XI support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXi-devel -%endif - -# Xorg support -%if 0%{?rhel} || 0%{?fedora} -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} -BuildRequires: mesaglu-devel -%endif - -BuildRequires: desktop-file-utils -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: unixODBC-devel -BuildRequires: sqlite-devel - -# Firebird support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_ibase 1 -BuildRequires: firebird-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 - -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig -Requires: coreutils -Requires: fontconfig >= 2.0 -Requires: /etc/ld.so.conf.d - -%if 0%{?mdkversion} || 0%{?mgaversion} -Obsoletes: %{_lib}qt3 -Provides: %{_lib}qt3 = 3.3.8.d -%endif - - -%description -TQt is a GUI software toolkit which simplifies the task of writing and -maintaining GUI (Graphical User Interface) applications -for the X Window System. - -TQt is written in C++ and is fully object-oriented. - -This package contains the shared library needed to run TQt 3 -applications, as well as the README files for TQt 3. - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%files -%defattr(-,root,root,-) -%doc FAQ LICENSE* README* changes* -%dir %{tde_libdir}/tqt3/plugins -%dir %{tde_libdir}/tqt3/plugins/sqldrivers -#%dir %{tde_libdir}/tqt3/plugins/styles -%{tde_datadir}/tqt3/translations/ -%dir %{tde_libdir}/tqt3/plugins/designer -%{tde_libdir}/tqt3/plugins/designer/libcppeditor.so -%{tde_libdir}/tqt3/plugins/designer/libdlgplugin.so -%{tde_libdir}/tqt3/plugins/designer/libgladeplugin.so -%{tde_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so -%{tde_libdir}/tqt3/plugins/designer/librcplugin.so -%{tde_libdir}/tqt3/plugins/designer/libwizards.so -%dir %{tde_libdir}/tqt3/plugins/imageformats -%{tde_libdir}/tqt3/plugins/imageformats/libqmng.so -%dir %{tde_libdir}/tqt3/plugins/inputmethods -%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so -%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so -%{tde_libdir}/tqt3/plugins/inputmethods/libqsimple.so -%{tde_libdir}/tqt3/plugins/inputmethods/libqxim.so -%{tde_libdir}/libtqt-mt.so.3 -%{tde_libdir}/libtqt-mt.so.3.3 -%{tde_libdir}/libtqt-mt.so.3.3.8 -%{tde_libdir}/libtqt-mt.la -%{tde_libdir}/libtqui.so.1 -%{tde_libdir}/libtqui.so.1.0 -%{tde_libdir}/libtqui.so.1.0.0 -%{tde_libdir}/libdesignercore.so.1 -%{tde_libdir}/libdesignercore.so.1.0 -%{tde_libdir}/libdesignercore.so.1.0.0 -%{tde_libdir}/libeditor.so.1 -%{tde_libdir}/libeditor.so.1.0 -%{tde_libdir}/libeditor.so.1.0.0 -%{tde_libdir}/libqassistantclient.so.1 -%{tde_libdir}/libqassistantclient.so.1.0 -%{tde_libdir}/libqassistantclient.so.1.0.0 - -########## - -%package config -Summary: Graphical configuration tool for programs using Qt 3 -Group: User Interface/Desktops -Requires: %{name} = %{version}-%{release} - -%description config -TQt is a GUI software toolkit which simplifies the task of writing and -maintaining GUI (Graphical User Interface) applications -for the X Window System. - -TQt is written in C++ and is fully object-oriented. - -This package contains a graphical configuration tool for programs using TQt 3. - -%files config -%defattr(-,root,root,-) -%{tde_bindir}/tqtconfig - -########## - -%package devel -Summary: Development files for the Qt 3 GUI toolkit -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -The %{name}-devel package contains the files necessary to develop -applications using the TQt GUI toolkit: the header files, the TQt meta -object compiler. - -Install %{name}-devel if you want to develop GUI applications using the TQt 3 -toolkit. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/conv2ui -%{tde_bindir}/qvfb -%{tde_bindir}/tqmoc -%{tde_bindir}/tquic -%{tde_bindir}/findtr -%{tde_bindir}/qt20fix -%{tde_bindir}/qtrename140 -%{tde_bindir}/tqassistant -%{tde_bindir}/qm2ts -%{tde_bindir}/tqmake -%{tde_bindir}/tqembed -%{tde_bindir}/tqlinguist -%{tde_bindir}/tqlupdate -%{tde_bindir}/tqlrelease -%{tde_bindir}/createcw -%{tde_bindir}/makeqpf -%{tde_bindir}/mergetr -%{tde_bindir}/msg2qm -%{tde_datadir}/tqt3/mkspecs/ -%{tde_datadir}/tqt3/phrasebooks/ -%{tde_includedir}/tqt3/ -%{tde_libdir}/libdesignercore.prl -%{tde_libdir}/libdesignercore.so -%{tde_libdir}/libeditor.prl -%{tde_libdir}/libeditor.so -%{tde_libdir}/libqassistantclient.prl -%{tde_libdir}/libqassistantclient.so -%{tde_libdir}/libtqt-mt.so -%{tde_libdir}/libtqt-mt.prl -%{tde_libdir}/libtqui.so -%{tde_libdir}/libtqui.prl -%{tde_libdir}/pkgconfig/tqt-mt.pc - - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package devel-docs -Summary: Documentation for the TQt 3 GUI toolkit -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} - -%description devel-docs -The %{name}-devel-docs package contains the man pages, the HTML documentation and -example programs for TQt 3. - -%files devel-docs -%defattr(-,root,root,-) -%doc examples -%doc tutorial -%{tde_datadir}/tqt3/doc/html/ - -########## - -%package ODBC -Summary: ODBC drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description ODBC -ODBC driver for TQt 3's SQL classes (QSQL) - -%files ODBC -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so - -########## - -%package MySQL -Summary: MySQL drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description MySQL -MySQL driver for TQt 3's SQL classes (QSQL) - -%files MySQL -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so - -########## - -%package PostgreSQL -Summary: PostgreSQL drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description PostgreSQL -PostgreSQL driver for TQt 3's SQL classes (QSQL) - -%files PostgreSQL -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so - -########## - -%package sqlite -Summary: sqlite drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description sqlite -sqlite driver for TQt 3's SQL classes (QSQL) - -%files sqlite -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so - -########## - -%if %{?with_ibase} -%package ibase -Summary: ibase drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description ibase -ibase driver for TQt 3's SQL classes (QSQL) - -%files ibase -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so -%endif - -########## - -%package designer -Summary: In3erface designer (IDE) for the Qt 3 toolkit -Group: Development/Tools -Requires: %{name}-devel = %{version}-%{release} - -%description designer -The %{name}-designer package contains an User Interface designer tool -for the TQt 3 toolkit. - -%files designer -%defattr(-,root,root,-) -%{tde_bindir}/tqdesigner -%{tde_datadir}/tqt3/templates/ - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch1 -p1 -b .sharedlibs -%patch2 -p1 -b .ftbfs - -%build -unset QTDIR QTINC QTLIB -export QTDIR=$(pwd) -export PATH=${QTDIR}/stripbin:${QTDIR}/bin:$PATH -export MANPATH=${QTDIR}/doc/man:$MANPATH -export LD_LIBRARY_PATH=${QTDIR}/lib:$LD_LIBRARY_PATH - -# Checks for supplementary include dir -INCDIRS="" -for d in \ - /usr/include/fontconfig \ - /usr/include/pgsql/server \ - /usr/include/postgresql/server \ - /usr/include/Xft2 \ - /usr/include/Xft2/X11/Xft \ - /usr/include/mysql \ - /usr/include/libpng15 \ -; 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 "%{tde_prefix}" \ - -libdir "%{tde_libdir}" \ - -sysconfdir "%{_sysconfdir}/tqt3" \ - -datadir "%{tde_datadir}/tqt3" \ - -headerdir "%{tde_includedir}/tqt3" \ - -docdir "%{tde_datadir}/tqt3/doc" \ - -plugindir "%{tde_libdir}/tqt3/plugins" \ - -translationdir "%{tde_datadir}/tqt3/translations" \ - \ - -thread \ - -shared \ - -fast \ - -no-exceptions \ -%if "%{_lib}" == "lib64" - -platform linux-g++-64 \ -%else - -platform linux-g++ \ -%endif - \ - -nis \ - -no-pch \ - -cups \ - -stl \ - -ipv6 \ - \ - -sm \ - -xshape \ - -xinerama \ - -xcursor \ - -xrandr \ - -xrender \ - -xft \ - -tablet \ - -xkb \ - \ - -system-zlib \ - -system-libpng \ - -system-libmng \ - -system-libjpeg \ - -system-nas-sound \ - \ - -enable-opengl \ - -dlopen-opengl \ - \ - -qt-gif \ - -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 \ - \ - -lfontconfig \ - -inputmethod \ - -glibmainloop - - -# Fix bad headers -rm -rf include/ntqinputcontext.h include/ntqinputcontextfactory.h include/ntqinputcontextplugin.h -ln -s ../src/kernel/ntqinputcontext.h include/ntqinputcontext.h -ln -s ../src/inputmethod/ntqinputcontextfactory.h include/ntqinputcontextfactory.h -ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h - -# proceed -#%__make %{?_smp_mflags} symlinks src-qmake src-moc -%__make %{?_smp_mflags} sub-src sub-plugins sub-tools - -# build conv2ui -%__make -C tools/designer/tools/conv2ui - -# build qvfb -%__make -C tools/qvfb - -# fix .prl files -%__sed -i lib/*.prl -e "s|${QTDIR}|%{tde_datadir}/tqt3|g" - -# fix QTDIR in 'qmake.conf' -%__sed -i mkspecs/*/qmake.conf -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = \$(QTDIR)/include/tqt3|" - - -%install -%__rm -rf %{buildroot} - -%__make -C src INSTALL_ROOT=%{?buildroot} install_target -%__make INSTALL_ROOT=%{?buildroot} install -%__make INSTALL_ROOT=%{?buildroot} plugins-install - -%__install -m755 bin/qtrename140 %{?buildroot}%{_bindir} -%__install -m755 bin/qt20fix %{?buildroot}%{_bindir} -%__install -m755 bin/findtr %{?buildroot}%{_bindir} - -# install conv2ui -%__install -m755 bin/conv2ui %{?buildroot}%{_bindir}/conv2ui - -# install qvfb -%__install -m755 tools/qvfb/qvfb %{?buildroot}%{_bindir}/qvfb - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Feb 13 2012 Francois Andriot - 14.0.0-1 -- Initial build for TDE R14.0.0 -- cgit v1.2.1