wx-gtk2-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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: 2%{?_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. * Thu Sep 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-2
  78. - built with rpm-4.8.1-1 for pkg-config file
  79. - changed libjpeg-devel to libjpeg-turbo-devel
  80. - added BuildRequires: libSM-devel, cppunit-devel, libgnomeprintui-devel
  81. * Tue Jun 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.11-1
  82. - new upstream version
  83. - dropt all patches
  84. * Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 2.8.10-4
  85. - added Patch10: wxGTK-2.8.10-gsockgtk.patch
  86. - added conrib libraries
  87. - rebuilt with new toolchain
  88. * Tue Jul 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.10-3
  89. - add patch100 for fix CVE-2009-2369 (Interger OF) from fc10
  90. * Mon Jun 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-2vl5
  91. - spec in UTF-8
  92. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.10-1vl5
  93. - new upstream version
  94. - built with gtk2-2.16.0
  95. * Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.9-1vl5
  96. - new upstream version
  97. - modified BuildPreReq: mesa-libGL-devel mesa-libGLU-devel (instead of XOrg-gl-devel)
  98. * Tue Feb 26 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.8.7-0vl5
  99. - rebuild with expat-2.0.1
  100. - add BuildPreReq: expat-devel pkgconfig
  101. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.7-0vl4
  102. - rebuilt with gtk2-2.12.5
  103. * Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl3
  104. - rebuilt for VineSeed
  105. * Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.8.7-0vl2
  106. - add --enable-unicode configure option
  107. * Sat Dec 29 2007 Shu KONNO <owa@bg.wakwak.com> - 2.8.7-0vl1
  108. - new upstream version
  109. * Fri Jun 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl2
  110. - rebuilt with new toolchain
  111. * Thu May 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl1
  112. - new upstream version
  113. - fixed Obsoletes tag
  114. * Fri Oct 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.2-0vl1
  115. - new upstream version
  116. - added Obsoletes: %{name}-gl %{name}-samples
  117. * Sun Jul 10 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.6.1-0vl1
  118. - new upstream version
  119. - remove private symbol patch
  120. - remove wx-gtk2-gl, wx-gtk2-samples subpackage
  121. * Tue May 25 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4.2-0vl1
  122. - Initial build.