Bump to 1.6.3 30/286930/1
authorJinWang An <jinwang.an@samsung.com>
Tue, 17 Jan 2023 04:35:03 +0000 (13:35 +0900)
committerJinWang An <jinwang.an@samsung.com>
Tue, 17 Jan 2023 04:37:22 +0000 (13:37 +0900)
Change-Id: I0fcd2d4ab50fbb65298828f0c7381ebbf01167a1
Signed-off-by: JinWang An <jinwang.an@samsung.com>
packaging/libksba.manifest [new file with mode: 0644]
packaging/libksba.spec [new file with mode: 0644]

diff --git a/packaging/libksba.manifest b/packaging/libksba.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libksba.spec b/packaging/libksba.spec
new file mode 100644 (file)
index 0000000..3ea4595
--- /dev/null
@@ -0,0 +1,65 @@
+Name:           libksba
+Version:        1.6.3
+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
+%{_libdir}/libksba*.so
+%{_includedir}/*
+%{_libdir}/pkgconfig/ksba.pc
+%doc %{_infodir}/ksba*
+%{_datadir}/aclocal/*
+
+%changelog