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 |
---|
9 | Release: 7%{?_dist_release} |
---|
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 | |
---|
33 | Obsoletes: wx-gtk2 < %{version}-%{release} |
---|
34 | |
---|
35 | Vendor: Project Vine |
---|
36 | Distribution: Vine Linux |
---|
37 | Packager: toshi_kd |
---|
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 |
---|
52 | Obsoletes: wx-gtk2-devel < %{version}-%{release} |
---|
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 |
---|
82 | %configure --enable-accel \ |
---|
83 | --enable-controls \ |
---|
84 | --enable-shared \ |
---|
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 |
---|
165 | * Fri Jul 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.12-7 |
---|
166 | - rebuilt with new toolchain. |
---|
167 | |
---|
168 | * Fri Jul 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-6 |
---|
169 | - rebuilt with libpng-1.6.12 |
---|
170 | |
---|
171 | * Mon Jan 13 2014 NAKAMURA Kenta <kenta@vinelinux.org> 2.8.12-5 |
---|
172 | - rebuilt with the current environment |
---|
173 | |
---|
174 | * Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-4 |
---|
175 | - added configure option: --enable-accel, --enable-controls |
---|
176 | |
---|
177 | * Thu Aug 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.12-3 |
---|
178 | - increment release number (+2) |
---|
179 | - add version-release to Obsoletes tag |
---|
180 | - O: wx-gtk2 < %{version}-%{release} |
---|
181 | - O: wx-gtk2-devel < %{version}-%{release} |
---|
182 | - remove wx-gtk2* package from repository |
---|
183 | |
---|
184 | * Sun Jul 01 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-1 |
---|
185 | - redefined name, package structure and configure |
---|
186 | |
---|
187 | * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-1 |
---|
188 | - new upstream version |
---|
189 | |
---|
190 | * Thu Sep 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-2 |
---|
191 | - built with rpm-4.8.1-1 for pkg-config file |
---|
192 | - changed libjpeg-devel to libjpeg-turbo-devel |
---|
193 | - added BuildRequires: libSM-devel, cppunit-devel, libgnomeprintui-devel |
---|
194 | |
---|
195 | * Tue Jun 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-1 |
---|
196 | - new upstream version |
---|
197 | - dropt all patches |
---|
198 | |
---|
199 | * Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 2.8.10-4 |
---|
200 | - added Patch10: wxGTK-2.8.10-gsockgtk.patch |
---|
201 | - added conrib libraries |
---|
202 | - rebuilt with new toolchain |
---|
203 | |
---|
204 | * Tue Jul 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.10-3 |
---|
205 | - add patch100 for fix CVE-2009-2369 (Interger OF) from fc10 |
---|
206 | |
---|
207 | * Mon Jun 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-2vl5 |
---|
208 | - spec in UTF-8 |
---|
209 | |
---|
210 | * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-1vl5 |
---|
211 | - new upstream version |
---|
212 | - built with gtk2-2.16.0 |
---|
213 | |
---|
214 | * Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.9-1vl5 |
---|
215 | - new upstream version |
---|
216 | - modified BuildPreReq: mesa-libGL-devel mesa-libGLU-devel (instead of XOrg-gl-devel) |
---|
217 | |
---|
218 | * Tue Feb 26 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.8.7-0vl5 |
---|
219 | - rebuild with expat-2.0.1 |
---|
220 | - add BuildPreReq: expat-devel pkgconfig |
---|
221 | |
---|
222 | * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.7-0vl4 |
---|
223 | - rebuilt with gtk2-2.12.5 |
---|
224 | |
---|
225 | * Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl3 |
---|
226 | - rebuilt for VineSeed |
---|
227 | |
---|
228 | * Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl2 |
---|
229 | - add --enable-unicode configure option |
---|
230 | |
---|
231 | * Sat Dec 29 2007 Shu KONNO <owa@bg.wakwak.com> - 2.8.7-0vl1 |
---|
232 | - new upstream version |
---|
233 | |
---|
234 | * Fri Jun 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl2 |
---|
235 | - rebuilt with new toolchain |
---|
236 | |
---|
237 | * Thu May 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl1 |
---|
238 | - new upstream version |
---|
239 | - fixed Obsoletes tag |
---|
240 | |
---|
241 | * Fri Oct 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.2-0vl1 |
---|
242 | - new upstream version |
---|
243 | - added Obsoletes: %{name}-gl %{name}-samples |
---|
244 | |
---|
245 | * Sun Jul 10 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.6.1-0vl1 |
---|
246 | - new upstream version |
---|
247 | - remove private symbol patch |
---|
248 | - remove wx-gtk2-gl, wx-gtk2-samples subpackage |
---|
249 | |
---|
250 | * Tue May 25 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4.2-0vl1 |
---|
251 | - Initial build. |
---|