forked from vlm/asn1c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
asn1c.spec.in
56 lines (41 loc) · 1.21 KB
/
asn1c.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# $Id$
#
Name: @PACKAGE@
Version: @VERSION@
Release: 2
Copyright: Lev Walkin <[email protected]>
Source: %{name}-%{version}.tar.gz
Url: http://asn1c.sourceforge.net/
BuildRoot: /var/tmp/%{name}-root
Group: Development/Languages
Summary: The ASN.1 to C compiler
%description
The asn1c compiler turns ASN.1 specifications into C language
source files containing the BER/CER/DER/PER/XER encoders and decoders
for the given abstract notation.
%prep
%setup -q
%build
./configure
%{_make} DESTDIR=$RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install-exec DESTDIR=$RPM_BUILD_ROOT
(cd skeletons && %{__make} install-data DESTDIR=$RPM_BUILD_ROOT)
(cd asn1c && %{__make} install-man DESTDIR=$RPM_BUILD_ROOT)
%clean
rm -rf $RPM_BUILD_ROOT
%files
%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
%changelog
* Sun Sep 18 2006 Lev Walkin <[email protected]>
- Added PER support into description
* Sun Sep 26 2004 Lev Walkin <[email protected]>
- All manuals are now getting installed, including new ones: unber.1 and enber.1
* Tue Sep 18 2004 Lev Walkin <[email protected]>
- First version of asn1c.spec