]> git.pld-linux.org Git - packages/libevent.git/commitdiff
- initial release
authormichuz <michuz@pld-linux.org>
Wed, 29 Oct 2003 13:04:42 +0000 (13:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- TODO: (1) shared library, (2) check my poor polish translation

Changed files:
    libevent.spec -> 1.1

libevent.spec [new file with mode: 0644]

diff --git a/libevent.spec b/libevent.spec
new file mode 100644 (file)
index 0000000..886f8ed
--- /dev/null
@@ -0,0 +1,80 @@
+Summary:       libevent - an event notification library
+Summary(pl):   libevent - biblioteka odnotywuj±ca zdarzenia
+Name:          libevent
+Version:       0.7c
+Release:       0.1
+Epoch:         0
+License:       BSD
+Group:         Libraries
+Source0:       http://www.monkey.org/~provos/%{name}-%{version}.tar.gz
+# Source0-md5: d40f923789b81bc15f5ffd9ad48fe770
+URL:           http://www.monkey.org/~provos/libevent/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The libevent API provides a mechanism to execute a callback function when 
+a specific event occurs on a file descriptor or after a timeout has been 
+reached. It is meant to replace the asynchronous event loop found in 
+event-driven network servers.
+
+%description -l pl
+API libevent dostarcza mechanizm do wykonywania funkcji callback kiedy
+nast±pi³o okre¶lone zadarzenie w deskryptorze pliku lub po okre¶lonym czasie.
+Ma to na celu zast±pienie asynchronicznych pêtli w sterowanych zdarzeniami
+serwisach sieciowych.
+
+%package devel
+Summary:       Header files for libevent library
+Summary(pl):   Pliki nag³ówkowe biblioteki libevent
+Group:         Development/Libraries
+Requires:      %{name}-static = %{version}
+
+%description devel
+Header files for libevent library.
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki libevent.
+
+%package static
+Summary:       Static libevent library
+Summary(pl):   Statyczna biblioteka libevent
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static libevent library.
+
+%description static -l pl
+Statyczna biblioteka libevent.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/*.h
+%{_mandir}/man3/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.107698 seconds and 4 git commands to generate.