46 lines
1.3 KiB
RPMSpec
46 lines
1.3 KiB
RPMSpec
|
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
|