forked from pool/liboqs
Accepting request 945148 from devel:libraries:c_c++
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/945148 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liboqs?expand=0&rev=2
This commit is contained in:
commit
8bca1df1ae
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 2 18:26:29 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Trim redundancies from description. Remove old specfile
|
||||||
|
constructs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 12 13:08:09 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
Fri Nov 12 13:08:09 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
18
liboqs.spec
18
liboqs.spec
@ -19,7 +19,7 @@
|
|||||||
Name: liboqs
|
Name: liboqs
|
||||||
Version: 0.7.1
|
Version: 0.7.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Open source C library for quantum-resistant cryptographic algorithms
|
Summary: C library for quantum-resistant cryptographic algorithms
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
Url: https://github.com/open-quantum-safe/liboqs/
|
Url: https://github.com/open-quantum-safe/liboqs/
|
||||||
@ -29,7 +29,6 @@ Patch0: liboqs-fix-build.patch
|
|||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
liboqs is an open source C library for quantum-resistant cryptographic
|
liboqs is an open source C library for quantum-resistant cryptographic
|
||||||
@ -37,11 +36,11 @@ algorithms. Details about liboqs can be found in README.md. See in
|
|||||||
particular limitations on intended use.
|
particular limitations on intended use.
|
||||||
|
|
||||||
%package -n liboqs0
|
%package -n liboqs0
|
||||||
Summary: Open source C library for quantum-resistant cryptographic algorithms
|
Summary: C library for quantum-resistant cryptographic algorithms
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n liboqs0
|
%description -n liboqs0
|
||||||
liboqs is an open source C library for quantum-resistant cryptographic
|
liboqs is a C library for quantum-resistant cryptographic
|
||||||
algorithms. Details about liboqs can be found in README.md. See in
|
algorithms. Details about liboqs can be found in README.md. See in
|
||||||
particular limitations on intended use.
|
particular limitations on intended use.
|
||||||
|
|
||||||
@ -55,14 +54,12 @@ liboqs is an open source C library for quantum-resistant cryptographic
|
|||||||
algorithms. Details about liboqs can be found in README.md. See in
|
algorithms. Details about liboqs can be found in README.md. See in
|
||||||
particular limitations on intended use.
|
particular limitations on intended use.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
mkdir build
|
||||||
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -std=gnu11"
|
export RPM_OPT_FLAGS="%optflags -std=gnu11"
|
||||||
cd build
|
cd build
|
||||||
cmake -DBUILD_SHARED_LIBS=ON ..
|
cmake -DBUILD_SHARED_LIBS=ON ..
|
||||||
%cmake_build
|
%cmake_build
|
||||||
@ -77,17 +74,13 @@ fi
|
|||||||
rmdir %buildroot/usr/local/
|
rmdir %buildroot/usr/local/
|
||||||
|
|
||||||
%post -n liboqs0 -p /sbin/ldconfig
|
%post -n liboqs0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%postun -n liboqs0 -p /sbin/ldconfig
|
%postun -n liboqs0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n liboqs0
|
%files -n liboqs0
|
||||||
%defattr(-,root,root)
|
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
/%{_libdir}/liboqs.so.0*
|
/%{_libdir}/liboqs.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%dir %{_includedir}/oqs
|
%dir %{_includedir}/oqs
|
||||||
%{_includedir}/oqs/*
|
%{_includedir}/oqs/*
|
||||||
@ -97,5 +90,4 @@ rmdir %buildroot/usr/local/
|
|||||||
/%_libdir/cmake/liboqs/liboqsConfig-noconfig.cmake
|
/%_libdir/cmake/liboqs/liboqsConfig-noconfig.cmake
|
||||||
/%_libdir/cmake/liboqs/liboqsConfig.cmake
|
/%_libdir/cmake/liboqs/liboqsConfig.cmake
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user