Package init

This commit is contained in:
putao66 2019-11-26 11:07:11 +08:00
commit bf35ca09c1
2 changed files with 60 additions and 0 deletions

BIN
gspell-1.8.1.tar.xz Normal file

Binary file not shown.

60
gspell.spec Normal file
View File

@ -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<liujing144@huawei.com> - 1.8.1-3
- Package init