kiran-calendar/kiran-calendar.spec
kylinsecos f243967a8a initialize for kiran-calendar
- 初始化kiran-calendar 包
2021-05-17 17:45:33 +08:00

66 lines
1.4 KiB
RPMSpec

Name: kiran-calendar
Summary: Kiran Desktop Calendar
Version: 1.0.0
%define _libver 3_0
Release: 1.0%{?dist}
License: GPL-2.0+
Group: System/I18n/Chinese
Url: http://liblunar.googlecode.com/
Source: https://liblunar.googlecode.com/files/%{name}-%{version}.tar.gz
Patch0001: 0001-fix-Specify-the-library-file-search-path.patch
BuildRequires: gobject-introspection-devel intltool
BuildRequires: meson
BuildRequires: git
BuildRequires: lunar-date-devel
BuildRequires: gtk3-devel
BuildRequires: mate-panel-devel
BuildRequires: lunar-date
Requires: lunar-date
Requires: gtk3
Requires: mate-panel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
%description
Kiran Desktop Calendar Which Provides Chinese Lunar calendar
%prep
#%autosetup -S git
%autosetup -p1
%build
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post
%postun
%files
%defattr(-,root,root,-)
%{_libexecdir}/kiran-clock-applet
%{_datadir}/dbus-1/services/org.mate.panel.applet.KiranClockAppletFactory.service
%{_datadir}/kiran-calendar
%{_datadir}/locale/zh_CN/LC_MESSAGES/kiran-calendar.mo
%{_datadir}/mate-panel/applets/org.mate.panel.KiranClockApplet.mate-panel-applet
%changelog
* Tue Aug 04 2020 wangxiaoqing <wangxiaoqing@kylinos.com.cn> 1.0.0
- KYOS-F: kiran-calendar, version 1.0.0 Related #27425