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

Revision 9139, 7.1 KB checked in by Takemikaduchi, 9 years ago (diff)

dvipng, tuxtype2: rebuild
others: new upstream release

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