]> git.pld-linux.org Git - packages/plib.git/blame - plib.spec
- converted to UTF-8
[packages/plib.git] / plib.spec
CommitLineData
7d66c013 1Summary: Portable game library
66848702 2Summary(pl.UTF-8): Przenośna biblioteka do programowania gier
56ea7b0f 3Name: plib
253545c2 4Version: 1.8.4
78b87f40 5Release: 2
56ea7b0f 6License: LGPL
41fb55e3 7Group: X11/Libraries
41fb55e3 8Source0: http://plib.sourceforge.net/dist/%{name}-%{version}.tar.gz
253545c2 9# Source0-md5: 5e3f289a9d1c5de0b1cfdec76bf139e6
23c2b65f 10Patch0: %{name}-shared.patch
64920735 11Patch1: %{name}-js_fix.patch
0f77bab2 12Patch2: %{name}-gcc4.patch
78b87f40 13Patch3: %{name}-link.patch
41fb55e3 14URL: http://plib.sourceforge.net/
56ea7b0f 15BuildRequires: OpenGL-devel
41fb55e3 16BuildRequires: autoconf
28a798b1 17BuildRequires: automake
41fb55e3 18BuildRequires: libstdc++-devel
23c2b65f 19BuildRequires: libtool
0f77bab2
MB
20BuildRequires: xorg-lib-libXi-devel
21BuildRequires: xorg-lib-libXmu-devel
d08a8dd8 22Requires: OpenGL
72f7d96b 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56ea7b0f 24
d08a8dd8 25%define _noautoreqdep libGL.so.1 libGLU.so.1
41fb55e3 26
56ea7b0f 27%description
7d66c013 28Portable game library.
56ea7b0f 29
66848702
JR
30%description -l pl.UTF-8
31Przenośna biblioteka do programowania gier.
56ea7b0f 32
28a798b1 33%package devel
34Summary: Header files for plib library
66848702 35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki plib
28a798b1 36Group: Development/Libraries
ecbf60de 37Requires: %{name} = %{version}-%{release}
0f77bab2
MB
38Requires: OpenGL-devel
39Requires: libstdc++-devel
40Requires: xorg-lib-libXi-devel
41Requires: xorg-lib-libXmu-devel
28a798b1 42
43%description devel
44Header files for plib library.
45
66848702
JR
46%description devel -l pl.UTF-8
47Pliki nagłówkowe biblioteki plib.
28a798b1 48
23c2b65f 49%package static
50Summary: Static plib libraries
66848702 51Summary(pl.UTF-8): Statyczne biblioteki plib
23c2b65f 52Group: Development/Libraries
ecbf60de 53Requires: %{name}-devel = %{version}-%{release}
23c2b65f 54
55%description static
56Static plib libraries.
57
66848702 58%description static -l pl.UTF-8
23c2b65f 59Statyczne biblioteki plib.
60
56ea7b0f 61%prep
62%setup -q
23c2b65f 63%patch0 -p1
64920735 64%patch1 -p1
0f77bab2 65%patch2 -p1
78b87f40 66%patch3 -p1
56ea7b0f 67
68%build
41fb55e3 69rm -f config.cache missing
23c2b65f 70%{__libtoolize}
26c155b3 71%{__aclocal}
25ebd972 72%{__autoconf}
73%{__automake}
0f77bab2 74%configure
d6b24d0f 75%{__make}
56ea7b0f 76
56ea7b0f 77%install
41fb55e3 78rm -rf $RPM_BUILD_ROOT
56ea7b0f 79
28a798b1 80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
56ea7b0f 82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
65c498fb 86%post -p /sbin/ldconfig
87%postun -p /sbin/ldconfig
dd9cab95 88
56ea7b0f 89%files
90%defattr(644,root,root,755)
a5af6b60 91%doc AUTHORS README* NOTICE NEWS ChangeLog
23c2b65f 92%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
28a798b1 93
94%files devel
95%defattr(644,root,root,755)
23c2b65f 96%attr(755,root,root) %{_libdir}/lib*.so
97%{_libdir}/*.la
28a798b1 98%{_includedir}/%{name}
23c2b65f 99
100%files static
101%defattr(644,root,root,755)
102%{_libdir}/*.a
This page took 0.252212 seconds and 4 git commands to generate.