]>
Commit | Line | Data |
---|---|---|
7d66c013 | 1 | Summary: Portable game library |
38da1fa5 | 2 | Summary(pl.UTF-8): Przenośna biblioteka do programowania gier |
56ea7b0f | 3 | Name: plib |
b880cdd2 JB |
4 | Version: 1.8.5 |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
41fb55e3 | 7 | Group: X11/Libraries |
41fb55e3 | 8 | Source0: http://plib.sourceforge.net/dist/%{name}-%{version}.tar.gz |
b880cdd2 | 9 | # Source0-md5: 47a6fbf63668c1eed631024038b2ea90 |
23c2b65f | 10 | Patch0: %{name}-shared.patch |
b880cdd2 | 11 | Patch1: %{name}-link.patch |
41fb55e3 | 12 | URL: http://plib.sourceforge.net/ |
56ea7b0f | 13 | BuildRequires: OpenGL-devel |
41fb55e3 | 14 | BuildRequires: autoconf |
28a798b1 | 15 | BuildRequires: automake |
41fb55e3 | 16 | BuildRequires: libstdc++-devel |
23c2b65f | 17 | BuildRequires: libtool |
0f77bab2 MB |
18 | BuildRequires: xorg-lib-libXi-devel |
19 | BuildRequires: xorg-lib-libXmu-devel | |
72f7d96b | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
56ea7b0f | 21 | |
b880cdd2 | 22 | %define _noautoreqdep libGL.so.1 |
41fb55e3 | 23 | |
56ea7b0f | 24 | %description |
7d66c013 | 25 | Portable game library. |
56ea7b0f | 26 | |
66848702 JR |
27 | %description -l pl.UTF-8 |
28 | Przenośna biblioteka do programowania gier. | |
56ea7b0f | 29 | |
28a798b1 | 30 | %package devel |
31 | Summary: Header files for plib library | |
38da1fa5 | 32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki plib |
28a798b1 | 33 | Group: Development/Libraries |
ecbf60de | 34 | Requires: %{name} = %{version}-%{release} |
0f77bab2 MB |
35 | Requires: OpenGL-devel |
36 | Requires: libstdc++-devel | |
37 | Requires: xorg-lib-libXi-devel | |
38 | Requires: xorg-lib-libXmu-devel | |
28a798b1 | 39 | |
40 | %description devel | |
41 | Header files for plib library. | |
42 | ||
66848702 JR |
43 | %description devel -l pl.UTF-8 |
44 | Pliki nagłówkowe biblioteki plib. | |
28a798b1 | 45 | |
23c2b65f | 46 | %package static |
47 | Summary: Static plib libraries | |
38da1fa5 | 48 | Summary(pl.UTF-8): Statyczne biblioteki plib |
23c2b65f | 49 | Group: Development/Libraries |
ecbf60de | 50 | Requires: %{name}-devel = %{version}-%{release} |
23c2b65f | 51 | |
52 | %description static | |
53 | Static plib libraries. | |
54 | ||
66848702 | 55 | %description static -l pl.UTF-8 |
23c2b65f | 56 | Statyczne biblioteki plib. |
57 | ||
56ea7b0f | 58 | %prep |
59 | %setup -q | |
23c2b65f | 60 | %patch0 -p1 |
64920735 | 61 | %patch1 -p1 |
56ea7b0f | 62 | |
63 | %build | |
23c2b65f | 64 | %{__libtoolize} |
26c155b3 | 65 | %{__aclocal} |
25ebd972 | 66 | %{__autoconf} |
67 | %{__automake} | |
0f77bab2 | 68 | %configure |
d6b24d0f | 69 | %{__make} |
56ea7b0f | 70 | |
56ea7b0f | 71 | %install |
41fb55e3 | 72 | rm -rf $RPM_BUILD_ROOT |
56ea7b0f | 73 | |
28a798b1 | 74 | %{__make} install \ |
75 | DESTDIR=$RPM_BUILD_ROOT | |
56ea7b0f | 76 | |
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
65c498fb | 80 | %post -p /sbin/ldconfig |
81 | %postun -p /sbin/ldconfig | |
dd9cab95 | 82 | |
56ea7b0f | 83 | %files |
84 | %defattr(644,root,root,755) | |
a5af6b60 | 85 | %doc AUTHORS README* NOTICE NEWS ChangeLog |
b880cdd2 JB |
86 | %attr(755,root,root) %{_libdir}/libplibfnt.so.*.*.* |
87 | %attr(755,root,root) %ghost %{_libdir}/libplibfnt.so.0 | |
88 | %attr(755,root,root) %{_libdir}/libplibjs.so.*.*.* | |
89 | %attr(755,root,root) %ghost %{_libdir}/libplibjs.so.0 | |
90 | %attr(755,root,root) %{_libdir}/libplibnet.so.*.*.* | |
91 | %attr(755,root,root) %ghost %{_libdir}/libplibnet.so.0 | |
92 | %attr(755,root,root) %{_libdir}/libplibpsl.so.*.*.* | |
93 | %attr(755,root,root) %ghost %{_libdir}/libplibpsl.so.0 | |
94 | %attr(755,root,root) %{_libdir}/libplibpu.so.*.*.* | |
95 | %attr(755,root,root) %ghost %{_libdir}/libplibpu.so.0 | |
96 | %attr(755,root,root) %{_libdir}/libplibpuaux.so.*.*.* | |
97 | %attr(755,root,root) %ghost %{_libdir}/libplibpuaux.so.0 | |
98 | %attr(755,root,root) %{_libdir}/libplibpw.so.*.*.* | |
99 | %attr(755,root,root) %ghost %{_libdir}/libplibpw.so.0 | |
100 | %attr(755,root,root) %{_libdir}/libplibsg.so.*.*.* | |
101 | %attr(755,root,root) %ghost %{_libdir}/libplibsg.so.0 | |
102 | %attr(755,root,root) %{_libdir}/libplibsl.so.*.*.* | |
103 | %attr(755,root,root) %ghost %{_libdir}/libplibsl.so.0 | |
104 | %attr(755,root,root) %{_libdir}/libplibsm.so.*.*.* | |
105 | %attr(755,root,root) %ghost %{_libdir}/libplibsm.so.0 | |
106 | %attr(755,root,root) %{_libdir}/libplibssg.so.*.*.* | |
107 | %attr(755,root,root) %ghost %{_libdir}/libplibssg.so.0 | |
108 | %attr(755,root,root) %{_libdir}/libplibssgaux.so.*.*.* | |
109 | %attr(755,root,root) %ghost %{_libdir}/libplibssgaux.so.0 | |
110 | %attr(755,root,root) %{_libdir}/libplibul.so.*.*.* | |
111 | %attr(755,root,root) %ghost %{_libdir}/libplibul.so.0 | |
112 | %{_libdir}/libplibfnt.so.0 | |
113 | %{_libdir}/libplibjs.so.0 | |
114 | %{_libdir}/libplibnet.so.0 | |
115 | %{_libdir}/libplibpsl.so.0 | |
116 | %{_libdir}/libplibpu.so.0 | |
117 | %{_libdir}/libplibpuaux.so.0 | |
118 | %{_libdir}/libplibpw.so.0 | |
119 | %{_libdir}/libplibsg.so.0 | |
120 | %{_libdir}/libplibsl.so.0 | |
121 | %{_libdir}/libplibsm.so.0 | |
122 | %{_libdir}/libplibssg.so.0 | |
123 | %{_libdir}/libplibssgaux.so.0 | |
124 | %{_libdir}/libplibul.so.0 | |
28a798b1 | 125 | |
126 | %files devel | |
127 | %defattr(644,root,root,755) | |
b880cdd2 JB |
128 | %attr(755,root,root) %{_libdir}/libplibfnt.so |
129 | %attr(755,root,root) %{_libdir}/libplibjs.so | |
130 | %attr(755,root,root) %{_libdir}/libplibnet.so | |
131 | %attr(755,root,root) %{_libdir}/libplibpsl.so | |
132 | %attr(755,root,root) %{_libdir}/libplibpu.so | |
133 | %attr(755,root,root) %{_libdir}/libplibpuaux.so | |
134 | %attr(755,root,root) %{_libdir}/libplibpw.so | |
135 | %attr(755,root,root) %{_libdir}/libplibsg.so | |
136 | %attr(755,root,root) %{_libdir}/libplibsl.so | |
137 | %attr(755,root,root) %{_libdir}/libplibsm.so | |
138 | %attr(755,root,root) %{_libdir}/libplibssg.so | |
139 | %attr(755,root,root) %{_libdir}/libplibssgaux.so | |
140 | %attr(755,root,root) %{_libdir}/libplibul.so | |
141 | %{_libdir}/libplibfnt.la | |
142 | %{_libdir}/libplibjs.la | |
143 | %{_libdir}/libplibnet.la | |
144 | %{_libdir}/libplibpsl.la | |
145 | %{_libdir}/libplibpu.la | |
146 | %{_libdir}/libplibpuaux.la | |
147 | %{_libdir}/libplibpw.la | |
148 | %{_libdir}/libplibsg.la | |
149 | %{_libdir}/libplibsl.la | |
150 | %{_libdir}/libplibsm.la | |
151 | %{_libdir}/libplibssg.la | |
152 | %{_libdir}/libplibssgaux.la | |
153 | %{_libdir}/libplibul.la | |
28a798b1 | 154 | %{_includedir}/%{name} |
23c2b65f | 155 | |
156 | %files static | |
157 | %defattr(644,root,root,755) | |
b880cdd2 JB |
158 | %{_libdir}/libplibfnt.a |
159 | %{_libdir}/libplibjs.a | |
160 | %{_libdir}/libplibnet.a | |
161 | %{_libdir}/libplibpsl.a | |
162 | %{_libdir}/libplibpu.a | |
163 | %{_libdir}/libplibpuaux.a | |
164 | %{_libdir}/libplibpw.a | |
165 | %{_libdir}/libplibsg.a | |
166 | %{_libdir}/libplibsl.a | |
167 | %{_libdir}/libplibsm.a | |
168 | %{_libdir}/libplibssg.a | |
169 | %{_libdir}/libplibssgaux.a | |
170 | %{_libdir}/libplibul.a |