- minor License unifications
[packages/CocoR.git] / CocoR.spec
1 Summary:        Parser and lexer generator
2 Summary(pl):    Generator analizatorów leksykalnych i sk³adniowych
3 Name:           CocoR
4 Version:        1.50
5 Release:        1
6 Group:          Development/Tools
7 License:        unknown
8 Source0:        ftp://cs.ru.ac.za/pub/coco/cocorc15.tgz
9 # Source0-md5:  843dcb81ac549931f5437f143a15349c
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 Coco/R generator.
14
15 %description -l pl
16 Generator analizatorów leksykalnych i sk³adniowych Coco/R.
17
18 %prep
19 %setup -q -c
20
21 %build
22 export CRFRAMES=`pwd`/frames
23 uudecode dos2unix.uue
24 chmod +x dos2unix.sh
25 ./dos2unix.sh unix.mk
26 %{__make} -f unix.mk dos2unix CFLAGS="%{rpmcflags} -I../cplus2"
27 %{__make} -f unix.mk linux CFLAGS="%{rpmcflags} -I../cplus2"
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/coco/frames/cplus2}
32
33 install cocor $RPM_BUILD_ROOT%{_bindir}
34
35 cp -f frames/*.frm $RPM_BUILD_ROOT%{_datadir}/coco/frames/
36 cp -f frames/cplus2/*.frm $RPM_BUILD_ROOT%{_datadir}/coco/frames/cplus2
37
38 install docs/cocor.1 $RPM_BUILD_ROOT%{_mandir}/man1/cocor.1
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %attr (755,root,root) %{_bindir}/cocor
46 %{_mandir}/man1/cocor.1*
47 %{_datadir}/coco/frames
This page took 0.030601 seconds and 3 git commands to generate.