File jp2a.spec of Package jp2a

# spec file for package jp2a
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%{!?license: %global license %doc}
Name:           jp2a
Version:        1.0.7
Release:        0
Summary:        Converts JPEG images to ASCII
License:        GPL-2.0
Group:          Amusements/Toys/Graphics
BuildRequires:  automake
BuildRequires:  libcurl-devel
BuildRequires:  libjpeg8-devel

jp2a is a JPEG to ASCII converter.

%setup -q

autoreconf -vi
%configure --enable-curl
make %{?_smp_mflags}


pushd tests
make %{?_smp_mflags} check

%doc ChangeLog README NEWS
%license COPYING