package created using the webbuild interface [release 5.5.0.6382.bin-1mamba;Tue Aug 18 2020]
This commit is contained in:
parent
0a24ee0493
commit
bfb4538148
2
nuget-wrapper
Normal file
2
nuget-wrapper
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec mono $MONO_OPTIONS /usr/lib/nuget/nuget.exe "$@"
|
10
nuget.pc
Normal file
10
nuget.pc
Normal file
@ -0,0 +1,10 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
Libraries=${prefix}/lib/nuget/NuGet.Core.dll ${prefix}/lib/nuget/Microsoft.Web.XmlTransform.dll
|
||||
|
||||
Name: nuget
|
||||
Description: Library for acessing Microsoft NuGet repositories
|
||||
Version: %{version}
|
||||
Libs: -r:${libdir}/nuget/NuGet.Core.dll -r:${libdir}/nuget/Microsoft.Web.XmlTransform.dll
|
45
nuget.spec
Normal file
45
nuget.spec
Normal file
@ -0,0 +1,45 @@
|
||||
Name: nuget
|
||||
Version: 5.5.0.6382.bin
|
||||
Release: 1mamba
|
||||
Summary: Package manager for .Net/Mono development platform
|
||||
Group: Applications/Development
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://nuget.org/
|
||||
Source: http://download.mono-project.com/sources/nuget/nuget-%{version}.tar.xz
|
||||
Source1: nuget-wrapper
|
||||
Source2: nuget.pc
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: mono-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: mono
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Package manager for .Net/Mono development platform.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -Dm 0644 nuget.exe %{buildroot}%{_prefix}/lib/nuget/nuget.exe
|
||||
install -Dm 0755 %{SOURCE1} %{buildroot}%{_bindir}/nuget
|
||||
install -Dm 0644 %{SOURCE2} %{buildroot}%{_datadir}/pkgconfig/nuget.pc
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/nuget
|
||||
%{_prefix}/lib/nuget/nuget.exe
|
||||
%{_datadir}/pkgconfig/nuget.pc
|
||||
|
||||
%changelog
|
||||
* Tue Aug 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.0.6382.bin-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user