]>
Commit | Line | Data |
---|---|---|
33ad9ad1 | 1 | Summary: The ASN.1 to C compiler |
36a8b30f | 2 | Summary(pl.UTF-8): Kompilator ASN.1 do C |
aa76a69d | 3 | Name: asn1c |
4 | Version: 0.9.19 | |
5 | Release: 0.1 | |
33ad9ad1 ER |
6 | License: BSD |
7 | Group: Development/Languages | |
aa76a69d | 8 | Source0: http://lionet.info/soft/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 6c555d806fa0fa465d1838076f27c385 | |
10 | URL: http://asn1c.sourceforge.net/ | |
b15dd1c4 JB |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
aa76a69d | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
aa76a69d | 14 | |
15 | %description | |
16 | The asn1c compiler turns ASN.1 specifications into C language source | |
17 | files containing the BER/CER/DER/XER encoders and decoders for the | |
18 | given abstract notation. | |
19 | ||
36a8b30f JR |
20 | %description -l pl.UTF-8 |
21 | Kompilator asn1c zamienia specyfikacje ASN.1 na pliki źródłowe w | |
22 | języku C zawierające funkcje kodujące i dekodujące BER/CER/DER/XER dla | |
b15dd1c4 JB |
23 | podanej notacji abstrakcyjnej. |
24 | ||
aa76a69d | 25 | %prep |
26 | %setup -q | |
27 | ||
28 | %build | |
29 | %{__aclocal} | |
30 | %{__autoconf} | |
31 | %{__autoheader} | |
32 | %{__automake} | |
33 | %configure | |
34 | %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
b15dd1c4 | 38 | |
33ad9ad1 ER |
39 | %{__make} install-exec \ |
40 | DESTDIR=$RPM_BUILD_ROOT | |
b15dd1c4 | 41 | %{__make} -C skeletons install-data \ |
33ad9ad1 | 42 | DESTDIR=$RPM_BUILD_ROOT |
b15dd1c4 | 43 | %{__make} -C asn1c install-man \ |
33ad9ad1 | 44 | DESTDIR=$RPM_BUILD_ROOT |
aa76a69d | 45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
b15dd1c4 JB |
51 | %doc README FAQ COPYING ChangeLog BUGS TODO doc/asn1c-usage.pdf doc/asn1c-usage.html |
52 | %attr(755,root,root) %{_bindir}/* | |
53 | %{_datadir}/asn1c | |
54 | %{_mandir}/man1/* |