SPECS: libaio.spec (NEW) - new

qboosh qboosh at pld-linux.org
Tue Nov 1 01:54:33 CET 2005


Author: qboosh                       Date: Tue Nov  1 00:54:33 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   libaio.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libaio.spec
diff -u /dev/null SPECS/libaio.spec:1.1
--- /dev/null	Tue Nov  1 01:54:33 2005
+++ SPECS/libaio.spec	Tue Nov  1 01:54:27 2005
@@ -0,0 +1,108 @@
+# $Revision$, $Date$
+Summary:	Linux-native asynchronous I/O access library
+Summary(pl):	Biblioteka natywnego dla Linuksa asynchronicznego dostępu do wejścia/wyjścia
+Name:		libaio
+Version:	0.3.104
+Release:	1
+License:	LGPL v2+
+Group:		Libraries
+# http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/
+Source0:	%{name}-%{version}.tar.gz
+# Source0-md5:	2a4a17ed8f95d08b52cc72a41a6f5c60
+# syscall*.h implemented for:
+ExclusiveArch:	%{ix86} %{x8664} alpha ia64 ppc ppc64 s390 s390x
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Linux-native asynchronous I/O facility ("async I/O", or "aio") has
+a richer API and capability set than the simple POSIX async I/O
+facility. This library, libaio, provides the Linux-native API for
+async I/O. The POSIX async I/O facility requires this library in order
+to provide kernel-accelerated async I/O capabilities, as do
+applications which require the Linux-native async I/O API.
+
+%description -l pl
+Natywna dla Linuksa obsługa asynchronicznego wejścia/wyjścia ("async
+I/O" lub "aio") ma bogatsze API i zestaw możliwości niż proste
+asynchroniczne wejście/wyjście zgodne z POSIX. Ta biblioteka - libaio
+- udostępnia natywne Linuksowe API dla asynchronicznego we/wy. Zgodne
+z POSIX asynchroniczne we/wy wymaga tej biblioteki do udostępnienia
+przyspieszanych przez jądro możliwości asynchronicznego we/wy,
+podobnie jak aplikacje wymagające natywnego dla Linuksa API
+asynchronicznego we/wy.
+
+%package devel
+Summary:	Header files for libaio library
+Summary(pl):	Pliki nagłówkowe biblioteki libaio
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libaio library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki libaio.
+
+%package static
+Summary:	Static libaio library
+Summary(pl):	Statyczna biblioteka libaio
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libaio library.
+
+%description static -l pl
+Statyczna biblioteka libaio.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -fomit-frame-pointer -fPIC -Wall -I. -nostdlib -nostartfiles"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	prefix=$RPM_BUILD_ROOT%{_prefix} \
+	libdir=$RPM_BUILD_ROOT%{_libdir}
+
+install -d $RPM_BUILD_ROOT%{_mandir}/man{2,3}
+install man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
+for f in man/*.1 ; do
+	install $f $RPM_BUILD_ROOT%{_mandir}/man2/`basename $f .1`.2
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog TODO
+%attr(755,root,root) %{_libdir}/libaio.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libaio.so
+%{_includedir}/libaio.h
+%{_mandir}/man2/io_*.2*
+%{_mandir}/man3/*io*.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libaio.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/11/01 00:54:27  qboosh
+- new
================================================================



More information about the pld-cvs-commit mailing list