SDL_net-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Summary: SDL portable network library
  2. Name: SDL_net
  3. Version: 1.2.7
  4. Release: 1%{?_dist_release}
  5. Source0: %{name}-%{version}.tar.gz
  6. URL: http://www.libsdl.org/projects/SDL_net/
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: SDL >= 1.2.4
  11. BuildRequires: sane
  12. BuildRequires: libtool autoconf automake
  13. Requires: SDL
  14. %description
  15. This is a portable network library for use with SDL.
  16. %description -l ja
  17. SDLで使用する,ポータブルなネットワークライブラリです.
  18. %package devel
  19. Summary: Libraries and includes to develop SDL networked applications.
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. %description devel
  23. This is a portable network library for use with SDL.
  24. This is the libraries and include files you can use to develop SDL networked applications.
  25. %description devel -l ja
  26. SDLで使用する,ポータブルなネットワークライブラリです.
  27. SDLでネットワークアプリケーションを開発する時に使用するライブラリや
  28. インクルードファイルが含まれています.
  29. %prep
  30. %setup -q
  31. %build
  32. %configure --disable-gui
  33. make
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. %makeinstall
  37. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %files
  43. %defattr(-,root,root)
  44. %doc README CHANGES COPYING
  45. %{_libdir}/lib*.so.*
  46. %files devel
  47. %defattr(-,root,root)
  48. %doc README CHANGES COPYING
  49. %{_libdir}/lib*.a
  50. %{_libdir}/lib*.so
  51. %{_includedir}/SDL/
  52. %changelog
  53. * Sat Sep 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.7-1
  54. - new upstream release
  55. - applied new versioning policy
  56. - spec in UTF-8
  57. * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.6-0vl1
  58. - new upstream release
  59. - s/Copyright/License/
  60. - added %post and %postun section
  61. * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl2
  62. - added japanese description
  63. - built by SDL-1.2.7
  64. * Sat May 10 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl1
  65. - new upstream version
  66. - added libtool autoconf automake sane in BuildPreReq
  67. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-1vl1
  68. - build on VineLinux
  69. - added BuildPreReq:
  70. - used rpmmacro
  71. * Sat Feb 3 2001 Paul S Jenner <psj@firstlinux.net>
  72. - First spec file based on SDL spec file