Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > a324cabe5e059b1cbf024f80139e220e > files > 2

libical-0.23-1mdk.src.rpm

%define lib_major	0
%define lib_name	%mklibname ical %{lib_major} 

Summary:     An implementation of basic iCAL protocols
Name: 		libical
Version: 	0.23
Release: 	1mdk
License:	LGPL and MPL
URL: 		http://www.softwarestudio.org/libical/
Source0: 	%{name}-%{version}.tar.bz2
Group: 		System/Libraries
BuildRoot: 	%{_tmppath}/%{name}-root
 

%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 %{lib_name}
Summary: An implementation of basic iCAL protocols	 
Group:	System/Libraries	

%description -n %{lib_name}
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 %{lib_name}-devel
Summary:	Libraries and header files for %{name}
Group:		Development/C
Requires:	%{lib_name} = %{version}-%{release}
Provides:	libical-devel

%description -n %{lib_name}-devel
Libraries and header files for %{name}.


%prep
%setup -q

%build
 
%configure2_5x --enable-python-bindings=no
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT

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

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

%files -n %{lib_name}
%defattr(-,root,root)
%doc AUTHORS ChangeLog INSTALL NEWS README TEST THANKS TODO
%doc doc/UsingLibical.*
%doc examples/*.c
%doc scripts/*.pl
%{_libdir}/lib*.so.*

%files -n %{lib_name}-devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/*a 


%changelog
* Sat Jan 22 2005 Charles A Edwards <eslrahc@mandrake.org> 0.23-1mdk
- first Mdk release