Compare commits
47 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
71537401a1 |
|||
|
|
bdef791b63 | ||
| 66560b9b58 | |||
|
|
224a2e7a89 | ||
|
42b93cef35 |
|||
|
46cb5d3765 |
|||
|
|
5bc22f35c8 | ||
|
|
424c75fd62 | ||
|
92dd6d1055 |
|||
|
|
9fa437f13d | ||
|
dc51b2c637 |
|||
|
bf4ba338e2 |
|||
|
bcd533c704 |
|||
| 4bec0df6df | |||
|
829958beab |
|||
|
|
dfad6998cd | ||
|
cce9b9cdb0 |
|||
|
|
15aaa8154f |
||
|
6320e1f64e |
|||
|
|
7e0a041836 | ||
|
|
868b1295cd | ||
| 457f208edc | |||
| 0346e7c069 | |||
| c71bcf3e36 | |||
| b38f8dc1b8 | |||
| 97e78f36f0 | |||
| 6b907136b0 | |||
| 29da146b4c | |||
| 02f18ed9a0 | |||
|
|
86a1370698 | ||
| 1126f55849 | |||
| a4dd13b467 | |||
| 59a7f9bbee | |||
| f98abc3f0d | |||
| 869d82d399 | |||
|
|
7fc63893d9 | ||
|
|
a555fc83bc | ||
|
|
1e3a2f80ee | ||
|
|
0cfdb00388 | ||
| a644665209 | |||
| 86784d6679 | |||
| 1c8d9912a7 | |||
|
|
d66d197d6f | ||
|
b34b9120a7 |
|||
|
|
79bdbeee7c | ||
|
|
a14943818f | ||
|
|
c76ef667f3 |
5 changed files with 1 additions and 186 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/wangle-2021.04.12.00.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# wangle
|
||||
|
||||
The wangle package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Retiring folly and related libraries, https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/KLNKMLQ3Q2O6SOSICXCCKGUILW76SNVL/
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (wangle-2021.04.12.00.tar.gz) = 5c15fdc49b57a74711311e6a7bdd5801c13077c95c67e269b75d00bebb4962f29f292d1f28838cb11b5e5d1308e961caba3b95f65158f679f9dcbf6f4e5a74fe
|
||||
181
wangle.spec
181
wangle.spec
|
|
@ -1,181 +0,0 @@
|
|||
# Depends on fizz, which has linking issues on some platforms:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1893332
|
||||
%ifarch i686 x86_64
|
||||
%bcond_without static
|
||||
%else
|
||||
%bcond_with static
|
||||
%endif
|
||||
|
||||
# Tests are not currently passing
|
||||
%bcond_with tests
|
||||
|
||||
%global _static_builddir static_build
|
||||
|
||||
Name: wangle
|
||||
Version: 2021.04.12.00
|
||||
Release: 1%{?dist}
|
||||
Summary: Framework for building services in a consistent/modular/composable way
|
||||
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/facebook/wangle
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# Folly is known not to work on big-endian CPUs
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1892807
|
||||
ExcludeArch: s390x
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
# Library dependencies
|
||||
BuildRequires: fizz-devel
|
||||
BuildRequires: folly-devel
|
||||
%if %{with static}
|
||||
BuildRequires: fizz-static
|
||||
BuildRequires: folly-static
|
||||
%endif
|
||||
|
||||
%description
|
||||
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++.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%if %{with static}
|
||||
%package static
|
||||
Summary: Static development libraries for %{name}
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description static
|
||||
The %{name}-static package contains static libraries for
|
||||
developing applications that use %{name}.
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
%cmake wangle \
|
||||
%if %{with tests}
|
||||
-DBUILD_TESTS=ON \
|
||||
%else
|
||||
-DBUILD_TESTS=OFF \
|
||||
%endif
|
||||
-DCMAKE_INSTALL_DIR=%{_libdir}/cmake/%{name} \
|
||||
-DPACKAGE_VERSION=%{version} \
|
||||
-DSO_VERSION=%{version}
|
||||
%cmake_build
|
||||
|
||||
%if %{with static}
|
||||
# static build
|
||||
mkdir %{_static_builddir}
|
||||
cd %{_static_builddir}
|
||||
%cmake ../wangle \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DCMAKE_INSTALL_DIR=%{_libdir}/cmake/%{name}-static \
|
||||
-DFIZZ_ROOT=%{_libdir}/cmake/fizz-static \
|
||||
-DFOLLY_ROOT=%{_libdir}/cmake/folly-static \
|
||||
-DPACKAGE_VERSION=%{version}
|
||||
%cmake_build
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
%if %{with static}
|
||||
# static build
|
||||
pushd %{_static_builddir}
|
||||
%cmake_install
|
||||
popd
|
||||
%endif
|
||||
|
||||
%cmake_install
|
||||
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%ctest
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%doc CONTRIBUTING.md README.md tutorial.md
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/cmake/%{name}
|
||||
|
||||
%if %{with static}
|
||||
%files static
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/cmake/%{name}-static
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 16 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.04.12.00-1
|
||||
- Update to 2021.04.12.00
|
||||
|
||||
* Mon Mar 29 2021 Michel Alexandre Salim <michel@michel-slm.name> - 2021.03.29.00-1
|
||||
- Update to 2021.03.29.00
|
||||
|
||||
* Wed Mar 24 2021 Michel Alexandre Salim <michel@michel-slm.name> - 2021.03.22.00-1
|
||||
- Update to 2021.03.22.00
|
||||
|
||||
* Mon Mar 15 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.03.15.00-1
|
||||
- Update to 2021.03.15.00
|
||||
|
||||
* Wed Feb 03 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.02.01.00-1
|
||||
- Update to 2021.02.01.00
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 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 <salimma@fedoraproject.org> - 2021.01.25.00-1
|
||||
- Update to 2021.01.25.00
|
||||
|
||||
* Tue Dec 29 12:15:28 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.12.28.00-1
|
||||
- Update to 2020.12.28.00
|
||||
|
||||
* Tue Dec 22 16:56:57 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.12.21.00-1
|
||||
- Update to 2020.12.21.00
|
||||
|
||||
* Mon Nov 30 10:42:48 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.30.00-1
|
||||
- Update to 2020.11.30.00
|
||||
|
||||
* Mon Nov 23 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.23.00-1
|
||||
- Update to 2020.11.23.00
|
||||
|
||||
* Mon Nov 16 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.16.00-1
|
||||
- Update to 2020.11.16.00
|
||||
|
||||
* Mon Nov 9 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.09.00-1
|
||||
- Update to 2020.11.09.00
|
||||
|
||||
* Mon Nov 2 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.02.00-1
|
||||
- Update to 2020.11.02.00
|
||||
|
||||
* Fri Oct 30 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.10.26.00-3
|
||||
- Enable static subpackage on architectures where fizz-static is available
|
||||
|
||||
* Wed Oct 28 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.10.26.00-2
|
||||
- Add ExcludeArch on s390x due to dependency on folly
|
||||
|
||||
* Mon Oct 26 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.10.26.00-1
|
||||
- Initial package
|
||||
Loading…
Add table
Add a link
Reference in a new issue