Summary: The ASN.1 to C compiler
+Summary(pl): Kompilator ASN.1 do C
Name: asn1c
Version: 0.9.19
Release: 0.1
Source0: http://lionet.info/soft/%{name}-%{version}.tar.gz
# Source0-md5: 6c555d806fa0fa465d1838076f27c385
URL: http://asn1c.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
files containing the BER/CER/DER/XER encoders and decoders for the
given abstract notation.
+%description -l pl
+Kompilator asn1c zamienia specyfikacje ASN.1 na pliki ¼ród³owe w
+jêzyku C zawieraj±ce funkcje koduj±ce i dekoduj±ce BER/CER/DER/XER dla
+podanej notacji abstrakcyjnej.
+
%prep
%setup -q
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install-exec \
DESTDIR=$RPM_BUILD_ROOT
-%{__make} install-data \
- -C skeletons \
+%{__make} -C skeletons install-data \
DESTDIR=$RPM_BUILD_ROOT
-%{__make} install-man \
- -C asn1c \
+%{__make} -C asn1c install-man \
DESTDIR=$RPM_BUILD_ROOT
%clean
%files
%defattr(644,root,root,755)
-%doc README FAQ COPYING ChangeLog BUGS TODO
-%doc doc/asn1c-usage.pdf doc/asn1c-usage.html
-%attr(755,root,root) %{_bindir}
-%attr(644,root,root) %{_datadir}/asn1c
-%{_mandir}/man1
+%doc README FAQ COPYING ChangeLog BUGS TODO doc/asn1c-usage.pdf doc/asn1c-usage.html
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/asn1c
+%{_mandir}/man1/*