]> git.pld-linux.org Git - packages/cdl3.git/blob - cdl3.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/cdl3.git] / cdl3.spec
1 Summary:        CDL3 System - compiler
2 Summary(pl.UTF-8):      Kompilator systemu CDL3
3 Name:           cdl3
4 Version:        1.2.3
5 Release:        1
6 License:        GPL
7 Group:          Development/Languages
8 Source0:        ftp://ftp.cs.kun.nl/pub/cdl3/%{name}-%{version}.tar.gz
9 # Source0-md5:  60b7a5fed2ac27f4dfe90ff9ae292bce
10 Patch0:         %{name}-acam.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 CDL3 is an implementation language based on affix grammars. It rides
18 the borderline between syntactic formalism and programming language,
19 and tries to combine the good properties of both. The control
20 structure and data structures have been choosen such that it is
21 extremely easy to write deterministic parsers and transducers in CDL3.
22 In this sense, CDL3 is a Compiler Description Language (hence the
23 acronym). Its applicability is, however, not limited to compiler
24 construction. The language is wellsuited, more in general, for all
25 applications that can be characterized as syntax-directed:
26 communication between processes (human and machine) adhering to
27 well-established protocols, or interpreter-like systems, interactively
28 obeying a set of commands.
29
30 %description -l pl.UTF-8
31 CDL3 to język implementacyjny oparty na gramatykach affiksowych.
32 Przekracza granicę pomiędzy formalizmem składniowym a językiem
33 programowania i próbuje połączyć dobre cechy obu rzeczy. Struktura
34 sterująca i struktury danych zostały tak dobrane, aby było bardzo
35 łatwo pisać w CDL3 deterministyczne analizatory i translatory. W tym
36 sensie CDL3 jest językiem opisu kompilatorów (Compiler Description
37 Language - stąd akronim). Jego zastosowanie nie jest jednak
38 ograniczone do konstruowania kompilatorów. Język jest dobrze
39 dopasowany, bardziej ogólnie, do wszystkich zastosowań, które można
40 scharakteryzować jako zorientowane na składnię: komunikacji między
41 procesami (człowiekiem i maszyną) zgodnie z dobrze ustalonymi
42 protokołami lub systemy w stylu interpreterów, interaktywnie reagujące
43 na zestaw poleceń.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48
49 %build
50 cp -f /usr/share/automake/config.sub .
51 %{__libtoolize}
52 %{__aclocal}
53 %{__autoconf}
54 %{__automake}
55 %configure
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p      /sbin/postshell
69 -/usr/sbin/fix-info-dir -c %{_infodir}
70
71 %postun -p      /sbin/postshell
72 -/usr/sbin/fix-info-dir -c %{_infodir}
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README TODO docs/*.ps docs/*.k3
77 %attr(755,root,root) %{_bindir}/*
78 %{_includedir}/*
79 %{_libdir}/lib*.a
80 %{_libdir}/lib*.la
81 %{_mandir}/man[13n]/*
This page took 0.068336 seconds and 4 git commands to generate.