代码拉取完成,页面将自动刷新
#
# spec file for package lunar-date
#
# Copyright (c) 2020 KYLIN 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/
#
Summary: Chinese Lunar calendar library
Name: lunar-date
Version: 2.9.3
%define _libver 3_0
Release: 5
License: GPL-2.0+
Group: System/I18n/Chinese
Url: http://liblunar.googlecode.com/
Source: https://liblunar.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRequires: gobject-introspection-devel intltool
BuildRequires: meson
BuildRequires: git
BuildRequires: gtk-doc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
%description
Chinese Lunar calendar library
%package -n typelib-1_0-LunarDate-%{_libver}
Summary: Chinese Lunar calendar introspection bindings
Group: System/I18n/Chinese
%description -n typelib-1_0-LunarDate-%{_libver}
Library to support date conversion from/to chinese lunar calendar
%package devel
Summary: Chinese Lunar calendar library development files
Group: Development/Libraries/C and C++
Requires: typelib-1_0-LunarDate-%{_libver} = %{version}
Requires: lunar-date%{?_isa} = %{version}-%{release}
%description devel
Development files for Chinese Lunar calendar library
%package holiday
Summary: Chinese Holiday definition
Group: System/I18n/Chinese
BuildArch: noarch
%description holiday
Holiday definition file for Chinese Lunar calendar library
%prep
%autosetup -S git
%build
%meson -Denable_gtk_doc=true -Dwith_introspection=true -Dwith_vala=false -Denable_tests=true -Dc_args="$CFLAGS -DHAVE_BIND_TEXTDOMAIN_CODESET"
%meson_build
%install
%meson_install
%find_lang %{name}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%{_bindir}/lunar-date
%{_libexecdir}/lunar-date/
%{_libexecdir}/lunar-date/lunar-date-daemon
%{_datadir}/dbus-1/services/org.chinese.Lunar.Date.service
%doc AUTHORS COPYING NEWS
%files -n typelib-1_0-LunarDate-%{_libver}
%defattr(-,root,root,-)
%{_libdir}/girepository-1.0/*.typelib
%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/lunar-date-3.0
%{_includedir}/lunar-date-3.0/%{name}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/%{name}
%changelog
* Wed Apr 12 2023 wangyucheng <wangyucheng@kylinsec.com.cn> - 2.9.3-5
- KYOS-F: fix fake date error & fix description error
* Tue Feb 07 2023 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 2.9.3-4
- KYOS-B: Add the yaml file (#I4ZQLB)
* Tue Feb 07 2023 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 2.9.3-3
- KYOS-B: Delete the git directory in the source package (#I6CNEL)
* Thu Dec 01 2022 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 2.9.3-2
- KYOS-B: Adjust for LANG GB18030 (#I60PNN)
* Fri May 14 2021 longcheng <longcheng@kylinos.com.cn> - 2.9.3-1.9.kb2
- KYOS-B: Add Requires lunar-date for lunar-date-devel (#38372)
* Mon May 10 2021 kpkg <kpkg@kylinos.com.cn> - 2.9.3-1.9.kb1
- rebuild for KY3.4-4
* Thu Jul 02 2020 wangxiaoqing <wangxiaoqing@kylinos.com.cn> 2.9.3
- KYOS-F: liblunar-date, version 2.9.3 Related #27425
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。