]> git.pld-linux.org Git - packages/asn1c.git/blame - asn1c.spec
- updated to 0.9.28
[packages/asn1c.git] / asn1c.spec
CommitLineData
33ad9ad1 1Summary: The ASN.1 to C compiler
c7b960c0 2Summary(pl.UTF-8): Kompilator ASN.1 do C
aa76a69d 3Name: asn1c
d305999c 4Version: 0.9.28
7673f1d9 5Release: 1
33ad9ad1
ER
6License: BSD
7Group: Development/Languages
aa76a69d 8Source0: http://lionet.info/soft/%{name}-%{version}.tar.gz
d305999c
JB
9# Source0-md5: e78906866d7ea784a58b3d340bdec8ea
10URL: http://github.com/vlm/asn1c
11BuildRequires: autoconf >= 2.50
b15dd1c4 12BuildRequires: automake
d305999c
JB
13BuildRequires: libtool >= 2:2
14BuildRequires: sed >= 4.0
aa76a69d 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
aa76a69d 16
17%description
18The asn1c compiler turns ASN.1 specifications into C language source
19files containing the BER/CER/DER/XER encoders and decoders for the
20given abstract notation.
21
36a8b30f
JR
22%description -l pl.UTF-8
23Kompilator asn1c zamienia specyfikacje ASN.1 na pliki źródłowe w
24języku C zawierające funkcje kodujące i dekodujące BER/CER/DER/XER dla
b15dd1c4
JB
25podanej notacji abstrakcyjnej.
26
aa76a69d 27%prep
28%setup -q
29
d305999c
JB
30%{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' examples/crfc2asn1.pl
31
aa76a69d 32%build
d305999c
JB
33%{__libtoolize}
34%{__aclocal} -I m4
aa76a69d 35%{__autoconf}
36%{__autoheader}
37%{__automake}
d305999c
JB
38%configure \
39 --disable-silent-rules
40
aa76a69d 41%{__make}
42
43%install
44rm -rf $RPM_BUILD_ROOT
b15dd1c4 45
d305999c 46%{__make} install \
33ad9ad1 47 DESTDIR=$RPM_BUILD_ROOT
aa76a69d 48
d305999c
JB
49# packaged as %doc
50%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/asn1c
51
aa76a69d 52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
d305999c
JB
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
b15dd1c4 62%{_datadir}/asn1c
d305999c
JB
63%{_mandir}/man1/asn1c.1*
64%{_mandir}/man1/enber.1*
65%{_mandir}/man1/unber.1*
This page took 0.034002 seconds and 4 git commands to generate.