Accepting request 64007 from home:gberh:branches:devel:libraries:c_c++

looks good.. reviewed

OBS-URL: https://build.opensuse.org/request/show/64007
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libical?expand=0&rev=11
This commit is contained in:
Suman Manjunath
2011-03-12 21:53:21 +00:00
committed by Git OBS Bridge
parent 808974206b
commit 2ebb3b2bd4
7 changed files with 229 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package libical (Version 0.44)
# spec file for package libical (Version 0.46)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,20 +15,23 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libical
BuildRequires: db-devel python-devel
BuildRequires: db-devel pkg-config python-devel
Url: http://sourceforge.net/projects/freeassociation/
License: LGPL v2.1 or later ; MPL ..
License: LGPLv2 or MPLv1.1
Group: Development/Libraries/C and C++
AutoReqProv: on
Version: 0.44
Release: 2
Version: 0.46
Release: 3
Summary: An Implementation of Basic iCAL Protocols
Source: libical-%{version}.tar.bz2
Source2: baselibs.conf
# libical-0.46-fix-race.patch gber@opensuse.org -- Fixes a race in populating builtin timezone components (from upstream svn)
Patch0: libical-0.46-fix-race.patch
# libical-0.46-fix-fatal-error-macro-usage.patch sf#3140405 gber@opensuse.org -- Replace broken ICAL_ERRORS_ARE_FATAL preprocessor conditions with the correct check for the macros value
Patch1: libical-0.46-fix-fatal-error-macro-usage.patch
# libical-0.46-fix-endless-loop.patch sf#3177380 gber@opensuse.org -- Fixes endless loop in recurrence calculation
Patch2: libical-0.46-fix-endless-loop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libical0 = %{version}
@@ -38,19 +41,12 @@ 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 <eric@softwarestudio.org>
%package -n libical0
License: MPL ..
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
@@ -58,18 +54,11 @@ 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 <eric@softwarestudio.org>
%package -n libical-devel
License: MPL ..
Summary: An implementation of basic iCAL protocols
Group: Development/Libraries/C and C++
Requires: libical = %{version}
AutoReqProv: on
%description -n libical-devel
Libical is an Open Source implementation of the IETF's iCalendar
@@ -77,12 +66,6 @@ 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 <eric@softwarestudio.org>
%package -n libical-doc
License: MPL ..
Summary: An Implementation of Basic iCAL Protocols
@@ -95,17 +78,15 @@ 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 <eric@softwarestudio.org>
%prep
%setup
%setup -q
%patch0 -p2
%patch1 -p2
%patch2 -p2
%build
#autoreconf -f -i
# triger autoreconf since the 0.46 tarball is missing autotools bootstrap files
autoreconf -f -i
%{configure} \
--with-bdb4 \
--with-bdb4-dir=%{_prefix} \