Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046749
en ru br
ALT Linux repos
S:0.6-alt3
5.0: 0.5-alt1
4.1: 0.5-alt1

Group :: System/Servers
RPM: apache2-mod_dnssd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define apache_moduledir %apache2_moduledir

Name: apache2-mod_dnssd
Version: 0.6
Release: alt3

Summary: Apache 2.0 module which adds Zeroconf support via DNS-SD using Avahi.
License: Apache 2.0
Group: System/Servers
Url: http://0pointer.de/lennart/projects/mod_dnssd

Requires: %apache2_name-base >= 2.4.7-alt1
Requires: %apache2_name-mmn = %apache2_mmn
Requires: %apache2_libaprutil_name >= %apache2_libaprutil_evr

Source: %name-%version-%release.tar
Patch0: mod_dnssd-0.6-httpd24.patch
BuildRequires(pre): apache2-devel > 2.2.22-alt15
BuildRequires: libavahi-devel lynx

%description
An Apache 2.0 module which adds Zeroconf support via DNS-SD using Avahi.

%prep
%setup
%patch0 -p1

%build
%autoreconf
%configure --with-apr-config --with-apxs=$(dirname %apache2_apxs)
make

%install
install -pm0644 -D src/.libs/mod_dnssd.so %buildroot/%apache_moduledir/mod_dnssd.so
install -pm0644 -D alt/dnssd.conf %buildroot%apache2_mods_available/dnssd.conf
install -pm0644 -D alt/dnssd.load %buildroot%apache2_mods_available/dnssd.load
sed -i 's, at apache_moduledir at ,%apache_moduledir,' %buildroot%apache2_mods_available/dnssd.load
install -pm0644 -D alt/dnssd.start %buildroot%apache2_mods_start/100-dnssd.conf

# for %%ghost

mkdir -p %buildroot%apache2_mods_enabled/
touch %buildroot%apache2_mods_enabled/dnssd.conf
touch %buildroot%apache2_mods_enabled/dnssd.load

%files
%doc LICENSE README
%apache_moduledir/mod_dnssd.so
%config(noreplace) %apache2_mods_available/*.load
%config(noreplace) %apache2_mods_available/*.conf
%config(noreplace) %apache2_mods_start/*.conf
%ghost %apache2_mods_enabled/*.load
%ghost %apache2_mods_enabled/*.conf

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin