1 | %define git 20130131 |
---|
2 | |
---|
3 | Summary: A .NET based build tool |
---|
4 | Summary(ja): .NET ベースのビルドツール |
---|
5 | Name: nant |
---|
6 | Version: 0.92 |
---|
7 | Release: 1%{?git:.git%{git}}%{?_dist_release} |
---|
8 | License: GPLv2+ and LGPLv2+ |
---|
9 | Group: Development/Tools |
---|
10 | URL: http://nant.sourceforge.net/ |
---|
11 | |
---|
12 | #Source0: http://downloads.sourceforge.net/nant/%{name}-%{version}-src.tar.gz |
---|
13 | # git clone //github.com/letiemble/nant.git |
---|
14 | Source0: %{name}.tar.xz |
---|
15 | |
---|
16 | BuildArch: noarch |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | BuildRequires: dos2unix |
---|
19 | BuildRequires: mono-core |
---|
20 | BuildRequires: mono-devel |
---|
21 | BuildRequires: pkgconfig |
---|
22 | |
---|
23 | Autoreq: no |
---|
24 | Requires: mono-core |
---|
25 | Requires: mono-data |
---|
26 | Requires: mono-web |
---|
27 | Requires: mono-winforms |
---|
28 | #Requires: mono(System) |
---|
29 | #Requires: mono(System.Data) |
---|
30 | #Requires: mono(System.Drawing) |
---|
31 | #Requires: mono(System.Web) |
---|
32 | #Requires: mono(System.Windows.Forms) |
---|
33 | #Requires: mono(System.Xml) |
---|
34 | #Requires: mono(mscorlib) |
---|
35 | |
---|
36 | # ignore some bundled dlls |
---|
37 | %define _use_internal_dependency_generator 0 |
---|
38 | %define __find_provides env sh -c 'filelist=($(grep -v log4net.dll | grep -v scvs.exe | grep -v nunit | grep -v NDoc | grep -v neutral)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/mono-find-provides ; } | sort | uniq' |
---|
39 | %define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/mono-find-requires ; } | sort | uniq' |
---|
40 | |
---|
41 | Vendor: Project Vine |
---|
42 | Distribution: Vine Linux |
---|
43 | |
---|
44 | %description |
---|
45 | NAnt is a .NET based build tool. In theory it is kind of like make |
---|
46 | without make's wrinkles. In practice it's a lot like Ant. |
---|
47 | |
---|
48 | %package devel |
---|
49 | Summary: NAnt pkgconfig files |
---|
50 | License: LGPLv2 |
---|
51 | Group: Development/Libraries |
---|
52 | Requires: nant = %{version}-%{release} |
---|
53 | |
---|
54 | %description devel |
---|
55 | This package contains the pkgconfig files for NAnt. |
---|
56 | |
---|
57 | %prep |
---|
58 | %setup -q -n %{name} |
---|
59 | |
---|
60 | %build |
---|
61 | make TARGET=mono-4.5 MCS="gmcs -sdk:4" |
---|
62 | |
---|
63 | %install |
---|
64 | rm -rf $RPM_BUILD_ROOT |
---|
65 | make install prefix=%{_prefix} DESTDIR=$RPM_BUILD_ROOT TARGET=mono-4.5 MCS="gmcs -sdk:4" docdir=%{_docdir} |
---|
66 | |
---|
67 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig |
---|
68 | mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/%{name}.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig |
---|
69 | |
---|
70 | chmod -x $RPM_BUILD_ROOT%{_datadir}/NAnt/bin/lib/common/2.0/nunit-console.exe.config |
---|
71 | dos2unix $RPM_BUILD_ROOT%{_datadir}/NAnt/bin/lib/common/2.0/nunit-console.exe.config |
---|
72 | |
---|
73 | rm -rf _docs |
---|
74 | mkdir -p _docs |
---|
75 | mv $RPM_BUILD_ROOT%{_docdir}/NAnt/* _docs |
---|
76 | |
---|
77 | %clean |
---|
78 | rm -rf $RPM_BUILD_ROOT |
---|
79 | |
---|
80 | %files |
---|
81 | %defattr(-,root,root) |
---|
82 | %doc COPYING.txt README.txt _docs/* |
---|
83 | %{_bindir}/nant |
---|
84 | %dir %{_datadir}/NAnt |
---|
85 | %{_datadir}/NAnt/* |
---|
86 | |
---|
87 | %files devel |
---|
88 | %defattr(-,root,root) |
---|
89 | %{_datadir}/pkgconfig/%{name}.pc |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.92-1.git20140131 |
---|
93 | - updated to 0.92+git based on OpenSUSE |
---|
94 | - built with mono 3.12.1 |
---|
95 | |
---|
96 | * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.90-3 |
---|
97 | - rebuilt with mono-2.10.1-3 |
---|
98 | |
---|
99 | * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.90-2 |
---|
100 | - rebuilt with mono-2.10.1 |
---|
101 | |
---|
102 | * Tue Oct 12 2010 Shu KONNO <owa@bg.wakwak.com> 0.90-1 |
---|
103 | - initial build for VineSeed |
---|
104 | |
---|