Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
matrix-synapse
libsodium23
libsodium23.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libsodium23.spec of Package libsodium23
# remirepo spec file for libsodium23 # renamed for parallel installation, from: # # Fedora spec file for libsodium # # License: MIT # http://opensource.org/licenses/MIT # # Please preserve changelog entries # %global libname libsodium %global soname 23 # soname 13 since 1.0.0 # soname 17 since 1.0.6 # soname 18 since 1.0.7 # soname 23 since 1.0.15 %if 0%{?fedora} >= 28 # Standard build Name: %{libname} %else # Build for parallel install Name: %{libname}%{soname} %endif Version: 1.0.16 Release: 1%{?dist} Summary: The Sodium crypto library Group: System Environment/Libraries License: ISC URL: http://libsodium.org/ Source0: http://download.libsodium.org/libsodium/releases/%{libname}-%{version}.tar.gz BuildRequires: gcc %if "%{libname}" != "%{name}" Provides: %{libname} = %{version}-%{release} Provides: %{libname}%{?_isa} = %{version}-%{release} %else Obsoletes: %{libname}%{soname} <= %{version} %endif %description Sodium is a new, easy-to-use software library for encryption, decryption, signatures, password hashing and more. It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further. Its goal is to provide all of the core operations needed to build higher-level cryptographic tools. The design choices emphasize security, and "magic constants" have clear rationales. The same cannot be said of NIST curves, where the specific origins of certain constants are not described by the standards. And despite the emphasis on higher security, primitives are faster across-the-board than most implementations of the NIST standards. %if "%{libname}" != "%{name}" This package can be installed beside system %{libname}. %endif %package static Summary: Static library for %{name} Group: Development/Libraries Requires: %{name}-devel%{?_isa} = %{version}-%{release} %if "%{libname}" != "%{name}" Conflicts: %{libname}-static < %{version} Provides: %{libname}-static = %{version}-%{release} Provides: %{libname}-static%{?_isa} = %{version}-%{release} %else Obsoletes: %{libname}-last-static <= %{version} Obsoletes: %{libname}%{soname}-static <= %{version} %endif %description static This package contains the static library for statically linking applications to use %{name}. %if "%{libname}" != "%{name}" This package can't be installed with system %{libname}-static. %endif %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %if "%{libname}" != "%{name}" Conflicts: %{libname}-devel < %{version} Provides: %{libname}-devel = %{version}-%{release} Provides: %{libname}-devel%{?_isa} = %{version}-%{release} %else Obsoletes: %{libname}-last-devel <= %{version} Obsoletes: %{libname}%{soname}-devel <= %{version} %endif %description devel This package contains libraries and header files for developing applications that use %{name} libraries. %if "%{libname}" != "%{name}" This package can't be installed with system %{libname}-devel. %endif %prep %setup -q -n %{libname}-%{version} %build %configure \ --disable-silent-rules \ --disable-opt make %{_smp_mflags} %install make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/%{libname}.la %check make check %if 0%{?fedora} < 28 && 0%{?rhel} < 8 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %endif %files %{!?_licensedir:%global license %%doc} %license LICENSE %{_libdir}/%{libname}.so.%{soname}* %files devel %doc AUTHORS ChangeLog README.markdown THANKS %doc test/default/*.{c,exp,h} %doc test/quirks/quirks.h %{_includedir}/sodium.h %{_includedir}/sodium/ %{_libdir}/%{libname}.so %{_libdir}/pkgconfig/%{libname}.pc %files static %{_libdir}/libsodium.a
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor