Add packaging directory master submit/tizen/20131021.061000 submit/tizen/20131021.061640 submit/tizen/20131022.083132
authorArron Wang <arron.wang@intel.com>
Mon, 21 Oct 2013 03:04:18 +0000 (11:04 +0800)
committerArron Wang <arron.wang@intel.com>
Mon, 21 Oct 2013 06:05:27 +0000 (14:05 +0800)
Change-Id: I6e0505cfcae0df47c1f1571ea8a7667107fa5ec6

packaging/libnl3.changes [new file with mode: 0644]
packaging/libnl3.manifest [new file with mode: 0644]
packaging/libnl3.spec [new file with mode: 0644]

diff --git a/packaging/libnl3.changes b/packaging/libnl3.changes
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/packaging/libnl3.manifest b/packaging/libnl3.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libnl3.spec b/packaging/libnl3.spec
new file mode 100644 (file)
index 0000000..167e4f2
--- /dev/null
@@ -0,0 +1,79 @@
+Name:       libnl3
+Summary:    Library for netlink sockets
+Version:    3.2.22
+Release:    1
+Group:      System/Network
+License:    LGPL-2.1
+Source0:    %{name}-%{version}.tar.gz
+Source1001:    libnl3.manifest
+BuildRequires:  bison
+BuildRequires:  flex
+
+%description
+This is a library for applications dealing with netlink sockets.
+The library provides an interface for raw netlink messaging and various
+netlink family specific interfaces.
+
+%package devel
+Summary:    Development library and headers for libnl3
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+This is a library for applications dealing with netlink sockets.
+The library provides an interface for raw netlink messaging and various
+netlink family specific interfaces.
+This package contains all files that are needed to build applications using
+libnl3.
+
+%package cli
+Summary:   Command line interface utils for libnl3
+Group:     Development/Libraries
+Requires:  %{name} = %{version}-%{release}
+
+%description cli
+This package contains various libnl3 utils and additional
+libraries on which they depend
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+
+%build
+chmod +x autogen.sh
+%autogen.sh
+%configure
+
+make -j1
+
+%install
+%make_install
+rm -f %{buildroot}/etc/libnl/pktloc
+
+%post -p /sbin/ldconfig
+%post cli -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%postun cli -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libnl*.so.*
+%exclude %{_libdir}/libnl-cli*.so.*
+%config(noreplace) %{_sysconfdir}/*
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+%{_libdir}/libnl*.so
+
+%files cli
+%defattr(-,root,root,-)
+%{_libdir}/libnl-cli*.so.*
+%{_libdir}/libnl/
+%{_sbindir}/*
+%{_mandir}/man8/*