1 | Name: kturtle |
---|
2 | Summary: Logo educational programming environment for KDE |
---|
3 | Summary(ja): Logo の教育用プログラミング環境 |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2+ |
---|
8 | Group: Applications/Edutainment |
---|
9 | URL: http://edu.kde.org/parley/ |
---|
10 | |
---|
11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | ## upstream patches |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: desktop-file-utils |
---|
17 | BuildRequires: kdelibs4-devel >= %{version} |
---|
18 | |
---|
19 | Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} |
---|
20 | |
---|
21 | Conflicts: kdeedu4 < 4.6.50 |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | |
---|
26 | %description |
---|
27 | KTurtle is an educational programming environment which uses the |
---|
28 | TurtleScript programming language (inspired by Logo) to make programming |
---|
29 | as easy and accessible as possible. |
---|
30 | |
---|
31 | The user issues TurtleScript language commands to control the "turtle", |
---|
32 | which draws on the canvas, making KTurtle suitable for teaching elementary |
---|
33 | mathematics, geometry and programming. |
---|
34 | |
---|
35 | This package is part of the KDE education module. |
---|
36 | |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | |
---|
41 | %build |
---|
42 | mkdir -p %{_target_platform} |
---|
43 | pushd %{_target_platform} |
---|
44 | %cmake \ |
---|
45 | -DCMAKE_BUILD_TYPE=release \ |
---|
46 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
47 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
48 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
49 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
50 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
51 | .. |
---|
52 | popd |
---|
53 | |
---|
54 | make %{?_smp_mflags} -C %{_target_platform} |
---|
55 | |
---|
56 | %install |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
59 | |
---|
60 | %clean |
---|
61 | rm -rf $RPM_BUILD_ROOT |
---|
62 | |
---|
63 | %check |
---|
64 | for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do |
---|
65 | desktop-file-validate $f |
---|
66 | done |
---|
67 | |
---|
68 | |
---|
69 | %post |
---|
70 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
71 | |
---|
72 | %posttrans |
---|
73 | update-desktop-database -q &> /dev/null ||: |
---|
74 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
75 | |
---|
76 | %postun |
---|
77 | if [ $1 -eq 0 ] ; then |
---|
78 | update-desktop-database -q &> /dev/null ||: |
---|
79 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
80 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
81 | fi |
---|
82 | |
---|
83 | %files |
---|
84 | %defattr(-,root,root) |
---|
85 | %doc COPYING COPYING.DOC |
---|
86 | %{_bindir}/kturtle |
---|
87 | %{_datadir}/appdata/kturtle.appdata.xml |
---|
88 | %{_datadir}/applications/kde4/kturtle.desktop |
---|
89 | %{_datadir}/config/*.knsrc |
---|
90 | %{_datadir}/icons/hicolor/*/*/* |
---|
91 | %{_datadir}/kde4/apps/kturtle |
---|
92 | %doc %{_docdir}/HTML/en/kturtle/ |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Thu Feb 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
111 | - new upstream release |
---|
112 | |
---|
113 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
120 | - new upstream release |
---|
121 | |
---|
122 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
123 | - new upstream release |
---|
124 | |
---|
125 | * Tue Aug 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Wed Aug 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1 |
---|
129 | - split from kdeedu |
---|
130 | |
---|