From 75af79a5e91488e36deb7cb26baad1476b5bec06 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 04 2015 08:04:55 +0000 Subject: import rh-passenger40-libeio-4.19-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a65433a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libeio-4.19.tar.gz diff --git a/.rh-passenger40-libeio.metadata b/.rh-passenger40-libeio.metadata new file mode 100644 index 0000000..41c5c3c --- /dev/null +++ b/.rh-passenger40-libeio.metadata @@ -0,0 +1 @@ +21cab9995b0b5666b838e7ebaee2bba726576455 SOURCES/libeio-4.19.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/libev-eio-rename.patch b/SOURCES/libev-eio-rename.patch new file mode 100644 index 0000000..7a64c29 --- /dev/null +++ b/SOURCES/libev-eio-rename.patch @@ -0,0 +1,29 @@ +diff --git a/Makefile.am b/Makefile.am +index 568f824..78a1ebf 100755 +--- a/Makefile.am ++++ b/Makefile.am +@@ -8,8 +8,8 @@ EXTRA_DIST = LICENSE Changes autogen.sh etp.c + + include_HEADERS = eio.h + +-lib_LTLIBRARIES = libeio.la ++lib_LTLIBRARIES = libev-eio.la + +-libeio_la_SOURCES = eio.c ecb.h xthread.h config.h +-libeio_la_LDFLAGS = -version-info $(VERSION_INFO) ++libev_eio_la_SOURCES = eio.c ecb.h xthread.h config.h ++libev_eio_la_LDFLAGS = -version-info $(VERSION_INFO) -release passenger40 + +diff --git a/configure.ac b/configure.ac +index 9faffad..72ee621 100755 +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ AC_INIT + AC_CONFIG_SRCDIR([eio.h]) + AC_CONFIG_HEADERS([config.h]) + +-AM_INIT_AUTOMAKE(libeio,1.0) ++AM_INIT_AUTOMAKE(libev-eio,1.0) + AM_MAINTAINER_MODE + + AC_GNU_SOURCE diff --git a/SPECS/libeio.spec b/SPECS/libeio.spec new file mode 100644 index 0000000..154e3ce --- /dev/null +++ b/SPECS/libeio.spec @@ -0,0 +1,110 @@ +%{?scl:%scl_package libeio} + +Name: %{?scl:%scl_prefix}libeio +Version: 4.19 +Release: 3%{?dist} +Summary: Event-based fully asynchronous I/O library + +Group: System Environment/Libraries +License: BSD or GPLv2+ +URL: http://software.schmorp.de/pkg/libeio.html +# cvs -rrel-%%(echo %%{version} | sed s/./_/) -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co libeio-%%{version} +# tar czf libeio-%%{version}.tar.gz libeio-%%{version} +Source0: libeio-%{version}.tar.gz +# libeio shared library conflicts with libeio from Enlightenment Eio package. +# There were several tries to fix this issue upstream or using FPC, but the +# only way how to fix the package is to rename the shared library in Fedora. +# Current name in Fedora is libev-eio.so. +# https://fedorahosted.org/fpc/ticket/403 +Patch0: libev-eio-rename.patch +BuildRequires: autoconf automake libtool +%{?scl:Requires:%scl_runtime} + +%description +Libeio is a full-featured asynchronous I/O library for C, modeled 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 everywhere else), readahead (emulated where not available). + +It is fully event-library agnostic and can easily be integrated into any +event-library (or used standalone, even in polling mode). It is very portable +and relies only on POSIX threads. + + +%package devel +Group: Development/Libraries +Summary: Development headers and libraries for libeio +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Development headers and libraries for libeio + + +%prep +%setup -q %{?scl:-n %{pkg_name}-%{version}} +%patch0 -p1 -b .rename + + +%build +[ -e configure ] || ./autogen.sh +%configure +make %{?_smp_mflags} CFLAGS="-D_GNU_SOURCE %{optflags}" + + +%install +make install DESTDIR=$RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files +%{_libdir}/libev-eio*.so.* +%exclude %{_libdir}/libev-eio.a +%exclude %{_libdir}/libev-eio.la +%doc LICENSE Changes + + +%files devel +%{_includedir}/eio.h +%{_libdir}/libev-eio*.so + + +%changelog +* Thu Jan 22 2015 Jan Kaluza - 4.15-5 +- use -release passenger40 for soname + +* Fri May 16 2014 Jan Kaluza - 4.19-2 +- fix the License field and cleanup the spec file + +* Tue May 13 2014 Jan Kaluza - 4.19-1 +- update to version 4.19 +- rename libeio.so to libev-eio.so to fix conflict with "eio" package + +* Thu Feb 14 2013 Fedora Release Engineering - 4.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Oct 13 2012 T.C. Hollingsworth - 4.18-1 +- update to version 4.18 + +* Thu Jul 19 2012 Fedora Release Engineering - 3.65-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 3.65-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 3.65-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Sep 29 2010 jkeating - 3.65-3 +- Rebuilt for gcc bug 634757 + +* Mon Sep 20 2010 Lubomir Rintel - 3.65-2 +- Call ldconfig (Peter Lemenkov) +- Fix spelling errors +- Use correct compiler flags + +* Fri Sep 17 2010 Lubomir Rintel - 3.65-1 +- Initial packaging