diff --git a/README.md b/README.md index 92d237e..70e9d8c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libuv +Cross-platform asynchronous I/O. + diff --git a/libuv.spec b/libuv.spec new file mode 100644 index 0000000..987d22e --- /dev/null +++ b/libuv.spec @@ -0,0 +1,74 @@ +Name: libuv +Version: 1.22.0 +Release: 1mamba +Summary: Cross-platform asynchronous I/O +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libuv.org/ +## GITSOURCE https://github.com/libuv/libuv.git v1.22.0 +Source: https://github.com/libuv/libuv.git/v%{version}/libuv-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libe2fs-devel +BuildRequires: libkrb5-devel +BuildRequires: libnsl-devel +BuildRequires: libtirpc-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Cross-platform asynchronous I/O. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +./autogen.sh +%configure + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libuv.so.* +%doc AUTHORS LICENSE + +%files devel +%defattr(-,root,root) +%{_includedir}/uv.h +%dir %{_includedir}/uv +%{_includedir}/uv/* +%{_libdir}/libuv.a +%{_libdir}/libuv.la +%{_libdir}/libuv.so +%{_libdir}/pkgconfig/libuv.pc +%doc ChangeLog README.md + +%changelog +* Sun Aug 05 2018 Silvan Calarco 1.22.0-1mamba +- package created using the webbuild interface