]> git.pld-linux.org Git - packages/SDL_net.git/blame - SDL_net.spec
- completly rewrited in PLD style.
[packages/SDL_net.git] / SDL_net.spec
CommitLineData
ecc1e9ef 1Summary: Simple DirectMedia Layer - network
2Name: SDL_net
3Version: 1.1.1
4Release: 1
5License: LGPL
6Group: Libraries
7Source0: http://www.libsdl.org/projects/SDL_net/src/%{name}-%{version}.tar.gz
8URL: http://www.devolution.com/~slouken/SDL/projects/SDL_net/
9BuildRequires: SDL-devel >= 1.0.1
10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e6f01e85 11
12%description
ecc1e9ef 13This is an example portable network library for use with SDL. Note
14that this isn't necessarily how you would want to write a chat
15program, but it demonstrates how to use the basic features of the
16network and GUI libraries.
e6f01e85 17
18%package devel
ecc1e9ef 19Summary: Header files and more to develop SDL_net applications
20Group: Development/Libraries
21Group(fr): Development/Librairies
22Group(pl): Programowanie/Biblioteki
23Requires: %{name} = %{version}
24Requires: SDL-devel
e6f01e85 25
26%description devel
ecc1e9ef 27Header files and more to develop SDL_net applications.
e6f01e85 28
ecc1e9ef 29%package static
30Summary: Statis SDL_net libraries
31Group: Development/Libraries
32Group(fr): Development/Librairies
33Group(pl): Programowanie/Biblioteki
34Requires: %{name}-devel = %{version}
e6f01e85 35
ecc1e9ef 36%description static
37Statis SDL_net libraries.
e6f01e85 38
ecc1e9ef 39%prep
40%setup -q
e6f01e85 41
42%build
ecc1e9ef 43LDFLAGS="-s"; export LDFLAGS
e6f01e85 44%configure
ecc1e9ef 45%{__make}
e6f01e85 46
47%install
48rm -rf $RPM_BUILD_ROOT
ecc1e9ef 49
50%{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
53
54gzip -9nf README
e6f01e85 55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
ecc1e9ef 59%post -p /sbin/ldconfig
e6f01e85 60%postun -p /sbin/ldconfig
61
62%files
ecc1e9ef 63%defattr(644,root,root,755)
e6f01e85 64%doc README COPYING
ecc1e9ef 65%attr(755,root,root) %{_libdir}/lib*.so.*.*
e6f01e85 66
67%files devel
ecc1e9ef 68%defattr(644,root,root,755)
69%doc *.gz
70%attr(755,root,root) %{_libdir}/lib*.so
71%attr(755,root,root) %{_libdir}/lib*.la
72%{_includedir}/SDL/*
73
74%files static
75%defattr(644,root,root,755)
76%{_libdir}/lib*.a
This page took 0.050286 seconds and 4 git commands to generate.