]> git.pld-linux.org Git - packages/ucblogo.git/blob - ucblogo.spec
- sorted BRs
[packages/ucblogo.git] / ucblogo.spec
1 Summary:        Berkeley LOGO interpreter
2 Summary(pl):    Interpreter Berkeley LOGO
3 Name:           ucblogo
4 Version:        5.3
5 Release:        1
6 License:        GPL
7 Group:          Development/Languages
8 Source0:        ftp://anarres.cs.berkeley.edu/pub/ucblogo/%{name}-%{version}.tar.gz
9 # Source0-md5:  d10fb7ef5d36c38d54cfe5f2f3f7b5d6
10 Patch0:         %{name}-signals.patch
11 Patch1:         %{name}-make.patch
12 BuildRequires:  XFree86-devel
13 BuildRequires:  autoconf
14 BuildRequires:  emacs
15 BuildRequires:  ncurses-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Berkeley Logo interpreter for Unix and X. Features *not* found in
20 Berkeley Logo include robotics, music, GUIs, animation, parallelism,
21 and multimedia. For those, buy a commercial version.
22
23 %description -l pl
24 Interpreter Berkeley Logo dla Unika i X. Mo¿liwo¶ci, których nie ma
25 Berkeley Logo to m.in. robotyka, muzyka, GUI, animacje, równoleg³o¶æ,
26 multimedia. Dla nich kup komercyjn± wersjê.
27
28 %package examples
29 Summary:        Example LOGO programs for the Berkeley LOGO interpreter
30 Summary(pl):    Przyk³ady programów w LOGO dla interpretera Berkeley LOGO
31 Group:          Development/Languages
32 Requires:       %{name}
33
34 %description examples
35 This package contains example LOGO programs, eg solitaire, poker, plot
36 and many others.
37
38 %description examples -l pl
39 Ten pakiet zawiera przyk³adowe programy w LOGO, m.in. pasjans, poker,
40 plot i wiele innych.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p1
46
47 %build
48 %{__autoconf}
49 %configure --with-x
50 %{__make} "CFLAGS=%{rpmcflags}"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 install -d $RPM_BUILD_ROOT%{_examplesdir}/logo
59 install csls/* $RPM_BUILD_ROOT%{_examplesdir}/logo
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post
65 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
66
67 %postun
68 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
69
70 %files
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/*
73 %{_infodir}/*
74 %dir %{_datadir}/logo
75 %{_datadir}/logo/*
76 %doc README
77
78 %files examples
79 %defattr(644,root,root,755)
80 %dir %{_examplesdir}/logo
81 %{_examplesdir}/logo/*
This page took 0.703505 seconds and 3 git commands to generate.