source: projects/specs/trunk/m/mono-nuget/mono-nuget-vl.spec @ 9581

Revision 9581, 2.2 KB checked in by inagaki, 9 years ago (diff)

2015-05-26 Ryoichi INAGAKI <ryo1@…>

  • mono-nuget, nunit: NEW package
  • monodevelop: updated


Line 
1Name:           mono-nuget
2Version:        2.8.3
3Release:        2%{?_dist_release}
4Summary:        DotNet package manager
5Summary(ja):    DotNet パッケージマネージャー
6
7License:        Apache License 2.0
8Group:          Development/Tools
9URL:            https://github.com/directhex/xamarin-nuget/
10
11Source0:        http://origin-download.mono-project.com/sources/nuget/nuget-%{version}+md58+dhx1.tar.bz2
12Source1:        mono-nuget.pc
13Source3:        build-minimal.sh
14Patch0:         fix_xdt_hintpath.patch
15
16BuildArch:      noarch
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18BuildRequires:  dos2unix
19BuildRequires:  mono-devel
20BuildRequires:  pkgconfig
21
22%description
23This is the Xamarin version of NuGet for use with MonoDevelop.
24
25%package devel
26Summary:        Development files for NuGet
27Summary(ja):    NuGet の開発用ファイル
28Group:          Development/Libraries
29Requires:       mono-nuget = %{version}-%{release}
30
31%description devel
32This package contains development files for NuGet integration into MonoDevelop.
33
34%prep
35%setup -q -n nuget-git
36%patch0 -p1
37cp -a %{SOURCE3} ./
38chmod +x build-minimal.sh
39
40%build
41./build-minimal.sh
42
43%install
44rm -rf %{buildroot}
45
46mkdir -p %{buildroot}%{_datadir}/pkgconfig
47install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/
48
49mkdir -p %{buildroot}%{_prefix}/lib/mono/nuget
50install -m0755 src/CommandLine/bin/Release/NuGet.Core.dll %{buildroot}%{_prefix}/lib/mono/nuget/
51install -m0755 xdt/XmlTransform/bin/Debug/Microsoft.Web.XmlTransform.dll %{buildroot}%{_prefix}/lib/mono/nuget/
52install -m0755 src/CommandLine/bin/Release/NuGet.exe %{buildroot}%{_prefix}/lib/mono/nuget/
53
54%clean
55rm -rf %{buildroot}
56
57%files
58%defattr(-, root, root)
59%doc COPYRIGHT.txt LICENSE.txt
60%{_prefix}/lib/mono/nuget
61
62%files devel
63%defattr(-, root, root)
64%{_datadir}/pkgconfig/mono-nuget.pc
65
66%changelog
67* Tue May 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.8.3-2
68- initial build for VineLinux
69
70* Sat May  2 2015 mailaender@opensuse.org
71- update to version 2.8.3 for MonoDevelop 5.8 and above
72- add fix_xdt_hintpath.patch to fix the build
73- add build-minimal.sh as it was removed from the tarball
74- add pkgconfig as this contains a .pc file
75* Mon Dec 22 2014 mailaender@opensuse.org
76- initial packaging
Note: See TracBrowser for help on using the repository browser.