# # spec file for package libical (Version 0.42) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libical BuildRequires: db-devel python-devel Url: http://sourceforge.net/projects/freeassociation/ License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Group: Development/Libraries/C and C++ AutoReqProv: on Version: 0.42 Release: 1 Summary: An Implementation of Basic iCAL Protocols Source: libical-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: libical0 = %version %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. Authors: -------- Eric Busboom %package -n libical0 License: MOZILLA PUBLIC LICENSE (MPL/NPL) Summary: An Implementation of Basic iCAL Protocols Group: Development/Libraries/C and C++ Provides: libical = %{version} Obsoletes: libical <= %{version} AutoReqProv: on %description -n libical0 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. Authors: -------- Eric Busboom %package -n libical-devel License: MOZILLA PUBLIC LICENSE (MPL/NPL) Summary: An implementation of basic iCAL protocols Group: Development/Libraries/C and C++ Requires: libical0 = %{version} AutoReqProv: on %description -n libical-devel 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. Authors: -------- Eric Busboom %package -n libical-doc License: MOZILLA PUBLIC LICENSE (MPL/NPL) Summary: An Implementation of Basic iCAL Protocols Group: Development/Libraries/C and C++ Requires: libical = %version %description -n libical-doc 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. Authors: -------- Eric Busboom %prep %setup -q -n libical-%{version} %build autoreconf -f -i CFLAGS="$RPM_OPT_FLAGS" \ CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --prefix=/usr \ --libdir=%{_libdir} \ -with-bdb4-dir=/usr \ --without-builtintz \ --with-bdb4 --enable-shared --disable-static \ --enable-python make %install make install DESTDIR=%{buildroot} rm -rf examples/.deps/ rm -rf examples/.libs rm -rf examples/*.o rm examples/doesnothing rm -rf scripts/Makefile* sed -i -e '1s,.*,#!/usr/bin/perl,' scripts/mkneticali.pl rm -rf doc/Makefile* rm -f $RPM_BUILD_ROOT/%_libdir/lib*.la %post -n libical0 -p /sbin/ldconfig %postun -n libical0 -p /sbin/ldconfig %files -n libical0 %defattr(-,root,root) %doc README AUTHORS ChangeLog NEWS TEST THANKS TODO %{_libdir}/*.so.* %files -n libical-devel %defattr(-,root,root) %{_libdir}/*.so /usr/include/ical.h /usr/include/libical %_libdir/pkgconfig/libical.pc %files -n libical-doc %defattr(-,root,root) %doc doc examples scripts %changelog * Tue Dec 02 2008 dmueller@suse.de - update to 0.42: * Fix for storing inline attachments * Safety fix when formatting date strings * compile / portability fixes * Thu Nov 27 2008 wstephenson@suse.de - Backport from 0.42: * Fix for storing inline attachments * Safety fix when formatting date strings * Wed Oct 15 2008 dmueller@suse.de - update to 0.40: * adopt new memory management semantics from the Evolution fork of libical, essentially every function now has a _r variant as well. * CMake build system in parallel * Crash fixes * Tue Sep 16 2008 dmueller@suse.de - update to 0.33: - Massive merges from KDE PIM's fork of libical * Tue Sep 02 2008 dmueller@suse.de - update to 0.32: - Massive merges from Evolution Data Server and other sources. * Wed May 07 2008 coolo@suse.de - fix rename from libical * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Tue Jan 29 2008 sf@suse.de - update to 0.27 - Merges some patches from KDE and Citadel. - Updates timezone data to tzdata 2007c. - merges the libical forks from KDE, Evolution and SourceForge. - Updates timezone data to tzdata 2005j. - rename library package to libical0 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Sep 26 2005 mls@suse.de - make devel package require base package * Wed Jan 19 2005 sf@suse.de - fix use of uninitialized variable * Mon Mar 22 2004 sf@suse.de - remove some temporary /object files in examples * Wed Mar 17 2004 ro@suse.de - re-apply patch to make it build * Fri Feb 06 2004 adrian@suse.de - update to version 0.24 RC4 * Sat Jan 10 2004 adrian@suse.de - add %%run_ldconfig * Thu Jul 03 2003 ro@suse.de - added unpackaged files * Fri Jan 17 2003 stark@suse.de - update to cvs 20030116 for upcoming Mozilla 1.3 * Wed Dec 11 2002 stark@suse.de - update to cvs 20021211 for Mozilla 1.3a * Thu Oct 17 2002 stark@suse.de - "update" to version 0.23a used and provided by mozilla.org * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Mon Jun 17 2002 meissner@suse.de - rerun auto* tools * Wed Apr 17 2002 rhafer@suse.de - added missing header files to -devel subpackage - moved *.so links to -devel subpackage - uses %%{_libdir} now * Tue Apr 02 2002 sf@suse.de - initial version