summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheoleun Moon <chleun.moon@samsung.com>2021-01-04 13:57:10 +0900
committerCheoleun Moon <chleun.moon@samsung.com>2021-01-04 13:57:55 +0900
commitb607d212678ae5e690162598706cbcd089bb29e5 (patch)
tree3c7d245f9c056440bb339c57de0711506040afeb
parentededcfe352b04604eb08043c29431717c2a99252 (diff)
downloadiw-accepted/tizen_6.5_unified.tar.gz
iw-accepted/tizen_6.5_unified.tar.bz2
iw-accepted/tizen_6.5_unified.zip
Change-Id: Ic089b6260de629189cc6dda1a35cb37755d4ecc0
-rwxr-xr-xpackaging/iw.manifest5
-rwxr-xr-xpackaging/iw.spec27
2 files changed, 32 insertions, 0 deletions
diff --git a/packaging/iw.manifest b/packaging/iw.manifest
new file mode 100755
index 0000000..75b0fa5
--- /dev/null
+++ b/packaging/iw.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/iw.spec b/packaging/iw.spec
new file mode 100755
index 0000000..79125a7
--- /dev/null
+++ b/packaging/iw.spec
@@ -0,0 +1,27 @@
+Name: iw
+Summary: Wireless configuration tool
+License: 0BSD
+Version: 5.9
+Release: 0
+Url: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git
+Source0: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+BuildRequires: pkgconfig(libnl-3.0)
+
+%description
+Wireless configuration tool
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+make %{?_smp_mflags}
+
+%install
+#rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_bindir}
+cp -f ./iw %{buildroot}%{_bindir}/iw
+
+%files
+%{_bindir}/iw