Summary: An X Window System image editing or paint program. Summary(ja): Xウィンドウシステム用の画像編集・描写プログラム. Name: xpaint Version: 2.9.10.2 Release: 1%{?_dist_release} License: MIT Group: Applications/Graphics URL: http://sf-xpaint.sourceforge.net/ Source: http://prdownloads.sourceforge.net/sf-xpaint/%{name}-%{version}.tar.bz2 Source3: %{name}.desktop Vendor: Project Vine Distribution: Vine Linux Packager: yasumichi ## for 2.5.7 Source1: xpaint-2.5.7-Help_ja Patch0: xpaint-2.5.7-config.patch Patch1: xpaint-2.5.7-I18N-mb-1.2.patch Patch2: xpaint-2.5.7-Imakefile.patch #Patch3: xpaint-2.5.7-readPNG.patch #Patch4: xpaint-2.5.7-writePNG.patch ## for 2.7.8.1 Source2: xpaint-2.7.8.1-XPaint_ja.ad.in Patch10: xpaint-2.7.8.1-config.patch Patch11: xpaint-2.7.8.1-Imakefile.patch Patch12: xpaint-2.7.8.1-xpaint.patch Patch13: xpaint-2.7.8.1-main.patch Patch14: xpaint-2.7.8.1-color.patch Patch15: xpaint-2.7.8.1-Paint.patch Patch16: xpaint-2.7.8.1-PaintP.patch Patch17: xpaint-2.7.8.1-fontSelect.patch Patch18: xpaint-2.7.8.1-fontOp.patch #Patch100: xpaint-2.7.8.1-xpmpath.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: libXaw3dXft >= 1.6.2c BuildRequires: xorg-x11-devel libtiff-devel zlib-devel BuildRequires: libpng-devel >= 1.2.5 BuildRequires: libjpeg-devel BuildRequires: libXaw3dXft-devel >= 1.6.2c #Obsoletes: xpaint <= 2.5.7-1vl7 %description XPaint is an X Window System color image editing program which supports most standard paint program options. XPaint also supports advanced features like image processing algorithms. XPaint allows you to edit multiple images simultaneously and supports a variety of image formats, including PPM, XBM, TIFF, JPEG, etc. And this xpaint has features extended to deal with Japanese in one's own right. Install the xpaint package if you need a paint program for X. %description -l ja XPaintはXウィンドウシステム用のカラー画像編集プログラムです. 標準的な 描写操作はほとんどサポートしています。さらにXPaint は画像処理プログラ ムといったような発展的な機能も備えています。 XPaintを使って、同時に複数の画像を編集することができ、また、さまざ まな画像フォーマット(PPM, XBM, TIFF, JPEG等)がサポートされています。 %if 0 そして、このXPaintでは独自に日本語を扱うための機能が拡張されています。 %endif X用の描写プログラムが必要なら、XPaintパッケージをインストールしま しょう。 %prep %setup -q %if 0 ## for 2.5.7 %patch0 -p1 -b .config %patch1 -p1 -b .i18n #%patch2 -p1 -b .Imakefile #%patch3 -p1 -b .readPNG #%patch4 -p1 -b .writePNG %endif %if 0 ## for 2.7.8.1 cp %SOURCE2 app-defaults/XPaint.ad.in %patch10 -p1 -b .config %patch11 -p1 -b .Imakefile %patch12 -p1 -b .xpaint %patch13 -p1 -b .main %patch14 -p1 -b .color %patch15 -p1 -b .Paint %patch16 -p1 -b .PaintP %patch17 -p1 -b .fontSelect %patch18 -p1 -b .fontOp %endif #%patch100 -p1 -b .xpmpath %build %configure #xmkmf #make Makefiles make %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=${RPM_BUILD_ROOT} ( cd $RPM_BUILD_ROOT mkdir -p ./etc/X11/wmconfig cat > ./etc/X11/wmconfig/xpaint < 2.9.10.2-1 - new upstream release * Mon Oct 07 2013 Yasumichi Akahoshi 2.9.9.4-2 - add desktop file * Sat Oct 05 2013 Yasumichi Akahoshi 2.9.9.4-1 - new upstream release - delete Patch100 - fixed date of changelog * Wed Jan 21 2009 MATSUBAYASHI Kohji - 2.7.8.1-2 - add Patch100 to fix include path to the xpm header/library * Tue Nov 25 2008 Shu KONNO 2.7.8.1-1vl5 - new upstream release - built with libXaw.so.7 (libXaw-1.0.5) - applied new versioning policy - spec in utf-8 - dropt xpaint-2.5.7-config.patch - dropt xpaint-2.5.7-I18N-mb-1.2.patch - dropt xpaint-2.5.7-Imakefile.patch - dropt xpaint-2.5.7-readPNG.patch (fixed) - dropt xpaint-2.5.7-writePNG.patch (fixed) * Mon Jul 30 2007 Ryoichi INAGAKI 2.5.7-1vl9 - changed Group to Applications/Graphics * Thu Jun 14 2007 Shu Konno 2.5.7-1vl8 - updated Patch0: xpaint-*-config.patch - added Patch2: xpaint-2.5.7-Imakefile.patch - added Patch3: xpaint-2.5.7-readPNG.patch - added Patch4: xpaint-2.5.7-writePNG.patch - added BuildPrereq: libjpeg-devel Xaw3d-devel - dropped Epoc:2 - rebuilt with new toolchain * Thu Feb 9 2006 Ryoichi INAGAKI 2.5.7-1vl7 - s/Copyright/License/ - s/Serial/Epoch/ - added BuildPrereq: XOrg-devel libtiff-devel zlib-devel - added URL - updated Source location * Thu Apr 17 2003 AKIYAMA Kazuhito 2.5.7-1vl6 - add BuildPrereq: libpng-devel >= 1.2.5 * Thu Jul 13 2000 MATSUBAYASHI 'Shaolin' Kohji - 2.5.7-1vl5 - modified %files section to handle compressed man page * Tue May 09 2000 Yasuyuki Furukawa - rebuild for libpng 1.0.5 * Thu Jan 20 2000 Yasuyuki Furukawa - change ja resource from ja_JP.ujis/app-defaults to ja/app-defaults * Thu Dec 16 1999 Yasuyuki Furukawa - updated I18N patch to add XGuessFontSetName to the font-selection dialog. - corrected font settings. * Fri Oct 15 1999 Yasuyuki Furukawa - updated to 2.5.7 from 2.4.7 - add I18N patch and delete glibc patch * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 8) * Thu Dec 17 1998 Michael Maher - built package for 6.0 * Mon Aug 3 1998 Jeff Johnson - build root. * Tue Jun 09 1998 Mike Wangsmo - changed the docs from being %config files. * Fri May 01 1998 Prospector System - translations modified for de, fr, tr * Thu Apr 16 1998 Erik Troan - built against libpng 1.0 * Fri Oct 24 1997 Marc Ewing - new release - wmconfig * Wed Oct 15 1997 Erik Troan - build against new libpng * Thu Jul 31 1997 Erik Troan - built against glibc * Tue Mar 25 1997 Erik Troan - "make install.man" places man page in wrong location