File dosage.spec of Package dosage

# spec file for package dosage
# Copyright (c) 2013 SUSE LINUX Products 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

# See also

Name:           dosage
Version:        2.17
Release:        1
Summary:        A comic downloader and archiver
License:        GPL-2.0
Group:          Development/Languages/Python
BuildRequires:  python-devel
BuildArch:      noarch
Requires:	python-requests

Dosage is designed to keep a local copy of specific webcomics and other picture-based content such as Picture of the Day sites. With the dosage commandline script you can get the latest strip of a webcomic, or catch-up to the last strip downloaded, or download a strip for a particular date/index (if the webcomic's site layout allows this).

%setup -q

# Remove CFLAGS=... for noarch packages (unneeded)
CFLAGS="%{optflags}" python build

python install --prefix=%{_prefix} --root %{buildroot}

%doc COPYING doc/*