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