source: projects/specs/branches/6/t/toico/toico-vl.spec @ 521

Revision 521, 2.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:            toico
2Version:         0.18
3Release:         1%{?_dist_release}
4Summary:         converts images to Windows ICO format
5Summary(ja):     画像ファイルから Windows アイコンを生成するツール
6License:         LGPL
7Group:           Applications/Graphics
8Url:             http://wizard.ae.krakow.pl/~jb/toico/
9Source:          http://wizard.ae.krakow.pl/~jb/toico/%{name}-%{version}.tar.gz
10Vendor:          Project Vine
11Distribution:    Vine Linux
12Packager:        Susumu Tanimura <stanimura-ngs@umin.ac.jp>
13BuildRoot:       %{_tmppath}/%{name}-%{version}-root
14BuildRequires:   libpng-devel libungif-devel libtiff-devel zlib-devel
15Requires:        libpng libungif libtiff
16
17%description
18Toico converts PNG, GIF, TIFF, BMP and XPM files to Windows icon
19format (ICO). It is possible to create multi-image icon.
20
21Usage example:
22
23      toico icon-16x16.png icon-32x32.png -o favicon.ico
24
25%description -l ja
26ToICO は PNG, GIF, TIFF, BMP, XPM 形式画像をWindows ICO形式に変換する
27プログラムです.解像度の異なる複数のイメージをアイコンに含めることができ,
28favicon.ico の作成に便利です.
29
30使い方
31
32      toico icon-16x16.png icon-32x32.png -o favicon.ico
33
34%prep
35%setup -q
36
37%build
38make
39make 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
Note: See TracBrowser for help on using the repository browser.