diff options
author | Sam Kottler <shk@redhat.com> | 2013-07-29 13:16:55 -0400 |
---|---|---|
committer | Sam Kottler <shk@redhat.com> | 2013-07-29 13:16:55 -0400 |
commit | 57a5bcb9d69aa07c56231034bec782ba99e6ac12 (patch) | |
tree | 88139dd6cb613862a34529bb19f1b231f6b75a2a | |
download | packages-57a5bcb9d69aa07c56231034bec782ba99e6ac12.tar.gz packages-57a5bcb9d69aa07c56231034bec782ba99e6ac12.tar.xz packages-57a5bcb9d69aa07c56231034bec782ba99e6ac12.zip |
Initial work on libsodium
-rw-r--r-- | libsodium/libsodium.spec | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/libsodium/libsodium.spec b/libsodium/libsodium.spec new file mode 100644 index 0000000..41edc97 --- /dev/null +++ b/libsodium/libsodium.spec @@ -0,0 +1,59 @@ +Name: libsodium +Version: 0.4.2 +Release: 1%{?dist} +Summary: P(ortable|ackageable) NaCl-based crypto library + +Group: System Environemnt/Libraries +License: GPLv3 +URL: https://github.com/jedisct1/%{name} +Source0: https://github.com/jedisct1/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +#BuildRequires: +#Requires: + +%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. + +%package devel +Summary: Files for development of application which will use libsodium +Group: Development/Libraries + +%description devel +NaCl (pronounced "salt") is a new easy-to-use high-speed software library for +network communication, encryption, decryption, signatures, etc. The +libsodium-devel package contains various include files needed to develop +applications which rely on libsodium. + +%prep +%setup -q -n %{name}-%{version} + + +%build +%configure +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} + +%files +%defattr(-, root,root) +%doc + +%files devel +%defattr(-,root,root) +%{_includedir}/sodium.h +%{_includedir}/sodium +%{_libdir}/*.so +%{_prefix}/%{_lib}/libsodium.a +%{_prefix}/%{_lib}/libsodium.so.* +%{_prefix}/%{_lib}/libsodium.la + +# %files static +#%defattr(-,root,root) +#%attr(0644,root,root) %{_libdir}/*.a + +%changelog + |