|
|
0fd84a |
%{?scl:%scl_package libuv}
|
|
|
0fd84a |
%{!?scl:%global pkg_name %{name}}
|
|
|
0fd84a |
%global somajor 1
|
|
|
0fd84a |
|
|
|
0fd84a |
Name: %{?scl_prefix}libuv
|
|
|
0fd84a |
Epoch: 1
|
|
|
0fd84a |
Version: 1.9.1
|
|
|
0fd84a |
Release: 2%{?dist}
|
|
|
0fd84a |
Summary: Platform layer for node.js
|
|
|
0fd84a |
# the licensing breakdown is described in detail in the LICENSE file
|
|
|
0fd84a |
License: MIT and BSD and ISC
|
|
|
0fd84a |
|
|
|
0fd84a |
%{?scl:Requires: %{scl}-runtime}
|
|
|
0fd84a |
%{?scl:BuildRequires: %{scl}-runtime}
|
|
|
0fd84a |
|
|
|
0fd84a |
URL: http://libuv.org/
|
|
|
0fd84a |
Source0: http://libuv.org/dist/v%{version}/%{pkg_name}-v%{version}.tar.gz
|
|
|
0fd84a |
Source2: libuv.pc.in
|
|
|
0fd84a |
Patch0: soname.patch
|
|
|
0fd84a |
|
|
|
0fd84a |
BuildRequires: %{?scl_prefix}gyp
|
|
|
0fd84a |
%{?scl:BuildRequires: %{?scl}-runtime}
|
|
|
0fd84a |
|
|
|
0fd84a |
Requires(post): /sbin/ldconfig
|
|
|
0fd84a |
Requires(postun): /sbin/ldconfig
|
|
|
0fd84a |
|
|
|
0fd84a |
%description
|
|
|
0fd84a |
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on
|
|
|
0fd84a |
Windows and libev on Unix systems. We intend to eventually contain all platform
|
|
|
0fd84a |
differences in this library.
|
|
|
0fd84a |
|
|
|
0fd84a |
%package devel
|
|
|
0fd84a |
Summary: Development libraries for libuv
|
|
|
0fd84a |
Group: Development/Libraries
|
|
|
0fd84a |
Requires: %{?scl_prefix}%{pkg_name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
0fd84a |
Requires: pkgconfig
|
|
|
0fd84a |
Requires(post): /sbin/ldconfig
|
|
|
0fd84a |
Requires(postun): /sbin/ldconfig
|
|
|
0fd84a |
|
|
|
0fd84a |
%description devel
|
|
|
0fd84a |
Development libraries for libuv
|
|
|
0fd84a |
|
|
|
0fd84a |
%prep
|
|
|
0fd84a |
%setup -q -n %{pkg_name}-v%{version}
|
|
|
0fd84a |
%patch0 -p0
|
|
|
0fd84a |
|
|
|
0fd84a |
%build
|
|
|
0fd84a |
|
|
|
0fd84a |
%{?scl:scl enable %{scl} "}
|
|
|
0fd84a |
export CFLAGS='%{optflags}'
|
|
|
0fd84a |
export CXXFLAGS='%{optflags}'
|
|
|
0fd84a |
./gyp_uv.py -f make -Dcomponent=shared_library -Duv_library=shared_library -Dsoname_version=%{?scl:%{scl_name}-}%{version} --depth=`pwd`
|
|
|
0fd84a |
BUILDTYPE=Release make %{?_smp_mflags} -C out
|
|
|
0fd84a |
%{?scl: "}
|
|
|
0fd84a |
|
|
|
0fd84a |
%install
|
|
|
0fd84a |
#%{?scl:scl enable %{scl} - << \EOF}
|
|
|
0fd84a |
#make DESTDIR=%{buildroot} install
|
|
|
0fd84a |
#%{?scl:EOF}
|
|
|
0fd84a |
#rm -f %{buildroot}%{_libdir}/libuv-nodejs.la
|
|
|
0fd84a |
|
|
|
0fd84a |
rm -rf %{buildroot}
|
|
|
0fd84a |
|
|
|
0fd84a |
install -d %{buildroot}%{_includedir}
|
|
|
0fd84a |
install -d %{buildroot}%{_libdir}
|
|
|
0fd84a |
|
|
|
0fd84a |
install -pm644 include/uv.h %{buildroot}%{_includedir}
|
|
|
0fd84a |
|
|
|
0fd84a |
install out/Release/lib.target/libuv.so.%{?scl:%{scl_name}-}%{version} %{buildroot}%{_libdir}/libuv.so.%{?scl:%{scl_name}-}%{version}
|
|
|
0fd84a |
ln -sf libuv.so.%{?scl:%{scl_name}-}%{version} %{buildroot}%{_libdir}/libuv.so.%{somajor}
|
|
|
0fd84a |
ln -sf libuv.so.%{?scl:%{scl_name}-}%{version} %{buildroot}%{_libdir}/libuv.so
|
|
|
0fd84a |
|
|
|
0fd84a |
# Copy the headers into the include path
|
|
|
0fd84a |
mkdir -p %{buildroot}/%{_includedir}/uv-private
|
|
|
0fd84a |
|
|
|
0fd84a |
cp include/uv.h \
|
|
|
0fd84a |
%{buildroot}/%{_includedir}
|
|
|
0fd84a |
|
|
|
0fd84a |
cp include/tree.h \
|
|
|
0fd84a |
%{buildroot}/%{_includedir}/uv-private
|
|
|
0fd84a |
cp \
|
|
|
0fd84a |
include/uv-linux.h \
|
|
|
0fd84a |
include/uv-unix.h \
|
|
|
0fd84a |
include/uv-errno.h \
|
|
|
0fd84a |
include/uv-version.h \
|
|
|
0fd84a |
include/uv-threadpool.h \
|
|
|
0fd84a |
%{buildroot}/%{_includedir}/
|
|
|
0fd84a |
|
|
|
0fd84a |
# Create the pkgconfig file
|
|
|
0fd84a |
mkdir -p %{buildroot}/%{_libdir}/pkgconfig
|
|
|
0fd84a |
|
|
|
0fd84a |
sed -e "s#@prefix@#%{_prefix}#g" \
|
|
|
0fd84a |
-e "s#@exec_prefix@#%{_exec_prefix}#g" \
|
|
|
0fd84a |
-e "s#@libdir@#%{_libdir}#g" \
|
|
|
0fd84a |
-e "s#@includedir@#%{_includedir}#g" \
|
|
|
0fd84a |
-e "s#@version@#%{version}#g" \
|
|
|
0fd84a |
%SOURCE2 > %{buildroot}/%{_libdir}/pkgconfig/libuv.pc
|
|
|
0fd84a |
|
|
|
0fd84a |
%check
|
|
|
0fd84a |
# Tests are currently disabled because some require network access
|
|
|
0fd84a |
# Working with upstream to split these out
|
|
|
0fd84a |
#./out/Release/run-tests
|
|
|
0fd84a |
#./out/Release/run-benchmarks
|
|
|
0fd84a |
|
|
|
0fd84a |
%post -p /sbin/ldconfig
|
|
|
0fd84a |
%postun -p /sbin/ldconfig
|
|
|
0fd84a |
|
|
|
0fd84a |
%files
|
|
|
0fd84a |
%doc README.md AUTHORS LICENSE
|
|
|
0fd84a |
%{_libdir}/libuv.so.*
|
|
|
0fd84a |
|
|
|
0fd84a |
%files devel
|
|
|
0fd84a |
%doc README.md AUTHORS LICENSE
|
|
|
0fd84a |
%{_libdir}/libuv.so
|
|
|
0fd84a |
%{_libdir}/pkgconfig/libuv.pc
|
|
|
0fd84a |
%{_includedir}/uv*.h
|
|
|
0fd84a |
%{_includedir}/uv-private
|
|
|
0fd84a |
|
|
|
0fd84a |
%changelog
|
|
|
0fd84a |
* Wed Jan 11 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.9.1-2
|
|
|
0fd84a |
- Remove Bundles(ev) since it's not true since 0.9.5
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Aug 31 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.9.1-1
|
|
|
0fd84a |
- Update to 1.9.1
|
|
|
0fd84a |
|
|
|
0fd84a |
* Tue Apr 05 2016 Tomas Hrcka <thrcka@redhat.com> - 1:1.7.5-8
|
|
|
0fd84a |
- Build .so with collection suffix in soname
|
|
|
0fd84a |
- Build using gyp
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Mar 30 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.7.5-4
|
|
|
0fd84a |
- Prefix name with -nodejs
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Feb 10 2016 Tomas Hrcka <thrcka@redhat.com> - 1:1.7.5-4
|
|
|
0fd84a |
- New upstream release
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.7.5-2
|
|
|
0fd84a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0fd84a |
|
|
|
0fd84a |
* Tue Dec 01 2015 Stephen Gallagher <sgallagh@redhat.com> 1.7.5-1
|
|
|
0fd84a |
- Rebase to 1.7.5 to support Node.js 4.2
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.0-2
|
|
|
0fd84a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:1.4.0-1
|
|
|
0fd84a |
- rebase to 1.4.0
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.33-2
|
|
|
0fd84a |
- add missing %%{_?isa} to devel requires of main package
|
|
|
0fd84a |
- fix some issues with the pkgconfig file and Group reported by Michael Schwendt
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.33-1
|
|
|
0fd84a |
- new upstream release 0.10.33
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.33/ChangeLog
|
|
|
0fd84a |
- update URL to point to the new libuv.org
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Jan 07 2015 Tomas Hrcka <thrcka@redhat.com> - 1:0.10.30-1
|
|
|
0fd84a |
- new upstream release 0.10.30
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Nov 19 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.29-1
|
|
|
0fd84a |
- new upstream release 0.10.29
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.29/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.10.28-2
|
|
|
0fd84a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
0fd84a |
|
|
|
0fd84a |
* Fri Aug 01 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.28-1
|
|
|
0fd84a |
- new upstream release 0.10.28
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.28/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Jul 03 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.27-3
|
|
|
0fd84a |
- build static library for rust (RHBZ#1115975)
|
|
|
0fd84a |
|
|
|
0fd84a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.10.27-2
|
|
|
0fd84a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
0fd84a |
|
|
|
0fd84a |
* Fri May 02 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.27-1
|
|
|
0fd84a |
- new upstream release 0.10.27
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.27/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Feb 20 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.25-1
|
|
|
0fd84a |
- new upstream release 0.10.25
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.25/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Fri Jan 31 2014 Tomas Hrcka <thrcka@redhat.com> - 1:0.10.23-2
|
|
|
0fd84a |
- new upstream release
|
|
|
0fd84a |
|
|
|
0fd84a |
* Mon Jan 27 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.23-1
|
|
|
0fd84a |
- new upstream release 0.10.23
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.23/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Dec 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.21-1
|
|
|
0fd84a |
- new upstream release 0.10.21
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.21/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Dec 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.20-1
|
|
|
0fd84a |
- new upstream release 0.10.20
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.20/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Dec 05 2013 Tomas Hrcka <thrcka@redhat.com> - 1:0.10.19-1.1
|
|
|
0fd84a |
- rebuilt with gyp from v8collection
|
|
|
0fd84a |
- build requires scl-runtime
|
|
|
0fd84a |
|
|
|
0fd84a |
* Tue Nov 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.19-1
|
|
|
0fd84a |
- new upstream release 0.10.19
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.19/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Fri Oct 18 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.18-1
|
|
|
0fd84a |
- new upstream release 0.10.18
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.18/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Sep 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.17-1
|
|
|
0fd84a |
- new upstream release 0.10.17
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.17/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Fri Sep 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.15-1
|
|
|
0fd84a |
- new upstream release 0.10.15
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.15/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Tue Aug 27 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.14-1
|
|
|
0fd84a |
- new upstream release 0.10.14
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.14/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Jul 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.13-1
|
|
|
0fd84a |
- new upstream release 0.10.13
|
|
|
0fd84a |
https://github.com/joyent/libuv/blob/v0.10.13/ChangeLog
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Jul 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.12-1
|
|
|
0fd84a |
- new upstream release 0.10.12
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.11-1
|
|
|
0fd84a |
- new upstream release 0.10.11
|
|
|
0fd84a |
|
|
|
0fd84a |
* Fri May 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.9-1
|
|
|
0fd84a |
- new upstream release 0.10.9
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.8-2
|
|
|
0fd84a |
- fix License tag (RHBZ#968226)
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.8-1
|
|
|
0fd84a |
- new upstream release 0.10.8
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.7-1
|
|
|
0fd84a |
- new upstream release 0.10.7
|
|
|
0fd84a |
- drop upstreamed patch from 0.10.5-2
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed May 15 2013 Tomas Hrcka <thrcka@redhat.com> - 1:0.10.5-1.1
|
|
|
0fd84a |
- updated to upstream stable version
|
|
|
0fd84a |
|
|
|
0fd84a |
* Mon May 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.5-3
|
|
|
0fd84a |
- don't sed the soname in the spec anymore; the patch takes care of it now
|
|
|
0fd84a |
- drop leftover global define for git revision
|
|
|
0fd84a |
|
|
|
0fd84a |
* Mon May 13 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.10.5-2
|
|
|
0fd84a |
- Add patch to properly report soname version information
|
|
|
0fd84a |
This patch will be included upstream in 0.10.6 and can be dropped then.
|
|
|
0fd84a |
- Remove Bundles(ev) as this has not been true since 0.9.5
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Apr 24 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.5-1
|
|
|
0fd84a |
- new upstream release 0.10.5
|
|
|
0fd84a |
|
|
|
0fd84a |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.4-1
|
|
|
0fd84a |
- new upstream release 0.10.4
|
|
|
0fd84a |
- drop upstreamed patch
|
|
|
0fd84a |
|
|
|
0fd84a |
* Fri Apr 05 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:0.10.3-3
|
|
|
0fd84a |
- Add support for software collections
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Apr 04 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.3-2
|
|
|
0fd84a |
- backport patch that fixes FTBFS in nodejs-0.10.3
|
|
|
0fd84a |
|
|
|
0fd84a |
* Sun Mar 31 2013 tchollingsworth@gmail.com - 1:0.10.3-1
|
|
|
0fd84a |
- rebase to 0.10.3
|
|
|
0fd84a |
- upstream now does proper releases
|
|
|
0fd84a |
|
|
|
0fd84a |
* Tue Mar 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.0-2.git5462dab
|
|
|
0fd84a |
- drop the patchlevel from the SONAME since libuv will retain binary
|
|
|
0fd84a |
compatibility for the life of the 0.10.x series
|
|
|
0fd84a |
|
|
|
0fd84a |
* Mon Mar 11 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.10.0-1.git5462dab
|
|
|
0fd84a |
- Upgrade to 0.10.0 release to match stable Node.js release
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Feb 28 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.9.4-4.gitdc559a5
|
|
|
0fd84a |
- Bump epoch for the version downgrade
|
|
|
0fd84a |
- The 0.9.7 version hit the Rawhide repo due to the mass rebuild, we need a
|
|
|
0fd84a |
clean upgrade path.
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Feb 21 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.4-3.gitdc559a5
|
|
|
0fd84a |
- Revert to version 0.9.4 (since 0.9.7 is breaking builds)
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-2.git4ba03dd
|
|
|
0fd84a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0fd84a |
|
|
|
0fd84a |
* Tue Jan 22 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.7-1.git4ba03dd
|
|
|
0fd84a |
- Bump to version included with Node.js 0.9.7
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Dec 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.4-0.1.gitdc559a5
|
|
|
0fd84a |
- bump to version included with node 0.9.4
|
|
|
0fd84a |
- drop upstreamed patch
|
|
|
0fd84a |
- respect optflags
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Nov 15 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.3.git09b0222
|
|
|
0fd84a |
- Add patch to export uv_inet_*
|
|
|
0fd84a |
|
|
|
0fd84a |
* Wed Nov 14 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.2.git09b0222
|
|
|
0fd84a |
- Fixes from package review
|
|
|
0fd84a |
- Removed doubly-listed include directory
|
|
|
0fd84a |
- Update git tarball to the latest upstream code
|
|
|
0fd84a |
|
|
|
0fd84a |
* Thu Nov 08 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.1.gitd56434a
|
|
|
0fd84a |
- Initial package
|