Merge branch 'upstream' into tizen 54/73354/1 accepted/tizen/common/20160614.143703 accepted/tizen/ivi/20160614.041243 accepted/tizen/mobile/20160614.041223 accepted/tizen/tv/20160614.041236 accepted/tizen/wearable/20160614.041228 submit/tizen/20160613.080449
authorsangsu <sangsu.choi@samsung.com>
Wed, 8 Jun 2016 00:22:23 +0000 (09:22 +0900)
committersangsu <sangsu.choi@samsung.com>
Wed, 8 Jun 2016 00:52:47 +0000 (09:52 +0900)
Change-Id: I3ae79be1656be892d7f2e0b7c7f682ba424ed2a8
Signed-off-by: sangsu <sangsu.choi@samsung.com>
1  2 
packaging/nettle.spec

index af2d0d8,0000000..08c18b7
mode 100644,000000..100644
--- /dev/null
@@@ -1,112 -1,0 +1,112 @@@
- Version:        2.7.1
 +Name:           nettle
++Version:        3.2
 +Release:        0
 +Summary:        Cryptographic Library
 +License:        LGPL-2.1+ and GPL-2.0+
 +Group:          Security/Crypto Libraries
 +Source0:        ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-%{version}.tar.gz
 +Source1:        baselibs.conf
 +Source1001:   nettle.manifest
 +BuildRequires:  gmp-devel
 +BuildRequires:  pkgconfig
 +
 +%description
 +Nettle is a cryptographic library that is designed to fit easily in more or
 +less any context: In crypto toolkits for object-oriented languages (C++,
 +Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
 +
 +%package -n libhogweed
 +
 +Summary:        Cryptographic Library for Public Key Algorithms
 +License:        LGPL-2.1+
 +Group:          Security/Crypto Libraries
 +
 +%description -n libhogweed
 +Nettle is a cryptographic library that is designed to fit easily in more or
 +less any context: In crypto toolkits for object-oriented languages (C++,
 +Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
 +
 +The libhogweed library contains public key algorithms to use with libnettle.
 +
 +%package -n libnettle-devel
 +Summary:        Cryptographic Library
 +License:        LGPL-2.1+
 +Group:          Development/Libraries
 +Requires:       glibc-devel
 +Requires:       gmp-devel
 +Requires:       libhogweed = %{version}
 +Requires:       libnettle = %{version}
 +
 +%description -n libnettle-devel
 +Nettle is a cryptographic library that is designed to fit easily in more or
 +less any context: In crypto toolkits for object-oriented languages (C++,
 +Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
 +
 +%package -n libnettle
 +
 +Summary:        Cryptographic Tools
 +License:        LGPL-2.1+ and GPL-2.0+
 +Group:          Security/Crypto Libraries
 +
 +%description -n libnettle
 +Nettle is a cryptographic library that is designed to fit easily in more or
 +less any context: In crypto toolkits for object-oriented languages (C++,
 +Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
 +
 +This package contains a few command-line tools to perform cryptographic
 +operations using the nettle library.
 +
 +%prep
 +%setup -q 
 +cp %{SOURCE1001} .
 +
 +%build
 +#%configure --disable-static \
 +%configure --enable-shared
 +
 +make %{?_smp_mflags}
 +
 +%check
 +make check
 +
 +%install
 +%make_install
 +
 +%post   -n libnettle -p /sbin/ldconfig
 +
 +%postun -n libnettle -p /sbin/ldconfig
 +
 +%post   -n libhogweed -p /sbin/ldconfig
 +
 +%postun -n libhogweed -p /sbin/ldconfig
 +
 +
 +%files -n libnettle
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%license COPYING*
 +%{_libdir}/libnettle.so.*
 +
 +%files -n libhogweed
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_libdir}/libhogweed.so.*
 +
 +%files -n libnettle-devel
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_includedir}/nettle
 +%{_libdir}/libnettle.so
 +%{_libdir}/libhogweed.so
 +%{_libdir}/pkgconfig/hogweed.pc
 +%{_libdir}/pkgconfig/nettle.pc
 +
 +%files -n nettle
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_bindir}/nettle-lfib-stream
 +%{_bindir}/pkcs1-conv
 +%{_bindir}/sexp-conv
 +%{_bindir}/nettle-hash
++%{_bindir}/nettle-pbkdf2
 +%changelog