Blob Blame History Raw
%global module_name cangjie

Name:             python3-%{module_name}
Summary:          Python bindings to libcangjie
Version:          0.0.1
Release:          1%{?dist}
License:          LGPLv3+
URL:              https://github.com/bochecha/pycangjie
Source0:          http://ibus-cangjie.opensource.hk/downloads/py%{module_name}/%{module_name}-%{version}.tar.xz

BuildRequires:    python3-Cython
BuildRequires:    python3-devel
BuildRequires:    libcangjie-devel

%description
Python bindings to libcangjie, the library implementing Cangjie and Quick
input methods.


%prep
%setup -q -n %{module_name}-%{version}


%build
%configure
make %{?_smp_mflags}


%install
make install DESTDIR=%{buildroot}

find %{buildroot} -name '*.la' -exec rm -f '{}' \;


%check
make check


%files
%doc README COPYING
%{python3_sitearch}/%{module_name}


%changelog
* Sat Apr 20 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 0.0.1-1
- Initial package for Fedora.