1 | Name: toico |
---|
2 | Version: 0.18 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: converts images to Windows ICO format |
---|
5 | Summary(ja): 画像ファイルから Windows アイコンを生成するツール |
---|
6 | License: LGPL |
---|
7 | Group: Applications/Graphics |
---|
8 | Url: http://wizard.ae.krakow.pl/~jb/toico/ |
---|
9 | Source: http://wizard.ae.krakow.pl/~jb/toico/%{name}-%{version}.tar.gz |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | Packager: Susumu Tanimura <stanimura-ngs@umin.ac.jp> |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: libpng-devel libungif-devel libtiff-devel zlib-devel |
---|
15 | Requires: libpng libungif libtiff |
---|
16 | |
---|
17 | %description |
---|
18 | Toico converts PNG, GIF, TIFF, BMP and XPM files to Windows icon |
---|
19 | format (ICO). It is possible to create multi-image icon. |
---|
20 | |
---|
21 | Usage example: |
---|
22 | |
---|
23 | toico icon-16x16.png icon-32x32.png -o favicon.ico |
---|
24 | |
---|
25 | %description -l ja |
---|
26 | ToICO は PNG, GIF, TIFF, BMP, XPM 形式画像をWindows ICO形式に変換する |
---|
27 | プログラムです.解像度の異なる複数のイメージをアイコンに含めることができ, |
---|
28 | favicon.ico の作成に便利です. |
---|
29 | |
---|
30 | 使い方 |
---|
31 | |
---|
32 | toico icon-16x16.png icon-32x32.png -o favicon.ico |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q |
---|
36 | |
---|
37 | %build |
---|
38 | make |
---|
39 | make ico2png |
---|
40 | |
---|
41 | %install |
---|
42 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
43 | %{__install} -d %{buildroot}%{_bindir} |
---|
44 | %{__install} -d %{buildroot}%{_mandir}/man1 |
---|
45 | |
---|
46 | %{__install} -m 755 toico %{buildroot}%{_bindir} |
---|
47 | %{__install} -m 755 ico2png %{buildroot}%{_bindir} |
---|
48 | %{__install} -m 644 toico.man %{buildroot}%{_mandir}/man1/toico.1 |
---|
49 | |
---|
50 | %clean |
---|
51 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | %files |
---|
54 | %defattr(-,root,root) |
---|
55 | %{_bindir}/* |
---|
56 | %{_mandir}/*/* |
---|
57 | |
---|
58 | %changelog |
---|
59 | * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 0.18-1vl5 |
---|
60 | - applied new versioning policy, spec in utf-8 |
---|
61 | |
---|
62 | * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18-0vl1 |
---|
63 | - updated to 0.18 |
---|
64 | - include ico2png |
---|
65 | - fixed %install section |
---|
66 | |
---|
67 | * Thu Oct 14 2004 <stanimura-ngs@umin.ac.jp> |
---|
68 | - Initial package for VineLinux3.0 |
---|