Initial package for Fedora

This was submitted for review on Sat Apr 20 2013:
    https://bugzilla.redhat.com/show_bug.cgi?id=954042
This commit is contained in:
Mathieu Bridon 2013-01-13 17:04:46 +08:00
parent bdef827842
commit 5f88bbe5a8

46
python3-cangjie.spec Normal file
View File

@ -0,0 +1,46 @@
%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.