Name: libical Version: 0.48 Release: %mkrel 2 Summary: An implementation of basic iCAL protocols License: LGPLv2+ Group: System/Libraries Url: http://sourceforge.net/projects/freeassociation/ Source0: http://downloads.sourceforge.net/freeassociation/%{name}-%{version}.tar.gz BuildRequires: db4-devel BuildRequires: flex BuildRequires: bison Buildrequires: cmake %description Libical is an Open Source implementation of the IETF's iCalendar Calendaring and Scheduling protocols (RFC 2445, 2446, and 2447). It parses iCal components and provides a C API for manipulating the component properties, parameters, and subcomponents. #------------------------------------------------------ %define major 0 %define libname %mklibname ical %{major} %package -n %{libname} Summary: Files for developing applications that use libical Group: System/Libraries %description -n %{libname} Libical is an Open Source implementation of the IETF's iCalendar Calendaring and Scheduling protocols (RFC 2445, 2446, and 2447). It parses iCal components and provides a C API for manipulating the component properties, parameters, and subcomponents. %files -n %{libname} %{_libdir}/*ical.so.%{major}* #------------------------------------------------------ %define major 0 %define libnamess %mklibname icalss %{major} %package -n %{libnamess} Summary: Files for developing applications that use libical Group: System/Libraries %description -n %{libnamess} Libical is an Open Source implementation of the IETF's iCalendar Calendaring and Scheduling protocols (RFC 2445, 2446, and 2447). It parses iCal components and provides a C API for manipulating the component properties, parameters, and subcomponents. %files -n %{libnamess} %{_libdir}/*icalss.so.%{major}* #------------------------------------------------------ %define major 0 %define libnamevcal %mklibname icalvcal %{major} %package -n %{libnamevcal} Summary: Files for developing applications that use libical Group: System/Libraries %description -n %{libnamevcal} Libical is an Open Source implementation of the IETF's iCalendar Calendaring and Scheduling protocols (RFC 2445, 2446, and 2447). It parses iCal components and provides a C API for manipulating the component properties, parameters, and subcomponents. %files -n %{libnamevcal} %{_libdir}/*vcal.so.%{major}* #------------------------------------------------------ %define develname %mklibname ical -d %package -n %{develname} Summary: Files for developing applications that use libical Group: Development/C Provides: %{name}-devel = %{version}-%{release} Requires: %{libname} = %{version}-%{release} Requires: %{libnamess} = %{version}-%{release} Requires: %{libnamevcal} = %{version}-%{release} Obsoletes: %mklibname ical 0 -d %description -n %{develname} The header files and libtool library for developing applications that use libical. #------------------------------------------------------ %prep %setup -q %build %cmake -DICAL_ERRORS_ARE_FATAL=false # Not ready for nproc make %install rm -fr %buildroot %makeinstall_std -C build %files -n %{develname} %doc README TODO ChangeLog NEWS TEST THANKS %doc doc/UsingLibical* %{_includedir}/* %{_libdir}/*.a %{_libdir}/*.so %{_libdir}/pkgconfig/* %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.48-2.mga3 + Revision: 357476 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 03 2012 fwang <fwang> 0.48-1.mga2 + Revision: 189864 - new version 0.48 * Sat Jan 15 2011 mikala <mikala> 0.46-1.mga1 + Revision: 18564 - Drop mdk macros - Remove BuildRoot - imported package libical