1 Summary: Portable game library
2 Summary(pl): Przeno¶na biblioteka do programowania gier
8 Source0: http://plib.sourceforge.net/dist/%{name}-%{version}.tar.gz
9 # Source0-md5: 5e3f289a9d1c5de0b1cfdec76bf139e6
10 Patch0: %{name}-shared.patch
11 Patch1: %{name}-js_fix.patch
12 Patch2: %{name}-gcc4.patch
13 URL: http://plib.sourceforge.net/
14 BuildRequires: OpenGL-devel
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libstdc++-devel
18 BuildRequires: libtool
19 BuildRequires: xorg-lib-libXi-devel
20 BuildRequires: xorg-lib-libXmu-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _noautoreqdep libGL.so.1 libGLU.so.1
27 Portable game library.
30 Przeno¶na biblioteka do programowania gier.
33 Summary: Header files for plib library
34 Summary(pl): Pliki nag³ówkowe biblioteki plib
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: OpenGL-devel
38 Requires: libstdc++-devel
39 Requires: xorg-lib-libXi-devel
40 Requires: xorg-lib-libXmu-devel
43 Header files for plib library.
45 %description devel -l pl
46 Pliki nag³ówkowe biblioteki plib.
49 Summary: Static plib libraries
50 Summary(pl): Statyczne biblioteki plib
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 Static plib libraries.
57 %description static -l pl
58 Statyczne biblioteki plib.
67 rm -f config.cache missing
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
89 %doc AUTHORS README* NOTICE NEWS ChangeLog
90 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/lib*.so
96 %{_includedir}/%{name}
99 %defattr(644,root,root,755)