1 | %define name wx-gtk2 |
---|
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): GTK+ バージョン 2 を使用した wxWidgets ライブラリ |
---|
7 | Name: %{name} |
---|
8 | Version: %{wx_ver}.12 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | License: wxWindows License |
---|
11 | Group: System Environment/Libraries |
---|
12 | URL: http://www.wxwidgets.org/ |
---|
13 | Source0: wxGTK-%{version}.tar.gz |
---|
14 | #Patch10: wxGTK-2.8.10-gsockgtk.patch |
---|
15 | #Patch100: wxGTK-2.8.10-CVE-2009-2369.patch |
---|
16 | |
---|
17 | #BuildPreReq: gtk2-devel libpng-devel libjpeg-devel libtiff-devel |
---|
18 | #BuildPreReq: mesa-libGL-devel mesa-libGLU-devel zlib-devel expat-devel pkgconfig |
---|
19 | BuildRequires: gtk2-devel libpng-devel libjpeg-turbo-devel libtiff-devel |
---|
20 | BuildRequires: libSM-devel cppunit-devel libgnomeprintui-devel |
---|
21 | BuildRequires: mesa-libGL-devel mesa-libGLU-devel zlib-devel expat-devel pkgconfig |
---|
22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
23 | |
---|
24 | Obsoletes: %{name}-gl <= 2.4.2-0vl1 |
---|
25 | Obsoletes: %{name}-samples <= 2.4.2-0vl1 |
---|
26 | Provides: wxwin wxBase wxGTK |
---|
27 | |
---|
28 | Vendor: Project Vine |
---|
29 | Distribution: Vine Linux |
---|
30 | |
---|
31 | %description |
---|
32 | wxWidgets is a free C++ library for cross-platform GUI development. |
---|
33 | With wxWidgets, you can create applications for different GUIs (GTK+, |
---|
34 | Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code. |
---|
35 | |
---|
36 | |
---|
37 | %package devel |
---|
38 | Summary: The GTK+ 2 port of the wxWidgets library |
---|
39 | Summary(ja): wxWidgets ライブラリの開発用ファイル |
---|
40 | Group: Development/Libraries |
---|
41 | Provides: wxBase-devel wxGTK-devel |
---|
42 | Requires: %{name} = %{version}-%{release} |
---|
43 | |
---|
44 | %description devel |
---|
45 | The GTK+ 2 port of the wxWidgets library, header files. |
---|
46 | |
---|
47 | |
---|
48 | %prep |
---|
49 | %setup -q -n wxGTK-%{version} |
---|
50 | #%patch10 -p1 -b .gsockgtk |
---|
51 | #%patch100 -p0 -b .CVE-2009-2369 |
---|
52 | |
---|
53 | %build |
---|
54 | %configure --enable-shared --enable-unicode --with-gtk \ |
---|
55 | --with-libpng --with-libjpeg --with-libtiff --with-libxpm \ |
---|
56 | --with-opengl --with-regex --with-zlib |
---|
57 | |
---|
58 | %__make %{?_smp_mflags} |
---|
59 | |
---|
60 | %install |
---|
61 | %__rm -rf %{buildroot} |
---|
62 | %makeinstall |
---|
63 | ln -sf %{_libdir}/wx/config/%{wxconfig} %{buildroot}%{_bindir}/wx-config |
---|
64 | |
---|
65 | %makeinstall -C contrib |
---|
66 | |
---|
67 | %clean |
---|
68 | %__rm -rf %{buildroot} |
---|
69 | |
---|
70 | %post -p /sbin/ldconfig |
---|
71 | |
---|
72 | %postun -p /sbin/ldconfig |
---|
73 | |
---|
74 | %files |
---|
75 | %defattr(-,root,root) |
---|
76 | %doc *.txt demos docs |
---|
77 | %{_libdir}/libwx_base*.so.* |
---|
78 | %{_libdir}/libwx_gtk2*.so.* |
---|
79 | #%{_datadir}/locale/*/LC_MESSAGES/* |
---|
80 | |
---|
81 | %files devel |
---|
82 | %defattr(-,root,root) |
---|
83 | %{_includedir}/wx-%{wx_ver}/wx/*.h |
---|
84 | %{_includedir}/wx-%{wx_ver}/wx/*/*.h |
---|
85 | %{_includedir}/wx-%{wx_ver}/wx/*/*/*.h |
---|
86 | %{_includedir}/wx-%{wx_ver}/wx/*.cpp |
---|
87 | %{_includedir}/wx-%{wx_ver}/wx/plot/*.bmp |
---|
88 | %{_includedir}/wx-%{wx_ver}/wx/plot/*.rc |
---|
89 | %{_libdir}/wx |
---|
90 | %{_libdir}/libwx_base*.so |
---|
91 | %{_libdir}/libwx_gtk2*.so |
---|
92 | %{_bindir}/* |
---|
93 | %{_datadir}/aclocal/*.m4 |
---|
94 | %{_datadir}/bakefile/* |
---|
95 | |
---|
96 | %changelog |
---|
97 | * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-1 |
---|
98 | - new upstream version |
---|
99 | |
---|
100 | * Thu Sep 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-2 |
---|
101 | - built with rpm-4.8.1-1 for pkg-config file |
---|
102 | - changed libjpeg-devel to libjpeg-turbo-devel |
---|
103 | - added BuildRequires: libSM-devel, cppunit-devel, libgnomeprintui-devel |
---|
104 | |
---|
105 | * Tue Jun 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-1 |
---|
106 | - new upstream version |
---|
107 | - dropt all patches |
---|
108 | |
---|
109 | * Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 2.8.10-4 |
---|
110 | - added Patch10: wxGTK-2.8.10-gsockgtk.patch |
---|
111 | - added conrib libraries |
---|
112 | - rebuilt with new toolchain |
---|
113 | |
---|
114 | * Tue Jul 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.10-3 |
---|
115 | - add patch100 for fix CVE-2009-2369 (Interger OF) from fc10 |
---|
116 | |
---|
117 | * Mon Jun 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-2vl5 |
---|
118 | - spec in UTF-8 |
---|
119 | |
---|
120 | * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-1vl5 |
---|
121 | - new upstream version |
---|
122 | - built with gtk2-2.16.0 |
---|
123 | |
---|
124 | * Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.9-1vl5 |
---|
125 | - new upstream version |
---|
126 | - modified BuildPreReq: mesa-libGL-devel mesa-libGLU-devel (instead of XOrg-gl-devel) |
---|
127 | |
---|
128 | * Tue Feb 26 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.8.7-0vl5 |
---|
129 | - rebuild with expat-2.0.1 |
---|
130 | - add BuildPreReq: expat-devel pkgconfig |
---|
131 | |
---|
132 | * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.7-0vl4 |
---|
133 | - rebuilt with gtk2-2.12.5 |
---|
134 | |
---|
135 | * Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl3 |
---|
136 | - rebuilt for VineSeed |
---|
137 | |
---|
138 | * Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl2 |
---|
139 | - add --enable-unicode configure option |
---|
140 | |
---|
141 | * Sat Dec 29 2007 Shu KONNO <owa@bg.wakwak.com> - 2.8.7-0vl1 |
---|
142 | - new upstream version |
---|
143 | |
---|
144 | * Fri Jun 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl2 |
---|
145 | - rebuilt with new toolchain |
---|
146 | |
---|
147 | * Thu May 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl1 |
---|
148 | - new upstream version |
---|
149 | - fixed Obsoletes tag |
---|
150 | |
---|
151 | * Fri Oct 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.2-0vl1 |
---|
152 | - new upstream version |
---|
153 | - added Obsoletes: %{name}-gl %{name}-samples |
---|
154 | |
---|
155 | * Sun Jul 10 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.6.1-0vl1 |
---|
156 | - new upstream version |
---|
157 | - remove private symbol patch |
---|
158 | - remove wx-gtk2-gl, wx-gtk2-samples subpackage |
---|
159 | |
---|
160 | * Tue May 25 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4.2-0vl1 |
---|
161 | - Initial build. |
---|
162 | |
---|