File affisix.spec of Package affisix

Name:           affisix
# List of additional build dependencies
BuildRequires:  gcc-c++
Version:        2.1.99
Release:        beta
License:        GPL 3.0
Source:         %{name}-%{version}.tar.bz2
Group:          Productivity/Scientific/Other
Summary:        Automatic affix recognition tool.
URL:            http://affisix.sf.net/
Packager:       Michal Hrusecky <Michal.Hrusecky@seznam.cz>
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Affisix started as a tool for automatic recognition of prefixes
supporting only one method with user definable threshold. Nowadays it
support recognition of suffixes as well and some additional methods
were implemented. User interface was also rewritten, so more complex
conditions for prefixes/suffixes are supported.


%prep
%setup

%build
# Assume that the package is built by plain 'make' if there's no ./configure.
# This test is there only because the wizard doesn't know much about the
# package, feel free to clean it up
if test -x ./configure; then
	%configure
fi
make

%install
make DESTDIR=%buildroot install

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
/usr/bin/affisix
/usr/bin/affmark
%doc /usr/share/doc/affisix
%doc /usr/share/man/man1/affisix.1x.*
%doc /usr/share/man/man1/affmark.1x.*
openSUSE Build Service is sponsored by