Rebase for libevent 2.1.8 80/129180/1
authorAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 16:08:48 +0000 (09:08 -0700)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 15 May 2017 08:51:31 +0000 (17:51 +0900)
Change-Id: I17ab7b3c530efceffbbd8936f5e0ed20c8f1b846
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/baselibs.conf [new file with mode: 0644]
packaging/libevent.manifest [new file with mode: 0644]
packaging/libevent.spec [new file with mode: 0644]

diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644 (file)
index 0000000..89be0ed
--- /dev/null
@@ -0,0 +1 @@
+libevent-2_0-22
diff --git a/packaging/libevent.manifest b/packaging/libevent.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/libevent.spec b/packaging/libevent.spec
new file mode 100644 (file)
index 0000000..3c8935c
--- /dev/null
@@ -0,0 +1,69 @@
+Name:           libevent
+Version:        2.0.22
+Release:        0
+Summary:        Library Providing an Event Handling API
+License:        BSD-2.0
+Group:          Development/Libraries/C and C++
+Url:            http://monkey.org/~provos/libevent/
+Source0:        http://monkey.org/~provos/libevent-%{version}-stable.tar.gz
+Source1:        baselibs.conf 
+Source1001:    libevent.manifest
+BuildRequires:  pkgconfig
+
+%description
+The libevent library provides a mechanism to execute a function when a
+specific event on a file descriptor occurs or after a given time has
+passed.
+
+
+%package devel
+Summary:        Development files for libevent2
+Group:          Development/Libraries/C and C++
+Requires:       %name = %{version}
+Requires:       glibc-devel
+Provides:       %{name}:/usr/include/event.h
+
+%description devel
+The libevent library provides a mechanism to execute a function when a
+specific event on a file descriptor occurs or after a given time has
+passed.
+
+This package holds the development files for libevent2.
+
+%prep
+%setup -q  -n %{name}-%{version}-stable
+cp %{SOURCE1001} .
+
+%build
+%configure --disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%make_install
+
+%post  -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files 
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_libdir}/%{name}-2.0.so.5*
+%{_libdir}/%{name}_core-2.0.so.5*
+%{_libdir}/%{name}_extra-2.0.so.5*
+%{_libdir}/%{name}_pthreads-2.0.so.5*
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_bindir}/event_rpcgen.py
+%{_includedir}/*.h
+%{_includedir}/event2
+%{_libdir}/%{name}.so
+%{_libdir}/%{name}_core.so
+%{_libdir}/%{name}_extra.so
+%{_libdir}/%{name}_pthreads.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/pkgconfig/%{name}_pthreads.pc
+
+%changelog