77 lines
2.3 KiB
RPMSpec
77 lines
2.3 KiB
RPMSpec
|
Name: jthread
|
||
|
Version: 1.3.3
|
||
|
Release: 1mamba
|
||
|
Summary: Library with provides some classes to make use of threads easy on different platforms
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://research.edm.uhasselt.be/jori/page/CS/Jthread.html
|
||
|
Source: https://research.edm.uhasselt.be/jori/jthread/jthread-%{version}.tar.bz2
|
||
|
License: MIT
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description
|
||
|
The JThread package provides some classes to make use of threads easy on different platforms. The classes are actually rather simple wrappers around existing thread implementations.
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: Shared libraries for %{name}
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
The JThread package provides some classes to make use of threads easy on different platforms. The classes are actually rather simple wrappers around existing thread implementations.
|
||
|
This package contains shared libraries for %{name}.
|
||
|
|
||
|
%package -n lib%{name}-devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Library with provides some classes to make use of threads easy on different platforms
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake
|
||
|
%cmake_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%cmake_install
|
||
|
|
||
|
%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}/libjthread.so.*
|
||
|
%doc LICENSE.MIT
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/jthread
|
||
|
%{_includedir}/jthread/*
|
||
|
%dir %{_libdir}/cmake/JThread
|
||
|
%{_libdir}/cmake/JThread/JThreadConfig.cmake
|
||
|
%{_libdir}/libjthread.a
|
||
|
%{_libdir}/libjthread.so
|
||
|
%{_libdir}/pkgconfig/jthread.pc
|
||
|
%doc ChangeLog README.md
|
||
|
|
||
|
%changelog
|
||
|
* Thu Jun 27 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-1mamba
|
||
|
- package created using the webbuild interface
|