]>
Commit | Line | Data |
---|---|---|
33ad9ad1 | 1 | Summary: The ASN.1 to C compiler |
aa76a69d | 2 | Name: asn1c |
3 | Version: 0.9.19 | |
4 | Release: 0.1 | |
33ad9ad1 ER |
5 | License: BSD |
6 | Group: Development/Languages | |
aa76a69d | 7 | Source0: http://lionet.info/soft/%{name}-%{version}.tar.gz |
8 | # Source0-md5: 6c555d806fa0fa465d1838076f27c385 | |
9 | URL: http://asn1c.sourceforge.net/ | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
aa76a69d | 11 | |
12 | %description | |
13 | The asn1c compiler turns ASN.1 specifications into C language source | |
14 | files containing the BER/CER/DER/XER encoders and decoders for the | |
15 | given abstract notation. | |
16 | ||
17 | %prep | |
18 | %setup -q | |
19 | ||
20 | %build | |
21 | %{__aclocal} | |
22 | %{__autoconf} | |
23 | %{__autoheader} | |
24 | %{__automake} | |
25 | %configure | |
26 | %{__make} | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
33ad9ad1 ER |
30 | %{__make} install-exec \ |
31 | DESTDIR=$RPM_BUILD_ROOT | |
32 | %{__make} install-data \ | |
33 | -C skeletons \ | |
34 | DESTDIR=$RPM_BUILD_ROOT | |
35 | %{__make} install-man \ | |
36 | -C asn1c \ | |
37 | DESTDIR=$RPM_BUILD_ROOT | |
aa76a69d | 38 | |
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc README FAQ COPYING ChangeLog BUGS TODO | |
45 | %doc doc/asn1c-usage.pdf doc/asn1c-usage.html | |
46 | %attr(755,root,root) %{_bindir} | |
47 | %attr(644,root,root) %{_datadir}/asn1c | |
48 | %{_mandir}/man1 |