SHA256
1
0
forked from pool/libTMCG

Accepting request 570402 from games

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/570402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libTMCG?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-01-29 13:58:41 +00:00 committed by Git OBS Bridge
commit 07c3806b54
2 changed files with 32 additions and 51 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 21 20:37:20 UTC 2018 - jengelh@inai.de
- Compact description for size. Outright trim SRPM description.
- Do not ship static libraries.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 15 15:55:56 UTC 2018 - kbabioch@suse.com Mon Jan 15 15:55:56 UTC 2018 - kbabioch@suse.com

View File

@ -24,7 +24,7 @@ Version: 1.3.10
Release: 0 Release: 0
Summary: C++ library for creating secure and fair online card games Summary: C++ library for creating secure and fair online card games
License: GPL-2.0+ License: GPL-2.0+
Group: System/Libraries Group: Development/Libraries/C and C++
Url: http://www.nongnu.org/libtmcg/ Url: http://www.nongnu.org/libtmcg/
Source: http://download.savannah.gnu.org/releases/libtmcg/%{name}-%{version}.tar.gz Source: http://download.savannah.gnu.org/releases/libtmcg/%{name}-%{version}.tar.gz
Source2: http://download.savannah.gnu.org/releases/libtmcg/%{name}-%{version}.tar.gz.sig Source2: http://download.savannah.gnu.org/releases/libtmcg/%{name}-%{version}.tar.gz.sig
@ -38,80 +38,56 @@ Requires: gmp >= 4.2
%description %description
LibTMCG is a C++ library for creating secure and fair online card LibTMCG is a C++ library for creating secure and fair online card
games. The library contains a sort of useful classes, algorithms, games. The library contains classes, algorithms, and high-level
and high-level protocols to support an application programmer in protocols to support an application programmer in writing such
writing such software. The most remarkable feature is the absence software.
of a trusted third party (TTP), i.e. neither a central game server
nor trusted hardware components are necessary. Thus, with the present
library there is no need for an independent referee, because the
applied protocols provide a basic level of confidentiality and
fairness by itself. Consequently, the library is well-suited for
peer-to-peer (P2P) environments where no TTP is available. Of
course, we cannot avoid that malicious players share information
about their private cards, but the protocols ensure that the shuffle
of the deck is performed randomly (presumed that at least one player
is honest) and thus the cards will be distributed uniformly among
the players. Further, no coalition can learn the private cards of a
player against his will (except for trivial conclusions). The
corresponding cryptographic problem, actually called Mental Poker, has
been studied since 1979 (Shamir, Rivest, and Adleman) by many authors.
LibTMCG provides the first practical implementation of such protocols.
The implementation relies on advanced cryptographic techniques---the
so-called zero-knowledge proofs. Using these building blocks the high
level protocols minimize the effect of coalitions and preserve the
confidentiality of the players' strategy, i.e. the players are not
required to reveal their cards at the end of the game to show that
they did not cheat.
%package -n libTMCG%{sover} %package -n libTMCG%{sover}
Summary: C++ library for creating secure and fair online card games Summary: C++ library for creating secure and fair online card games
Group: System/Libraries Group: System/Libraries
%description -n libTMCG%{sover} %description -n libTMCG%{sover}
LibTMCG is a C++ library for creating secure and fair online card LibTMCG is a C++ library for creating secure and fair online card
games. The library contains a sort of useful classes, algorithms, games. The library contains classes, algorithms, and high-level
and high-level protocols to support an application programmer in protocols to support an application programmer in writing such
writing such software. The most remarkable feature is the absence software. Neither a trusted third party (TTP), i.e. a central game
of a trusted third party (TTP), i.e. neither a central game server server, nor trusted hardware components are necessary. With the
nor trusted hardware components are necessary. Thus, with the present library, there is no need for an independent referee, because the
library there is no need for an independent referee, because the
applied protocols provide a basic level of confidentiality and applied protocols provide a basic level of confidentiality and
fairness by itself. Consequently, the library is well-suited for fairness by itself. The library is suited for peer-to-peer (P2P)
peer-to-peer (P2P) environments where no TTP is available. Of environments where no TTP is available.
course, we cannot avoid that malicious players share information
about their private cards, but the protocols ensure that the shuffle
of the deck is performed randomly (presumed that at least one player
is honest) and thus the cards will be distributed uniformly among
the players. Further, no coalition can learn the private cards of a
player against his will (except for trivial conclusions). The
corresponding cryptographic problem, actually called Mental Poker, has
been studied since 1979 (Shamir, Rivest, and Adleman) by many authors.
LibTMCG provides the first practical implementation of such protocols.
The implementation relies on advanced cryptographic techniques---the It cannot be avoided that malicious players share information about
so-called zero-knowledge proofs. Using these building blocks the high their private cards, but the protocols ensure that the shuffle of the
level protocols minimize the effect of coalitions and preserve the deck is performed randomly (presumed that at least one player is
honest) and thus the cards will be distributed uniformly among the
players. Further, no coalition can learn the private cards of a
player against his will (except for trivial conclusions). The
corresponding cryptographic problemis called Mental Poker, and
LibTMCG provides an implementation of such protocols.
The implementation relies on cryptographic techniques---the so-called
zero-knowledge proofs. Using these building blocks, the high-level
protocols minimize the effect of coalitions and preserve the
confidentiality of the players' strategy, i.e. the players are not confidentiality of the players' strategy, i.e. the players are not
required to reveal their cards at the end of the game to show that required to reveal their cards at the end of the game to show that
they did not cheat. they did not cheat.
%package devel %package devel
Summary: Libraries, includes etc to develop with libTMCG library Summary: Libraries and headers to develop with libTMCG library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name}%{sover} = %{version} Requires: %{name}%{sover} = %{version}
Requires(post): %{install_info_prereq} Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq} Requires(preun): %{install_info_prereq}
%description devel %description devel
Libraries, includes etc to develop with the libTMCG library. Libraries and headers to develop with the libTMCG library.
%prep %prep
%setup -q %setup -q
%build %build
%configure %configure --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -134,7 +110,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files devel %files devel
%doc AUTHORS BUGS ChangeLog COPYING NEWS PATENTS THANKS TODO README %doc AUTHORS BUGS ChangeLog COPYING NEWS PATENTS THANKS TODO README
%{_bindir}/%{name}-config %{_bindir}/%{name}-config
%{_libdir}/lib*.a
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_includedir}/*.h* %{_includedir}/*.h*
%{_datadir}/aclocal/%{name}.m4 %{_datadir}/aclocal/%{name}.m4