File dmc.spec of Package dmc

#
# spec file for package 
#
# Copyright (c) specCURRENT_YEAR 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 http://bugs.opensuse.org/
#

Name:           dmc
Version:	0.1
Release:	0
License:	MIT
Summary:	Dynamic mail client
Url:		http://git.suckless.org/dmc/
Group:		TBD
Source:		%{name}-master.tar.bz2
Patch0:		makefile-multijob.patch
BuildRequires:	pkgconfig(libssl)
BuildRequires:	pkg-config
Requires:	msmtp
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Minimalist e-mail client solution.

%package doc
Summary:	Dynamic mail client documentation
Group:		TBD

%description doc
Documentation to minimalist e-mail client.

%prep
%setup -q -n %{name}-master
%patch0 -p1
%config_suckless
sed -i 's@pkg-config libssl@pkg-config libssl libcrypto@g' Makefile

%build
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/*/*

%files doc
%defattr(-,root,root)
%doc HISTORY FAQ README LICENSE TODO doc/*

%changelog
openSUSE Build Service is sponsored by