libhandy/libhandy.spec

58 lines
1.7 KiB
RPMSpec
Raw Normal View History

2020-11-05 19:25:41 +08:00
Name: libhandy
Version: 1.2.0
2020-11-05 19:25:41 +08:00
Release: 1
Summary: Library with GTK+ widgets for mobile phones
License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libhandy
Source0: https://download.gnome.org/sources/libhandy/1.2/libhandy-%{version}.tar.xz
2020-11-05 19:25:41 +08:00
BuildRequires: gcc gtk-doc meson pkgconfig(gio-2.0) pkgconfig(gladeui-2.0) pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0) pkgconfig(gobject-introspection-1.0) pkgconfig(gtk+-3.0)
BuildRequires: vala
%description
libhandy provides GTK+ widgets and GObjects to ease developing
applications for mobile phones.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -n libhandy-%{version}
2020-11-05 19:25:41 +08:00
%build
%meson -Dgtk_doc=true -Dexamples=false
%meson_build
%install
%meson_install
%find_lang libhandy libhandy.lang
%files -f libhandy.lang
2020-11-05 19:25:41 +08:00
%license COPYING
%doc README.md
%{_libdir}/girepository-1.0/
%{_libdir}/libhandy-1.so.0
2020-11-05 19:25:41 +08:00
%files devel
%{_includedir}/libhandy-1/
2020-11-05 19:25:41 +08:00
%{_libdir}/glade/
%{_libdir}/libhandy-1.so
%{_libdir}/pkgconfig/libhandy-1.pc
2020-11-05 19:25:41 +08:00
%{_datadir}/gir-1.0/
%{_datadir}/glade/
%{_datadir}/gtk-doc/
%{_datadir}/vala/
%changelog
* Fri May 28 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.2.0-1
- Upgrade to 1.2.0
- Update Version, URL, Source0. delete Patch0. update stage 'prep'
- Add 'find_lang', update stage 'files'
2020-11-05 19:25:41 +08:00
* Thu Nov 5 2020 Liu wei bo <liuweibo10@huawei.com> - 0.0.13-1
- package init