source: projects/specs/trunk/t/tuxpaint/tuxpaint-vl.spec @ 8846

Revision 8846, 7.1 KB checked in by Takemikaduchi, 10 years ago (diff)

jack-audio-connection-kit, libfontenv, m17n-{db,lib}: new upstream release
others: rebuild

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