]> git.pld-linux.org Git - packages/asn1c.git/blob - asn1c.spec
9875e0667013cd5e265c18bfd8241b0263170ea8
[packages/asn1c.git] / asn1c.spec
1 Summary:        The ASN.1 to C compiler
2 Summary(pl.UTF-8):      Kompilator ASN.1 do C
3 Name:           asn1c
4 Version:        0.9.19
5 Release:        0.1
6 License:        BSD
7 Group:          Development/Languages
8 Source0:        http://lionet.info/soft/%{name}-%{version}.tar.gz
9 # Source0-md5:  6c555d806fa0fa465d1838076f27c385
10 URL:            http://asn1c.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
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
23 podanej notacji abstrakcyjnej.
24
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
38
39 %{__make} install-exec \
40         DESTDIR=$RPM_BUILD_ROOT
41 %{__make} -C skeletons install-data \
42         DESTDIR=$RPM_BUILD_ROOT
43 %{__make} -C asn1c install-man \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
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/*
This page took 0.10098 seconds and 3 git commands to generate.