[521] | 1 | Summary: An X Window System image editing or paint program. |
---|
| 2 | Summary(ja): Xウィンドウシステム用の画像編集・描写プログラム. |
---|
| 3 | Name: xpaint |
---|
| 4 | Version: 2.7.8.1 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | License: MIT |
---|
| 7 | Group: Applications/Graphics |
---|
| 8 | URL: http://sf-xpaint.sourceforge.net/ |
---|
| 9 | Source: http://prdownloads.sourceforge.net/sf-xpaint/%{name}-%{version}.tar.bz2 |
---|
| 10 | |
---|
| 11 | ## for 2.5.7 |
---|
| 12 | Source1: xpaint-2.5.7-Help_ja |
---|
| 13 | Patch0: xpaint-2.5.7-config.patch |
---|
| 14 | Patch1: xpaint-2.5.7-I18N-mb-1.2.patch |
---|
| 15 | Patch2: xpaint-2.5.7-Imakefile.patch |
---|
| 16 | #Patch3: xpaint-2.5.7-readPNG.patch |
---|
| 17 | #Patch4: xpaint-2.5.7-writePNG.patch |
---|
| 18 | |
---|
| 19 | ## for 2.7.8.1 |
---|
| 20 | Source2: xpaint-2.7.8.1-XPaint_ja.ad.in |
---|
| 21 | Patch10: xpaint-2.7.8.1-config.patch |
---|
| 22 | Patch11: xpaint-2.7.8.1-Imakefile.patch |
---|
| 23 | Patch12: xpaint-2.7.8.1-xpaint.patch |
---|
| 24 | Patch13: xpaint-2.7.8.1-main.patch |
---|
| 25 | Patch14: xpaint-2.7.8.1-color.patch |
---|
| 26 | Patch15: xpaint-2.7.8.1-Paint.patch |
---|
| 27 | Patch16: xpaint-2.7.8.1-PaintP.patch |
---|
| 28 | Patch17: xpaint-2.7.8.1-fontSelect.patch |
---|
| 29 | Patch18: xpaint-2.7.8.1-fontOp.patch |
---|
| 30 | |
---|
| 31 | Patch100: xpaint-2.7.8.1-xpmpath.patch |
---|
| 32 | |
---|
| 33 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 34 | BuildPrereq: xorg-x11-devel libtiff-devel zlib-devel |
---|
| 35 | BuildPrereq: libpng-devel >= 1.2.5 |
---|
| 36 | BuildPrereq: libjpeg-devel Xaw3d-devel |
---|
| 37 | Obsoletes: xpaint <= 2.5.7-1vl7 |
---|
| 38 | |
---|
| 39 | %description |
---|
| 40 | XPaint is an X Window System color image editing program which supports |
---|
| 41 | most standard paint program options. XPaint also supports advanced |
---|
| 42 | features like image processing algorithms. XPaint allows you to edit |
---|
| 43 | multiple images simultaneously and supports a variety of image formats, |
---|
| 44 | including PPM, XBM, TIFF, JPEG, etc. |
---|
| 45 | And this xpaint has features extended to deal with Japanese in one's |
---|
| 46 | own right. |
---|
| 47 | |
---|
| 48 | Install the xpaint package if you need a paint program for X. |
---|
| 49 | |
---|
| 50 | %description -l ja |
---|
| 51 | XPaintはXウィンドウシステム用のカラー画像編集プログラムです. 標準的な |
---|
| 52 | 描写操作はほとんどサポートしています。さらにXPaint は画像処理プログラ |
---|
| 53 | ムといったような発展的な機能も備えています。 |
---|
| 54 | XPaintを使って、同時に複数の画像を編集することができ、また、さまざ |
---|
| 55 | まな画像フォーマット(PPM, XBM, TIFF, JPEG等)がサポートされています。 |
---|
| 56 | %if 0 |
---|
| 57 | そして、このXPaintでは独自に日本語を扱うための機能が拡張されています。 |
---|
| 58 | %endif |
---|
| 59 | X用の描写プログラムが必要なら、XPaintパッケージをインストールしま |
---|
| 60 | しょう。 |
---|
| 61 | |
---|
| 62 | %prep |
---|
| 63 | %setup -q |
---|
| 64 | |
---|
| 65 | %if 0 |
---|
| 66 | ## for 2.5.7 |
---|
| 67 | %patch0 -p1 -b .config |
---|
| 68 | %patch1 -p1 -b .i18n |
---|
| 69 | #%patch2 -p1 -b .Imakefile |
---|
| 70 | #%patch3 -p1 -b .readPNG |
---|
| 71 | #%patch4 -p1 -b .writePNG |
---|
| 72 | %endif |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %if 0 |
---|
| 76 | ## for 2.7.8.1 |
---|
| 77 | cp %SOURCE2 app-defaults/XPaint.ad.in |
---|
| 78 | %patch10 -p1 -b .config |
---|
| 79 | %patch11 -p1 -b .Imakefile |
---|
| 80 | %patch12 -p1 -b .xpaint |
---|
| 81 | %patch13 -p1 -b .main |
---|
| 82 | %patch14 -p1 -b .color |
---|
| 83 | %patch15 -p1 -b .Paint |
---|
| 84 | %patch16 -p1 -b .PaintP |
---|
| 85 | %patch17 -p1 -b .fontSelect |
---|
| 86 | %patch18 -p1 -b .fontOp |
---|
| 87 | %endif |
---|
| 88 | |
---|
| 89 | %patch100 -p1 -b .xpmpath |
---|
| 90 | |
---|
| 91 | %build |
---|
| 92 | xmkmf |
---|
| 93 | make Makefiles |
---|
| 94 | make |
---|
| 95 | |
---|
| 96 | %install |
---|
| 97 | rm -rf $RPM_BUILD_ROOT |
---|
| 98 | |
---|
| 99 | make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}/man1 install install.man |
---|
| 100 | |
---|
| 101 | ( cd $RPM_BUILD_ROOT |
---|
| 102 | mkdir -p ./etc/X11/wmconfig |
---|
| 103 | cat > ./etc/X11/wmconfig/xpaint <<EOF |
---|
| 104 | xpaint name "xpaint" |
---|
| 105 | xpaint description "Paint Program" |
---|
| 106 | xpaint group Graphics |
---|
| 107 | xpaint exec "xpaint &" |
---|
| 108 | EOF |
---|
| 109 | ) |
---|
| 110 | |
---|
| 111 | # remove unuse files |
---|
| 112 | rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/X11/app-defaults |
---|
| 113 | |
---|
| 114 | %clean |
---|
| 115 | rm -rf $RPM_BUILD_ROOT |
---|
| 116 | |
---|
| 117 | %files |
---|
| 118 | %defattr(-,root,root) |
---|
| 119 | %doc ChangeLog README README.PNG TODO Doc |
---|
| 120 | %config %{_sysconfdir}/X11/wmconfig/%{name} |
---|
| 121 | %{_sysconfdir}/X11/app-defaults/XPaint* |
---|
| 122 | %{_bindir}/%{name} |
---|
| 123 | %{_datadir}/%{name}/XPaintIcon.xpm |
---|
| 124 | %{_datadir}/%{name}/c_scripts |
---|
| 125 | %{_datadir}/%{name}/include |
---|
| 126 | %{_datadir}/%{name}/help |
---|
| 127 | %{_datadir}/%{name}/messages |
---|
| 128 | %{_mandir}/man1/xpaint.1x* |
---|
| 129 | |
---|
| 130 | %changelog |
---|
| 131 | * Wed Jan 21 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.7.8.1-2 |
---|
| 132 | - add Patch100 to fix include path to the xpm header/library |
---|
| 133 | |
---|
| 134 | * Tue Nov 25 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.8.1-1vl5 |
---|
| 135 | - new upstream release |
---|
| 136 | - built with libXaw.so.7 (libXaw-1.0.5) |
---|
| 137 | - applied new versioning policy |
---|
| 138 | - spec in utf-8 |
---|
| 139 | - dropt xpaint-2.5.7-config.patch |
---|
| 140 | - dropt xpaint-2.5.7-I18N-mb-1.2.patch |
---|
| 141 | - dropt xpaint-2.5.7-Imakefile.patch |
---|
| 142 | - dropt xpaint-2.5.7-readPNG.patch (fixed) |
---|
| 143 | - dropt xpaint-2.5.7-writePNG.patch (fixed) |
---|
| 144 | |
---|
| 145 | * Mon Jul 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.7-1vl9 |
---|
| 146 | - changed Group to Applications/Graphics |
---|
| 147 | |
---|
| 148 | * Thu Jun 14 2007 Shu Konno <owa@bg.wakwak.com> 2.5.7-1vl8 |
---|
| 149 | - updated Patch0: xpaint-*-config.patch |
---|
| 150 | - added Patch2: xpaint-2.5.7-Imakefile.patch |
---|
| 151 | - added Patch3: xpaint-2.5.7-readPNG.patch |
---|
| 152 | - added Patch4: xpaint-2.5.7-writePNG.patch |
---|
| 153 | - added BuildPrereq: libjpeg-devel Xaw3d-devel |
---|
| 154 | - dropped Epoc:2 |
---|
| 155 | - rebuilt with new toolchain |
---|
| 156 | |
---|
| 157 | * Thu Feb 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.7-1vl7 |
---|
| 158 | - s/Copyright/License/ |
---|
| 159 | - s/Serial/Epoch/ |
---|
| 160 | - added BuildPrereq: XOrg-devel libtiff-devel zlib-devel |
---|
| 161 | - added URL |
---|
| 162 | - updated Source location |
---|
| 163 | |
---|
| 164 | * Thu Apr 17 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.5.7-1vl6 |
---|
| 165 | - add BuildPrereq: libpng-devel >= 1.2.5 |
---|
| 166 | |
---|
| 167 | * Thu Jul 13 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 168 | - 2.5.7-1vl5 |
---|
| 169 | - modified %files section to handle compressed man page |
---|
| 170 | |
---|
| 171 | * Thu May 09 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
| 172 | - rebuild for libpng 1.0.5 |
---|
| 173 | |
---|
| 174 | * Thu Jan 20 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
| 175 | - change ja resource from ja_JP.ujis/app-defaults to ja/app-defaults |
---|
| 176 | |
---|
| 177 | * Thu Dec 16 1999 Yasuyuki Furukawa<furukawa@vinelinux.org> |
---|
| 178 | - updated I18N patch to add XGuessFontSetName to the font-selection dialog. |
---|
| 179 | - corrected font settings. |
---|
| 180 | |
---|
| 181 | * Fri Oct 15 1999 Yasuyuki Furukawa<furukawa@vinelinux.org> |
---|
| 182 | - updated to 2.5.7 from 2.4.7 |
---|
| 183 | - add I18N patch and delete glibc patch |
---|
| 184 | |
---|
| 185 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 186 | - auto rebuild in the new build environment (release 8) |
---|
| 187 | |
---|
| 188 | * Thu Dec 17 1998 Michael Maher <mike@redhat.com> |
---|
| 189 | - built package for 6.0 |
---|
| 190 | |
---|
| 191 | * Mon Aug 3 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 192 | - build root. |
---|
| 193 | |
---|
| 194 | * Tue Jun 09 1998 Mike Wangsmo <wanger@redhat.com> |
---|
| 195 | - changed the docs from being %config files. |
---|
| 196 | |
---|
| 197 | * Fri May 01 1998 Prospector System <bugs@redhat.com> |
---|
| 198 | - translations modified for de, fr, tr |
---|
| 199 | |
---|
| 200 | * Thu Apr 16 1998 Erik Troan <ewt@redhat.com> |
---|
| 201 | - built against libpng 1.0 |
---|
| 202 | |
---|
| 203 | * Fri Oct 24 1997 Marc Ewing <marc@redhat.com> |
---|
| 204 | - new release |
---|
| 205 | - wmconfig |
---|
| 206 | |
---|
| 207 | * Wed Oct 15 1997 Erik Troan <ewt@redhat.com> |
---|
| 208 | - build against new libpng |
---|
| 209 | |
---|
| 210 | * Thu Jul 31 1997 Erik Troan <ewt@redhat.com> |
---|
| 211 | - built against glibc |
---|
| 212 | |
---|
| 213 | * Tue Mar 25 1997 Erik Troan <ewt@redhat.com> |
---|
| 214 | - "make install.man" places man page in wrong location |
---|