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