-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod_ical.spec.in
52 lines (44 loc) · 1.19 KB
/
mod_ical.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
42
43
44
45
46
47
48
49
50
51
# RPM Spec file for mod_ical
Name: mod_ical
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: Apache iCal/jCal/xCal filter 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), pkgconfig(libical), pkgconfig(json-c), pkgconfig(libxml-2.0)
%if 0%{?is_opensuse}
Requires: apache2
BuildRequires: apache2-devel
%else
%if 0%{?mgaversion}%{?mdkversion}
Requires: apache
BuildRequires: apache-devel
%else
Requires: httpd
BuildRequires: httpd-devel
%endif
%endif
%description
The Apache mod_ical module provides a set of filters to
filter RFC5545 iCalendar data and convert it to
RFC6321 xCal / RFC7265 jCal.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
%files
%if 0%{?mdkversion}%{?sle_version}%{?suse_version}
%{_libdir}/apache2/mod_ical.so
%else
%{_libdir}/httpd/modules/mod_ical.so
%endif
%doc AUTHORS ChangeLog README.md
%license COPYING
%changelog
* Sun May 22 2016 Graham Leggett <[email protected]> - 0.0.6-1
- Initial version of the package