wx-gtk2-vl.spec 4.8 KB

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