1 Summary: The ASN.1 to C compiler
2 Summary(pl.UTF-8): Kompilator ASN.1 do C
7 Group: Development/Languages
8 Source0: http://lionet.info/soft/%{name}-%{version}.tar.gz
9 # Source0-md5: e78906866d7ea784a58b3d340bdec8ea
10 URL: http://github.com/vlm/asn1c
11 BuildRequires: autoconf >= 2.50
12 BuildRequires: automake
13 BuildRequires: libtool >= 2:2
14 BuildRequires: sed >= 4.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 The asn1c compiler turns ASN.1 specifications into C language source
19 files containing the BER/CER/DER/XER encoders and decoders for the
20 given abstract notation.
22 %description -l pl.UTF-8
23 Kompilator asn1c zamienia specyfikacje ASN.1 na pliki źródłowe w
24 języku C zawierające funkcje kodujące i dekodujące BER/CER/DER/XER dla
25 podanej notacji abstrakcyjnej.
30 %{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' examples/crfc2asn1.pl
39 --disable-silent-rules
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/asn1c
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc AUTHORS BUGS ChangeLog FAQ LICENSE README.md TODO doc/asn1c-{quick,usage}.pdf
58 %attr(755,root,root) %{_bindir}/asn1c
59 %attr(755,root,root) %{_bindir}/crfc2asn1.pl
60 %attr(755,root,root) %{_bindir}/enber
61 %attr(755,root,root) %{_bindir}/unber
63 %{_mandir}/man1/asn1c.1*
64 %{_mandir}/man1/enber.1*
65 %{_mandir}/man1/unber.1*