update to 3.7.1 [release 3.7.1-1mamba;Wed Mar 08 2023]
This commit is contained in:
parent
7ecb9952c4
commit
61cf0d28a9
8
nunit.pc
Normal file
8
nunit.pc
Normal file
@ -0,0 +1,8 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
|
||||
Name: NUnit
|
||||
Description: Testing framework for CLI
|
||||
Version: 3.6.0.0
|
||||
Libs: -r:${libdir}/mono/nunit/nunit.framework.dll -r:${libdir}/mono/nunit/nunit.framework.tests.dll -r:${libdir}/mono/nunit/nunit.testdata.dll -r:${libdir}/mono/nunit/nunitlite.dll
|
87
nunit.spec
Normal file
87
nunit.spec
Normal file
@ -0,0 +1,87 @@
|
||||
Name: nunit
|
||||
Version: 3.7.1
|
||||
Release: 1mamba
|
||||
Summary: Unit test framework for CLI
|
||||
Group: Applications/Development
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://nunit.org/
|
||||
Source: https://github.com/nunit/nunit.git/%{version}/nunit-%{version}.tar.bz2
|
||||
Source1: nunit.pc
|
||||
Source2: nunitlite-runner.sh
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: mono-devel
|
||||
Provides: mono-nunit
|
||||
Obsoletes: mono-nunit < 6.12.0.122
|
||||
|
||||
%description
|
||||
Unit test framework for CLI.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
#% debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# Remove prebuilt binaries
|
||||
find . -name "*.dll" -print -delete
|
||||
|
||||
xbuild /property:Configuration=Release src/NUnitFramework/framework/nunit.framework-4.5.csproj
|
||||
xbuild /property:Configuration=Release src/NUnitFramework/nunitlite/nunitlite-4.5.csproj
|
||||
xbuild /property:Configuration=Release src/NUnitFramework/nunitlite-runner/nunitlite-runner-4.5.csproj
|
||||
xbuild /property:Configuration=Release src/NUnitFramework/mock-assembly/mock-assembly-4.5.csproj
|
||||
|
||||
xbuild /property:Configuration=Release src/NUnitFramework/slow-tests/slow-nunit-tests-4.5.csproj
|
||||
xbuild /property:Configuration=Release src/NUnitFramework/testdata/nunit.testdata-4.5.csproj
|
||||
xbuild /property:Configuration=Release src/NUnitFramework/tests/nunit.framework.tests-4.5.csproj
|
||||
xbuild /property:Configuration=Release src/NUnitFramework/nunitlite.tests/nunitlite.tests-4.5.csproj
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -d -m0755 %{buildroot}{%{_prefix}/lib/mono/nunit,%{_libdir}/pkgconfig,%{_bindir},%{_datadir}/applications,%{_datadir}/icons/NUnit}
|
||||
|
||||
%{__install} -m0644 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/
|
||||
%{__install} -m0755 %{SOURCE2} %{buildroot}%{_bindir}/nunitlite-runner
|
||||
|
||||
%{__install} -m0644 src/NUnitFramework/nunitlite-runner/App.config %{buildroot}%{_prefix}/lib/mono/nunit/nunitlite-runner.exe.config
|
||||
find %{_builddir}/%{?buildsubdir}/bin -name \*.dll -exec %{__install} \-m0755 "{}" "%{buildroot}%{_prefix}/lib/mono/nunit/" \;
|
||||
find %{_builddir}/%{?buildsubdir}/bin -name \*.exe -exec %{__install} \-m0755 "{}" "%{buildroot}%{_prefix}/lib/mono/nunit/" \;
|
||||
|
||||
# FIXME? Failure adding assembly .. to the cache: Strong name cannot be verified for delay-signed assembly
|
||||
#for i in nunit.framework.dll nunit.framework.tests.dll nunitlite.dll nunit.testdata.dll; do
|
||||
# gacutil -i %{buildroot}%{_prefix}/lib/mono/nunit/$i -package nunit -root %{buildroot}%{_prefix}/lib/mono/../
|
||||
#done
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/nunitlite-runner
|
||||
%dir %{_prefix}/lib/mono/nunit
|
||||
%{_prefix}/lib/mono/nunit/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/pkgconfig/nunit.pc
|
||||
%doc README.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.1-1mamba
|
||||
- update to 3.7.1
|
||||
|
||||
* Wed Mar 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.13.3-1mamba
|
||||
- package created using the webbuild interface
|
3
nunitlite-runner.sh
Normal file
3
nunitlite-runner.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/mono /usr/lib/mono/nunit/nunitlite-runner.exe "$@"
|
Loading…
Reference in New Issue
Block a user