Name: libcalendaring Version: 4.9.2 Release: 0.20160905.git%{?dist} Summary: Library for Calendaring Group: System Environment/Libraries License: LGPLv2+ URL: http://www.kolab.org/about/libcalendaring Source0: libcalendaring-4.9.2.tar.gz Patch0001: 0001-Correct-shebangs.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: cyrus-sasl-devel BuildRequires: gcc-c++ BuildRequires: libical-devel BuildRequires: make %if 0%{?fedora} >= 25 # we need perl for kabc/scripts/makeaddressee BuildRequires: perl %endif %if 0%{?suse_version} BuildRequires: qt-devel %else BuildRequires: qt4-devel %endif %if 0%{?fedora} == 24 # have choice for python-requests-kerberos needed by koji: python2-requests-kerberos python-requests-kerberos BuildRequires: python2-requests-kerberos %endif #Requires: %description Advanced calendaring library for Kolab, based on parts of KDE >= 4.9 %package devel Summary: Development headers Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description devel These are development headers. Don't bother. %prep %setup -q %patch0001 -p1 %build mkdir build pushd build %if 0%{?suse_version} cmake \ %else %cmake \ %endif -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB_INSTALL_DIR=%{_libdir} \ -DQT_NO_DEBUG_OUTPUT=1 \ -DQT_NO_WARNING_OUTPUT=1 \ .. popd %install pushd build make install DESTDIR=%{buildroot} popd %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{_libdir}/libcalendaring-*.so.* %files devel %{_includedir}/calendaring %{_libdir}/libcalendaring*.so %{_libdir}/libcalendaring*.a %changelog * Mon Feb 23 2015 Jeroen van Meeuwen - 4.9.1-1 - New upstream version 4.9.1 * Fri Aug 3 2012 Jeroen van Meeuwen - 4.9.0-1 - New upstream version 4.9.0 * Wed Jul 25 2012 Jeroen van Meeuwen - 4.9-1 - This too is a package