diff options
Diffstat (limited to 'redhat/dependencies')
18 files changed, 699 insertions, 830 deletions
diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec index cee5c0bae..59a9086d4 100644 --- a/redhat/dependencies/arts/arts-14.0.0.spec +++ b/redhat/dependencies/arts/arts-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package arts +# spec file for package arts (version R14.0.0) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -20,8 +20,9 @@ # Having KDE libraries may cause FTBFS here ! # TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 -%define tde_pkg tdeaddons +%define tde_pkg arts %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share @@ -39,10 +40,10 @@ %endif -Name: trinity-arts -Epoch: 2 +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} Version: 1.5.10 -Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Summary: ARTS (analog realtime synthesizer) - the TDE sound system Group: System Environment/Daemons URL: http://www.trinitydesktop.org/ @@ -61,7 +62,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -BuildRequires: libtqt4-devel >= 2:4.2.0 +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 BuildRequires: trinity-filesystem >= %{tde_version} Requires: trinity-filesystem >= %{tde_version} @@ -80,7 +81,7 @@ BuildRequires: libvorbis-devel BuildRequires: esound-devel # JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?with_jack} %define with_jack 1 %if 0%{?mgaversion} || 0%{?mdkversion} %define jack_devel %{_lib}jack-devel @@ -128,7 +129,7 @@ BuildRequires: %{mad_devel} %define with_pulseaudio 1 %endif -Requires: libtqt4 >= 2:4.2.0 +Requires: libtqt4 >= %{tde_epoch}:4.2.0 Requires: audiofile %if "%{?tde_prefix}" == "/usr" diff --git a/redhat/dependencies/arts/arts-3.5.13.2-pkgconfig_requires.patch b/redhat/dependencies/arts/arts-3.5.13.2-pkgconfig_requires.patch deleted file mode 100644 index c8dc7931e..000000000 --- a/redhat/dependencies/arts/arts-3.5.13.2-pkgconfig_requires.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c122548..ad4f028 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -226,6 +226,34 @@ configure_file( config.h.cmake config.h @ONLY ) - - ##### write pkgconfig file ###################### - -+set( PC_LIB_REQUIRE "" ) -+if( WITH_ALSA ) -+ list( APPEND PC_LIB_REQUIRE "alsa" ) -+endif( WITH_ALSA ) -+if( WITH_AUDIOFILE ) -+ list( APPEND PC_LIB_REQUIRE "audiofile" ) -+endif( WITH_AUDIOFILE ) -+if( WITH_VORBIS ) -+ list( APPEND PC_LIB_REQUIRE "vorbis" ) -+ list( APPEND PC_LIB_REQUIRE "vorbisfile" ) -+endif( WITH_VORBIS ) -+if( WITH_MAD ) -+ list( APPEND PC_LIB_REQUIRE "mad" ) -+endif( WITH_MAD ) -+if( WITH_ESOUND ) -+ list( APPEND PC_LIB_REQUIRE "esound" ) -+endif( WITH_ESOUND ) -+if( WITH_JACK ) -+ list( APPEND PC_LIB_REQUIRE "jack" ) -+endif( WITH_JACK ) -+ -+list( LENGTH PC_LIB_REQUIRE PC_LIB_REQUIRES_FOUND ) -+if( PC_LIB_REQUIRES_FOUND GREATER 0 ) -+ string( REPLACE ";" " " PC_LIB_REQUIRES "Requires: ${PC_LIB_REQUIRE}" ) -+else( ) -+ set( PC_LIB_REQUIRES "" ) -+endif( ) -+ - string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} ) - string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_INCLUDE_DIR ${INCLUDE_INSTALL_DIR} ) - string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_LIB_DIR ${LIB_INSTALL_DIR} ) -diff --git a/arts.pc.cmake b/arts.pc.cmake -index 2c26a41..77332d2 100644 ---- a/arts.pc.cmake -+++ b/arts.pc.cmake -@@ -8,3 +8,4 @@ Description: Soundserver for the Trinity Desktop Environment (TDE) - Version: @ARTS_VERSION@ - Libs: -L${libdir} - Cflags: -I${includedir} -+@PC_LIB_REQUIRES@ diff --git a/redhat/dependencies/arts/arts-3.5.13.2.spec b/redhat/dependencies/arts/arts-3.5.13.2.spec index 5a1d676e0..9becd9c53 100644 --- a/redhat/dependencies/arts/arts-3.5.13.2.spec +++ b/redhat/dependencies/arts/arts-3.5.13.2.spec @@ -1,41 +1,75 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - +# +# spec file for package arts (version 3.5.13-SRU) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 1 %define tde_version 3.5.13.2 - +%define tde_pkg arts +%define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde %define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# 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 _docdir %{tde_datadir}/doc -Name: trinity-arts -Epoch: 1 +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} Version: 1.5.10 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the TDE sound system +Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} +Summary: ARTS (analog realtime synthesizer) - the TDE sound system Group: System Environment/Daemons - -Vendor: Trinity Project URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot <francois.andriot@free.fr> + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot <francois.andriot@free.fr> Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: kcmartsrc-pulseaudio -Patch1: arts-3.5.13.2-pkgconfig_requires.patch +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 +BuildRequires: trinity-filesystem >= %{tde_version} +Requires: trinity-filesystem >= %{tde_version} BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + BuildRequires: audiofile-devel BuildRequires: alsa-lib-devel BuildRequires: glib2-devel @@ -47,18 +81,18 @@ BuildRequires: libvorbis-devel BuildRequires: esound-devel # JACK support -# Not on RHEL4 ! -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?with_jack} %define with_jack 1 %if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel +%define jack_devel %{_lib}jack-devel %endif %if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: jack-audio-connection-kit-devel +%define jack_devel jack-audio-connection-kit-devel %endif %if 0%{?suse_version} -BuildRequires: libjack-devel +%define jack_devel libjack-devel %endif +BuildRequires: %{jack_devel} %endif # LIBTOOL @@ -77,13 +111,16 @@ BuildRequires: libtool %endif # MAD support +%ifarch %{ix86} x86_64 %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} %define with_libmad 1 %if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}mad-devel +%define mad_devel %{_lib}mad-devel %endif %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: libmad-devel +%define mad_devel libmad-devel +%endif +BuildRequires: %{mad_devel} %endif %endif @@ -92,7 +129,7 @@ BuildRequires: libmad-devel %define with_pulseaudio 1 %endif -Requires: trinity-tqtinterface >= %{tde_version} +Requires: libtqt4 >= %{tde_epoch}:4.2.0 Requires: audiofile %if "%{?tde_prefix}" == "/usr" @@ -127,7 +164,7 @@ playing a wave file with some effects. %{tde_bindir}/artsrec %{tde_bindir}/artsshell %{tde_bindir}/artswrapper -# The '.la' files are runtime, not devel ! +# The '.la' files are needed for runtime, not devel ! %{tde_libdir}/lib*.la %post @@ -140,14 +177,30 @@ playing a wave file with some effects. %package devel Group: Development/Libraries -Summary: %{name} - Development files +Summary: ARTS (analog realtime synthesizer) - the TDE sound system (Development files) Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %if "%{?tde_prefix}" == "/usr" Obsoletes: arts-devel %endif +Requires: alsa-lib-devel +Requires: audiofile-devel +Requires: libvorbis-devel +Requires: esound-devel +%{?with_libmad:Requires: %{mad_devel}} +%{?with_jack:Requires: %{jack_devel}} + %description devel -Development files for %{name} +arts (analog real-time synthesizer) is the sound system of TDE. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. %files devel %defattr(-,root,root,-) @@ -173,11 +226,12 @@ Development files for %{name} %package config-pulseaudio Group: System Environment/Daemons -Summary: %{name} - Default configuration file for Pulseaudio +Summary: ARTS - Default configuration file for Pulseaudio Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description config-pulseaudio -%{summary} +This package contains a default ARTS configuration file, that is +intended for systems running the Pulseaudio server. %files config-pulseaudio %defattr(-,root,root,-) @@ -187,16 +241,14 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} ########## -%if 0%{?suse_version} || 0%{?pclinuxos} +%if 0%{?pclinuxos} %debug_package %endif ########## - %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch1 -p1 -b .mad %build @@ -216,6 +268,7 @@ fi -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \ \ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ @@ -239,9 +292,18 @@ fi %__rm -rf %{?buildroot} %__make install -C build DESTDIR=%{?buildroot} +%__install -d -m 755 %{?buildroot}%{tde_datadir}/config +%__install -d -m 755 %{?buildroot}%{tde_datadir}/doc + # Installs the Pulseaudio configuration file %if 0%{?with_pulseaudio} -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc +cat <<EOF >"%{?buildroot}%{tde_datadir}/config/kcmartsrc" +[Arts] +Arguments=\s-F 10 -S 4096 -a esd -n -s 1 -m artsmessage -c drkonqi -l 3 -f +NetworkTransparent=true +SuspendTime=1 +EOF +chmod 644 "%{?buildroot}%{tde_datadir}/config/kcmartsrc" %endif @@ -250,6 +312,9 @@ fi %changelog +* Sat Oct 11 2014 Francois Andriot <francois.andriot@free.fr> - 1:1.5.10-2 +- Rebuild. + * Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:1.5.10-1 - Build for Fedora 19 diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec index 58400a76d..f0c4c250a 100644 --- a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec +++ b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package avahi-tqt +# spec file for package avahi-tqt (version R14.0.0) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -16,6 +16,7 @@ # # TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} @@ -26,7 +27,7 @@ Name: trinity-avahi-tqt -Epoch: 2 +Epoch: %{tde_epoch} Version: 0.6.30 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Summary: Avahi TQt integration library @@ -47,7 +48,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -BuildRequires: libtqt4-devel >= 2:4.2.0 +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -64,6 +65,9 @@ BuildRequires: dbus-1-devel BuildRequires: dbus-devel %endif +# PCAP support +BuildRequires: libcap-devel + # AVAHI support %if 0%{?mgaversion} || 0%{?mdkversion} %define avahi_devel %{_lib}avahi-client-devel @@ -141,7 +145,7 @@ Group: Development/Libraries/C and C++ Provides: libavahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{libavahi}-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt4-devel >= 2:4.2.0 +Requires: libtqt4-devel >= %{tde_epoch}:4.2.0 %{?avahi_devel:Requires: %{avahi_devel}} Obsoletes: trinity-avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec index dbfe6c2d7..8ecd7f82c 100644 --- a/redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec +++ b/redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec @@ -1,50 +1,83 @@ -# TDE specific building variables +# +# spec file for package avahi-tqt (version 3.5.13-SRU) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 1 %define tde_version 3.5.13.2 -%define tde_prefix /usr -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libavahi %{_lib}avahi +%else +%define libavahi libavahi +%endif Name: trinity-avahi-tqt -Epoch: 1 +Epoch: %{tde_epoch} Version: 0.6.30 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: Avahi TQT Interface -Group: System Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> +Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} +Summary: Avahi TQt integration library +Group: System/Libraries URL: http://www.trinitydesktop.org/ -Prefix: %{tde_prefix} +%if 0%{?suse_version} +License: LGPL-2.0+ +%else +License: LGPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: /usr BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 + BuildRequires: gcc-c++ -BuildRequires: qt3-devel >= 3.3.8d -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: gettext-devel +BuildRequires: pkgconfig BuildRequires: libtool + +# GETTEXT support +BuildRequires: gettext-devel + +# DBUS support %if 0%{?suse_version} BuildRequires: dbus-1-devel %endif %if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} BuildRequires: dbus-devel %endif + +# PCAP support BuildRequires: libcap-devel -# AVAHI support +# AVAHI support %if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}avahi-client-devel -Provides: %{_lib}avahi-qt3 +%define avahi_devel %{_lib}avahi-client-devel %endif %if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora} -BuildRequires: avahi-devel +%define avahi_devel avahi-devel %endif +%{?avahi_devel:BuildRequires: %{avahi_devel}} -# EXPAT support +# EXPAT support %if 0%{?rhel} || 0%{?fedora} BuildRequires: expat-devel %endif @@ -52,59 +85,135 @@ BuildRequires: expat-devel BuildRequires: libexpat-devel %endif -Requires: qt3 >= 3.3.8d -Requires: trinity-tqtinterface >= %{tde_version} - -Obsoletes: avahi-tqt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: avahi-tqt = %{?epoch:%{epoch}:}%{version}-%{release} +# NAS support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_nas 1 +BuildRequires: nas-devel +%endif +# XT support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: libXt-devel +%endif %description -Avahi TQT Interface - +Avahi is a fully LGPL framework for Multicast DNS Service Discovery. +It allows programs to publish and discover services and hosts +running on a local network with no specific configuration. For +example you can plug into a network and instantly find printers to +print to, files to look at and people to talk to. + . +This library contains the interface to integrate the Avahi libraries +into a TQt main loop application. + +########## + +%package -n %{libavahi}-tqt1 +Summary: Avahi TQt integration library +Group: System/Libraries +Provides: libavahi-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-avahi-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-avahi-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libavahi}-tqt1 +Avahi is a fully LGPL framework for Multicast DNS Service Discovery. +It allows programs to publish and discover services and hosts +running on a local network with no specific configuration. For +example you can plug into a network and instantly find printers to +print to, files to look at and people to talk to. + . +This library contains the interface to integrate the Avahi libraries +into a TQt main loop application. + +%post -n %{libavahi}-tqt1 +/sbin/ldconfig || : -%package devel -Summary: %{name} - Development files -Group: Development/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +%postun -n %{libavahi}-tqt1 +/sbin/ldconfig || : -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: %{_lib}avahi-qt3-devel -%endif +%files -n %{libavahi}-tqt1 +%defattr(-,root,root,-) +%{_libdir}/libavahi-tqt.so.1 +%{_libdir}/libavahi-tqt.so.1.0.0 + +########## + +%package -n %{libavahi}-tqt-devel +Summary: Avahi TQt integration library (Development Files) +Group: Development/Libraries/C and C++ +Provides: libavahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires: %{libavahi}-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt4-devel >= %{tde_epoch}:4.2.0 +%{?avahi_devel:Requires: %{avahi_devel}} + +Obsoletes: trinity-avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libavahi}-tqt-devel +Avahi is a fully LGPL framework for Multicast DNS Service Discovery. +It allows programs to publish and discover services and hosts +running on a local network with no specific configuration. For +example you can plug into a network and instantly find printers to +print to, files to look at and people to talk to. + . +This library contains the interface to integrate the Avahi libraries +into a TQt main loop application. + +%post -n %{libavahi}-tqt-devel +/sbin/ldconfig || : -Obsoletes: avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} +%postun -n %{libavahi}-tqt-devel +/sbin/ldconfig || : -%description devel -Development files for %{name} +%files -n %{libavahi}-tqt-devel +%defattr(-,root,root,-) +%{_includedir}/avahi-tqt/ +%{_libdir}/libavahi-tqt.so +%{_libdir}/libavahi-tqt.la +%{_libdir}/pkgconfig/avahi-tqt.pc +########## -%if 0%{?suse_version} || 0%{?pclinuxos} +%if 0%{?pclinuxos} %debug_package %endif +########## %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +export NOCONFIGURE=1 ./autogen.sh %build -unset QTDIR || : ; . /etc/profile.d/qt3.sh +unset QTDIR QTINC QTLIB +. /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" %configure \ - --exec-prefix=%{tde_prefix} \ - --includedir=%{tde_includedir} \ - --libdir=%{tde_libdir} \ + --exec-prefix=%{_prefix} \ + --includedir=%{_includedir} \ + --libdir=%{_libdir} \ \ --disable-static \ --disable-dependency-tracking \ \ --enable-compat-libdns_sd \ - --with-systemdsystemunitdir=/lib/systemd/system + --with-systemdsystemunitdir=/lib/systemd/system \ +%if 0%{?suse_version} + --with-distro=suse \ +%endif +%if 0%{?fedora} || 0%{?rhel} + --with-distro=fedora \ +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} + --with-distro=mandriva \ +%endif -%__make %{?_smp_mflags} +%__make %{?_smp_mflags} || %__make %install @@ -115,30 +224,10 @@ export PATH="%{tde_bindir}:${PATH}" %clean %__rm -rf %{?buildroot} -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -%files -%defattr(-,root,root,-) -%{tde_libdir}/libavahi-tqt.so.1 -%{tde_libdir}/libavahi-tqt.so.1.0.0 - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/avahi-tqt/ -%{tde_libdir}/libavahi-tqt.so -%{tde_libdir}/libavahi-tqt.la -%{tde_libdir}/pkgconfig/avahi-tqt.pc %changelog -* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 +* Sat Oct 11 2014 Francois Andriot <francois.andriot@free.fr> - 1:0.6.30-2 +- Rename package to 'libavahi-tqt' + +* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1:0.6.30-1 - Initial release for TDE 3.5.13.2 diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec index 067cc3e7c..e20b0c3b1 100644 --- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec +++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package dbus-1-tqt +# spec file for package dbus-1-tqt (version R14.0.0) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -16,6 +16,7 @@ # # TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} @@ -26,7 +27,7 @@ Name: trinity-dbus-1-tqt -Epoch: 2 +Epoch: %{tde_epoch} Version: 0.9 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Summary: dbus bindings for the Trinity Qt [TQt] interface @@ -48,7 +49,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz BuildRequires: libtqt3-mt-devel >= 3.5.0 -BuildRequires: libtqt4-devel >= 2:4.2.0 +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 BuildRequires: cmake >= 2.8 BuildRequires: gcc-c++ @@ -167,7 +168,7 @@ fi -DLIB_INSTALL_DIR=%{_libdir} \ .. -%__make %{?_smp_mflags} +%__make %{?_smp_mflags} || %__make %install diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.2.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.2.spec index f89fcf807..ce1fa478c 100644 --- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.2.spec +++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.2.spec @@ -1,89 +1,147 @@ -# TDE specific building variables +# +# spec file for package dbus-1-tqt (version 3.5.13-SRU) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 1 %define tde_version 3.5.13.2 -%define tde_prefix /usr -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libdbus %{_lib}dbus +%else +%define libdbus libdbus +%endif + Name: trinity-dbus-1-tqt -Epoch: 1 +Epoch: %{tde_epoch} Version: 0.9 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: Dbus TQT Interface -Group: System Environment/Libraries +Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} +Summary: dbus bindings for the Trinity Qt [TQt] interface +Group: System/Libraries +URL: http://www.trinitydesktop.org/ -Obsoletes: dbus-1-tqt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: dbus-1-tqt = %{?epoch:%{epoch}:}%{version}-%{release} +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> +#Vendor: Trinity Project +#Packager: Francois Andriot <francois.andriot@free.fr> -Prefix: %{tde_prefix} +Prefix: /usr BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +BuildRequires: qt3-devel >= 3.3.8d +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 + +BuildRequires: cmake >= 2.8 BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# DBUS support %if 0%{?suse_version} BuildRequires: dbus-1-devel %else BuildRequires: dbus-devel %endif -BuildRequires: cmake >= 2.8 -BuildRequires: qt3-devel >= 3.3.8d -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -Requires: qt3 >= 3.3.8d +%description +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. +This package provides bindings for the Trinity Qt TQt interface. -%description -Dbus TQT Interface +See the dbus description for more information about D-BUS in general. + +########### + +%package -n %{libdbus}-1-tqt0 +Summary: dbus bindings for the Trinity Qt [TQt] interface +Group: System/Libraries +Provides: libdbus-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-1-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-1-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libdbus}-1-tqt0 +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. -%post +This package provides bindings for the Trinity Qt TQt interface. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-1-tqt0 /sbin/ldconfig || : -%postun +%postun -n %{libdbus}-1-tqt0 /sbin/ldconfig || : -%files +%files -n %{libdbus}-1-tqt0 %defattr(-,root,root,-) -%{tde_bindir}/dbusxml2qt3 -%{tde_libdir}/libdbus-1-tqt.so.0 -%{tde_libdir}/libdbus-1-tqt.so.0.0.0 +%{_libdir}/libdbus-1-tqt.so.0 +%{_libdir}/libdbus-1-tqt.so.0.0.0 ########## -%package devel -Requires: %{name} -Summary: %{name} - Development files -Group: Development/Libraries +%package -n %{libdbus}-1-tqt-devel +Summary: dbus bindings for the Trinity Qt [TQt] interface (Development Files) +Group: Development/Libraries/C and C++ +Provides: libdbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{libdbus}-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-1-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: dbus-1-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: dbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} +%description -n %{libdbus}-1-tqt-devel +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. -%description devel -Development files for %{name} +This package provides bindings for the Trinity Qt TQt interface. -%post devel +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-1-tqt-devel /sbin/ldconfig || : -%postun devel +%postun -n %{libdbus}-1-tqt-devel /sbin/ldconfig || : -%files devel +%files -n %{libdbus}-1-tqt-devel %defattr(-,root,root,-) -%{tde_includedir}/*.h -%{tde_libdir}/libdbus-1-tqt.so -%{tde_libdir}/libdbus-1-tqt.la -%{tde_libdir}/pkgconfig/*.pc +%{_bindir}/dbusxml2qt3 +%{_includedir}/*.h +%{_libdir}/libdbus-1-tqt.so +%{_libdir}/libdbus-1-tqt.la +%{_libdir}/pkgconfig/*.pc ########## -%if 0%{?suse_version} || 0%{?pclinuxos} +%if 0%{?pclinuxos} %debug_package %endif +########## %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} @@ -91,8 +149,7 @@ Development files for %{name} %build unset QTDIR QTINC QTLIB -. /etc/profile.d/qt?.sh -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +. /etc/profile.d/qt3.sh if ! rpm -E %%cmake|grep -q "cd build"; then %__mkdir_p build @@ -106,12 +163,12 @@ fi -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \ \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DBIN_INSTALL_DIR=%{_bindir} \ + -DINCLUDE_INSTALL_DIR=%{_includedir} \ + -DLIB_INSTALL_DIR=%{_libdir} \ .. -%__make %{?_smp_mflags} +%__make %{?_smp_mflags} || %__make %install @@ -124,6 +181,9 @@ fi %changelog +* Sat Oct 11 2014 Francois Andriot <francois.andriot@free.fr> - 1:0.9-2 +- Rename package to 'libdbus-1-tqt' + * Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:0.9-1 - Build for Fedora 19 diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec index ff27c4a95..fe8c2948e 100644 --- a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec +++ b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package dbus-tqt +# spec file for package dbus-tqt (version R14.0.0) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -16,6 +16,7 @@ # # TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} @@ -26,7 +27,7 @@ Name: trinity-dbus-tqt -Epoch: 2 +Epoch: %{tde_epoch} Version: 0.63 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Summary: Simple inter-process messaging system @@ -47,8 +48,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -BuildRequires: libtqt3-mt-devel >= 3.5.0 -BuildRequires: libtqt4-devel >= 2:4.2.0 +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 BuildRequires: cmake >= 2.8 BuildRequires: gcc-c++ diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.2.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.2.spec index 717d2043d..f61010da4 100644 --- a/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.2.spec +++ b/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.2.spec @@ -1,21 +1,49 @@ -# TDE specific building variables +# +# spec file for package dbus-tqt (version 3.5.13-SRU) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 1 %define tde_version 3.5.13.2 -%define tde_prefix /usr -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libdbus %{_lib}dbus +%else +%define libdbus libdbus +%endif + Name: trinity-dbus-tqt -Epoch: 1 +Epoch: %{tde_epoch} Version: 0.63 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: Dbus TQT Interface -Group: System Environment/Libraries +Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} +Summary: Simple inter-process messaging system +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> +#Vendor: Trinity Project +#Packager: Francois Andriot <francois.andriot@free.fr> -Prefix: %{tde_prefix} +Prefix: /usr BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz @@ -23,68 +51,101 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz # [dbus-tqt] Fix build on RHEL 4 Patch1: dbus-tqt-3.5.13-fix_old_dbus_types.patch +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 + +BuildRequires: cmake >= 2.8 BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# DBUS support %if 0%{?suse_version} BuildRequires: dbus-1-devel %else BuildRequires: dbus-devel %endif -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: cmake >= 2.8 -BuildRequires: qt3-devel >= 3.3.8d -Requires: qt3 >= 3.3.8d +%description +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. -Obsoletes: dbus-tqt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: dbus-tqt = %{?epoch:%{epoch}:}%{version}-%{release} +This package provides the TQt-based shared library for applications using the +Qt interface to D-BUS. +See the dbus description for more information about D-BUS in general. -%description -Dbus TQT Interface +########## + +%package -n %{libdbus}-tqt-1-0 +Summary: Simple inter-process messaging system (TQt-based shared library) +Group: System/Libraries +Provides: libdbus-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libdbus}-tqt-1-0 +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. -%post +This package provides the TQt-based shared library for applications using the +Qt interface to D-BUS. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-tqt-1-0 /sbin/ldconfig || : -%postun +%postun -n %{libdbus}-tqt-1-0 /sbin/ldconfig || : -%files +%files -n %{libdbus}-tqt-1-0 %defattr(-,root,root,-) -%{tde_libdir}/libdbus-tqt-1.so.0 -%{tde_libdir}/libdbus-tqt-1.so.0.0.0 +%{_libdir}/libdbus-tqt-1.so.0 +%{_libdir}/libdbus-tqt-1.so.0.0.0 ########## -%package devel -Requires: %{name} -Summary: %{name} - Development files -Group: Development/Libraries +%package -n %{libdbus}-tqt-1-devel +Summary: Simple inter-process messaging system (TQt interface) +Group: Development/Libraries/C and C++ +Provides: libdbus-tqt-1-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{libdbus}-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} +%description -n %{libdbus}-tqt-1-devel +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. -%description devel -Development files for %{name} +This package provides the TQt-based shared library for applications using the +Qt interface to D-BUS. -%post devel +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-tqt-1-devel /sbin/ldconfig || : -%postun devel +%postun -n %{libdbus}-tqt-1-devel /sbin/ldconfig || : -%files devel +%files -n %{libdbus}-tqt-1-devel %defattr(-,root,root,-) -%{tde_includedir}/dbus-1.0/* -%{tde_libdir}/libdbus-tqt-1.so -%{tde_libdir}/libdbus-tqt-1.la -%{tde_libdir}/pkgconfig/dbus-tqt.pc +%{_includedir}/dbus-1.0/* +%{_libdir}/libdbus-tqt-1.so +%{_libdir}/libdbus-tqt-1.la +%{_libdir}/pkgconfig/dbus-tqt.pc ########## -%if 0%{?suse_version} || 0%{?pclinuxos} +%if 0%{?pclinuxos} %debug_package %endif +########## %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} @@ -96,8 +157,7 @@ Development files for %{name} %build unset QTDIR QTINC QTLIB -. /etc/profile.d/qt?.sh -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +. /etc/profile.d/qt3.sh %if 0%{?rhel} == 4 export CXXFLAGS="-DDBUS_API_SUBJECT_TO_CHANGE ${CXXFLAGS}" @@ -115,8 +175,8 @@ fi -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \ \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DINCLUDE_INSTALL_DIR=%{_includedir} \ + -DLIB_INSTALL_DIR=%{_libdir} \ .. %__make %{?_smp_mflags} @@ -132,6 +192,9 @@ fi %changelog +* Sat Oct 11 2014 Francois Andriot <francois.andriot@free.fr> - 1:0.63-2 +- Rename package to 'libdbus-tqt-1' + * Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1:0.63-1 - Build for Fedora 19 diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec index 002a9574c..edafd991c 100644 --- a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec +++ b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package libart-lgpl +# spec file for package libart-lgpl (version R14.0.0) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -17,6 +17,7 @@ # TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec index b8efae18a..48b6bd825 100644 --- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec +++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tqt3 +# spec file for package tqt3 (version R14.0.0) # # Copyright (c) 2014 Trinity Desktop Environment # diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec index 1f7430170..164552d13 100755 --- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec +++ b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec @@ -1,5 +1,5 @@ # -# spec file for package tqtinterface +# spec file for package tqtinterface (version R14.0.0) # # Copyright (c) 2014 Trinity Desktop Environment # @@ -20,8 +20,9 @@ # Having KDE libraries may cause FTBFS here ! # TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 -%define tde_pkg tdeaddons +%define tde_pkg tqtinterface %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share @@ -32,6 +33,7 @@ %define tde_tdedocdir %{tde_docdir}/tde %define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdelibdir %{tde_libdir}/trinity +%define cmake_modules_dir %{_datadir}/cmake/Modules # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?tde_prefix}" != "/usr" @@ -44,8 +46,8 @@ %define libtqt4 libtqt4 %endif -Name: trinity-tqtinterface -Epoch: 2 +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} Version: 4.2.0 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Summary: The Trinity Qt Interface Libraries @@ -95,6 +97,19 @@ BuildRequires: Mesa-libGL-devel BuildRequires: Mesa-libGLU-devel %endif +# X11 libraries +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xi-devel +%endif +%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libXi-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: libXi6-devel +%endif %description The Trinity Qt Interface is a library that abstracts Qt from Trinity. diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.12-qtinterface-makefile.patch b/redhat/dependencies/tqtinterface/tqtinterface-3.5.12-qtinterface-makefile.patch deleted file mode 100644 index 687aef612..000000000 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.12-qtinterface-makefile.patch +++ /dev/null @@ -1,19 +0,0 @@ -*** tqtinterface/qtinterface/Makefile.am.ORI 2011-09-16 20:05:43.000000000 +0200 ---- tqtinterface/qtinterface/Makefile.am 2011-09-16 20:05:54.000000000 +0200 -*************** -*** 150,156 **** - endif - - install-exec-local: -! test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - cp -Rp "$(srcdir)/tqt-replace" "$(DESTDIR)$(bindir)/" - cp -Rp "$(srcdir)/tqt-replace-stream" "$(DESTDIR)$(bindir)/" - cp -Rp "$(srcdir)/moc-tqt" "$(DESTDIR)$(bindir)/" ---- 150,156 ---- - endif - - install-exec-local: -! test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" - cp -Rp "$(srcdir)/tqt-replace" "$(DESTDIR)$(bindir)/" - cp -Rp "$(srcdir)/tqt-replace-stream" "$(DESTDIR)$(bindir)/" - cp -Rp "$(srcdir)/moc-tqt" "$(DESTDIR)$(bindir)/" diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.12.spec b/redhat/dependencies/tqtinterface/tqtinterface-3.5.12.spec deleted file mode 100755 index edb284609..000000000 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.12.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 9 - -# 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 - -# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. -# whereas newer versions use "qt3", "qt3-devel" ... -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 -%define _qt_suffix 3 -%endif - - -# TQT include files may conflict with QT4 includes, so we move them to a subdirectory. -# Later compiled Trinity products should be aware of that ! -%define _includedir %{_prefix}/include/tqt - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -BuildRequires: qt%{?_qt_suffix}-devel >= 3.3.8b -Requires: qt%{?_qt_suffix} >= 3.3.8b - - -Name: tqtinterface -Version: %{version} -Release: %{release}%{?dist}%{?_variant} -License: GPL -Summary: Trinity QT Interface -Group: System Environment/Libraries - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot <francois.andriot@free.fr> - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: %{name}-%{version}.tar.gz - -Patch0: tqtinterface-3.5.12-qtinterface-makefile.patch - -BuildRequires: gcc-c++ -BuildRequires: libXi-devel -BuildRequires: pth-devel - - -%description -Trinity QT Interface - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} - -%description devel -Development files for %{name} - -%prep -%setup -q -n dependencies/%{name} -%patch0 -p1 - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -CFLAGS=$( pkg-config --libs qt-mt ) -%configure \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-debug --disable-warnings --enable-final - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__mkdir_p %{?buildroot}%{_includedir} -%__make install DESTDIR=%{?buildroot} - -# RHEL 5: add newline at end of include files -%if 0%{?rhel} && 0%{?rhel} <= 5 -for i in %{?buildroot}%{_includedir}/*.h; do - echo "" >>${i} -done -%endif - -%clean -%__rm -rf %{?buildroot} - -%files -%{_bindir}/* -%{_libdir}/*.so.* - -%files devel -%{_includedir} -%{_libdir}/*.so -%{_libdir}/*.la - - -%changelog -* Fri Sep 16 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-9 -- Add support for RHEL 5. - -* Mon Sep 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-8 -- Add "Group" - -* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7 -- Import to GIT -- Removes cmake stuff, build with autotools only - -* Thu Aug 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6 -- Use '/etc/profile.d/qt.sh' to source QT environment - -* Tue Aug 23 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5 -- Add missing BuildRequires - -* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4 -- Correct macro to install under "/opt", if desired - -* Wed Dec 22 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3 -- Re-add '.la' files, needed for kdelibs compilation - -* Sat Dec 18 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2 -- Add cmake support -- Removes '.la' files - -* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 -- Add macro _trinity_prefix to define custom installation prefix (ex: /opt/trinity) -- Move TQT includes into 'tqt' subdirectory to avoid conflict with 'qt-devel' package (from KDE4) - -* Tue Dec 07 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0 -- Initial version - diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13-add_missing_endianness_defines.patch b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13-add_missing_endianness_defines.patch deleted file mode 100644 index 9f4dc4eed..000000000 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13-add_missing_endianness_defines.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- tqtinterface/qtinterface/tqt.h.cmake.orig 2011-10-09 02:40:38.000000000 -0400 -+++ tqtinterface/qtinterface/tqt.h.cmake 2012-05-01 15:10:09.220681454 -0400 -@@ -74,6 +74,11 @@ - #define TQS_OK QS_OK - #define TQTSFUNC QTSFUNC - #define TQ_TYPENAME Q_TYPENAME -+ -+#define TQ_BYTE_ORDER Q_BYTE_ORDER -+#define TQ_LITTLE_ENDIAN Q_LITTLE_ENDIAN -+#define TQ_BIG_ENDIAN Q_BIG_ENDIAN -+ - #define TQT_CHECK_INVALID_MAP_ELEMENT QT_CHECK_INVALID_MAP_ELEMENT - - #define TQT_VERSION QT_VERSION diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.1.spec b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.1.spec deleted file mode 100755 index 0f0111f3d..000000000 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.1.spec +++ /dev/null @@ -1,150 +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 -%define cmake_modules_dir %{tde_prefix}/share/cmake -%else -%define cmake_modules_dir %{_datadir}/cmake/Modules -%endif - -# TQT include files may conflict with QT4 includes, so we move them to a subdirectory. -# Later compiled Trinity products should be aware of that ! -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -Name: trinity-tqtinterface -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: Trinity QT Interface -Group: System Environment/Libraries - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot <francois.andriot@free.fr> - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: tqtinterface-3.5.13.1.tar.gz - -# [tqtinterface] Add missing endian-ness defines [Bug #727] [Commit #458e74a6] -Patch1: tqtinterface-3.5.13-add_missing_endianness_defines.patch - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -BuildRequires: qt3-devel -Requires: qt3 - -BuildRequires: gcc-c++ -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%else -BuildRequires: pth-devel -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -%else -BuildRequires: libXi-devel -%endif -%endif - -Obsoletes: tqtinterface < %{version}-%{release} -Provides: tqtinterface = %{version}-%{release} - - -%description -Trinity QT Interface - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -Requires: qt3-devel - -Obsoletes: tqtinterface-devel < %{version}-%{release} -Provides: tqtinterface-devel = %{version}-%{release} - -%description devel -Development files for %{name} - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n tqtinterface-3.5.13.1 -%patch1 -p1 - -%build -unset QTDIR; . /etc/profile.d/qt3.sh - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -# Note: specifying 'QT_LIBRARY_DIR' allow using QT3 libraries under -# another directory than QT3_PREFIX. (E.g. Mageia 2, Mandriva ...) -# Otherwise, it defaults to ${QTDIR}/lib ! -%cmake \ - -DQT_PREFIX_DIR=${QTDIR} \ - -DQT_VERSION=3 \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir}/tqt \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DQT_LIBRARY_DIR=${QTLIB:-${QTDIR}/%{_lib}} \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__mkdir_p %{?buildroot}%{_includedir} -%__make install DESTDIR=%{?buildroot} -C build - -# RHEL 5: add newline at end of include files to avoid warnings -%if 0%{?rhel} && 0%{?rhel} <= 5 -for i in %{?buildroot}%{tde_includedir}/tqt/*.h; do - echo "" >>${i} -done -%endif - -# Install 'cmake' modules for development use -%__mkdir_p %{?buildroot}%{cmake_modules_dir} -for i in cmake/modules/*.cmake; do - %__install -m 644 $i %{?buildroot}%{cmake_modules_dir} -done - -%clean -%__rm -rf %{?buildroot} - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -%files -%{tde_bindir}/* -%{tde_libdir}/*.so.* - -%files devel -%{tde_includedir}/tqt -%{tde_libdir}/*.so -%{tde_libdir}/*.la -%{tde_libdir}/pkgconfig/*.pc -%{cmake_modules_dir}/*.cmake - - -%changelog -* Tue Sep 11 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1 -- Switch to v3.5.13-sru branch diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.2.spec b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.2.spec index 25e2c0256..bcc92d97d 100755 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.2.spec +++ b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.2.spec @@ -1,37 +1,102 @@ -# TDE specific building variables +# +# spec file for package tqtinterface (version 3.5.13-SRU) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 1 %define tde_version 3.5.13.2 -%define tde_prefix /usr +%define tde_pkg tqtinterface +%define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity %define cmake_modules_dir %{_datadir}/cmake/Modules -Name: trinity-tqtinterface -Version: %{tde_version} -Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: Trinity QT Interface -Group: System Environment/Libraries +# 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 + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqt4 %{_lib}tqt4 +%else +%define libtqt4 libtqt4 +%endif -Vendor: Trinity Project +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 4.2.0 +Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant} +Summary: The Trinity Qt Interface Libraries +Group: System/GUI/Other URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot <francois.andriot@free.fr> -Prefix: %{tde_prefix} +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot <francois.andriot@free.fr> + +Prefix: /usr BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -BuildRequires: cmake >= 2.8 +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: qt3 >= 3.3.8d BuildRequires: qt3-devel >= 3.3.8d -Requires: qt3 >= 3.3.8d +%if 0%{?suse_version} && 0%{?suse_version} < 1300 +BuildRequires: trinity-cmake-macros +%endif + +BuildRequires: cmake >= 2.8 BuildRequires: gcc-c++ +BuildRequires: pkgconfig # PTHREAD support %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} BuildRequires: pth-devel %endif +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: mesaglu-devel +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif + # X11 libraries %if 0%{?rhel} == 4 BuildRequires: xorg-x11-devel @@ -46,78 +111,110 @@ BuildRequires: libXi-devel BuildRequires: libXi6-devel %endif -Obsoletes: tqtinterface < %{version}-%{release} -Provides: tqtinterface = %{version}-%{release} +%description +The Trinity Qt Interface is a library that abstracts Qt from Trinity. +This allows the Trinity code to rapidly port from one version of Qt to another. +This is primarily accomplished by defining old functions in terms of new functions, +although some code has been added for useful functions that are no longer part of Qt. -%description -Trinity QT Interface +########## +%package -n %{libtqt4} +Group: System/GUI/Other +Summary: The Trinity Qt Interface Libraries +Provides: libtqt4 = %{?epoch:%{epoch}:}%{version}-%{release} -%post -/sbin/ldconfig || : +Requires: qt3 >= 3.3.8d -%postun -/sbin/ldconfig || : +%if 0%{?suse_version} && 0%{?suse_version} < 1300 +Requires: trinity-cmake-macros +%endif + +Obsoletes: trinity-tqtinterface < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-tqtinterface = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libtqt4} +The Trinity Qt Interface is a library that abstracts Qt from Trinity. +This allows the Trinity code to rapidly port from one version of Qt to another. +This is primarily accomplished by defining old functions in terms of new functions, +although some code has been added for useful functions that are no longer part of Qt. -%files +%files -n %{libtqt4} %defattr(-,root,root,-) -%{tde_bindir}/convert_qt_tqt1 -%{tde_bindir}/convert_qt_tqt2 -%{tde_bindir}/convert_qt_tqt3 -%{tde_bindir}/dcopidl-tqt -%{tde_bindir}/dcopidl2cpp-tqt -%{tde_bindir}/dcopidlng-tqt -%{tde_bindir}/mcopidl-tqt -%{tde_bindir}/moc-tqt -%{tde_bindir}/tmoc -%{tde_bindir}/tqt-replace -%{tde_bindir}/tqt-replace-stream -%{tde_bindir}/uic-tqt -%{tde_libdir}/libtqassistantclient.so.4 -%{tde_libdir}/libtqassistantclient.so.4.2.0 -%{tde_libdir}/libtqt.so.4 -%{tde_libdir}/libtqt.so.4.2.0 +%{_libdir}/libtqassistantclient.so.4 +%{_libdir}/libtqassistantclient.so.4.2.0 +%{_libdir}/libtqt.so.4 +%{_libdir}/libtqt.so.4.2.0 + +%post -n %{libtqt4} +/sbin/ldconfig || : + +%postun -n %{libtqt4} +/sbin/ldconfig || : ########## -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} +%package -n %{libtqt4}-devel +Group: Development/Libraries/X11 +Summary: The Trinity Qt Interface Libraries (Development Files) +Provides: libtqt4-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires: %{libtqt4} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: qt3-devel >= 3.3.8d -Obsoletes: tqtinterface-devel < %{version}-%{release} -Provides: tqtinterface-devel = %{version}-%{release} +%if 0%{?suse_version} && 0%{?suse_version} < 1300 +Requires: trinity-cmake-macros +%endif + +Obsoletes: trinity-tqtinterface-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-tqtinterface-devel = %{?epoch:%{epoch}:}%{version}-%{release} -%description devel -Development files for %{name} +%description -n %{libtqt4}-devel +The Trinity Qt Interface is a library that abstracts Qt from Trinity. +This allows the Trinity code to rapidly port from one version of Qt to another. +This is primarily accomplished by defining old functions in terms of new functions, +although some code has been added for useful functions that are no longer part of Qt. -%post devel +%post -n %{libtqt4}-devel /sbin/ldconfig || : -%postun devel +%postun -n %{libtqt4}-devel /sbin/ldconfig || : -%files devel +%files -n %{libtqt4}-devel %defattr(-,root,root,-) -%{tde_includedir}/tqt/ -%{tde_libdir}/libtqassistantclient.la -%{tde_libdir}/libtqassistantclient.so -%{tde_libdir}/libtqt.la -%{tde_libdir}/libtqt.so -%{tde_libdir}/pkgconfig/tqt.pc +%{_bindir}/convert_qt_tqt1 +%{_bindir}/convert_qt_tqt2 +%{_bindir}/convert_qt_tqt3 +%{_bindir}/dcopidl-tqt +%{_bindir}/dcopidl2cpp-tqt +%{_bindir}/dcopidlng-tqt +%{_bindir}/mcopidl-tqt +%{_bindir}/moc-tqt +%{_bindir}/tmoc +%{_bindir}/tqt-replace +%{_bindir}/tqt-replace-stream +%{_bindir}/uic-tqt +%{_includedir}/tqt/ +%{_libdir}/libtqassistantclient.la +%{_libdir}/libtqassistantclient.so +%{_libdir}/libtqt.la +%{_libdir}/libtqt.so +%{_libdir}/pkgconfig/tqt.pc %{cmake_modules_dir}/*.cmake ########## -%if 0%{?suse_version} || 0%{?pclinuxos} +%if 0%{?pclinuxos} %debug_package %endif +########## %prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + %build unset QTDIR QTINC QTLIB @@ -128,8 +225,6 @@ if ! rpm -E %%cmake|grep -q "cd build"; then cd build fi -pwd - # Note: specifying 'QT_LIBRARY_DIR' allow using QT3 libraries under # another directory than QT3_PREFIX. (E.g. Mageia 2, Mandriva ...) # Otherwise, it defaults to ${QTDIR}/lib ! @@ -144,43 +239,49 @@ pwd -DQT_VERSION=3 \ -DQT_LIBRARY_DIR="${QTLIB:-${QTDIR}/%{_lib}}" \ \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir}/tqt \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DPKGCONFIG_INSTALL_DIR="%{_libdir}/pkgconfig" \ + -DINCLUDE_INSTALL_DIR=%{_includedir}/tqt \ + -DLIB_INSTALL_DIR=%{_libdir} \ + -DBIN_INSTALL_DIR=%{_bindir} \ + \ + -DCMAKE_LIBRARY_PATH="%{_libdir}" \ + -DCMAKE_INCLUDE_PATH="%{_includedir}" \ \ -DWITH_QT3="ON" \ -DBUILD_ALL="ON" \ -DUSE_QT3="ON" \ .. -%__make %{?_smp_mflags} +%__make %{?_smp_mflags} || %__make %install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build +%__rm -rf "%{?buildroot}" +%__make install DESTDIR="%{?buildroot}" -C build # RHEL 5: add newline at end of include files to avoid warnings %if 0%{?rhel} && 0%{?rhel} <= 5 -for i in %{?buildroot}%{tde_includedir}/tqt/*.h; do +for i in %{?buildroot}%{_includedir}/tqt/*.h; do echo "" >>${i} done %endif # Install 'cmake' modules for development use -%__mkdir_p %{?buildroot}%{cmake_modules_dir} +%__mkdir_p "%{?buildroot}%{cmake_modules_dir}" for i in cmake/modules/*.cmake; do - %__install -m 644 $i %{?buildroot}%{cmake_modules_dir} + %__install -m 644 "$i" "%{?buildroot}%{cmake_modules_dir}" done %clean -%__rm -rf %{?buildroot} +%__rm -rf "%{?buildroot}" %changelog +* Sat Oct 11 2014 Francois Andriot <francois.andriot@free.fr> - 1:4.2.0-3 +- Rename package to 'libtqt4' + * Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2 - Build for Fedora 19 diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec deleted file mode 100755 index 2616720d7..000000000 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec +++ /dev/null @@ -1,161 +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 -%define cmake_modules_dir %{tde_prefix}/share/cmake -%else -%define cmake_modules_dir %{_datadir}/cmake/Modules -%endif - -# TQT include files may conflict with QT4 includes, so we move them to a subdirectory. -# Later compiled Trinity products should be aware of that ! -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -Name: trinity-tqtinterface -Version: 3.5.13 -Release: 3%{?dist}%{?_variant} -License: GPL -Summary: Trinity QT Interface -Group: System Environment/Libraries - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot <francois.andriot@free.fr> - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: tqtinterface-3.5.13.tar.gz - -# [tqtinterface] Add missing endian-ness defines [Bug #727] [Commit #458e74a6] -Patch1: tqtinterface-3.5.13-add_missing_endianness_defines.patch - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -BuildRequires: qt3-devel -Requires: qt3 - -BuildRequires: gcc-c++ -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%else -BuildRequires: pth-devel -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -%else -BuildRequires: libXi-devel -%endif -%endif - -Obsoletes: tqtinterface < %{version}-%{release} -Provides: tqtinterface = %{version}-%{release} - - -%description -Trinity QT Interface - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -Requires: qt3-devel - -Obsoletes: tqtinterface-devel < %{version}-%{release} -Provides: tqtinterface-devel = %{version}-%{release} - -%description devel -Development files for %{name} - -%if 0%{?suse_version} -%debug_package -%endif - - -%prep -%setup -q -n dependencies/tqtinterface -%patch1 -p1 - -%build -unset QTDIR; . /etc/profile.d/qt?.sh - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -# Note: specifying 'QT_LIBRARY_DIR' allow using QT3 libraries under -# another directory than QT3_PREFIX. (E.g. Mageia 2, Mandriva ...) -# Otherwise, it defaults to ${QTDIR}/lib ! -%cmake \ - -DQT_PREFIX_DIR=${QTDIR} \ - -DQT_VERSION=3 \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir}/tqt \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DQT_LIBRARY_DIR=${QTLIB:-${QTDIR}/%{_lib}} \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__mkdir_p %{?buildroot}%{_includedir} -%__make install DESTDIR=%{?buildroot} -C build - -# RHEL 5: add newline at end of include files to avoid warnings -%if 0%{?rhel} && 0%{?rhel} <= 5 -for i in %{?buildroot}%{tde_includedir}/tqt/*.h; do - echo "" >>${i} -done -%endif - -# Install 'cmake' modules for development use -%__mkdir_p %{?buildroot}%{cmake_modules_dir} -for i in cmake/modules/*.cmake; do - %__install -m 644 $i %{?buildroot}%{cmake_modules_dir} -done - -%clean -%__rm -rf %{?buildroot} - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -%files -%{tde_bindir}/* -%{tde_libdir}/*.so.* - -%files devel -%{tde_includedir}/tqt -%{tde_libdir}/*.so -%{tde_libdir}/*.la -%{tde_libdir}/pkgconfig/*.pc -%{cmake_modules_dir}/*.cmake - - -%changelog -* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3 -- Rebuilt for Fedora 17 -- Add missing endian-ness defines [Bug #727] [Commit #458e74a6] - -* Sun Nov 06 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2 -- Add missing Requires - -* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Aug 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 -- Import to GIT -- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) |