update libhangul.spec.
This commit is contained in:
parent
27def58e4d
commit
7e404a272f
@ -1,111 +1,56 @@
|
|||||||
Name: libhangul
|
Name: libhangul
|
||||||
|
|
||||||
Version: 0.1.0
|
Version: 0.1.0
|
||||||
|
|
||||||
Release: 19
|
Release: 19
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
|
|
||||||
Summary: Hangul input library
|
Summary: Hangul input library
|
||||||
|
|
||||||
URL: https://github.com/libhangul/libhangul
|
URL: https://github.com/libhangul/libhangul
|
||||||
|
|
||||||
Source0: https://libhangul.googlecode.com/files/libhangul-%{version}.tar.gz
|
Source0: https://libhangul.googlecode.com/files/libhangul-%{version}.tar.gz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Requires(post): ldconfig
|
Requires(post): ldconfig
|
||||||
|
|
||||||
Requires(postun): ldconfig
|
Requires(postun): ldconfig
|
||||||
|
|
||||||
BuildRequires: gettext-devel automake libtool
|
BuildRequires: gettext-devel automake libtool
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
libhangul provides common features for Hangul input method programs.
|
libhangul provides common features for Hangul input method programs.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
|
||||||
Summary: Development files for libhangul
|
Summary: Development files for libhangul
|
||||||
|
|
||||||
Requires: %{name} = %{version}-%{release} pkgconfig
|
Requires: %{name} = %{version}-%{release} pkgconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
|
|
||||||
This package provides development files and input programs.
|
This package provides development files and input programs.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%delete_la
|
%delete_la
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
|
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||||
|
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%{_bindir}/hangul
|
%{_bindir}/hangul
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
|
||||||
%{_includedir}/hangul-*
|
%{_includedir}/hangul-*
|
||||||
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 0.1.0-19
|
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 0.1.0-19
|
||||||
|
|
||||||
- Package init
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user