1 Star 0 Fork 12

gaogao/libical

forked from src-openEuler/libical 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libical.spec 3.00 KB
一键复制 编辑 原始数据 按行查看 历史
yixiangzhike 提交于 2020-07-22 11:44 . update to 3.0.8
Name: libical
Version: 3.0.8
Release: 1
Summary: An Open Source implementation of the iCalendar protocols and protocol data formats.
License: LGPLv2 or MPLv2.0
URL: https://libical.github.io/libical/
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++ cmake gtk-doc perl-interpreter vala pkgconfig
BuildRequires: python3 python3-pip python3-gobject libxslt
BuildRequires: pkgconfig(icu-uc) pkgconfig(gobject-2.0) pkgconfig(gobject-introspection-1.0) pkgconfig(libxml-2.0) pkgconfig(icu-i18n)
Requires: tzdata
Provides: libical-glib = %{version}-%{release}
Obsoletes: libical-glib < %{version}-%{release}
Patch0: libical-bugfix-timeout-found-by-fuzzer.patch
%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: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Provides: libical-glib-doc = %{version}-%{release}
Provides: libical-glib-devel = %{version}-%{release}
Obsoletes: libical-glib-doc < %{version}-%{release}
Obsoletes: libical-glib-devel < %{version}-%{release}
%description devel
Contains libraries and header files for libical.
%prep
%autosetup -n %{name}-%{version} -p1
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} .. \
-DUSE_INTEROPERABLE_VTIMEZONES:BOOL=true \
-DICAL_ALLOW_EMPTY_PROPERTIES:BOOL=true \
-DGOBJECT_INTROSPECTION:BOOL=true \
-DICAL_GLIB:BOOL=true \
-DICAL_GLIB_VAPI:BOOL=true \
-DSHARED_ONLY:BOOL=true
popd
%make_build -j1 -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%check
make test ARGS="-V" -C %{_target_platform}
%ldconfig_post
%ldconfig_postun
%files
%doc ReadMe.txt THANKS
%license LICENSE
%{_libdir}/*.so.3*
%{_libdir}/girepository-1.0/*.typelib
%{_datadir}/gir-1.0/*.gir
%files devel
%doc doc/UsingLibical.txt
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/cmake/LibIcal/
%{_includedir}/libical/
%{_includedir}/libical-glib/
%{_datadir}/vala/vapi/libical-glib.vapi
%{_datadir}/gtk-doc/html/%{name}-glib
%changelog
* Wed Jul 22 2020 zhangxingliang <zhangxingliang3@huawei.com> - 3.0.8-1
- Type:update
- Id:NA
- SUG:NA
- DESC:update to 3.0.8
* Sun Jun 28 2020 hanzhijun <hanzhijun1@huawei.com> - 3.0.4-3
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix build failed
* Tue Mar 10 2020 songnannan <songnannan2@huawei.com> - 3.0.4-2
- bugfix in oss-fuzz
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.0.4-1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:updtae to 3.0.4
* Thu Dec 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.0.3-9
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:add require tzdata
* Sat Sep 14 2019 chenzhenyu <chenzhenyu13@huawei.com> - 3.0.3-8
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gaogao321/libical.git
git@gitee.com:gaogao321/libical.git
gaogao321
libical
libical
master

搜索帮助