summaryrefslogtreecommitdiff
path: root/packaging/csapi-network-wifi-direct.spec
diff options
context:
space:
mode:
authorYu Jiung <jiung.yu@samsung.com>2016-12-22 14:22:24 +0900
committerYu Jiung <jiung.yu@samsung.com>2016-12-26 11:16:40 +0900
commit4ecefb3d2b5f7c6677f1793f7e54f79f76a374be (patch)
tree30fb18c0768be9c3f660bd03a73d89f2e367586f /packaging/csapi-network-wifi-direct.spec
parentccab26a94b82b516f04ca9c7268f050fbb4e438e (diff)
downloadwifi-direct-4ecefb3d2b5f7c6677f1793f7e54f79f76a374be.tar.gz
wifi-direct-4ecefb3d2b5f7c6677f1793f7e54f79f76a374be.tar.bz2
wifi-direct-4ecefb3d2b5f7c6677f1793f7e54f79f76a374be.zip
Change-Id: I8a4d5635a1ee4fd80f97624dcf0ba764018ca857 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Diffstat (limited to 'packaging/csapi-network-wifi-direct.spec')
-rw-r--r--packaging/csapi-network-wifi-direct.spec44
1 files changed, 44 insertions, 0 deletions
diff --git a/packaging/csapi-network-wifi-direct.spec b/packaging/csapi-network-wifi-direct.spec
new file mode 100644
index 0000000..515f562
--- /dev/null
+++ b/packaging/csapi-network-wifi-direct.spec
@@ -0,0 +1,44 @@
+Name: csapi-network-wifi-direct
+Summary: Tizen Wi-Fi Direct API for C#
+Version: 1.0.2
+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 %ix86
+
+BuildRequires: dotnet-build-tools
+
+# C# API Requires
+BuildRequires: csapi-tizen-nuget
+
+%define Assemblies Tizen.Network.WiFiDirect
+
+%description
+%{summary}
+
+%dotnet_import_sub_packages
+
+%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}