commit bf35ca09c112cbe4825207dbb92f9812e72e167d Author: putao66 <1336374132@qq.com> Date: Tue Nov 26 11:07:11 2019 +0800 Package init diff --git a/gspell-1.8.1.tar.xz b/gspell-1.8.1.tar.xz new file mode 100644 index 0000000..0293358 Binary files /dev/null and b/gspell-1.8.1.tar.xz differ diff --git a/gspell.spec b/gspell.spec new file mode 100644 index 0000000..74c4144 --- /dev/null +++ b/gspell.spec @@ -0,0 +1,60 @@ +Name: gspell +Version: 1.8.1 +Release: 3 +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 +* Fri Nov 22 2019 liujing - 1.8.1-3 +- Package init