File python-wordaxe.spec of Package python-wordaxe

Name:           python-wordaxe
Summary:        German language (and other) hyphenation algorithms
Version:        1.0.1
Release:        0
Source:         wordaxe-%{version}.zip
License:        Apache 2.0 License
Group:          Development/Libraries/Python
Url:            http://deco-cow.sourceforge.net/
Patch1:         assert_fails.diff 
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  unzip

%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif

BuildRoot:       %{_tmppath}/%{mod_namever}-build


%description
German language (and other) hyphenation algorithms

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

%patch1 -p1

%build
%{__python} setup.py build

%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES \
        --no-compile

%files -f INSTALLED_FILES
%defattr(-,root,root)

%changelog

openSUSE Build Service is sponsored by