From 5c868c12c5927fa0aa0d07d6153879e62a52f012 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 29 Jul 2024 10:59:15 +0200 Subject: [PATCH] package created using the webbuild interface [release 1.3.3-1mamba;Thu Jun 27 2024] --- README.md | 2 ++ jthread.spec | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 jthread.spec diff --git a/README.md b/README.md index 6989428..3af7c6b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # jthread +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. + diff --git a/jthread.spec b/jthread.spec new file mode 100644 index 0000000..33bf900 --- /dev/null +++ b/jthread.spec @@ -0,0 +1,76 @@ +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 +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 1.3.3-1mamba +- package created using the webbuild interface