LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File qutrub.spec of Package libqutrub (Project home:Kenzy:tahadz)

%{?!pybasever:%{expand:%%define pybasever %(%{__python} -c "import sys ; print sys.version[:3]")}}
%define Name  LibQutrub
%define PName libqutrub
%define Version 1.0

Name:    libqutrub-python
Summary: libqutrub Arabic verb conjuagtion library.
Version: %{Version}
Release: 1
License: GPL
Url:     http://pypi.python.org/pypi/LibQutrub
Source:  %{Name}-%{Version}.zip
Group:   Arabic texts/Tools
BuildRequires: python-setuptools unzip
Requires:      python
BuildArch: noarch

%description
مكتبة قطرب لتصريف الافعال العربية.
libqutrub Arabic verb conjuagtion library.

%prep
%setup -q -n %{Name}-%{Version}

%build
%{__python} setup_lib.py build

%install
%{__python} setup_lib.py install --prefix=%{_prefix} --root=%{buildroot} --optimize=2

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{python_sitelib}/%{Name}-%{version}-py%{pybasever}.egg-info
%{python_sitelib}/%{PName}*

%changelog
* Sat Feb 02 2013 Muhammad Shaban <Mr.Muhammad@linuxac.org> 1.0-1
- Initial Build