File smugbatch.spec of Package smugbatch

# spec file for package smugbatch
# Copyright (c) 2012 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

Name:           smugbatch
%if 0%{?suse_version} > 1020
BuildRequires:  libcurl-devel
BuildRequires:  curl-devel
Version:        007
Release:        0
Summary:        Tools for
License:        GPL-2.0
Group:          Productivity/Graphics/Other
Source:         gregkh-%{name}-%{version}-0-g4e9c3fa.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Command line tools to access

    Greg Kroah-Hartman <>

%setup -q -n gregkh-smugbatch-4e9c3fa

make V=1 CFLAGS="%{optflags}"

mkdir -p %{buildroot}%{_prefix}/bin
install -m 0755 smugdown smugup smugls %{buildroot}%{_prefix}/bin
mkdir -p %{buildroot}%{_mandir}/man1
install -m 0644 smugls.1 smugup.1 %{buildroot}%{_mandir}/man1

%doc %{_mandir}/man1/*.gz

openSUSE Build Service is sponsored by