tstellar / rpms / asn1c

Forked from rpms/asn1c 3 years ago
Clone
Blob Blame History Raw
Name:           asn1c
Version:        0.9.21
Release:        2%{?dist}
Summary:        An ASN.1 Compiler

License:        BSD
URL:            http://lionet.info/asn1c
Source0:        http://lionet.info/soft/%{name}-%{version}.tar.gz

%description
Compiles ASN.1 data structures into C source structures that can be
simply marshalled to/unmarshalled from: BER, DER, CER, BASIC-XER,
CXER, EXTENDED-XER, PER.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/%{name} # Remove duplicate docs

%files
%doc BUGS COPYING ChangeLog FAQ README TODO doc/asn1c-quick.pdf doc/asn1c-usage.html doc/asn1c-usage.pdf
%{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/%{name}

%changelog
* Sat Dec 10 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.9.21-2
- Removed duplicate docs directory

* Fri Oct 28 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.9.21-1
- Initial package