summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-04-09 10:50:39 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-04-09 10:50:39 +0200
commit28ee26436c2d314e2f6d16defd705a78f6fcd17c (patch)
tree3ea1172b1f51fc8b05923353f58944dec622f40b /redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec
parentbbf51c9c3453eaeb9192af27aa797edffe66ff80 (diff)
downloadtde-packaging-28ee26436c2d314e2f6d16defd705a78f6fcd17c.tar.gz
tde-packaging-28ee26436c2d314e2f6d16defd705a78f6fcd17c.zip
RPM Packaging: updates for 3.5.13.2 packages build on OBS
Diffstat (limited to 'redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec')
-rw-r--r--redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec23
1 files changed, 20 insertions, 3 deletions
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 8ecd7f82c..674781e66 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
@@ -29,7 +29,7 @@
Name: trinity-avahi-tqt
Epoch: %{tde_epoch}
Version: 0.6.30
-Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
+Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: Avahi TQt integration library
Group: System/Libraries
URL: http://www.trinitydesktop.org/
@@ -54,9 +54,26 @@ BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
+# GLIB2 support
+BuildRequires: glib2-devel
+
# GETTEXT support
BuildRequires: gettext-devel
+# Xi support
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: libxi-devel
+%endif
+%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
+BuildRequires: libXi-devel
+%endif
+%if 0%{?suse_version} == 1140
+BuildRequires: libXi6-devel
+%endif
+
# DBUS support
%if 0%{?suse_version}
BuildRequires: dbus-1-devel
@@ -70,7 +87,7 @@ BuildRequires: libcap-devel
# AVAHI support
%if 0%{?mgaversion} || 0%{?mdkversion}
-%define avahi_devel %{_lib}avahi-client-devel
+%define avahi_devel libavahi-client-devel
%endif
%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora}
%define avahi_devel avahi-devel
@@ -176,7 +193,7 @@ into a TQt main loop application.
##########
-%if 0%{?pclinuxos}
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif