packages: libeio/libeio.spec (NEW) - added - dist site is missing files, so...

aredridel aredridel at pld-linux.org
Fri Mar 12 07:41:50 CET 2010


Author: aredridel                    Date: Fri Mar 12 06:41:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added
- dist site is missing files, so CVS checkout

---- Files affected:
packages/libeio:
   libeio.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libeio/libeio.spec
diff -u /dev/null packages/libeio/libeio.spec:1.1
--- /dev/null	Fri Mar 12 07:41:50 2010
+++ packages/libeio/libeio.spec	Fri Mar 12 07:41:44 2010
@@ -0,0 +1,109 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
+Summary:	libeio - an asynchronous I/O library
+Name:		libeio
+Version:	1.0
+Release:	1
+License:	BSD or GPL v2+
+Group:		Libraries
+Source0:	%{name}-20100311.tar.bz2
+# Source0-md5:	a3b50842b683b3dfd17af57db767e484
+# cvs -z3 -d :pserver:anonymous at cvs.schmorp.de/schmorpforge co libeio
+URL:		http://software.schmorp.de/pkg/libeio
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake
+# inotify interface
+BuildRequires:	glibc-devel >= 6:2.4
+BuildRequires:	libtool
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Libeio is a full-featured asynchronous I/O library for C, modelled in
+similar style and spirit as libev. Features include: asynchronous read,
+write, open, close, stat, unlink, fdatasync, mknod, readdir etc. (basically
+the full POSIX API). sendfile (native on solaris, linux, hp-ux, freebsd,
+emulated everywehere else), readahead (emulated where not available).
+
+%package devel
+Summary:	Header files for libeio library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libeio
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libeio library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libeio.
+
+%package static
+Summary:	Static libeio library
+Summary(pl.UTF-8):	Statyczna biblioteka libeio
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libeio library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libeio.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	%{!?with_static_libs:--disable-static}
+
+# override -O3 which overrides our optflags in configure
+%{__make} \
+	CFLAGS="%{rpmcflags}"
+
+%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
+%defattr(644,root,root,755)
+%doc Changes LICENSE
+%attr(755,root,root) %{_libdir}/libeio.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libeio.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libeio.so
+%{_libdir}/libeio.la
+%{_includedir}/eio.h
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libeio.a
+%endif
+
+%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  2010/03/12 06:41:44  aredridel
+- added
+- dist site is missing files, so CVS checkout
+
================================================================


More information about the pld-cvs-commit mailing list