SDL_net-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: SDL portable network library
  2. Name: SDL_net
  3. Version: 1.2.7
  4. Release: 2%{?_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}/*.{a,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*.so
  50. %{_includedir}/SDL/
  51. %changelog
  52. * Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.7-2
  53. - remove *.a
  54. * Sat Sep 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.7-1
  55. - new upstream release
  56. - applied new versioning policy
  57. - spec in UTF-8
  58. * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.6-0vl1
  59. - new upstream release
  60. - s/Copyright/License/
  61. - added %post and %postun section
  62. * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl2
  63. - added japanese description
  64. - built by SDL-1.2.7
  65. * Sat May 10 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl1
  66. - new upstream version
  67. - added libtool autoconf automake sane in BuildPreReq
  68. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-1vl1
  69. - build on VineLinux
  70. - added BuildPreReq:
  71. - used rpmmacro
  72. * Sat Feb 3 2001 Paul S Jenner <psj@firstlinux.net>
  73. - First spec file based on SDL spec file