File apache2-mod_dnssd.spec of Package apache2-mod_dnssd

# spec file for package apache2-mod_dnssd (Version 0.6)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
# 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

Name:           apache2-mod_dnssd
%define _name   mod_dnssd
Summary:        Apache2 module for Zeroconf support via DNS-SD
Version:        0.6
Release:        3
Source:         %{_name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE apache2-mod_dnssd-apxs2-prefork.patch
Patch0:         apache2-mod_dnssd-apxs2-prefork.patch
License:        The Apache Software License
Group:          Productivity/Networking/Web/Servers
BuildRequires:  apache2-devel
BuildRequires:  libapr1-devel
BuildRequires:  libavahi-devel
BuildRequires:  pkg-config
Supplements:    packageand(apache2-prefork:gnome-user-share)
Supplements:    packageand(apache2-worker:gnome-user-share)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define apxs /usr/sbin/apxs2
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)

mod_dnssd is an Apache HTTPD module which adds Zeroconf support via
DNS-SD using Avahi.

    Lennart Poettering

%setup -q -n %{_name}-%{version}
%patch0 -p1

%configure \
%__make %{?jobs:-j%jobs}

# make install can't work, as apxs -i apparently does not like redirection
mkdir -p %{buildroot}/%{apache_libexecdir}
cp -p src/.libs/%{_name}.so %{buildroot}/%{apache_libexecdir}

rm -rf %{buildroot}

%dir %{apache_libexecdir}

* Tue May 19 2009
- Add Supplements for gnome-user-share and
  {apache2-prefork,apache2-worker} since gnome-user-share requires
  this apache module to have webdav file sharing.
* Tue May 19 2009
- Cleanup of the specfile.
- --disable-lynx to remove the lynx BuildRequires.
* Tue May 12 2009
-  Initial package during Community Week 1
openSUSE Build Service is sponsored by