[python3-cangjie: 2/4] Initial package for Fedora

Mathieu Bridon bochecha at fedoraproject.org
Fri May 3 15:27:11 UTC 2013


commit 5f88bbe5a8251a71c4eda7ec0515aff4836d9d8e
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Sun Jan 13 17:04:46 2013 +0800

    Initial package for Fedora
    
    This was submitted for review on Sat Apr 20 2013:
        https://bugzilla.redhat.com/show_bug.cgi?id=954042

 python3-cangjie.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/python3-cangjie.spec b/python3-cangjie.spec
new file mode 100644
index 0000000..f41800e
--- /dev/null
+++ b/python3-cangjie.spec
@@ -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 at fedoraproject.org> - 0.0.1-1
+- Initial package for Fedora.


More information about the scm-commits mailing list