3 Star 0 Fork 5

src-openEuler/lunar-date

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
lunar-date.spec 3.58 KB
一键复制 编辑 原始数据 按行查看 历史
#
# 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/lunar-date.git
git@gitee.com:src-openeuler/lunar-date.git
src-openeuler
lunar-date
lunar-date
master

搜索帮助