File microdc2.spec of Package microdc2
#
# spec file for package microdc2 (Version 0.13.1+2)
#
# Copyright (c) 2008 SOAD Project, Russia.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments to Maintainer: sda00@himki.net
#
# norootforbuild
Name: microdc2
Version: 0.15.6
Release: SOAD.1
Summary: command-line based Direct Connect client written in C
License: GPL
Group: Utilities/Network
URL: http://corsair626.no-ip.org/microdc/
Source: %{name}-%{version}.tar.gz
Patch0: patch1
BuildRequires: libxml2-devel libxml2
BuildRequires: readline-devel libreadline5
BuildRequires: gcc
BuildRoot: /tmp/%{name}-%{version}-build
%description
microdc is a command-line based Direct Connect client written in C
by Oskar Liljeblad and designed to compile and run on modern POSIX
compatible systems such as Linux.
After releasing microdc 0.12.0 Vladimir Chugunov have renamed the
project to microdc2 on Oskar's request.
%prep
%setup
%patch0
%build
%install
rm -rf "$RPM_BUILD_ROOT"
rm -rf %{buildroot}
%configure
make
%makeinstall
%find_lang %{name}
%clean
rm -rf %{buildroot}
rm -rf "$RPM_BUILD_ROOT"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*
## %{_datadir}/locale/*
## %doc