# # spec file for package libical (Version 0.27) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libical BuildRequires: db-devel python 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.27 Release: 2 Summary: An Implementation of Basic iCAL Protocols Source: libical-%version.tar.bz2 Patch: libical-uninit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %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++ 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: libical0 = %{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} %patch %build autoreconf -f -i CFLAGS="$RPM_OPT_FLAGS" \ CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --prefix=/usr \ --libdir=%{_libdir} \ -with-bdb4-dir=/usr \ --with-bdb4 \ --enable-python make %install make install DESTDIR=%{buildroot} rm -rf examples/.deps/ rm -rf examples/.libs rm -rf examples/*.o rm -rf scripts/Makefile* 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}/*.*a %{_libdir}/*.so /usr/include/*.h %dir /usr/share/libical /usr/share/libical/zoneinfo %files -n libical-doc %defattr(-,root,root) %doc doc examples scripts %changelog * 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 * Tue Sep 27 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