[521] | 1 | %define name plib |
---|
[6427] | 2 | %define version 1.8.5 |
---|
[521] | 3 | %define release 1%{?_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: Set of portable libraries especially useful for games |
---|
| 6 | Name: %{name} |
---|
| 7 | Version: %{version} |
---|
| 8 | Release: %{release} |
---|
| 9 | Source: http://plib.sourceforge.net/dist/%{name}-%{version}.tar.gz |
---|
| 10 | ### from OpenSuse |
---|
| 11 | Patch0: plib-1.8.4-type.diff |
---|
| 12 | Patch2: plib-1.8.4-shared.diff |
---|
| 13 | ### |
---|
| 14 | License: LGPL |
---|
| 15 | Group: System Environment/Libraries |
---|
| 16 | URL: http://plib.sourceforge.net |
---|
| 17 | |
---|
| 18 | #Requires: |
---|
| 19 | #BuildRequires: XOrg-devel, XOrg-gl-devel |
---|
| 20 | BuildRequires: xorg-x11-devel, mesa-libGL-devel |
---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | This is a set of OpenSource (LGPL) libraries that will permit programmers |
---|
| 25 | to write games and other realtime interactive applications that are 100% |
---|
| 26 | portable across a wide range of hardware and operating systems. Here is |
---|
| 27 | what you need - it's all free and available with LGPL'ed source code on |
---|
| 28 | the web. All of it works well together. |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: Development files for %{name} |
---|
| 32 | Group: Development/Libraries |
---|
| 33 | Requires: %{name} = %{version}-%{release} |
---|
| 34 | #Requires: XOrg-gl-devel |
---|
| 35 | Requires: mesa-libGL-devel |
---|
| 36 | |
---|
| 37 | %description devel |
---|
| 38 | This package contains the header files and libraries needed to write |
---|
| 39 | or compile programs that use plib. |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 44 | |
---|
| 45 | %setup -q |
---|
| 46 | %patch0 |
---|
| 47 | %patch2 |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | libtoolize --force |
---|
| 51 | aclocal --force |
---|
| 52 | automake -acf |
---|
| 53 | autoconf --force |
---|
| 54 | %configure CXXFLAGS="$RPM_OPT_FLAGS -fPIC -DXF86VIDMODE" |
---|
| 55 | make %{?_smp_mflags} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
| 60 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 61 | libtool --finish $RPM_BUILD_ROOT%{_libdir} |
---|
| 62 | |
---|
| 63 | ## remove unuse files |
---|
| 64 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 65 | |
---|
| 66 | %clean |
---|
| 67 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 68 | |
---|
| 69 | %post -p /sbin/ldconfig |
---|
| 70 | |
---|
| 71 | %postun -p /sbin/ldconfig |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %files |
---|
| 75 | %defattr(-,root,root) |
---|
| 76 | %doc AUTHORS COPYING ChangeLog INSTALL KNOWN_BUGS |
---|
| 77 | %doc NEWS NOTICE README README.GLUT TODO-1.6 TODO-2.0 TODO_AFTER135 |
---|
| 78 | %{_libdir}/*.so.* |
---|
| 79 | |
---|
| 80 | %files devel |
---|
| 81 | %defattr(-,root,root) |
---|
| 82 | %{_includedir}/plib |
---|
| 83 | %{_libdir}/*.so |
---|
| 84 | #%{_libdir}/*.*a |
---|
| 85 | %{_libdir}/*.a |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %changelog |
---|
[6427] | 89 | * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-1 |
---|
| 90 | - update to 1.8.5 |
---|
| 91 | - remove Patch1,3 |
---|
| 92 | |
---|
[521] | 93 | * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.8.4-1vl5 |
---|
| 94 | - applied new versioning policy |
---|
| 95 | - removed *.la |
---|
| 96 | |
---|
| 97 | * Sat Feb 9 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.8.4-0vl2 |
---|
| 98 | - rebuild for VineSeed |
---|
| 99 | |
---|
| 100 | * Sun Aug 5 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.8.4-0vl1 |
---|
| 101 | - initial build for Vine Linux 4.1 |
---|
| 102 | |
---|
| 103 | # * Sat Oct 22 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.8.4-0vl1 |
---|
| 104 | # - initial build for Vine Linux 3.2 |
---|
| 105 | |
---|
| 106 | * Wed May 23 2007 prusnak@suse.cz |
---|
| 107 | - move devel files to plib-devel subpackage |
---|
| 108 | |
---|
| 109 | * Wed Jan 25 2006 mls@suse.de |
---|
| 110 | - converted neededforbuild to BuildRequires |
---|
| 111 | |
---|
| 112 | * Thu Oct 20 2005 mmj@suse.de |
---|
| 113 | - remove extra qualification |
---|
| 114 | |
---|
| 115 | * Fri Feb 25 2005 ro@suse.de |
---|
| 116 | - fix filelist (packing complete /usr/lib is not possible) |
---|
| 117 | |
---|
| 118 | * Wed Feb 23 2005 mjancar@suse.cz |
---|
| 119 | - build shared libraries (needed by torcs) |
---|
| 120 | |
---|
| 121 | * Wed Feb 2 2005 mjancar@suse.cz |
---|
| 122 | - update to 1.8.4 (needed by FlightGear) |
---|
| 123 | |
---|
| 124 | * Fri Aug 13 2004 mjancar@suse.cz |
---|
| 125 | - update to 1.8.3 |
---|
| 126 | |
---|
| 127 | * Sat Jan 10 2004 adrian@suse.de |
---|
| 128 | - add %%defattr |
---|
| 129 | |
---|
| 130 | * Mon Oct 13 2003 ro@suse.de |
---|
| 131 | - remove explicit requires for mesa |
---|
| 132 | |
---|
| 133 | * Thu Jul 31 2003 mjancar@suse.cz |
---|
| 134 | - use %%run_ldconfig |
---|
| 135 | |
---|
| 136 | * Tue Dec 10 2002 prehak@suse.cz |
---|
| 137 | - fixed brace-enclosed initialization (due to gcc-3.3) |
---|
| 138 | |
---|
| 139 | * Thu Oct 24 2002 prehak@suse.cz |
---|
| 140 | - updated to version 1.6.0 |
---|
| 141 | |
---|
| 142 | * Wed Aug 21 2002 nadvornik@suse.cz |
---|
| 143 | - use RPM_OPT_FLAGS instead of -O6 |
---|
| 144 | |
---|
| 145 | * Thu Jan 10 2002 rvasice@suse.cz |
---|
| 146 | - use %%{_libdir} |
---|
| 147 | |
---|
| 148 | * Fri Nov 9 2001 rvasice@suse.cz |
---|
| 149 | - fix to compile with new automake |
---|
| 150 | |
---|
| 151 | * Thu Nov 8 2001 ro@suse.de |
---|
| 152 | - use mesa-devel-packages in neededforbuild |
---|
| 153 | |
---|
| 154 | * Thu Jul 26 2001 rvasice@suse.cz |
---|
| 155 | - update to version 1.4.2 |
---|
| 156 | |
---|
| 157 | * Fri Jul 13 2001 rvasice@suse.cz |
---|
| 158 | - update to version 1.4.1 |
---|
| 159 | |
---|
| 160 | * Mon Jun 4 2001 rvasice@suse.cz |
---|
| 161 | - spec file cleanup |
---|
| 162 | - bzip2 sources |
---|
| 163 | |
---|
| 164 | * Thu Mar 15 2001 ro@suse.de |
---|
| 165 | - changed neededforbuild <mesaglu> to <xf86glu> |
---|
| 166 | - changed neededforbuild <mesaglu-devel> to <xf86glu-devel> |
---|
| 167 | |
---|
| 168 | * Tue Mar 13 2001 ro@suse.de |
---|
| 169 | - added mesaglut |
---|
| 170 | |
---|
| 171 | * Fri Mar 9 2001 ro@suse.de |
---|
| 172 | - added mesaglu |
---|
| 173 | |
---|
| 174 | * Wed Mar 7 2001 ro@suse.de |
---|
| 175 | - changed neededforbuild <mesadev> to <mesa-devel> |
---|
| 176 | - added xf86 to neededforbuild |
---|
| 177 | |
---|
| 178 | * Fri Feb 9 2001 ro@suse.de |
---|
| 179 | - include float.h in sg.h |
---|
| 180 | |
---|
| 181 | * Mon Aug 7 2000 smid@suse.cz |
---|
| 182 | - upgrade to 1.2.0 |
---|
| 183 | |
---|
| 184 | * Mon May 22 2000 smid@suse.cz |
---|
| 185 | - mesadev added to neededforbuild |
---|
| 186 | |
---|
| 187 | * Thu May 4 2000 smid@suse.cz |
---|
| 188 | - upgrade to 1.1.11 |
---|
| 189 | |
---|
| 190 | * Fri Apr 21 2000 smid@suse.cz |
---|
| 191 | - buildroot added |
---|
| 192 | |
---|
| 193 | * Thu Feb 17 2000 grimmer@suse.de |
---|
| 194 | - added URL to spec file |
---|
| 195 | - use full URL to source package |
---|
| 196 | - use version macro |
---|
| 197 | |
---|
| 198 | * Tue Dec 28 1999 sndirsch@suse.de |
---|
| 199 | - updated to version 1.0.20 |
---|
| 200 | |
---|
| 201 | * Mon Sep 13 1999 bs@suse.de |
---|
| 202 | - ran old prepare_spec on spec file to switch to new prepare_spec. |
---|
| 203 | |
---|
| 204 | * Wed Aug 18 1999 sndirsch@suse.de |
---|
| 205 | - update to version 1.0.16 |
---|
| 206 | |
---|
| 207 | * Wed Jul 7 1999 grimmer@suse.de |
---|
| 208 | - initial package created (Version 1.0.12) |
---|