diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-02 18:30:36 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-02 18:30:36 +0200 |
commit | bec23ad3d7863468f4285f61aa0ff7b9a68efa7f (patch) | |
tree | 03daa9a0a2afddda89ea1688a5433b3bf8117d8f /redhat/dependencies | |
parent | 18d51ed4d1804bd07f129b22daa31247383570bf (diff) | |
download | tde-packaging-bec23ad3d7863468f4285f61aa0ff7b9a68efa7f.tar.gz tde-packaging-bec23ad3d7863468f4285f61aa0ff7b9a68efa7f.zip |
RPM Packaging: update dbus-tqt
Diffstat (limited to 'redhat/dependencies')
-rw-r--r-- | redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec | 30 | ||||
-rw-r--r-- | redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec | 34 |
2 files changed, 40 insertions, 24 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..69ead7bfa 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 @@ -18,6 +18,12 @@ # TDE specific building variables %define tde_version 14.0.0 +%if 0%{?mdkversion} || 0%{?mdkversion} || 0%{?pclinuxos} +%define libdbus %{_lib}dbus +%else +%define libdbus libdbus +%endif + Name: trinity-dbus-1-tqt Epoch: 2 @@ -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-tqt0-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-tqt0-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-tqt0-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-tqt0-devel /sbin/ldconfig || : -%postun -n libdbus-1-tqt0-devel +%postun -n %{libdbus}-1-tqt0-devel /sbin/ldconfig || : -%files -n libdbus-1-tqt0-devel +%files -n %{libdbus}-1-tqt0-devel %defattr(-,root,root,-) %{_bindir}/dbusxml2qt3 %{_includedir}/*.h 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 a3f7d268f..89908b295 100644 --- a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec +++ b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec @@ -18,6 +18,12 @@ # TDE specific building variables %define tde_version 14.0.0 +%if 0%{?mdkversion} || 0%{?mdkversion} || 0%{?pclinuxos} +%define libdbus %{_lib}dbus +%else +%define libdbus libdbus +%endif + Name: trinity-dbus-tqt Epoch: 2 @@ -67,14 +73,15 @@ See the dbus description for more information about D-BUS in general. ########## -%package -n libdbus-tqt-1-0 -Summary: Simple inter-process messaging system (TQt-based shared library) -Group: System/Libraries +%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 +%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. @@ -84,28 +91,29 @@ Qt interface to D-BUS. See the dbus description for more information about D-BUS in general. -%post -n libdbus-tqt-1-0 +%post -n %{libdbus}-tqt-1-0 /sbin/ldconfig || : -%postun -n libdbus-tqt-1-0 +%postun -n %{libdbus}-tqt-1-0 /sbin/ldconfig || : -%files -n libdbus-tqt-1-0 +%files -n %{libdbus}-tqt-1-0 %defattr(-,root,root,-) %{_libdir}/libdbus-tqt-1.so.0 %{_libdir}/libdbus-tqt-1.so.0.0.0 ########## -%package -n libdbus-tqt-1-0-devel +%package -n %{libdbus}-tqt-1-0-devel Summary: Simple inter-process messaging system (TQt interface) Group: Development/Libraries/C and C++ -Requires: libdbus-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libdbus-tqt-1-0-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} -%description -n libdbus-tqt-1-0-devel +%description -n %{libdbus}-tqt-1-0-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. @@ -115,13 +123,13 @@ Qt interface to D-BUS. See the dbus description for more information about D-BUS in general. -%post -n libdbus-tqt-1-0-devel +%post -n %{libdbus}-tqt-1-0-devel /sbin/ldconfig || : -%postun -n libdbus-tqt-1-0-devel +%postun -n %{libdbus}-tqt-1-0-devel /sbin/ldconfig || : -%files -n libdbus-tqt-1-0-devel +%files -n %{libdbus}-tqt-1-0-devel %defattr(-,root,root,-) %{_includedir}/dbus-1.0/* %{_libdir}/libdbus-tqt-1.so |