diff options
Diffstat (limited to 'redhat/dependencies/dbus-1-tqt')
3 files changed, 22 insertions, 245 deletions
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 a8692ce38..cc19f5ed6 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 @@ -15,9 +15,15 @@ # Please submit bugfixes or comments via http:/www.trinitydesktop.org/ # -# TDE specific building variables +# TDE variables %define tde_version 14.0.0 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libdbus %{_lib}dbus +%else +%define libdbus libdbus +%endif + Name: trinity-dbus-1-tqt Epoch: 2 @@ -36,13 +42,13 @@ License: GPLv2+ #Vendor: Trinity Project #Packager: Francois Andriot <[email protected]> -Prefix: %{tde_prefix} +Prefix: /usr BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz BuildRequires: libtqt3-mt-devel >= 3.5.0 -BuildRequires: libtqt4-devel >= 1:4.2.0 +BuildRequires: libtqt4-devel >= 2:4.2.0 BuildRequires: cmake >= 2.8 BuildRequires: gcc-c++ @@ -66,14 +72,15 @@ See the dbus description for more information about D-BUS in general. ########### -%package -n libdbus-1-tqt0 +%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 +%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. @@ -82,28 +89,29 @@ 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 +%post -n %{libdbus}-1-tqt0 /sbin/ldconfig || : -%postun -n libdbus-1-tqt0 +%postun -n %{libdbus}-1-tqt0 /sbin/ldconfig || : -%files -n libdbus-1-tqt0 +%files -n %{libdbus}-1-tqt0 %defattr(-,root,root,-) %{_libdir}/libdbus-1-tqt.so.0 %{_libdir}/libdbus-1-tqt.so.0.0.0 ########## -%package -n libdbus-1-tqt0-devel +%package -n %{libdbus}-1-tqt-devel Summary: dbus bindings for the Trinity Qt [TQt] interface (Development Files) Group: Development/Libraries/C and C++ -Requires: libdbus-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release} +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} -%description -n libdbus-1-tqt0-devel +%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. @@ -112,13 +120,13 @@ 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-devel +%post -n %{libdbus}-1-tqt-devel /sbin/ldconfig || : -%postun -n libdbus-1-tqt0-devel +%postun -n %{libdbus}-1-tqt-devel /sbin/ldconfig || : -%files -n libdbus-1-tqt0-devel +%files -n %{libdbus}-1-tqt-devel %defattr(-,root,root,-) %{_bindir}/dbusxml2qt3 %{_includedir}/*.h diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.1.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.1.spec deleted file mode 100644 index cf0f70911..000000000 --- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.1.spec +++ /dev/null @@ -1,115 +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} - -Name: trinity-dbus-1-tqt -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: Dbus TQT Interface -Group: System Environment/Libraries - -Obsoletes: dbus-1-tqt < %{version}-%{release} -Provides: dbus-1-tqt = %{version}-%{release} - -Vendor: Trinity Project -Packager: Francois Andriot <[email protected]> - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: dbus-1-tqt-3.5.13.1.tar.gz - -BuildRequires: gcc-c++ -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif -BuildRequires: trinity-tqtinterface-devel >= %{version} - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -BuildRequires: qt3-devel -Requires: qt3 - - -%description -Dbus TQT Interface - - -%package devel -Requires: %{name} -Summary: %{name} - Development files -Group: Development/Libraries - -Obsoletes: dbus-1-tqt-devel < %{version}-%{release} -Provides: dbus-1-tqt-devel = %{version}-%{release} - -%description devel -Development files for %{name} - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n dbus-1-tqt-3.5.13.1 - -%build -unset QTDIR || : ; . /etc/profile.d/qt?.sh -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%clean -%__rm -rf %{?buildroot} - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -%files -%{tde_bindir}/dbusxml2qt3 -%{tde_libdir}/libdbus-1-tqt.so.0 -%{tde_libdir}/libdbus-1-tqt.so.0.0.0 - -%files devel -%{tde_includedir}/*.h -%{tde_libdir}/libdbus-1-tqt.so -%{tde_libdir}/libdbus-1-tqt.la -%{tde_libdir}/pkgconfig/*.pc - -%changelog -* Tue Sep 11 2012 Francois Andriot <[email protected]> - 3.5.13.1-1 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.spec deleted file mode 100644 index 5e3e98d18..000000000 --- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.spec +++ /dev/null @@ -1,116 +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} - -Name: trinity-dbus-1-tqt -Version: 3.5.13 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: Dbus TQT Interface -Group: System Environment/Libraries - -Obsoletes: dbus-1-tqt < %{version}-%{release} -Provides: dbus-1-tqt = %{version}-%{release} - -Vendor: Trinity Project -Packager: Francois Andriot <[email protected]> - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: dbus-1-tqt-3.5.13.tar.gz - -BuildRequires: gcc-c++ -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif -BuildRequires: tqtinterface-devel >= 3.5.13 - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -BuildRequires: qt3-devel -Requires: qt3 - - -%description -Dbus TQT Interface - - -%package devel -Requires: %{name} -Summary: %{name} - Development files -Group: Development/Libraries - -Obsoletes: dbus-1-tqt-devel < %{version}-%{release} -Provides: dbus-1-tqt-devel = %{version}-%{release} - -%description devel -Development files for %{name} - -%if 0%{?suse_version} -%debug_package -%endif - - -%prep -%setup -q -n dependencies/dbus-1-tqt - -%build -unset QTDIR || : ; . /etc/profile.d/qt?.sh -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%clean -%__rm -rf %{?buildroot} - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -%files -%{tde_bindir}/dbusxml2qt3 -%{tde_libdir}/libdbus-1-tqt.so.0 -%{tde_libdir}/libdbus-1-tqt.so.0.0.0 - -%files devel -%{tde_includedir}/*.h -%{tde_libdir}/libdbus-1-tqt.so -%{tde_libdir}/libdbus-1-tqt.la -%{tde_libdir}/pkgconfig/*.pc - -%changelog -* Tue Nov 11 2011 Francois Andriot <[email protected]> - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5, Fedora 15 and Fedora 16 - |