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