File asn1c.spec of Package asn1c
Name: asn1c
Version: 0.9.29
Release: %{rpm_release}
Summary: An ASN.1 Compiler
License: BSD
Url: https://github.com/velichkov/asn1c/
Source: https://github.com/velichkov/asn1c/archive/27eaf82abed937a2da5a5fd9e0d4076d9abcfc75.zip
Packager: Christos Ricudis <ricudis at niometrics dot com>
BuildRequires: git
BuildRequires: gcc
BuildRequires: perl-interpreter
BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-install
%description
Compiles ASN.1 data structures into C source structures that can be
simply marshalled to/unmarshalled from: BER, DER, CER, BASIC-XER,
CXER, EXTENDED-XER, PER-ALIGNED, PER-UNALIGNED
%prep
%setup -n asn1c-27eaf82abed937a2da5a5fd9e0d4076d9abcfc75
%build
autoreconf --install
%configure --docdir=%{_datadir}/doc/%{name}
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%doc %{_datadir}/doc/%{name}
%license LICENSE
%{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/%{name}
%changelog
* Fri Mar 15 2019 Christos Ricudis
- Switched to https://github.com/velichkov/asn1c/ tree of asn1c that supports PER ALIGNED variant, required to compile S1AP
- Porting to OBS
* Wed Mar 07 2018 Robbie Harwood <rharwood@redhat.com> - 0.9.28-5
- Add gcc and git to build-deps