Sisyphus repositório
Última atualização: 9 agosto 2020 | SRPMs: 17677 | Visitas: 19020899
en ru br
ALT Linux repositórios
S:1.3-alt2_2

Group :: Sistema/Internacionalização
RPM: libcangjie

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009