[Tizen-submit] 2878: New package Tizen:2.1:Main/nettle

noreply at tizen.org noreply at tizen.org
Wed Apr 24 22:57:21 GMT 2013


Hi,
Adding new package nettle in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: external/nettle
Tag: submit/tizen_2.1/20130424.225741
Commit: 299932f Fix license information on spec file

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2878

  submit:       Tizen:2.1:Main:build/nettle(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: external/nettle
Tag: submit/tizen_2.1/20130424.225741
Commit: 299932f Fix license information on spec file

State:   new        2013-04-24T15:27:59 tizenrobot
Comment: <no comment>
new:
----
  nettle-2.1.tar.gz
  nettle.spec

spec files:
-----------

++++++ new spec file:
--- nettle.spec
+++ nettle.spec
@@ -0,0 +1,60 @@
+%define nettlemajor 4
+%define hogweedmajor 2
+%define develname nettle-devel
+
+Name:		nettle
+Summary:	Nettle cryptographic library
+Version:	2.1
+Release:	1
+VCS:        external/nettle#2.1_release-0-g299932f
+License:	LGPLv2.1
+Group:		System/Libraries
+URL:		http://www.lysator.liu.se/~nisse/nettle/
+Source:		http://www.lysator.liu.se/~nisse/archive/%{name}-%{version}.tar.gz
+BuildRequires:	autoconf
+BuildRequires:	openssl-devel
+BuildRequires:	gmp-devel
+
+%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 %develname
+Group:		Development/C++
+Summary:	Header files for compiling against Nettle library
+Provides:	%name-devel = %{version}-%{release}
+
+%description -n %develname
+This is the development package of nettle.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-openssl --enable-shared
+make
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+make install-shared DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%manifest nettle.manifest
+%{_bindir}/*
+%{_infodir}/*
+%{_libdir}/libnettle.so.%{nettlemajor}*
+%{_libdir}/libhogweed.so.%{hogweedmajor}*
+
+%files -n %develname
+%{_libdir}/libnettle.so
+%{_libdir}/libhogweed.so
+%{_includedir}/nettle
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig

other changes:
--------------

++++++ nettle-2.1.tar.gz (new)


More information about the Tizen-submit mailing list