source: projects/specs/branches/6/n/nant/nant-vl.spec @ 3701

Revision 3701, 1.5 KB checked in by owa, 13 years ago (diff)

rebuilt with mono-2.10.1-3

Line 
1%define nant_dir %{_datadir}/NAnt/bin
2Summary: A .NET based build tool
3Summary(ja): .NET をベースにしたビルドツール
4Name: nant
5Version: 0.90
6Release: 3%{?_dist_release}
7License: GPL v2+
8Group: Development/Tools
9URL: http://nant.sourceforge.net/
10Source: %{name}-%{version}-src.tar.gz
11BuildArch: noarch
12BuildRequires: mono-core
13BuildRequires: mono-devel
14BuildRequires: pkgconfig
15Requires: mono-core
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21NAnt is a .NET based build tool. In theory it is kind of like make
22without make's wrinkles. In practice it's a lot like Ant.
23
24%prep
25%setup -q
26
27%build
28%{__make}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32mono bootstrap/NAnt.exe -f:NAnt.build install-linux -D:install.prefix=$RPM_BUILD_ROOT%{_prefix}
33
34mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
35mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/%{name}.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig
36
37## script nant is exist, but fix it
38cat << EOF > $RPM_BUILD_ROOT%{_bindir}/nant
39#!/bin/sh
40exec mono %{_datadir}/NAnt/bin/NAnt.exe "\$@"
41EOF
42
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(-,root,root)
49%doc COPYING.txt README.txt doc/*
50%{_bindir}/nant
51%{_datadir}/pkgconfig/%{name}.pc
52%dir %{nant_dir}
53%{nant_dir}/*
54
55%changelog
56* Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.90-3
57- rebuilt with mono-2.10.1-3
58
59* Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.90-2
60- rebuilt with mono-2.10.1
61
62* Tue Oct 12 2010 Shu KONNO <owa@bg.wakwak.com> 0.90-1
63- initial build for VineSeed
64
Note: See TracBrowser for help on using the repository browser.