SDL_net-vl.spec 2.5 KB

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