orion pushed to libeio (epel7). "fix the License field and cleanup the spec file"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 14 14:34:52 UTC 2015


>From 048e80769c3fc02d0b4fdf47d208b1a90d7ae201 Mon Sep 17 00:00:00 2001
From: Jan Kaluza <jkaluza at redhat.com>
Date: Thu, 22 May 2014 09:12:05 +0200
Subject: fix the License field and cleanup the spec file


diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a64babd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libeio-4.19.tar.gz
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 7ce5874..0000000
--- a/dead.package
+++ /dev/null
@@ -1,6 +0,0 @@
-This package is no longer needed by nodejs.  While perl-IO-AIO bundles it, the 
-maintainer is planning to orphan it.  Additionally, this package provides a 
-libeio.so.1 that conflicts with that from the Enlightenment I/O library in the 
-eio package.  Since nobody wants anything to do with this one, I'm retiring it 
-to get it out of the way.  For more information, see:
-https://lists.fedoraproject.org/pipermail/devel/2013-September/188857.html
diff --git a/libeio.spec b/libeio.spec
new file mode 100644
index 0000000..9713be6
--- /dev/null
+++ b/libeio.spec
@@ -0,0 +1,104 @@
+Name:       libeio
+Version:    4.19
+Release:    2%{?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 at 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
+
+%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
+%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
+* Fri May 16 2014 Jan Kaluza <jkaluza at redhat.com> - 4.19-2
+- fix the License field and cleanup the spec file
+
+* Tue May 13 2014 Jan Kaluza <jkaluza at redhat.com> - 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 <rel-eng at lists.fedoraproject.org> - 4.18-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sat Oct 13 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 4.18-1
+- update to version 4.18
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.65-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.65-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 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 <lkundrak at v3.sk> - 3.65-2
+- Call ldconfig (Peter Lemenkov)
+- Fix spelling errors
+- Use correct compiler flags
+
+* Fri Sep 17 2010 Lubomir Rintel <lkundrak at v3.sk> - 3.65-1
+- Initial packaging
diff --git a/libev-eio-rename.patch b/libev-eio-rename.patch
new file mode 100644
index 0000000..bfcfa0e
--- /dev/null
+++ b/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)
+ 
+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/sources b/sources
new file mode 100644
index 0000000..c60b795
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+29c5bf3fdf0fd8ab557e10ea96ecaee0  libeio-4.19.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libeio.git/commit/?h=epel7&id=048e80769c3fc02d0b4fdf47d208b1a90d7ae201


More information about the scm-commits mailing list