]>
Commit | Line | Data |
---|---|---|
c22ecff3 | 1 | Summary: Berkeley LOGO interpreter |
ab309555 | 2 | Summary(pl.UTF-8): Interpreter Berkeley LOGO |
dc13c873 | 3 | Name: ucblogo |
1ac4010d JR |
4 | Version: 6.2.4 |
5 | Release: 1 | |
e3057e66 | 6 | License: GPL v2+ |
dc13c873 | 7 | Group: Development/Languages |
1ac4010d JR |
8 | Source0: https://github.com/jrincayc/ucblogo-code/releases/download/version_%{version}/%{name}-%{version}.tar.gz |
9 | # Source0-md5: d7fb4d409be5349199e0ce377902f233 | |
e3057e66 | 10 | URL: http://www.cs.berkeley.edu/~bh/logo.html |
51f42e09 | 11 | BuildRequires: ncurses-devel |
1ac4010d | 12 | BuildRequires: wxGTK3-unicode-devel |
e3057e66 | 13 | BuildRequires: xorg-lib-libX11-devel |
92aa03dd | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
dc13c873 RW |
15 | |
16 | %description | |
17 | Berkeley Logo interpreter for Unix and X. Features *not* found in | |
18 | Berkeley Logo include robotics, music, GUIs, animation, parallelism, | |
19 | and multimedia. For those, buy a commercial version. | |
20 | ||
f4208b8d JR |
21 | %description -l pl.UTF-8 |
22 | Interpreter Berkeley Logo dla Unika i X. Możliwości, których nie ma | |
23 | Berkeley Logo to m.in. robotyka, muzyka, GUI, animacje, równoległość, | |
24 | multimedia. Dla nich kup komercyjną wersję. | |
c22ecff3 | 25 | |
92aa03dd | 26 | %package examples |
c22ecff3 | 27 | Summary: Example LOGO programs for the Berkeley LOGO interpreter |
ab309555 | 28 | Summary(pl.UTF-8): Przykłady programów w LOGO dla interpretera Berkeley LOGO |
92aa03dd | 29 | Group: Development/Languages |
92aa03dd RW |
30 | Requires: %{name} |
31 | ||
32 | %description examples | |
33 | This package contains example LOGO programs, eg solitaire, poker, plot | |
34 | and many others. | |
35 | ||
f4208b8d JR |
36 | %description examples -l pl.UTF-8 |
37 | Ten pakiet zawiera przykładowe programy w LOGO, m.in. pasjans, poker, | |
c22ecff3 JB |
38 | plot i wiele innych. |
39 | ||
dc13c873 RW |
40 | %prep |
41 | %setup -q | |
dc13c873 RW |
42 | |
43 | %build | |
1ac4010d JR |
44 | %configure \ |
45 | --enable-x11 \ | |
46 | --with-wx-configh=%{_bindir}/wx-gtk3-unicode-config | |
47 | ||
48 | %{__make} | |
dc13c873 RW |
49 | |
50 | %install | |
92aa03dd | 51 | rm -rf $RPM_BUILD_ROOT |
33efce94 RW |
52 | |
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
e3057e66 | 56 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
1ac4010d | 57 | cp -p csls/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
e3057e66 | 58 | |
1ac4010d | 59 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ucblogo |
dc13c873 RW |
60 | |
61 | %clean | |
92aa03dd RW |
62 | rm -rf $RPM_BUILD_ROOT |
63 | ||
e3057e66 | 64 | %post -p /sbin/postshell |
d0a3a735 | 65 | -/usr/sbin/fix-info-dir -c %{_infodir} |
92aa03dd | 66 | |
e3057e66 | 67 | %postun -p /sbin/postshell |
d0a3a735 | 68 | -/usr/sbin/fix-info-dir -c %{_infodir} |
92aa03dd RW |
69 | |
70 | %files | |
71 | %defattr(644,root,root,755) | |
1ac4010d JR |
72 | %doc README.md TODO changes.txt newtermnotes plm usermanual |
73 | %doc docs/ucblogo.pdf | |
74 | %attr(755,root,root) %{_bindir}/ucblogo | |
e3057e66 | 75 | %{_infodir}/ucblogo.info* |
1ac4010d JR |
76 | %{_datadir}/ucblogo |
77 | %{_desktopdir}/ucblogo.desktop | |
78 | %{_iconsdir}/hicolor/*x*/apps/ucblogo.png | |
79 | %{_mandir}/man1/ucblogo.1* | |
80 | %{_pixmapsdir}/ucblogo.xpm | |
92aa03dd RW |
81 | |
82 | %files examples | |
83 | %defattr(644,root,root,755) | |
e3057e66 | 84 | %{_examplesdir}/%{name}-%{version} |