-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibevent2.spec
More file actions
55 lines (43 loc) · 1.35 KB
/
Copy pathlibevent2.spec
File metadata and controls
55 lines (43 loc) · 1.35 KB
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
54
55
Name: libevent2
Summary: An event notification library for event-driven network servers.
Version: 2.0.21
Source: %sf_download/levent/libevent/libevent-2.0/libevent-%version-stable.tar.gz
URL: http://monkey.org/~provos/libevent/
Group: System/Libraries
Release: 1
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%package -n libevent2-devel
Summary: Development libevent library, its header files and documentation
Group: Development/C
Requires: libevent2 = %version-%release
Provides: libevent2-devel = %version-%release
%description
An event notification library for event-driven network servers.
%description -n libevent2-devel
This package contains the header files, documentation, examples and
development library for use in developing applications that use the
libevent library.
%prep
%setup -q -n libevent-%version-stable
%build
./configure --prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--docdir=%_docdir \
--disable-static
make
%install
make install DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/libevent*.la
%clean
rm -rf %{buildroot}
%files
%defattr(0755,root,root)
%_libdir/*
%_bindir/*
%files -n libevent2-devel
%_includedir/*
%changelog
* Thu Jul 11 2013 - TrungTM
- Initial release