forked from pool/libsodium
- Initial release for build.opensuse.org
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsodium?expand=0&rev=1
This commit is contained in:
commit
9ccfb52868
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
libsodium-0.4.3.tar.gz
Normal file
3
libsodium-0.4.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:599ce19ae6ace2d30aee353b931088f720713c4e1d0b2918ed46de1914fb6042
|
||||||
|
size 523169
|
5
libsodium.changes
Normal file
5
libsodium.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 11 10:58:48 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Initial release for build.opensuse.org
|
||||||
|
|
86
libsodium.spec
Normal file
86
libsodium.spec
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libsodium
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%define lname libsodium4
|
||||||
|
Name: libsodium
|
||||||
|
Version: 0.4.3
|
||||||
|
Release: 0
|
||||||
|
License: ISC
|
||||||
|
Summary: Portable NaCl-based crypto library
|
||||||
|
Url: https://github.com/jedisct1/libsodium
|
||||||
|
Group: System/Libraries
|
||||||
|
Source: https://github.com/jedisct1/libsodium/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
NaCl (pronounced "salt") is a new easy-to-use high-speed software library
|
||||||
|
for network communication, encryption, decryption, signatures, etc.NaCl's goal
|
||||||
|
is to provide all of the core operations needed to build higher-level cryptographic tools.
|
||||||
|
|
||||||
|
Sodium is a portable, cross-compilable, installable, packageable fork of NaCl,
|
||||||
|
with a compatible API.
|
||||||
|
|
||||||
|
%package -n %{lname}
|
||||||
|
Summary: Portable NaCl-based crypto library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{lname}
|
||||||
|
NaCl (pronounced "salt") is a new easy-to-use high-speed software library
|
||||||
|
for network communication, encryption, decryption, signatures, etc. NaCl's goal
|
||||||
|
is to provide all of the core operations needed to build higher-level cryptographic tools.
|
||||||
|
|
||||||
|
Sodium is a portable, cross-compilable, installable, packageable fork of NaCl,
|
||||||
|
with a compatible API.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Portable NaCl-based crypto library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{lname} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains all necessary include files and libraries needed
|
||||||
|
to compile and develop applications that use libsodium.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %{lname}
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%{_libdir}/libsodium.so.4*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS ChangeLog LICENSE README
|
||||||
|
%{_includedir}/sodium.h
|
||||||
|
%{_includedir}/sodium
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user