[6493] | 1 | %define name wxGTK |
---|
| 2 | %define wxconfig gtk2-unicode-release-2.8 |
---|
| 3 | %define wx_ver 2.8 |
---|
| 4 | |
---|
| 5 | Summary: The GTK+ 2 port of the wxWidgets library |
---|
| 6 | Summary(ja): wxWidgets ライブラリーの GTK+ 2 ポート |
---|
| 7 | Name: %{name} |
---|
| 8 | Version: %{wx_ver}.12 |
---|
[8841] | 9 | Release: 6%{?_dist_release} |
---|
[6493] | 10 | |
---|
| 11 | License: wxWindows License |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | URL: http://www.wxwidgets.org/ |
---|
| 14 | Source0: wxGTK-%{version}.tar.bz2 |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | |
---|
| 17 | BuildRequires: cppunit-devel |
---|
| 18 | #BuildRequires: gstreamer-devel >= 0.10 |
---|
| 19 | #BuildRequires: gstreamer-plugins-base-devel >= 0.10 |
---|
| 20 | BuildRequires: gtk2-devel |
---|
| 21 | BuildRequires: expat-devel |
---|
| 22 | BuildRequires: libgnomeprintui-devel |
---|
| 23 | BuildRequires: libjpeg-turbo-devel |
---|
| 24 | BuildRequires: libpng-devel |
---|
| 25 | BuildRequires: libSM-devel |
---|
| 26 | BuildRequires: libtiff-devel |
---|
| 27 | BuildRequires: mesa-libGL-devel |
---|
| 28 | BuildRequires: mesa-libGLU-devel |
---|
| 29 | BuildRequires: pkgconfig |
---|
| 30 | BuildRequires: SDL-devel |
---|
| 31 | BuildRequires: zlib-devel |
---|
| 32 | |
---|
[6684] | 33 | Obsoletes: wx-gtk2 < %{version}-%{release} |
---|
[6493] | 34 | |
---|
| 35 | Vendor: Project Vine |
---|
| 36 | Distribution: Vine Linux |
---|
[6684] | 37 | Packager: toshi_kd |
---|
[6493] | 38 | |
---|
| 39 | %description |
---|
| 40 | wxWidgets is a free C++ library for cross-platform GUI development. |
---|
| 41 | With wxWidgets, you can create applications for different GUIs (GTK+, |
---|
| 42 | Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code. |
---|
| 43 | |
---|
| 44 | %package devel |
---|
| 45 | Summary: The GTK+ 2 port of the wxWidgets library |
---|
| 46 | Summary(ja): wxWidgets ライブラリーの開発用ファイル |
---|
| 47 | Group: Development/Libraries |
---|
| 48 | Requires: %{name} = %{version}-%{release} |
---|
| 49 | Requires: wxBase = %{version}-%{release} |
---|
| 50 | Requires: gtk2-devel |
---|
| 51 | Requires: mesa-libGL-devel, mesa-libGLU-devel |
---|
[6684] | 52 | Obsoletes: wx-gtk2-devel < %{version}-%{release} |
---|
[6493] | 53 | |
---|
| 54 | %description devel |
---|
| 55 | The GTK+ 2 port of the wxWidgets library, header files. |
---|
| 56 | |
---|
| 57 | %package -n wxBase |
---|
| 58 | Summary: Non-GUI support classes from the wxWidgets library |
---|
| 59 | Group: System Environment/Libraries |
---|
| 60 | |
---|
| 61 | %description -n wxBase |
---|
| 62 | Every wxWidgets application must link against this library. It contains |
---|
| 63 | mandatory classes that any wxWidgets code depends on (like wxString) and |
---|
| 64 | portability classes that abstract differences between platforms. wxBase can |
---|
| 65 | be used to develop console mode applications -- it does not require any GUI |
---|
| 66 | libraries or the X Window System. |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %prep |
---|
| 70 | %setup -qn wxGTK-%{version} |
---|
| 71 | |
---|
| 72 | sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure |
---|
| 73 | |
---|
| 74 | # fix plugin dir for 64-bit |
---|
| 75 | sed -i -e 's|/lib|/%{_lib}|' src/unix/stdpaths.cpp |
---|
| 76 | |
---|
| 77 | # fix permissions for sources |
---|
| 78 | chmod a-x include/wx/{msgout.h,dcgraph.h,graphics.h} |
---|
| 79 | chmod a-x src/common/msgout.cpp |
---|
| 80 | |
---|
| 81 | %build |
---|
[7378] | 82 | %configure --enable-accel \ |
---|
| 83 | --enable-controls \ |
---|
| 84 | --enable-shared \ |
---|
[6493] | 85 | --enable-unicode \ |
---|
| 86 | --enable-sound \ |
---|
| 87 | --enable-intl \ |
---|
| 88 | --enable-display \ |
---|
| 89 | --enable-geometry \ |
---|
| 90 | --enable-graphics_ctx \ |
---|
| 91 | --disable-rpath \ |
---|
| 92 | --with-expat \ |
---|
| 93 | --with-gtk \ |
---|
| 94 | --with-libpng \ |
---|
| 95 | --with-libjpeg \ |
---|
| 96 | --with-libtiff \ |
---|
| 97 | --with-libxpm \ |
---|
| 98 | --with-opengl \ |
---|
| 99 | --with-regex \ |
---|
| 100 | --with-sdl \ |
---|
| 101 | --with-zlib |
---|
| 102 | |
---|
| 103 | %{__make} %{?_smp_mflags} |
---|
| 104 | |
---|
| 105 | %install |
---|
| 106 | %__rm -rf %{buildroot} |
---|
| 107 | |
---|
| 108 | %makeinstall |
---|
| 109 | ln -sf %{_libdir}/wx/config/%{wxconfig} %{buildroot}%{_bindir}/wx-config |
---|
| 110 | |
---|
| 111 | %makeinstall -C contrib |
---|
| 112 | |
---|
| 113 | %clean |
---|
| 114 | %__rm -rf %{buildroot} |
---|
| 115 | |
---|
| 116 | %post -p /sbin/ldconfig |
---|
| 117 | %postun -p /sbin/ldconfig |
---|
| 118 | |
---|
| 119 | %post -n wxBase -p /sbin/ldconfig |
---|
| 120 | %postun -n wxBase -p /sbin/ldconfig |
---|
| 121 | |
---|
| 122 | %files |
---|
| 123 | %defattr(-,root,root,-) |
---|
| 124 | %doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt |
---|
| 125 | %doc docs/licendoc.txt docs/preamble.txt docs/readme.txt |
---|
| 126 | %{_libdir}/libwx_gtk2u_adv-*.so.* |
---|
| 127 | %{_libdir}/libwx_gtk2u_aui-*.so.* |
---|
| 128 | %{_libdir}/libwx_gtk2u_core-*.so.* |
---|
| 129 | %{_libdir}/libwx_gtk2u_fl-*.so.* |
---|
| 130 | %{_libdir}/libwx_gtk2u_gizmos-*.so.* |
---|
| 131 | %{_libdir}/libwx_gtk2u_gizmos_xrc*.so.* |
---|
| 132 | %{_libdir}/libwx_gtk2u_gl-*.so.* |
---|
| 133 | %{_libdir}/libwx_gtk2u_html-*.so.* |
---|
| 134 | %{_libdir}/libwx_gtk2u_ogl-*.so.* |
---|
| 135 | %{_libdir}/libwx_gtk2u_plot-*.so.* |
---|
| 136 | %{_libdir}/libwx_gtk2u_qa-*.so.* |
---|
| 137 | %{_libdir}/libwx_gtk2u_richtext-*.so.* |
---|
| 138 | %{_libdir}/libwx_gtk2u_stc-*.so.* |
---|
| 139 | %{_libdir}/libwx_gtk2u_svg-*.so.* |
---|
| 140 | %{_libdir}/libwx_gtk2u_xrc-*.so.* |
---|
| 141 | |
---|
| 142 | %files devel |
---|
| 143 | %defattr(-,root,root,-) |
---|
| 144 | %{_bindir}/wx-config |
---|
| 145 | %{_bindir}/wxrc* |
---|
| 146 | %{_includedir}/wx-2.8 |
---|
| 147 | %{_libdir}/libwx_*.so |
---|
| 148 | %dir %{_libdir}/wx |
---|
| 149 | %dir %{_libdir}/wx/include |
---|
| 150 | %{_libdir}/wx/include/gtk2* |
---|
| 151 | %dir %{_libdir}/wx/config |
---|
| 152 | %{_libdir}/wx/config/gtk2* |
---|
| 153 | %{_datadir}/aclocal/* |
---|
| 154 | %{_datadir}/bakefile/presets/* |
---|
| 155 | |
---|
| 156 | %files -n wxBase |
---|
| 157 | %defattr(-,root,root,-) |
---|
| 158 | %doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt |
---|
| 159 | %doc docs/licendoc.txt docs/preamble.txt docs/readme.txt |
---|
| 160 | %{_libdir}/libwx_baseu-*.so.* |
---|
| 161 | %{_libdir}/libwx_baseu_net-*.so.* |
---|
| 162 | %{_libdir}/libwx_baseu_xml-*.so.* |
---|
| 163 | |
---|
| 164 | %changelog |
---|
[8841] | 165 | * Fri Jul 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-6 |
---|
| 166 | - rebuilt with libpng-1.6.12 |
---|
| 167 | |
---|
[8190] | 168 | * Mon Jan 13 2014 NAKAMURA Kenta <kenta@vinelinux.org> 2.8.12-5 |
---|
| 169 | - rebuilt with the current environment |
---|
| 170 | |
---|
[7378] | 171 | * Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-4 |
---|
| 172 | - added configure option: --enable-accel, --enable-controls |
---|
| 173 | |
---|
[6684] | 174 | * Thu Aug 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.12-3 |
---|
| 175 | - increment release number (+2) |
---|
| 176 | - add version-release to Obsoletes tag |
---|
| 177 | - O: wx-gtk2 < %{version}-%{release} |
---|
| 178 | - O: wx-gtk2-devel < %{version}-%{release} |
---|
| 179 | - remove wx-gtk2* package from repository |
---|
| 180 | |
---|
[6493] | 181 | * Sun Jul 01 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-1 |
---|
| 182 | - redefined name, package structure and configure |
---|
| 183 | |
---|
| 184 | * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-1 |
---|
| 185 | - new upstream version |
---|
| 186 | |
---|
| 187 | * Thu Sep 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-2 |
---|
| 188 | - built with rpm-4.8.1-1 for pkg-config file |
---|
| 189 | - changed libjpeg-devel to libjpeg-turbo-devel |
---|
| 190 | - added BuildRequires: libSM-devel, cppunit-devel, libgnomeprintui-devel |
---|
| 191 | |
---|
| 192 | * Tue Jun 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-1 |
---|
| 193 | - new upstream version |
---|
| 194 | - dropt all patches |
---|
| 195 | |
---|
| 196 | * Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 2.8.10-4 |
---|
| 197 | - added Patch10: wxGTK-2.8.10-gsockgtk.patch |
---|
| 198 | - added conrib libraries |
---|
| 199 | - rebuilt with new toolchain |
---|
| 200 | |
---|
| 201 | * Tue Jul 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.10-3 |
---|
| 202 | - add patch100 for fix CVE-2009-2369 (Interger OF) from fc10 |
---|
| 203 | |
---|
| 204 | * Mon Jun 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-2vl5 |
---|
| 205 | - spec in UTF-8 |
---|
| 206 | |
---|
| 207 | * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-1vl5 |
---|
| 208 | - new upstream version |
---|
| 209 | - built with gtk2-2.16.0 |
---|
| 210 | |
---|
| 211 | * Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.9-1vl5 |
---|
| 212 | - new upstream version |
---|
| 213 | - modified BuildPreReq: mesa-libGL-devel mesa-libGLU-devel (instead of XOrg-gl-devel) |
---|
| 214 | |
---|
| 215 | * Tue Feb 26 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.8.7-0vl5 |
---|
| 216 | - rebuild with expat-2.0.1 |
---|
| 217 | - add BuildPreReq: expat-devel pkgconfig |
---|
| 218 | |
---|
| 219 | * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.7-0vl4 |
---|
| 220 | - rebuilt with gtk2-2.12.5 |
---|
| 221 | |
---|
| 222 | * Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl3 |
---|
| 223 | - rebuilt for VineSeed |
---|
| 224 | |
---|
| 225 | * Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl2 |
---|
| 226 | - add --enable-unicode configure option |
---|
| 227 | |
---|
| 228 | * Sat Dec 29 2007 Shu KONNO <owa@bg.wakwak.com> - 2.8.7-0vl1 |
---|
| 229 | - new upstream version |
---|
| 230 | |
---|
| 231 | * Fri Jun 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl2 |
---|
| 232 | - rebuilt with new toolchain |
---|
| 233 | |
---|
| 234 | * Thu May 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl1 |
---|
| 235 | - new upstream version |
---|
| 236 | - fixed Obsoletes tag |
---|
| 237 | |
---|
| 238 | * Fri Oct 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.2-0vl1 |
---|
| 239 | - new upstream version |
---|
| 240 | - added Obsoletes: %{name}-gl %{name}-samples |
---|
| 241 | |
---|
| 242 | * Sun Jul 10 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.6.1-0vl1 |
---|
| 243 | - new upstream version |
---|
| 244 | - remove private symbol patch |
---|
| 245 | - remove wx-gtk2-gl, wx-gtk2-samples subpackage |
---|
| 246 | |
---|
| 247 | * Tue May 25 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4.2-0vl1 |
---|
| 248 | - Initial build. |
---|