Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 74f5cb69f3930e183ce887f632b3e688 > files > 2

libical-0.27-3mdv2008.0.src.rpm

%define major 0
%define libname %mklibname ical %{major}
%define develname %mklibname ical -d

Summary:	An implementation of basic iCAL protocols
Name:		libical
Version:	0.27
Release:	%mkrel 3
License:	LGPLv2+
Group:		System/Libraries
Url:		http://sourceforge.net/projects/freeassociation/
Source:		http://downloads.sourceforge.net/freeassociation/%{name}-%{version}.tar.bz2
BuildRequires:	libdb4.2-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%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.

%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.

%package -n %{develname}
Summary:	Files for developing applications that use libical
Group:		Development/C
Provides:	%{name}-devel = %{version}-%{release}
Requires:	%{libname} = %{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
%configure2_5x \
	--disable-static \
	--enable-reentrant \
	--with-devel \
	--with-bdb4 \
	--with-bdb4-dir=%{prefix}
%make

%install
%makeinstall_std

%post -n %{libname} -p /sbin/ldconfig

%postun -n %{libname} -p /sbin/ldconfig

%files -n %{libname}
%{_libdir}/*.so.%{major}*
%{_datadir}/%{name}

%files -n %{develname}
%doc README TODO ChangeLog NEWS TEST THANKS
%doc doc/UsingLibical*
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*a*


%changelog
* Tue Nov 20 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.27-3mdv2008.0
+ Revision: 110798
- obsolete really ancient libical devel package (with mdk tag ;)

* Tue Nov 20 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.27-2mdv2008.1
+ Revision: 110618
- add more explicit provides on devel package
- import libical