libuv/libuv.spec

75 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: libuv
Version: 1.22.0
Release: 1mamba
Summary: Cross-platform asynchronous I/O
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.22.0-1mamba
- package created using the webbuild interface