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:
parent
bdef827842
commit
5f88bbe5a8
46
python3-cangjie.spec
Normal file
46
python3-cangjie.spec
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user