blob: 7c83555664273ce986b00443907d2efd08b379f4 [file] [log] [blame]
Lev Walkin07cd6d82004-09-19 00:11:23 +00001#
2# $Id$
3#
4
5Name: @PACKAGE@
6Version: @VERSION@
7Release: 1
8Copyright: Lev Walkin <vlm@lionet.info>
9Source: %{name}-%{version}.tar.gz
10Url: http://asn1c.sourceforge.net/
11BuildRoot: /var/tmp/%{name}-root
12
13Group: Development/Languages
14
15Summary: The ASN.1 to C compiler
16
17%description
18The asn1c compiler turns ASN.1 specifications into C language source files.
19The source files would contain BER/CER/DER encoders and decoders for the
20given abstract notation.
21
22%prep
23%setup -q
24
25%build
26./configure
27%{_make} DESTDIR=$RPM_BUILD_ROOT
28
29%install
30rm -rf $RPM_BUILD_ROOT
31%{__make} install-exec DESTDIR=$RPM_BUILD_ROOT
32(cd skeletons && %{__make} install-data DESTDIR=$RPM_BUILD_ROOT)
33(cd asn1c && %{__make} install-man DESTDIR=$RPM_BUILD_ROOT)
34
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%doc README FAQ COPYING ChangeLog BUGS TODO
41%doc doc/asn1c-usage.pdf doc/asn1c-usage.html
42%attr(755,root,root) %{_bindir}
43%attr(644,root,root) %{_datadir}/asn1c
Lev Walkinfcd688a2004-09-27 20:54:27 +000044%{_mandir}/man1
Lev Walkin07cd6d82004-09-19 00:11:23 +000045
46%changelog
47
48* Tue Sep 18 2004 Lev Walkin <vlm@lionet.info>
49- First version of asn1c.spec
50
Lev Walkinfcd688a2004-09-27 20:54:27 +000051* Sun Sep 26 2004 Lev Walkin <vlm@lionet.info>
52- All manuals are now getting installed, including new onws: unber.1 and enber.1
53