blob: eb97f3772d0cf63066d796275b89ac10e7c980af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
Name: csapi-tizen
Summary: Base components for Tizen .NET
Version: 1.0.5
Release: 1
Group: Development/Libraries
License: Apache-2.0
URL: https://www.tizen.org
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.manifest
AutoReqProv: no
ExcludeArch: aarch64
BuildRequires: dotnet-build-tools
BuildRequires: csapi-log-nuget
%define Assemblies Tizen
%description
%{summary}
%package nuget
Summary: NuGet package for %{name}
Group: Development/Libraries
AutoReqProv: no
Requires: csapi-log-nuget
%description nuget
NuGet package for %{name}
%prep
%setup -q
cp %{SOURCE1} .
%build
for ASM in %{Assemblies}; do
%dotnet_build $ASM
%dotnet_pack $ASM/$ASM.nuspec %{version}
done
%install
for ASM in %{Assemblies}; do
%dotnet_install $ASM
done
%files
%manifest %{name}.manifest
%license LICENSE
%attr(644,root,root) %{dotnet_assembly_files}
%files nuget
/nuget/Tizen.%{version}.nupkg
|