Пакет libcangjie: Specfile
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %define major 2 %define libname libcangjie%{major} %define develname libcangjie-devel Name: libcangjie Summary: Cangjie Input Method Library Version: 1.3 Release: alt1_2 License: LGPLv3+ Group: System/Internationalization URL: http://cangjians.github.io/projects/%{name} Source0: https://github.com/Cangjians/libcangjie/releases/download/v%{version}/%{name}-%{version}.tar.xz BuildRequires: pkgconfig(sqlite3) BuildRequires: sqlite3 Source44: import.info %description Library implementing the Cangjie input method. %package -n %{libname} Summary: Cangjie Input Method Library Group: System/Internationalization # Split out so it can be noarch Requires: %{name}-data >= %{version}-%{release} %description -n %{libname} Library implementing the Cangjie input method. %package data Group: System/Internationalization Summary: Database for %{name} BuildArch: noarch %description data Database for %{name}. %package -n %{develname} Group: System/Internationalization Summary: Development files for %{name} Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description -n %{develname} Development files for %{name}. %prep %setup -q %build %configure %make_build %install %makeinstall_std find %{buildroot} -name '*.la' -delete %check %make check %files -n %{libname} %doc AUTHORS COPYING README.md %{_libdir}/%{name}.so.%{major} %{_libdir}/%{name}.so.%{major}.* %files data %doc data/README.table.rst %{_datadir}/%{name}/ %files -n %{develname} %{_bindir}/libcangjie_* %{_includedir}/cangjie/ %{_libdir}/%{name}.so %{_libdir}/pkgconfig/cangjie.pc %changelog * Tue Sep 18 2018 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_2 - update by mgaimport * Sun Mar 18 2018 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_1 - new version |