<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libasn1c/+/18283">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">contrib: import RPM spec<br><br>Copy the RPM spec file from:<br>https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly<br><br>Related: OS#4550<br>Change-Id: I7f20905413877c5b94cf0526dbef914a8148585f<br>---<br>A contrib/libasn1c.spec<br>1 file changed, 98 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/83/18283/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/libasn1c.spec b/contrib/libasn1c.spec</span><br><span>new file mode 100644</span><br><span>index 0000000..e05b3e9</span><br><span>--- /dev/null</span><br><span>+++ b/contrib/libasn1c.spec</span><br><span>@@ -0,0 +1,98 @@</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# spec file for package libasn1c</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+# All modifications and additions to the file contributed by third parties</span><br><span style="color: hsl(120, 100%, 40%);">+# remain the property of their copyright owners, unless otherwise agreed</span><br><span style="color: hsl(120, 100%, 40%);">+# upon. The license for this file, and modifications and additions to the</span><br><span style="color: hsl(120, 100%, 40%);">+# file, is the same license as for the pristine package itself (unless the</span><br><span style="color: hsl(120, 100%, 40%);">+# license for the pristine package is not an Open Source License, in which</span><br><span style="color: hsl(120, 100%, 40%);">+# case the license is the MIT License). An "Open Source License" is a</span><br><span style="color: hsl(120, 100%, 40%);">+# license that conforms to the Open Source Definition (Version 1.9)</span><br><span style="color: hsl(120, 100%, 40%);">+# published by the Open Source Initiative.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# Please submit bugfixes or comments via http://bugs.opensuse.org/</span><br><span style="color: hsl(120, 100%, 40%);">+#</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Name:           libasn1c</span><br><span style="color: hsl(120, 100%, 40%);">+Version:        0.9.32.0</span><br><span style="color: hsl(120, 100%, 40%);">+Release:        0</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Osmocon ASN.1 decoder and encoder library</span><br><span style="color: hsl(120, 100%, 40%);">+License:        BSD-2-Clause</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          Development/Libraries/C and C++</span><br><span style="color: hsl(120, 100%, 40%);">+Url:            http://openbsc.osmocom.org/trac/</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Source:         %name-%version.tar.xz</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  libtool >= 2</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkg-config</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  xz</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRequires:  pkgconfig(libosmocore) >= 0.1.13</span><br><span style="color: hsl(120, 100%, 40%);">+BuildRoot:      %{_tmppath}/%{name}-%{version}-build</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description</span><br><span style="color: hsl(120, 100%, 40%);">+Lev Walkins's asn1c runtime, as a shared library and with</span><br><span style="color: hsl(120, 100%, 40%);">+modifications for Osmocom.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Compiles ASN.1 data structures into C source structures that can be</span><br><span style="color: hsl(120, 100%, 40%);">+simply (un)marshalled from and to: BER, DER, CER, BASIC-XER, CXER,</span><br><span style="color: hsl(120, 100%, 40%);">+EXTENDED-XER, PER.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libasn1c1</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Osmocon ASN.1 decoder and encoder library</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          System/Libraries</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description -n libasn1c1</span><br><span style="color: hsl(120, 100%, 40%);">+Lev Walkins's asn1c runtime, as a shared library and with</span><br><span style="color: hsl(120, 100%, 40%);">+modifications for Osmocom.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Compiles ASN.1 data structures into C source structures that can be</span><br><span style="color: hsl(120, 100%, 40%);">+simply (un)marshalled from and to: BER, DER, CER, BASIC-XER, CXER,</span><br><span style="color: hsl(120, 100%, 40%);">+EXTENDED-XER, PER.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%package -n libasn1c-devel</span><br><span style="color: hsl(120, 100%, 40%);">+Summary:        Development files for libasn1c, Osmocom's ASN.1 decoder and encoder library</span><br><span style="color: hsl(120, 100%, 40%);">+Group:          Development/Libraries/C and C++</span><br><span style="color: hsl(120, 100%, 40%);">+Requires:       libasn1c1 = %version</span><br><span style="color: hsl(120, 100%, 40%);">+Requires:       libtalloc-devel</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%description -n libasn1c-devel</span><br><span style="color: hsl(120, 100%, 40%);">+Compiles ASN.1 data structures into C source structures that can be</span><br><span style="color: hsl(120, 100%, 40%);">+simply (un)marshalled from and to: BER, DER, CER, BASIC-XER, CXER,</span><br><span style="color: hsl(120, 100%, 40%);">+EXTENDED-XER, PER.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+This subpackage contains libraries and header files for developing</span><br><span style="color: hsl(120, 100%, 40%);">+applications that want to make use of libasn1c.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%prep</span><br><span style="color: hsl(120, 100%, 40%);">+%setup -q</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%build</span><br><span style="color: hsl(120, 100%, 40%);">+echo "%{version}" >.tarball-version</span><br><span style="color: hsl(120, 100%, 40%);">+autoreconf -fi</span><br><span style="color: hsl(120, 100%, 40%);">+%configure --disable-static</span><br><span style="color: hsl(120, 100%, 40%);">+make %{?_smp_mflags}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%install</span><br><span style="color: hsl(120, 100%, 40%);">+%make_install</span><br><span style="color: hsl(120, 100%, 40%);">+find "%buildroot/%_libdir" -type f -name "*.la" -delete</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%check</span><br><span style="color: hsl(120, 100%, 40%);">+make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%post   -n libasn1c1 -p /sbin/ldconfig</span><br><span style="color: hsl(120, 100%, 40%);">+%postun -n libasn1c1 -p /sbin/ldconfig</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libasn1c1</span><br><span style="color: hsl(120, 100%, 40%);">+%defattr(-,root,root)</span><br><span style="color: hsl(120, 100%, 40%);">+%_libdir/libasn1c.so.1*</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%files -n libasn1c-devel</span><br><span style="color: hsl(120, 100%, 40%);">+%defattr(-,root,root)</span><br><span style="color: hsl(120, 100%, 40%);">+%doc COPYING</span><br><span style="color: hsl(120, 100%, 40%);">+%_includedir/asn1c/</span><br><span style="color: hsl(120, 100%, 40%);">+%_libdir/pkgconfig/*.pc</span><br><span style="color: hsl(120, 100%, 40%);">+%_libdir/libasn1c.so</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+%changelog</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libasn1c/+/18283">change 18283</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libasn1c/+/18283"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libasn1c </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I7f20905413877c5b94cf0526dbef914a8148585f </div>
<div style="display:none"> Gerrit-Change-Number: 18283 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>