gspell/gspell.spec
2021-06-15 11:17:22 +08:00

64 lines
1.5 KiB
RPMSpec

Name: gspell
Version: 1.8.4
Release: 1
Summary: Spell-checking library for GTK+
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/gspell
Source0: https://download.gnome.org/sources/%{name}/1.8/%{name}-%{version}.tar.xz
BuildRequires: gettext gobject-introspection-devel pkgconfig(enchant-2) pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 pkgconfig(iso-codes) vala
Requires: glib2 >= 2.44 gtk3 >= 3.20 iso-codes
%description
gspell provides a flexible API to add spell-checking to a GTK application.
%package devel
Summary: Development files for gspell
Requires: %{name} = %{version}-%{release}
Provides: gspell-doc = %{version}-%{release}
Obsoletes: gspell-doc < %{version}-%{release}
%description devel
The gspell-devel package contains libraries and header files for
developing applications that use gspell.
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install
%delete_la
%find_lang gspell-1
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files -f gspell-1.lang
%license COPYING
%{_libdir}/girepository-1.0/
%{_libdir}/libgspell-1.so.2*
%files devel
%{_bindir}/gspell-app1
%{_includedir}/gspell-1/
%{_libdir}/libgspell-1.so
%{_libdir}/pkgconfig/gspell-1.pc
%{_datadir}/gir-1.0/
%{_datadir}/vala/
%{_datadir}/gtk-doc/
%changelog
* Tue Jun 15 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.8.4-1
- Upgrade to 1.8.4
* Fri Nov 22 2019 liujing<liujing144@huawei.com> - 1.8.1-3
- Package init