summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-12-23 13:56:17 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-12-23 13:56:41 +0900
commit32b8716923c4962a5e53b99538f7b1138dbacdf0 (patch)
treedcad90a1e67a6ae5fe46afa716c8d2386858e22e
parentd783d3f0d77a999962895260971a678d8a08a965 (diff)
downloadlibksba-accepted/tizen_7.0_unified.tar.gz
libksba-accepted/tizen_7.0_unified.tar.bz2
libksba-accepted/tizen_7.0_unified.zip
Change-Id: I31c336f509f2cd1c592bcb80da78474588b127fd
-rw-r--r--packaging/libksba.manifest5
-rw-r--r--packaging/libksba.spec66
2 files changed, 71 insertions, 0 deletions
diff --git a/packaging/libksba.manifest b/packaging/libksba.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libksba.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libksba.spec b/packaging/libksba.spec
new file mode 100644
index 0000000..2ba1637
--- /dev/null
+++ b/packaging/libksba.spec
@@ -0,0 +1,66 @@
+Name: libksba
+Version: 1.6.0
+Release: 1
+License: LGPL-3.0+ or GPL-2.0+
+Summary: KSBA Library
+Url: http://www.gnupg.org/aegypten/
+Group: Security/Libraries
+Source: libksba-%{version}.tar.bz2
+Source1001: libksba.manifest
+BuildRequires: libgpg-error-devel >= 1.8
+BuildRequires: libtool
+
+%description
+KSBA is a library to simplify the task of working with X.509
+certificates, CMS data, and related data.
+
+%package devel
+License: GPL-3.0+
+Summary: KSBA Library development package
+Requires: libgpg-error-devel
+Requires: libksba = %{version}
+Provides: libksba:/usr/include/ksba.h
+
+%description devel
+KSBA is a library to simplify the task of working with X.509
+certificates, CMS data, and related data.
+
+This package contains the needed files to compile and link against the
+libksba.
+
+%prep
+%setup -q -n libksba-%{version}
+cp %{SOURCE1001} .
+
+%build
+autoreconf -fi
+%configure --disable-static --with-pic
+%__make %{?_smp_mflags}
+
+%check
+# %__make check
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%license COPYING.LGPLv3 COPYING.GPLv2
+%{_libdir}/libksba*.so.*
+
+
+%files devel
+%manifest %{name}.manifest
+%license COPYING.GPLv3
+%{_bindir}/*
+%{_libdir}/libksba*.so
+%{_includedir}/*
+%{_libdir}/pkgconfig/ksba.pc
+%doc %{_infodir}/ksba*
+%{_datadir}/aclocal/*
+
+%changelog