Name: libhangul Version: 0.1.0 Release: 20 License: LGPLv2+ Summary: Hangul input library URL: https://github.com/libhangul/libhangul Source0: https://github.com/libhangul/libhangul/archive/%{name}-%{version}.tar.gz Requires(post): ldconfig Requires(postun): ldconfig BuildRequires: gettext-devel automake libtool %description libhangul provides common features for Hangul input method programs. %package devel Summary: Development files for libhangul Requires: %{name} = %{version}-%{release} pkgconfig %description devel This package provides development files and input programs. %prep %autosetup -n %{name}-%{name}-%{version} -p1 %build ./autogen.sh cat %_datadir/gettext/po/Makefile.in.in >%_builddir/%{name}-%{name}-%{version}/po/Makefile.in.in %configure --disable-static %make_build %install %make_install %delete_la %find_lang %{name} %post /sbin/ldconfig %postun /sbin/ldconfig %files -f %{name}.lang %doc AUTHORS COPYING ChangeLog NEWS README %{_libdir}/lib*.so.* %{_datadir}/%{name} %{_bindir}/hangul %files devel %{_includedir}/hangul-* %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %changelog * Mon Mar 09 2020 yangjian - 0.1.0-20 - Change Source to available address * Thu Nov 14 2019 wangye - 0.1.0-19 - Package init