-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_dav_displayname.spec.in
42 lines (34 loc) · 1.04 KB
/
mod_dav_displayname.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# RPM Spec file for @PACKAGE_NAME@
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: Apache WebDAV displayname module
License: ASL 2.0
Group: System Environment/Daemons
Source: https://github.com/minfrin/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
Url: https://github.com/minfrin/%{name}
BuildRequires: gcc, pkgconfig(apr-1), pkgconfig(apr-util-1), (httpd-devel or apache-devel or apache2-devel)
Requires: (httpd or apache or apache2)
%if 0%{?is_opensuse}
%define moduledir %{_libdir}/apache2
%else
%define moduledir %{_libdir}/httpd/modules
%endif
%description
The Apache mod_dav_displayname autopopulates the DAV:displayname property with the resource or collection name.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
%files
%if 0%{?sle_version} || 0%{?is_opensuse}
%{_libdir}/apache2/%{name}.so
%else
%{_libdir}/httpd/modules/%{name}.so
%endif
%changelog
* Mon Aug 03 2020 Graham Leggett <minfrin@sharp.fm> - 1.0.0-1
- Initial version of the package