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

Revision 9433, 2.7 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

Line 
1Name:           tuxpaint-stamps
2Version:        2014.08.23
3Release:        1%{?_dist_release}
4Summary:        Extra stamp files for tuxpaint
5Summary(ja):    tuxpaint 用の追加のスタンプファイル
6Group:          Applications/Multimedia
7License:        GPL+ and GFDL and CC-BY-SA and Public Domain
8URL:            http://www.tuxpaint.org/
9Source0:        http://dl.sourceforge.net/tuxpaint/tuxpaint-stamps-%{version}.tar.gz
10
11BuildArch:      noarch
12BuildRequires:  python gettext
13Requires:       tuxpaint
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16Packager:       kazutaka
17
18%description
19This package is a collection of 'rubber stamps' for Tux Paint's
20"Stamp" tool.
21
22%description -l ja
23このパッケージは Tux Paint の"はんこ"ツール用の'ゴム製スタンプ'
24のコレクションです。
25
26%prep
27%setup -q
28
29%build
30(cd po && sh ./createpo.sh)
31(cd po && ./createtxt.sh)
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT%{_datadir}/tuxpaint/stamps
36make install-all PREFIX=$RPM_BUILD_ROOT%{_prefix}
37
38pushd po
39for file in *.po ; do
40    loc=`echo $file | sed -e 's/tuxpaint-stamps-\(.*\).po/\1/'`
41    mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$loc/LC_MESSAGES
42    msgfmt -o $RPM_BUILD_ROOT%{_datadir}/locale/$loc/LC_MESSAGES/tuxpaint-stamps.mo $file
43done
44popd
45
46# License is bad on this file, Creative Commons Sampling Plus 1.0 is non-free.
47rm -rf $RPM_BUILD_ROOT%{_datadir}/tuxpaint/stamps/vehicles/emergency/firetruck.ogg
48
49%find_lang %{name}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files -f %{name}.lang
55%defattr(-,root,root,-)
56%doc docs/*.txt
57%lang(el) %doc docs/el
58%lang(es) %doc docs/es
59%lang(fr) %doc docs/fr
60%lang(hu) %doc docs/hu
61%defattr(0644,root,root,0755)
62%{_datadir}/tuxpaint/stamps/*
63
64%changelog
65* Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2014.08.23-1
66- update to 2014.08.23
67
68* Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2009.06.28-1
69- update to 2009.06.28
70
71* Thu May 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2008.06.30-1
72- initial build for Vine Linux based of fedora development
73- add japanese summary and description
74
75* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008.06.30-2
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
77
78* Mon Sep  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2008.06.30-1
79- fix license tag
80- update to 2008.06.30.
81
82* Sat Jul 07 2007 Steven Pritchard <steve@kspei.com> 2007.07.01-1
83- Update to 2007.07.01.
84
85* Tue Oct 24 2006 Steven Pritchard <steve@kspei.com> 2006.10.21-1
86- Update to 2006.10.21.
87- Remove a little extra whitespace in the spec.
88- Just include docs/*.txt.
89- Use version macro in Source0 URL.
90- Use "install-all" target.
91
92* Mon Aug 28 2006 Wart <wart at kobold dot org> 2005.11.25-1
93- Initial Fedora Extras package
Note: See TracBrowser for help on using the repository browser.