Revision 3701,
1.5 KB
checked in by owa, 13 years ago
(diff) |
rebuilt with mono-2.10.1-3
|
Rev | Line | |
---|
[2048] | 1 | %define nant_dir %{_datadir}/NAnt/bin |
---|
| 2 | Summary: A .NET based build tool |
---|
| 3 | Summary(ja): .NET をベースにしたビルドツール |
---|
| 4 | Name: nant |
---|
| 5 | Version: 0.90 |
---|
[3701] | 6 | Release: 3%{?_dist_release} |
---|
[2048] | 7 | License: GPL v2+ |
---|
| 8 | Group: Development/Tools |
---|
| 9 | URL: http://nant.sourceforge.net/ |
---|
| 10 | Source: %{name}-%{version}-src.tar.gz |
---|
| 11 | BuildArch: noarch |
---|
| 12 | BuildRequires: mono-core |
---|
| 13 | BuildRequires: mono-devel |
---|
| 14 | BuildRequires: pkgconfig |
---|
| 15 | Requires: mono-core |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | NAnt is a .NET based build tool. In theory it is kind of like make |
---|
| 22 | without 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 |
---|
| 31 | rm -rf $RPM_BUILD_ROOT |
---|
| 32 | mono bootstrap/NAnt.exe -f:NAnt.build install-linux -D:install.prefix=$RPM_BUILD_ROOT%{_prefix} |
---|
| 33 | |
---|
| 34 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig |
---|
| 35 | mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/%{name}.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig |
---|
| 36 | |
---|
| 37 | ## script nant is exist, but fix it |
---|
| 38 | cat << EOF > $RPM_BUILD_ROOT%{_bindir}/nant |
---|
| 39 | #!/bin/sh |
---|
| 40 | exec mono %{_datadir}/NAnt/bin/NAnt.exe "\$@" |
---|
| 41 | EOF |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %clean |
---|
| 45 | rm -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 |
---|
[3701] | 56 | * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.90-3 |
---|
| 57 | - rebuilt with mono-2.10.1-3 |
---|
| 58 | |
---|
[3285] | 59 | * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.90-2 |
---|
| 60 | - rebuilt with mono-2.10.1 |
---|
| 61 | |
---|
[2048] | 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.