# RPM Spec file for mod_ical Name: mod_ical Version: 0.0.8 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) Requires: httpd %if 0%{?is_opensuse} BuildRequires: apache2-devel %else %if 0%{?mgaversion} BuildRequires: apache-devel %else BuildRequires: httpd-devel %endif %endif # https://wiki.mageia.org/en/Underlinking_issues_in_packaging#Problems_introduced_by_--no-undefined %define _disable_ld_no_undefined 1 %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%{?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