diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..61fbcb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/wangle-????.??.??.??.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..9be2c93 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# wangle + +The wangle package diff --git a/changelog b/changelog new file mode 100644 index 0000000..b416a67 --- /dev/null +++ b/changelog @@ -0,0 +1,89 @@ +* Thu Nov 18 2021 Michel Alexandre Salim - 2021.11.15.00-3 +- Rebuilt with OpenSSL 1.1.1 + +* Thu Nov 18 2021 Michel Alexandre Salim - 2021.11.15.00-2 +- Opt in to rpmautospec + +* Thu Nov 18 2021 Michel Alexandre Salim - 2021.11.15.00-1 +- Update to 2021.11.15.00 + +* Tue Sep 14 2021 Sahana Prasad - 2021.08.02.00-2 +- Rebuilt with OpenSSL 3.0.0 + +* Thu Aug 5 2021 Filipe Brandenburger - 2021.08.02.00-1 +- Update to 2021.08.02.00 + +* Thu Jul 29 2021 Michel Alexandre Salim - 2021.07.22.00-3 +- Use C++20 standard, in order to enable C++ coroutines + +* Tue Jul 27 2021 Michel Alexandre Salim - 2021.07.22-00-2 +- Rebuilt for folly 2021.07.22.00 + +* Sat Jul 24 2021 Michel Alexandre Salim - 2021.07.22.00-1 +- Update to 2021.07.22.00 + +* Fri Jul 23 2021 Fedora Release Engineering - 2021.06.28.00-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jul 12 2021 Michel Alexandre Salim - 2021.06.28.00-1 +- Update to 2021.06.28.00 + +* Wed Jun 09 2021 Michel Alexandre Salim - 2021.06.07.00-1 +- Update to 2021.06.07.00 + +* Mon May 10 2021 Michel Alexandre Salim - 2021.05.10.00-1 +- Update to 2021.05.10.00 + +* Mon Apr 26 2021 Michel Alexandre Salim - 2021.04.26.00-1 +- Update to 2021.04.26.00 + +* Fri Apr 16 2021 Michel Alexandre Salim - 2021.04.12.00-1 +- Update to 2021.04.12.00 + +* Mon Mar 29 2021 Michel Alexandre Salim - 2021.03.29.00-1 +- Update to 2021.03.29.00 + +* Wed Mar 24 2021 Michel Alexandre Salim - 2021.03.22.00-1 +- Update to 2021.03.22.00 + +* Mon Mar 15 2021 Michel Alexandre Salim - 2021.03.15.00-1 +- Update to 2021.03.15.00 + +* Wed Feb 03 2021 Michel Alexandre Salim - 2021.02.01.00-1 +- Update to 2021.02.01.00 + +* Wed Jan 27 2021 Fedora Release Engineering - 2021.01.25.00-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 26 17:49:34 PST 2021 Michel Alexandre Salim - 2021.01.25.00-1 +- Update to 2021.01.25.00 + +* Tue Dec 29 12:15:28 PST 2020 Michel Alexandre Salim - 2020.12.28.00-1 +- Update to 2020.12.28.00 + +* Tue Dec 22 16:56:57 PST 2020 Michel Alexandre Salim - 2020.12.21.00-1 +- Update to 2020.12.21.00 + +* Mon Nov 30 10:42:48 PST 2020 Michel Alexandre Salim - 2020.11.30.00-1 +- Update to 2020.11.30.00 + +* Mon Nov 23 2020 Michel Alexandre Salim - 2020.11.23.00-1 +- Update to 2020.11.23.00 + +* Mon Nov 16 2020 Michel Alexandre Salim - 2020.11.16.00-1 +- Update to 2020.11.16.00 + +* Mon Nov 9 2020 Michel Alexandre Salim - 2020.11.09.00-1 +- Update to 2020.11.09.00 + +* Mon Nov 2 2020 Michel Alexandre Salim - 2020.11.02.00-1 +- Update to 2020.11.02.00 + +* Fri Oct 30 2020 Michel Alexandre Salim - 2020.10.26.00-3 +- Enable static subpackage on architectures where fizz-static is available + +* Wed Oct 28 2020 Michel Alexandre Salim - 2020.10.26.00-2 +- Add ExcludeArch on s390x due to dependency on folly + +* Mon Oct 26 2020 Michel Alexandre Salim - 2020.10.26.00-1 +- Initial package diff --git a/dead.package b/dead.package deleted file mode 100644 index d3a5483..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Retiring folly and related libraries, https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/KLNKMLQ3Q2O6SOSICXCCKGUILW76SNVL/ diff --git a/sources b/sources new file mode 100644 index 0000000..138dc84 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wangle-2025.02.03.00.tar.gz) = 8c25a9c104c34a3ba02bbf14588a97ae9e8aea7cabcd1a881548573cdff259e40f6f2c439212cf8d22a5d95d65f51438a211473102f40ecba87f3d5ef2eff499 diff --git a/wangle.spec b/wangle.spec new file mode 100644 index 0000000..8ed5ed3 --- /dev/null +++ b/wangle.spec @@ -0,0 +1,118 @@ +%bcond_with toolchain_clang + +# use this to re-test running all tests +%bcond_with all_tests + +%if %{with toolchain_clang} +%global toolchain clang +%endif + +%bcond_without check + +Name: wangle +Version: 2025.02.03.00 +Release: %autorelease +Summary: Framework for building services in a consistent/modular/composable way + +License: Apache-2.0 +URL: https://github.com/facebook/wangle +Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +ExclusiveArch: x86_64 aarch64 ppc64le riscv64 + +BuildRequires: cmake +%if %{with toolchain_clang} +BuildRequires: clang +%else +BuildRequires: gcc-c++ +%endif +# Library dependencies +BuildRequires: fizz-devel = %{version} +BuildRequires: folly-devel = %{version} +%if %{with check} +BuildRequires: boost-devel +BuildRequires: gmock-devel +BuildRequires: gtest-devel +%endif + + +%global _description %{expand: +Wangle is a library that makes it easy to build protocols, application clients, +and application servers. + +It's like Netty + Finagle smooshed together, but in C++.} + +%description %{_description} + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-static < 2022.02.28.00-1 + +%description devel %{_description} +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 + + +%build +cd wangle +%cmake \ +%if %{with check} + -DBUILD_TESTS=ON \ +%else + -DBUILD_TESTS=OFF \ +%endif + -DCMAKE_INSTALL_DIR=%{_libdir}/cmake/%{name} \ + -DPACKAGE_VERSION=%{version} +%cmake_build +cd - + + +%install +cd wangle +%cmake_install +cd - + + +%if %{with check} +%check +cd wangle +%if %{with all_tests} +%ctest +%else +EXCLUDED_TESTS='--exclude-regex ' +# somehow we can't just disable these two +# [ FAILED ] SSLContextManagerTest.TestSingleClientCAFileSet +# [ FAILED ] SSLContextManagerTest.TestMultipleClientCAsSet +EXCLUDED_TESTS+='SSLContextManagerTest' + +%ifarch ppc64le +# The following tests FAILED: +# 6 - BroadcastPoolTest (SEGFAULT) +EXCLUDED_TESTS+='|BroadcastPoolTest' +%endif + +%ctest ${EXCLUDED_TESTS} +%endif +cd - +%endif + + +%files +%license LICENSE +%{_libdir}/*.so.%{version} + +%files devel +%doc CONTRIBUTING.md README.md tutorial.md +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/cmake/%{name} + + +%changelog +%autochangelog