Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37892529
en ru br
ALT Linux repos
S:3.0.16-alt2
5.0: 0.43-alt1
4.1: 0.26-alt3
4.0: 0.26-alt3

Group :: System/Libraries
RPM: libical

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libical
Version: 0.43
Release: alt1

Summary: An implementation of basic iCAL protocols

License: LGPL/MPL
Group: System/Libraries
Url: http://sourceforge.net/projects/freeassociation/

Source: http://ovh.dl.sourceforge.net/sourceforge/freeassociation/%name-%version.tar.gz


# Automatically added by buildreq on Wed Jan 14 2009 (-bi)

BuildRequires: cmake gcc-c++

%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 devel
Summary: Files for developing applications that use libical
Requires: %name = %version-%release
Group: Development/C

%description devel
The header files and libtool library  for
developing applications that use libical.

%prep
%setup

%build
%define _optlevel s
%define lib_suffix %nil
%ifarch x86_64 ppc64
%define lib_suffix 64
%endif
mkdir -p %_target_platform
pushd %_target_platform
cmake .. \
   -DCMAKE_INSTALL_PREFIX:PATH=%prefix \
   -DCMAKE_BUILD_TYPE:STRING=Release \
   -DCMAKE_C_FLAGS_RELEASE:STRING='%optflags' \
   -DCMAKE_CXX_FLAGS_RELEASE:STRING='%optflags' \
   -DLIB_DESTINATION:PATH=%_lib \
   -DLIB_SUFFIX=%lib_suffix
popd
%make -C %_target_platform VERBOSE=1


%install
%make -C %_target_platform DESTDIR=%buildroot install


%files
%doc README TODO ChangeLog NEWS TEST THANKS
%_libdir/*.so.*
#%_datadir/%name

%files devel
%doc doc/UsingLibical*
%_includedir/%name/
%_libdir/*.so
%_pkgconfigdir/*.pc

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin