Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Staging:C
libical
libical.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libical.spec of Package libical
# # spec file for package libical # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libical Version: 1.0 Release: 0 %define sonum 1 Summary: An Implementation of Basic iCAL Protocols License: MPL-1.0 or LGPL-2.1 Group: Development/Libraries/C and C++ Url: http://sourceforge.net/projects/freeassociation/ Source: libical-%{version}.tar.gz Source2: baselibs.conf # PATCH-FIX-UPSTREAM 941609-typo-fix_icaltime_days_in_year.patch cxiong@suse.com -- fix typo in source code. Patch: 941609-typo-fix_icaltime_days_in_year.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 %{name}%{sonum} Summary: An Implementation of Basic iCAL Protocols Group: Development/Libraries/C and C++ Provides: %{name} = %{version} Obsoletes: %{name} < %{version} %description -n %{name}%{sonum} 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: An implementation of basic iCAL protocols Group: Development/Libraries/C and C++ Requires: %{name}%{sonum} = %{version} %description devel 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-static Summary: An implementation of basic iCAL protocols Group: Development/Libraries/C and C++ Requires: %{name}-devel = %{version} %description devel-static 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 doc Summary: An Implementation of Basic iCAL Protocols Group: Development/Libraries/C and C++ Recommends: %{name}%{sonum} = %{version} %description doc 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. %prep %setup -q %patch -p1 %build mkdir build pushd build cmake -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ -DLIB_SUFFIX="$(echo %_lib | cut -b4-)" \ -DCMAKE_C_FLAGS="%{optflags}" \ .. make popd %install pushd build %make_install popd rm examples/CMakeLists.txt rm examples/Makefile.* %post -n %{name}%{sonum} -p /sbin/ldconfig %postun -n %{name}%{sonum} -p /sbin/ldconfig %files -n %{name}%{sonum} %defattr(-,root,root) %doc AUTHORS README COPYING ChangeLog LICENSE NEWS TEST THANKS TODO %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_libdir}/*.so %{_libdir}/pkgconfig/libical.pc %{_includedir}/ical.h %{_includedir}/libical/ %files devel-static %defattr(-,root,root) %{_libdir}/*.a %files doc %defattr(-,root,root) %doc doc/*.txt %doc examples/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor