summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec')
-rw-r--r--redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec76
1 files changed, 76 insertions, 0 deletions
diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec
new file mode 100644
index 000000000..faa71a064
--- /dev/null
+++ b/redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec
@@ -0,0 +1,76 @@
+# Always build under "/usr"
+%define _prefix /usr
+
+
+Name: avahi-tqt
+Version: r14
+Release: 1%{?dist}
+License: GPL
+Summary: Avahi TQT Interface
+Group: System Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}.tar.gz
+Patch0: git.patch
+
+BuildRequires: gcc-c++
+BuildRequires: avahi-devel
+BuildRequires: cmake >= 2.8
+BuildRequires: tqt3-devel >= 3.4.0
+BuildRequires: tqtinterface-devel
+Requires: tqt3 >= 3.4.0
+Requires: tqtinterface
+
+%description
+Avahi TQT Interface
+
+
+%package devel
+Requires: %{name}
+Summary: %{name} - Development files
+Group: Development/Libraries
+
+
+%description devel
+Development files for %{name}
+
+
+%prep
+%setup -q -n dependencies/%{name}
+%patch0 -p1
+
+%build
+./autogen.sh
+%configure \
+ --enable-compat-libdns_sd \
+ --disable-mono --disable-monodoc \
+ --disable-gtk3 \
+ --with-systemdsystemunitdir=/lib/systemd/system
+
+
+
+%install
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot}
+
+%clean
+%__rm -rf %{?buildroot}
+
+%files
+%{_libdir}/*.so.*
+
+%files devel
+%{_includedir}/%{name}
+%{_libdir}/*.so
+%{_libdir}/*.la
+%{_libdir}/pkgconfig/*.pc
+%exclude %{_libdir}/libavahi-tqt.a
+
+%changelog
+* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
+- Initial build for TDE R14, using 'tqt3' instead of 'qt3'