File nant.spec of Package nant

#
# spec file for package nant
#
# Copyright (c) 2011 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:           nant
Version:        0.90
Release:        35
License:        GPLv2+ ; LGPLv2.1+
BuildArch:      noarch
Url:            http://nant.sourceforge.net
Source0:        %{name}-%{version}-src.tar.bz2
Summary:        Ant for .NET
Group:          Development/Tools/Building
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  mono-data
BuildRequires:  mono-devel
%define _use_internal_dependency_generator 0

%description
NAnt is a free .NET build tool. In theory it is kind of like make
without make's wrinkles. In practice it's a lot like Ant.

%files
%defattr(-, root, root)
%{_bindir}/%{name}
%{_datadir}/NAnt
%{_datadir}/pkgconfig/%{name}.pc

%prep
%setup -q

%build
make

%install
make install prefix=%{_prefix} DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_datadir}
mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_datadir}/

%clean
rm -rf %{buildroot}

%changelog
openSUSE Build Service is sponsored by