1 | Summary: Drawing program designed for young children |
---|
2 | Summary(ja): 子供向けのお絵かきソフトウェア |
---|
3 | Name: tuxpaint |
---|
4 | Version: 0.9.21 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Source0: http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz |
---|
7 | Patch0: tuxpaint-utf8.patch |
---|
8 | Patch1: tuxpaint-0.9.20-fix-desktop-file.patch |
---|
9 | Patch2: tuxpaint-0.9.21-fix-puzzle-plugin.patch |
---|
10 | License: GPLv2+ |
---|
11 | Group: Applications/Multimedia |
---|
12 | URL: http://www.tuxpaint.org/ |
---|
13 | |
---|
14 | BuildRequires: SDL-devel >= 1.2.4 |
---|
15 | BuildRequires: SDL_image-devel |
---|
16 | BuildRequires: SDL_mixer-devel |
---|
17 | BuildRequires: SDL_ttf-devel |
---|
18 | BuildRequires: SDL_Pango-devel |
---|
19 | BuildRequires: desktop-file-utils |
---|
20 | BuildRequires: freetype2-devel >= 2.0 |
---|
21 | BuildRequires: gettext |
---|
22 | BuildRequires: libpaper-devel |
---|
23 | BuildRequires: libpng-devel |
---|
24 | BuildRequires: librsvg2-devel |
---|
25 | BuildRequires: netpbm-devel |
---|
26 | BuildRequires: fribidi-devel |
---|
27 | |
---|
28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
29 | |
---|
30 | Packager: kazutaka |
---|
31 | |
---|
32 | %description |
---|
33 | "Tux Paint" is a free drawing program designed for young children |
---|
34 | (kids ages 3 and up). It has a simple, easy-to-use interface, |
---|
35 | fun sound effects, and a cartoon mascot who helps you along. |
---|
36 | |
---|
37 | %description -l ja |
---|
38 | タックスペイントは、3歳から12歳の子供向けの、フリーのお絵かき |
---|
39 | プログラムです。簡単な操作と楽しい効果音を兼ね備え、マスコット |
---|
40 | キャラクターが、プログラムを使ってお絵かきをする子供たちの案 |
---|
41 | 内役を務めます。 |
---|
42 | |
---|
43 | 日本語環境で使用する場合は、ボタンの文字や説明文などは、全て |
---|
44 | ひらがなやカタカナのみで表示されます。 |
---|
45 | |
---|
46 | %package devel |
---|
47 | Summary: Development files for tuxpaint extensions/plugins |
---|
48 | Group: Development/Libraries |
---|
49 | Requires: %{name} = %{version}-%{release} |
---|
50 | |
---|
51 | %description devel |
---|
52 | Development files for tuxpaint extensions/plugins |
---|
53 | |
---|
54 | %description devel -l ja |
---|
55 | tuxpaint 用の extensions/plugins 開発に必要なファイルです。 |
---|
56 | |
---|
57 | %prep |
---|
58 | %setup -q |
---|
59 | %patch0 -p1 |
---|
60 | %patch1 -p1 -b .fixdesktopfile |
---|
61 | %patch2 -p1 -b .fixpuzzle |
---|
62 | |
---|
63 | sed -i -e '/\/gnome\/apps\/Graphics/d' Makefile |
---|
64 | find docs -type f -exec perl -pi -e 's/\r\n/\n/' {} \; |
---|
65 | find docs -type f -perm +100 -exec chmod a-x {} \; |
---|
66 | |
---|
67 | make PREFIX=/usr MAGIC_PREFIX=%{_libdir}/tuxpaint/plugins tp-magic-config |
---|
68 | |
---|
69 | %build |
---|
70 | make %{?_smp_mflags} \ |
---|
71 | PREFIX=/usr \ |
---|
72 | CFLAGS="$RPM_OPT_FLAGS" \ |
---|
73 | MAGIC_PREFIX=%{_libdir}/tuxpaint/plugins |
---|
74 | |
---|
75 | %install |
---|
76 | rm -rf $RPM_BUILD_ROOT |
---|
77 | mkdir -p $RPM_BUILD_ROOT/%{_bindir} |
---|
78 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name} |
---|
79 | make install PKG_ROOT=$RPM_BUILD_ROOT PREFIX=%{_usr} \ |
---|
80 | X11_ICON_PREFIX=$RPM_BUILD_ROOT%{_datadir}/pixmaps/ \ |
---|
81 | GNOME_PREFIX=/usr \ |
---|
82 | KDE_PREFIX="" \ |
---|
83 | KDE_ICON_PREFIX=/usr/share/icons \ |
---|
84 | MAGIC_PREFIX=$RPM_BUILD_ROOT%{_libdir}/tuxpaint/plugins |
---|
85 | find $RPM_BUILD_ROOT -type d|xargs chmod 0755 |
---|
86 | %find_lang %{name} |
---|
87 | |
---|
88 | desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \ |
---|
89 | --vendor vine \ |
---|
90 | --add-category KidsGame \ |
---|
91 | --delete-original \ |
---|
92 | $RPM_BUILD_ROOT%{_datadir}/applications/tuxpaint.desktop |
---|
93 | |
---|
94 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
95 | |
---|
96 | %clean |
---|
97 | rm -rf $RPM_BUILD_ROOT |
---|
98 | |
---|
99 | %files -f %{name}.lang |
---|
100 | %defattr(-,root,root,-) |
---|
101 | %dir %{_sysconfdir}/%{name} |
---|
102 | %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf |
---|
103 | %doc docs |
---|
104 | %{_bindir}/* |
---|
105 | %{_datadir}/%{name} |
---|
106 | %{_datadir}/applications/* |
---|
107 | %{_datadir}/pixmaps/* |
---|
108 | %{_datadir}/icons/*/*/apps/* |
---|
109 | %{_libdir}/%{name}/ |
---|
110 | %{_mandir}/man1/* |
---|
111 | %{_mandir}/*/man1/* |
---|
112 | |
---|
113 | %files devel |
---|
114 | %defattr(-,root,root,-) |
---|
115 | %doc %{_datadir}/doc/%{name}-dev/ |
---|
116 | %{_includedir}/tuxpaint/ |
---|
117 | |
---|
118 | %changelog |
---|
119 | * Sat Oct 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.21-1 |
---|
120 | - new upstream release |
---|
121 | - add BuildRequires: fribidi-devel |
---|
122 | - add patch2 to fix puzzle plugin error |
---|
123 | |
---|
124 | * Thu May 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.20-1 |
---|
125 | - initial build for Vine Linux based of fedora development |
---|
126 | - add japanese summary and description |
---|
127 | - add patch2 to fix puzzle plugin |
---|
128 | |
---|
129 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.20-3 |
---|
130 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
131 | |
---|
132 | * Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1:0.9.20-2 |
---|
133 | - Rebuild for Python 2.6 |
---|
134 | |
---|
135 | * Mon Sep 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.9.20-1 |
---|
136 | - update to 0.9.20 |
---|
137 | |
---|
138 | * Mon Sep 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.9.17-4 |
---|
139 | - fix license tag |
---|
140 | |
---|
141 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.9.17-3 |
---|
142 | - Autorebuild for GCC 4.3 |
---|
143 | |
---|
144 | * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1:0.9.17-2 |
---|
145 | - Rebuild for selinux ppc32 issue. |
---|
146 | |
---|
147 | * Sat Jul 07 2007 Steven Pritchard <steve@kspei.com> 1:0.9.17-1 |
---|
148 | - Update to 0.9.17. |
---|
149 | - BR librsvg2-devel and libpaper-devel. |
---|
150 | - Add include path for glibconfig.h to CFLAGS. |
---|
151 | |
---|
152 | * Tue Jan 30 2007 Steven Pritchard <steve@kspei.com> 1:0.9.16-4 |
---|
153 | - Honor $RPM_OPT_FLAGS. |
---|
154 | - Fix various rpmlint warnings: |
---|
155 | - Expand tabs in spec. |
---|
156 | - Convert tuxpaint.1 to UTF-8. |
---|
157 | - Get rid of DOS line endings in docs. |
---|
158 | - Nothing in docs should be executable. |
---|
159 | |
---|
160 | * Fri Oct 27 2006 Steven Pritchard <steve@kspei.com> 1:0.9.16-3 |
---|
161 | - Fix category in tuxpaint.desktop. |
---|
162 | |
---|
163 | * Thu Oct 26 2006 Steven Pritchard <steve@kspei.com> 1:0.9.16-2 |
---|
164 | - Drop "--add-category X-Fedora". |
---|
165 | |
---|
166 | * Tue Oct 24 2006 Steven Pritchard <steve@kspei.com> 1:0.9.16-1 |
---|
167 | - Update to 0.9.16. |
---|
168 | |
---|
169 | * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.9.15b-4 |
---|
170 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
---|
171 | |
---|
172 | * Thu Sep 21 2006 Steven Pritchard <steve@kspei.com> 1:0.9.15b-3 |
---|
173 | - Explicitly link libpng. |
---|
174 | |
---|
175 | * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 1:0.9.15b-2 |
---|
176 | - Rebuild. |
---|
177 | - Update URL. |
---|
178 | |
---|
179 | * Fri Jun 02 2006 Steven Pritchard <steve@kspei.com> 1:0.9.15b-1 |
---|
180 | - Update to 0.9.15b |
---|
181 | - Convert tuxpaint.desktop to UTF-8 |
---|
182 | - Drop gnome-libs-devel and kdelibs build dependencies by providing |
---|
183 | appropriate variables to "make install" |
---|
184 | - Add docs properly |
---|
185 | - Indirectly require hicolor-icon-theme (so that directories are |
---|
186 | owned and have proper permissions) |
---|
187 | |
---|
188 | * Mon Mar 13 2006 Steven Pritchard <steve@kspei.com> 1:0.9.15-1 |
---|
189 | - Update to 0.9.15 |
---|
190 | - Drop destdir patch |
---|
191 | |
---|
192 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1:0.9.13-3 |
---|
193 | - rebuild on all arches |
---|
194 | |
---|
195 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
196 | - rebuilt |
---|
197 | |
---|
198 | * Wed Jun 09 2004 Warren Togami <wtogami@redhat.com> 1:0.9.13-0.fdr.1 |
---|
199 | - Epoch bump to override old k12ltsp package |
---|
200 | |
---|
201 | * Mon May 31 2004 Panu Matilainen <pmatilai@welho.com> 0:0.9.13-0.fdr.1 |
---|
202 | - update to 0.9.13 |
---|
203 | - take a private copy of desktop file and fix it.. |
---|
204 | |
---|
205 | * Sun May 30 2004 Panu Matilainen <pmatilai@welho.com> 0:0.9.12-0.fdr.3 |
---|
206 | - add missing buildrequires desktop-file-utils (#1667) |
---|
207 | |
---|
208 | * Fri Oct 03 2003 Panu Matilainen <pmatilai@welho.com> 0:0.9.12-0.fdr.2 |
---|
209 | - add missing buildreq's: kdelibs, gnome-libs-devel, SDL_mixer-devel |
---|
210 | - remove CVS directories from rpm |
---|
211 | |
---|
212 | * Tue Aug 26 2003 Panu Matilainen <pmatilai@welho.com> 0:0.9.12-0.fdr.1 |
---|
213 | - Initial RPM release. |
---|