source: projects/specs/trunk/w/wx-gtk2/wx-gtk2-vl.spec @ 6548

Revision 6548, 4.9 KB checked in by kudoh, 12 years ago (diff)
Line 
1%define name wx-gtk2
2%define wxconfig gtk2-unicode-release-2.8
3%define wx_ver 2.8
4
5Summary: The GTK+ 2 port of the wxWidgets library
6Summary(ja): GTK+ バージョン 2 を使用した wxWidgets ライブラリ
7Name: %{name}
8Version: %{wx_ver}.12
9Release: 2%{?_dist_release}
10License: wxWindows License
11Group: System Environment/Libraries
12URL: http://www.wxwidgets.org/
13Source0: 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
19BuildRequires: gtk2-devel libpng-devel libjpeg-turbo-devel libtiff-devel
20BuildRequires: libSM-devel cppunit-devel libgnomeprintui-devel
21BuildRequires: mesa-libGL-devel mesa-libGLU-devel zlib-devel expat-devel pkgconfig
22BuildRoot: %{_tmppath}/%{name}-%{version}-root
23
24Obsoletes: %{name}-gl <= 2.4.2-0vl1
25Obsoletes: %{name}-samples <= 2.4.2-0vl1
26Provides: wxwin
27
28Vendor: Project Vine
29Distribution: Vine Linux
30
31%description
32wxWidgets is a free C++ library for cross-platform GUI development.
33With wxWidgets, you can create applications for different GUIs (GTK+,
34Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
35
36
37%package devel
38Summary: The GTK+ 2 port of the wxWidgets library
39Summary(ja): wxWidgets ライブラリの開発用ファイル
40Group: Development/Libraries
41#Provides: wxBase-devel wxGTK-devel
42Requires: %{name} = %{version}-%{release}
43
44%description devel
45The 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
63ln -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* Tue Jul 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-2
98- deleted Provides: wxBase wxGTK, wxBase-devel wxGTK-devel
99
100* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.12-1
101- new upstream version
102
103* Thu Sep 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-2
104- built with rpm-4.8.1-1 for pkg-config file
105- changed libjpeg-devel to libjpeg-turbo-devel
106- added BuildRequires: libSM-devel, cppunit-devel, libgnomeprintui-devel
107
108* Tue Jun 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-1
109- new upstream version
110- dropt all patches
111
112* Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 2.8.10-4
113- added Patch10: wxGTK-2.8.10-gsockgtk.patch
114- added conrib libraries
115- rebuilt with new toolchain
116
117* Tue Jul 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.10-3
118- add patch100 for fix CVE-2009-2369 (Interger OF) from fc10
119
120* Mon Jun 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-2vl5
121- spec in UTF-8
122
123* Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-1vl5
124- new upstream version
125- built with gtk2-2.16.0
126
127* Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.9-1vl5
128- new upstream version
129- modified BuildPreReq: mesa-libGL-devel mesa-libGLU-devel (instead of XOrg-gl-devel)
130
131* Tue Feb 26 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.8.7-0vl5
132- rebuild with expat-2.0.1
133- add BuildPreReq: expat-devel pkgconfig
134
135* Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.7-0vl4
136- rebuilt with gtk2-2.12.5
137
138* Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl3
139- rebuilt for VineSeed
140
141* Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl2
142- add --enable-unicode configure option
143
144* Sat Dec 29 2007 Shu KONNO  <owa@bg.wakwak.com> - 2.8.7-0vl1
145- new upstream version
146
147* Fri Jun  1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl2
148- rebuilt with new toolchain
149
150* Thu May 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl1
151- new upstream version
152- fixed Obsoletes tag
153
154* Fri Oct 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.2-0vl1
155- new upstream version
156- added Obsoletes: %{name}-gl %{name}-samples
157
158* Sun Jul 10 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.6.1-0vl1
159- new upstream version
160- remove private symbol patch
161- remove wx-gtk2-gl, wx-gtk2-samples subpackage
162
163* Tue May 25 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4.2-0vl1
164- Initial build.
165
Note: See TracBrowser for help on using the repository browser.