forked from pool/lunar-date
Accepting request 770249 from home:hillwood:branches:M17N
- Update version to 2.9.3 * Fix gir * Migrate to meson * Update the date to 2020 * Use gio-2.32+ * Update api version to 3.0 * Update holiday * Support DBus * Use gtest * Fix heavenly stems and earthly branches, and horoscope OBS-URL: https://build.opensuse.org/request/show/770249 OBS-URL: https://build.opensuse.org/package/show/M17N/lunar-date?expand=0&rev=2
This commit is contained in:
parent
09c7b43066
commit
71d5a43508
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7b2a572031cdd7b4ba679cae36f600221139369271c58351fa53498970a4f861
|
|
||||||
size 394161
|
|
3
lunar-date-2.9.3.tar.gz
Normal file
3
lunar-date-2.9.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c620a57dcf0a850bbb59f56b9ef89f3a7b675796ad178addd911d4c6062bf1f5
|
||||||
|
size 98560
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 5 10:47:40 UTC 2020 - Hillwood Yang <hillwood@opensuse.org>
|
||||||
|
|
||||||
|
- Update version to 2.9.3
|
||||||
|
* Fix gir
|
||||||
|
* Migrate to meson
|
||||||
|
* Update the date to 2020
|
||||||
|
* Use gio-2.32+
|
||||||
|
* Update api version to 3.0
|
||||||
|
* Update holiday
|
||||||
|
* Support DBus
|
||||||
|
* Use gtest
|
||||||
|
* Fix heavenly stems and earthly branches, and horoscope
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 5 07:39:41 UTC 2011 - ailin.nemui@gmail.com
|
Thu May 5 07:39:41 UTC 2011 - ailin.nemui@gmail.com
|
||||||
|
|
||||||
|
115
lunar-date.spec
115
lunar-date.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lunar-date
|
# spec file for package lunar-date
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,48 +15,43 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
Summary: Chinese Lunar calendar library
|
%define _libver 3_0
|
||||||
Name: lunar-date
|
%define _libpkg lib%{name}-%{_libver}-1
|
||||||
Version: 2.4.0
|
|
||||||
|
|
||||||
%define _libver 2_0
|
Summary: Chinese Lunar calendar library
|
||||||
%define _libpkg lib%{name}-%{_libver}-0
|
Name: lunar-date
|
||||||
|
Version: 2.9.3
|
||||||
Release: 0
|
Release: 0
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/I18n/Chinese
|
Group: System/I18n/Chinese
|
||||||
Url: http://liblunar.googlecode.com/
|
Url: https://github.com/yetist/lunar-date
|
||||||
Source: https://liblunar.googlecode.com/files/%{name}-%{version}.tar.gz
|
Source: https://github.com/yetist/lunar-date/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: libgnome-devel gobject-introspection-devel intltool
|
BuildRequires: meson >= 0.50.0
|
||||||
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
%if %{defined fedora}
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
BuildRequires: python
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
%endif
|
BuildRequires: pkgconfig(gtk-doc)
|
||||||
|
BuildRequires: pkgconfig(vapigen)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
|
Recommends: %{name}-lang
|
||||||
|
|
||||||
%package -n %{_libpkg}
|
%package -n %{_libpkg}
|
||||||
Summary: Chinese Lunar calendar library
|
Summary: Chinese Lunar calendar library
|
||||||
Group: System/I18n/Chinese
|
Group: System/I18n/Chinese
|
||||||
%if %{defined fedora}
|
|
||||||
%else
|
|
||||||
Recommends: typelib-1_0-LunarDate-%{_libver}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%package -n typelib-1_0-LunarDate-%{_libver}
|
%package -n typelib-1_0-LunarDate-%{_libver}
|
||||||
Summary: Chinese Lunar calendar introspection bindings
|
Summary: Chinese Lunar calendar introspection bindings
|
||||||
Group: System/I18n/Chinese
|
Group: System/I18n/Chinese
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Chinese Lunar calendar library development files
|
Summary: Chinese Lunar calendar library development files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{_libpkg} = %{version}
|
Requires: %{_libpkg} = %{version}
|
||||||
Requires: typelib-1_0-LunarDate-%{_libver} = %{version}
|
Requires: typelib-1_0-LunarDate-%{_libver} = %{version}
|
||||||
|
|
||||||
%package holiday
|
%package doc
|
||||||
Summary: Chinese Holiday definition
|
Summary: Chinese Lunar calendar library Documents
|
||||||
Group: System/I18n/Chinese
|
Group: Documentation/Other
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Library to support date conversion from/to chinese lunar calendar
|
Library to support date conversion from/to chinese lunar calendar
|
||||||
@ -70,49 +65,59 @@ Introspection bindings for Chinese Lunar calendar for use in Gnome Shell
|
|||||||
%description devel
|
%description devel
|
||||||
Development files for Chinese Lunar calendar library
|
Development files for Chinese Lunar calendar library
|
||||||
|
|
||||||
%description holiday
|
%description doc
|
||||||
Holiday definition file for Chinese Lunar calendar library
|
Documents for Chinese Lunar calendar library
|
||||||
|
|
||||||
|
%{lang_package}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%meson -Denable_gtk_doc=true \
|
||||||
%__make
|
-Dwith_introspection=true \
|
||||||
|
-Dwith_vala=true \
|
||||||
|
-Denable_tests=true \
|
||||||
|
%{nil}
|
||||||
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%meson_install
|
||||||
%find_lang %{name}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -n %{_libpkg} -p /sbin/ldconfig
|
%post -n %{_libpkg} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{_libpkg} -p /sbin/ldconfig
|
%postun -n %{_libpkg} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{_libpkg} -f %{name}.lang
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS NEWS README.md
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/lunar-date
|
||||||
|
%{_libexecdir}/%{name}
|
||||||
|
%{_datadir}/dbus-1/services/org.chinese.Lunar.Date.service
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
%files -n %{_libpkg}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%doc AUTHORS COPYING ChangeLog ChangeLog.pre-2-2 NEWS README
|
|
||||||
|
|
||||||
%files -n typelib-1_0-LunarDate-%{_libver}
|
%files -n typelib-1_0-LunarDate-%{_libver}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/girepository-1.0/*.typelib
|
%{_libdir}/girepository-1.0/*.typelib
|
||||||
|
|
||||||
%files holiday
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %{_datadir}/liblunar
|
%{_datadir}/gtk-doc/html/%{name}
|
||||||
%{_datadir}/liblunar/holiday.*_*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %{_includedir}/liblunar-2.0
|
%{_includedir}/%{name}-*
|
||||||
%{_includedir}/liblunar-2.0/%{name}
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.*a
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
|
||||||
%{_datadir}/gir-1.0/*.gir
|
%{_datadir}/gir-1.0/*.gir
|
||||||
%{_datadir}/gtk-doc/html/%{name}
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%dir %{_datadir}/vala/vapi
|
||||||
|
%{_datadir}/vala/vapi/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user