diff --git a/.gitignore b/.gitignore index e69de29..494d67f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/asn1c-0.9.21.tar.gz diff --git a/asn1c.spec b/asn1c.spec new file mode 100644 index 0000000..886183f --- /dev/null +++ b/asn1c.spec @@ -0,0 +1,38 @@ +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 - 0.9.21-2 +- Removed duplicate docs directory + +* Fri Oct 28 2011 Nathaniel McCallum - 0.9.21-1 +- Initial package diff --git a/sources b/sources index e69de29..eb61368 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0d06f96d345530e66e44e7bfee2e0aed asn1c-0.9.21.tar.gz