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