LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File nant.spec of Package nant (Project Mono)

#
# spec file for package nant
#
# 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 http://bugs.opensuse.org/
#

Name:           nant
Version:        0.92
Release:        0
BuildArch:      noarch
Url:            http://nant.sourceforge.net
Source0:        %{name}-%{version}-src.tar.gz
Summary:        Ant for .NET
License:        GPL-2.0+ and LGPL-2.1+
Group:          Development/Tools/Building
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  mono-data
BuildRequires:  mono-devel

%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.

%prep
%setup -q

%build
make

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

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

%changelog