Mageia Bugzilla – Attachment 11557 Details for
Bug 26359
tl-expected - needed to build the newest desktop version of Telegram - new package request
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
tl-expected.spec (text/plain), 1.23 KB, created by
Kristoffer Grundström
on 2020-03-19 00:22:56 CET
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2020-03-19 00:22:56 CET
Size:
1.23 KB
patch
obsolete
>Summary: C++11/14/17 std::expected with functional-style extensions >Name: tl-expected >Version: 1.0.0 >Release: %mkrel 1 >License: Creative Commons Legal Code 1.0 Universal >Group: Networking/Instant messaging >Url: https://github.com/TartanLlama/expected >Source0: https://github.com/TartanLlama/expected/releases/download/v%{version}/v%{version}.tar.gz > >BuildRequires: cmake >BuildRequires: catch2 >BuildRequires: git > >%description >Single header implementation of std::expected with functional-style extensions. >std::expected is proposed as the preferred way to represent object which will >either have an expected value, or an unexpected value giving information about >why something failed. Unfortunately, chaining together many computations which >may fail can be verbose, as error-checking code will be mixed in with the >actual programming logic. This implementation provides a number of utilities to >make coding with expected cleaner. >Options: >- TESTS: off > >%prep >mkdir build > >%build >pushd build >cmake -DCMAKE_INSTALL_PREFIX=/usr .. >%make_build > >%check >cd "expected-$pkgver/build" > ./tests > >%install >cd "expected-$pkgver/build" > make DESTDIR="$pkgdir/" install > cd .. > install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" > >%files
Summary: C++11/14/17 std::expected with functional-style extensions Name: tl-expected Version: 1.0.0 Release: %mkrel 1 License: Creative Commons Legal Code 1.0 Universal Group: Networking/Instant messaging Url: https://github.com/TartanLlama/expected Source0: https://github.com/TartanLlama/expected/releases/download/v%{version}/v%{version}.tar.gz BuildRequires: cmake BuildRequires: catch2 BuildRequires: git %description Single header implementation of std::expected with functional-style extensions. std::expected is proposed as the preferred way to represent object which will either have an expected value, or an unexpected value giving information about why something failed. Unfortunately, chaining together many computations which may fail can be verbose, as error-checking code will be mixed in with the actual programming logic. This implementation provides a number of utilities to make coding with expected cleaner. Options: - TESTS: off %prep mkdir build %build pushd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. %make_build %check cd "expected-$pkgver/build" ./tests %install cd "expected-$pkgver/build" make DESTDIR="$pkgdir/" install cd .. install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" %files
View Attachment As Raw
Actions:
View
Attachments on
bug 26359
:
11556
| 11557