# RPM Spec file for mod_ical Name: mod_ical Version: 1.0.0 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}%{?is_opensuse} %{_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 - 0.0.6-1 - Initial version of the package