commit 5f51764cf0294a46c1bc7dd7b58f6fe8916139841be160bbabd79e5177fe9543 Author: Jan Engelhardt Date: Wed Dec 23 18:52:38 2015 +0000 New package: libasn1c, needed for osmo-iuh OBS-URL: https://build.opensuse.org/package/show/network:telephony/libasn1c?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libasn1c-0.9.28~20.tar.xz b/libasn1c-0.9.28~20.tar.xz new file mode 100644 index 0000000..0139cf1 --- /dev/null +++ b/libasn1c-0.9.28~20.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0cb74c5be96c9d8b78778623d032e5c2b1d5db5139ffdf8e0b8ff0edef5ae5d9 +size 96920 diff --git a/libasn1c.changes b/libasn1c.changes new file mode 100644 index 0000000..a8e6289 --- /dev/null +++ b/libasn1c.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Dec 23 18:40:53 UTC 2015 - jengelh@inai.de + +- Initial package (version 0.9.28~20) for build.opensuse.org diff --git a/libasn1c.spec b/libasn1c.spec new file mode 100644 index 0000000..f00aea5 --- /dev/null +++ b/libasn1c.spec @@ -0,0 +1,85 @@ + +%define soname 0 +Name: libasn1c +Version: 0.9.28~20 +Release: 0 +Summary: Osmocon ASN.1 decoder and encoder library +License: BSD-2-Clause +Group: Development/Libraries/C and C++ +Url: http://openbsc.osmocom.org/trac/ + +#Git-Clone: git://git.osmocom.org/libasn1c +#Snapshot: 667d758c92825208e318ec27e090aac2805d4678 +Source: %name-%version.tar.xz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool >= 2 +BuildRequires: pkg-config +BuildRequires: pkgconfig(libosmocore) >= 0.1.13 +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Lev Walkins's asn1c runtime, as a shared library and with +modifications for Osmocom. + +Compiles ASN.1 data structures into C source structures that can be +simply (un)marshalled from and to: BER, DER, CER, BASIC-XER, CXER, +EXTENDED-XER, PER. + +%package -n libasn1c0 +Summary: Osmocon ASN.1 decoder and encoder library +Group: System/Libraries + +%description -n libasn1c0 +Lev Walkins's asn1c runtime, as a shared library and with +modifications for Osmocom. + +Compiles ASN.1 data structures into C source structures that can be +simply (un)marshalled from and to: BER, DER, CER, BASIC-XER, CXER, +EXTENDED-XER, PER. + +%package -n libasn1c-devel +Summary: Development files for libasn1c, Osmocom's ASN.1 decoder and encoder library +Group: Development/Libraries/C and C++ +Requires: libasn1c0 = %version + +%description -n libasn1c-devel +Compiles ASN.1 data structures into C source structures that can be +simply (un)marshalled from and to: BER, DER, CER, BASIC-XER, CXER, +EXTENDED-XER, PER. + +This subpackage contains libraries and header files for developing +applications that want to make use of libasn1c. + +%prep +%setup -qn %name + +%build +autoreconf -fiv +%configure --disable-static +make %{?_smp_mflags} + +%install +b="%buildroot" +make %{?_smp_mflags} install DESTDIR="$b" +find "$b/%_libdir" -type f -name "*.la" -delete + +%check +make check %{?_smp_mflags} + +%post -n libasn1c0 -p /sbin/ldconfig +%postun -n libasn1c0 -p /sbin/ldconfig + +%files -n libasn1c0 +%defattr(-,root,root) +%_libdir/libasn1c.so.0* + +%files -n libasn1c-devel +%defattr(-,root,root) +%doc COPYING +%_includedir/asn1c/ +%_libdir/pkgconfig/*.pc +%_libdir/libasn1c.so + +%changelog