summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gbs.conf2
-rw-r--r--packaging/baselibs.conf1
-rw-r--r--packaging/libtasn1.manifest5
-rw-r--r--packaging/libtasn1.spec77
4 files changed, 85 insertions, 0 deletions
diff --git a/.gbs.conf b/.gbs.conf
new file mode 100644
index 0000000..9a3e5bc
--- /dev/null
+++ b/.gbs.conf
@@ -0,0 +1,2 @@
+[general]
+upstream_branch = origin
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644
index 0000000..bd64229
--- /dev/null
+++ b/packaging/baselibs.conf
@@ -0,0 +1 @@
+libtasn1
diff --git a/packaging/libtasn1.manifest b/packaging/libtasn1.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libtasn1.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libtasn1.spec b/packaging/libtasn1.spec
new file mode 100644
index 0000000..5a78d6d
--- /dev/null
+++ b/packaging/libtasn1.spec
@@ -0,0 +1,77 @@
+Name: libtasn1
+Version: 4.19.0
+Release: 0
+License: LGPL-2.1+ or GPL-3.0+
+Summary: ASN
+Url: http://ftp.gnu.org/gnu/libtasn1/
+Group: Security/Crypto Libraries
+Source: %{name}-%{version}.tar.gz
+Source99: baselibs.conf
+Source1001: libtasn1.manifest
+BuildRequires: info
+BuildRequires: pkg-config
+BuildRequires: makeinfo
+BuildRequires: help2man
+BuildRequires: gtk-doc
+
+%description
+This is the ASN.1 library used in GNUTLS. More up to date information
+can be found at http://www.gnu.org/software/gnutls and
+http://www.gnutls.org
+
+%package tools
+Summary: ASN
+Group: Security/Crypto Libraries
+Requires: %{name} = %{version}
+
+%description tools
+This is the ASN.1 library used in GNUTLS. More up to date information
+can be found at http://www.gnu.org/software/gnutls and
+http://www.gnutls.org
+
+%package devel
+Summary: ASN
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+This is the ASN.1 library used in GNUTLS. More up to date information
+can be found at http://www.gnu.org/software/gnutls and
+http://www.gnutls.org
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+touch ChangeLog
+%reconfigure --disable-static
+%__make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%docs_package
+
+%files tools
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%license doc/COPYING
+%{_bindir}/*
+
+%files
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%license doc/COPYING.LESSER
+%{_libdir}/*.so.*
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%{_includedir}/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libtasn1.pc