ivykis/ivykis.spec

84 lines
2.3 KiB
RPMSpec

Name: ivykis
Version: 0.43.2
Release: 1mamba
Summary: Async I/O-assisting library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/libivykis/
Source: https://sourceforge.net/projects/libivykis/files/%{version}/ivykis-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
libivykis is a thin wrapper over various OS'es implementation of I/O readiness notification facilities (such as poll(2), kqueue(2)) and is mainly intended for writing portable high-performance network servers.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libivykis.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/iv.h
%{_includedir}/iv_*.h
%{_libdir}/libivykis.a
%{_libdir}/libivykis.so
%{_libdir}/pkgconfig/ivykis.pc
%{_mandir}/man3/IV_*.3*
%{_mandir}/man3/iv_*.3*
%{_mandir}/man3/ivykis.3*
%changelog
* Wed Jul 17 2024 Automatic Build System <autodist@openmamba.org> 0.43.2-1mamba
- automatic version update by autodist
* Tue Jun 04 2024 Automatic Build System <autodist@openmamba.org> 0.43.1-1mamba
- automatic version update by autodist
* Wed Jan 31 2024 Automatic Build System <autodist@openmamba.org> 0.43-1mamba
- automatic version update by autodist
* Sat Feb 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.42.4-1mamba
- package created using the webbuild interface