[9581] | 1 | Name: mono-nuget |
---|
| 2 | Version: 2.8.3 |
---|
| 3 | Release: 2%{?_dist_release} |
---|
| 4 | Summary: DotNet package manager |
---|
| 5 | Summary(ja): DotNet パッケージマネージャー |
---|
| 6 | |
---|
| 7 | License: Apache License 2.0 |
---|
| 8 | Group: Development/Tools |
---|
| 9 | URL: https://github.com/directhex/xamarin-nuget/ |
---|
| 10 | |
---|
| 11 | Source0: http://origin-download.mono-project.com/sources/nuget/nuget-%{version}+md58+dhx1.tar.bz2 |
---|
| 12 | Source1: mono-nuget.pc |
---|
| 13 | Source3: build-minimal.sh |
---|
| 14 | Patch0: fix_xdt_hintpath.patch |
---|
| 15 | |
---|
| 16 | BuildArch: noarch |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | BuildRequires: dos2unix |
---|
| 19 | BuildRequires: mono-devel |
---|
| 20 | BuildRequires: pkgconfig |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | This is the Xamarin version of NuGet for use with MonoDevelop. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for NuGet |
---|
| 27 | Summary(ja): NuGet の開発用ファイル |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: mono-nuget = %{version}-%{release} |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | This package contains development files for NuGet integration into MonoDevelop. |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q -n nuget-git |
---|
| 36 | %patch0 -p1 |
---|
| 37 | cp -a %{SOURCE3} ./ |
---|
| 38 | chmod +x build-minimal.sh |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | ./build-minimal.sh |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf %{buildroot} |
---|
| 45 | |
---|
| 46 | mkdir -p %{buildroot}%{_datadir}/pkgconfig |
---|
| 47 | install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/ |
---|
| 48 | |
---|
| 49 | mkdir -p %{buildroot}%{_prefix}/lib/mono/nuget |
---|
| 50 | install -m0755 src/CommandLine/bin/Release/NuGet.Core.dll %{buildroot}%{_prefix}/lib/mono/nuget/ |
---|
| 51 | install -m0755 xdt/XmlTransform/bin/Debug/Microsoft.Web.XmlTransform.dll %{buildroot}%{_prefix}/lib/mono/nuget/ |
---|
| 52 | install -m0755 src/CommandLine/bin/Release/NuGet.exe %{buildroot}%{_prefix}/lib/mono/nuget/ |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -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 |
---|