wx-gtk2-vl.spec 4.4 KB

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