[521] | 1 | Summary: A low-level fullscreen SVGA graphics library. |
---|
| 2 | Name: svgalib |
---|
| 3 | Version: 1.9.25 |
---|
[3961] | 4 | Release: 2%{?_dist_release} |
---|
[521] | 5 | Exclusivearch: %{ix86} x86_64 |
---|
| 6 | License: distributable |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | Source: http://www.arava.co.il/matan/svgalib/svgalib-%{version}.tar.gz |
---|
| 9 | Source1: svgalib-todo |
---|
| 10 | Patch0: svgalib-1.9.21-makefiles.patch |
---|
| 11 | Patch1: svgalib-1.4.3-fhs.patch |
---|
| 12 | Patch2: svgalib-1.9.21-demos.patch |
---|
| 13 | Patch3: svgalib-1.9.21-cfg.patch |
---|
| 14 | Patch4: svgalib-1.9.25-kernel-2.6.26.patch |
---|
[3961] | 15 | Patch5: svgalib-1.9.25-round_gtf_gtfcalc_c.patch |
---|
[521] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | The svgalib package provides the SVGAlib low-level graphics library |
---|
| 20 | for Linux. SVGAlib is a library which allows applications to use full |
---|
| 21 | screen graphics on a variety of hardware platforms. Many games and |
---|
| 22 | utilities use SVGAlib for their graphics. |
---|
| 23 | |
---|
| 24 | You'll need to have the svgalib package installed if you use any of |
---|
| 25 | the programs which rely on SVGAlib for their graphics support. |
---|
| 26 | |
---|
| 27 | #' |
---|
| 28 | %package devel |
---|
| 29 | Summary: Development tools for programs using the SVGAlib graphics library. |
---|
| 30 | Group: Development/Libraries |
---|
| 31 | Requires: svgalib = %{version}-%{release} |
---|
| 32 | Provides: libvga-devel = %{version}-%{release} |
---|
| 33 | |
---|
| 34 | %description devel |
---|
| 35 | The svgalib-devel package contains the libraries and header files |
---|
| 36 | needed to build programs which will use the SVGAlib low-level graphics |
---|
| 37 | library. |
---|
| 38 | |
---|
| 39 | Install the svgalib-devel package if you want to develop applications |
---|
| 40 | which will use the SVGAlib library. |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | %patch0 -p1 -b .makefiles |
---|
| 45 | %patch1 -p1 -b .fhs |
---|
| 46 | %patch2 -p1 |
---|
| 47 | %patch3 -p1 -b .defaultcfg |
---|
| 48 | %patch4 -p1 |
---|
[3961] | 49 | %patch5 -p1 -b .round |
---|
[521] | 50 | |
---|
| 51 | #the testlinear demo needs svgalib's internal libvga header, so copy it to the |
---|
| 52 | #demo dir |
---|
| 53 | %__cp src/libvga.h demos |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %build |
---|
| 57 | #%{?_smp_mflags} doesn't work on x86_64 chances are it will fail on |
---|
| 58 | #some i386 machines too. |
---|
| 59 | %__make OPTIMIZE="$RPM_OPT_FLAGS -Wno-pointer-sign" LDFLAGS= \ |
---|
| 60 | prefix=%{_prefix} \ |
---|
| 61 | NO_HELPER=y \ |
---|
| 62 | INCLUDE_ET4000_DRIVER=y \ |
---|
| 63 | INCLUDE_OAK_DRIVER=y \ |
---|
| 64 | INCLUDE_MACH32_DRIVER=y \ |
---|
| 65 | INCLUDE_ET3000_DRIVER=y \ |
---|
| 66 | INCLUDE_GVGA6400_DRIVER=y \ |
---|
| 67 | INCLUDE_ATI_DRIVER=y \ |
---|
| 68 | INCLUDE_G450C2_DRIVER=y \ |
---|
| 69 | INCLUDE_ET4000_DRIVER_TEST=y \ |
---|
| 70 | INCLUDE_FBDEV_DRIVER_TEST=y \ |
---|
| 71 | INCLUDE_VESA_DRIVER_TEST=y \ |
---|
| 72 | shared |
---|
| 73 | %__make -C utils \ |
---|
| 74 | OPTIMIZE="$RPM_OPT_FLAGS -Wno-pointer-sign" LDFLAGS= \ |
---|
| 75 | prefix=%{_prefix} |
---|
| 76 | %__make -C threeDKit \ |
---|
| 77 | OPTIMIZE="$RPM_OPT_FLAGS -Wno-pointer-sign -I../gl" LDFLAGS= \ |
---|
| 78 | prefix=%{_prefix} lib3dkit.so.%{version} |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %install |
---|
| 82 | rm -rf $RPM_BUILD_ROOT |
---|
| 83 | mkdir -p $RPM_BUILD_ROOT/etc/vga |
---|
| 84 | mkdir -p $RPM_BUILD_ROOT/%{_libdir} |
---|
| 85 | make \ |
---|
| 86 | TOPDIR=$RPM_BUILD_ROOT \ |
---|
| 87 | prefix=$RPM_BUILD_ROOT/%{_prefix} \ |
---|
| 88 | mandir=$RPM_BUILD_ROOT/%{_mandir} \ |
---|
| 89 | sharedlibdir=$RPM_BUILD_ROOT/%{_libdir} \ |
---|
| 90 | NO_HELPER=y \ |
---|
| 91 | MANFORMAT=compressed \ |
---|
| 92 | "INSTALL_PROGRAM=install -p -m 755" \ |
---|
| 93 | "INSTALL_SCRIPT=install -p -m 755" \ |
---|
| 94 | "INSTALL_SHLIB=install -p -m 755" \ |
---|
| 95 | "INSTALL_DATA=install -p -m 644" \ |
---|
| 96 | install |
---|
| 97 | ln -s libvga.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libvga.so.1 |
---|
| 98 | ln -s libvgagl.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libvgagl.so.1 |
---|
| 99 | ln -s lib3dkit.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/lib3dkit.so.1 |
---|
| 100 | #for %ghost |
---|
| 101 | touch $RPM_BUILD_ROOT/etc/vga/fontdata |
---|
| 102 | touch $RPM_BUILD_ROOT/etc/vga/textregs |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | %clean |
---|
| 106 | %__rm -fr $RPM_BUILD_ROOT |
---|
| 107 | |
---|
| 108 | %post -p /sbin/ldconfig |
---|
| 109 | |
---|
| 110 | %postun -p /sbin/ldconfig |
---|
| 111 | |
---|
| 112 | %files |
---|
| 113 | %defattr(-,root,root,-) |
---|
| 114 | %doc doc/CHANGES doc/README.joystick doc/README.keymap lrmi-0.6m/README |
---|
| 115 | %doc doc/README.multi-monitor doc/README.vesa doc/TODO doc/dual-head-howto |
---|
| 116 | %dir %{_sysconfdir}/vga/ |
---|
| 117 | %config(noreplace) %{_sysconfdir}/vga/dvorak-us.keymap |
---|
| 118 | %config(noreplace) %{_sysconfdir}/vga/libvga.config |
---|
| 119 | %config(noreplace) %{_sysconfdir}/vga/libvga.et4000 |
---|
| 120 | %config(noreplace) %{_sysconfdir}/vga/null.keymap |
---|
| 121 | %ghost %{_sysconfdir}/vga/fontdata |
---|
| 122 | %ghost %{_sysconfdir}/vga/textregs |
---|
| 123 | %{_bindir}/* |
---|
| 124 | %{_libdir}/*.so.* |
---|
| 125 | %{_mandir}/man[^3]/* |
---|
| 126 | |
---|
| 127 | %files devel |
---|
| 128 | %defattr(-,root,root,-) |
---|
| 129 | %doc demos doc/DESIGN doc/Driver-programming-HOWTO doc/README.patching |
---|
| 130 | %{_includedir}/* |
---|
| 131 | %{_libdir}/*.so |
---|
| 132 | %{_mandir}/man3/* |
---|
| 133 | |
---|
| 134 | |
---|
| 135 | %changelog |
---|
[3961] | 136 | * Wed May 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9.25-2 |
---|
| 137 | - rebuild with current VineSeed environment |
---|
| 138 | - add Patch5 (svgalib-1.9.25-round_gtf_gtfcalc_c.patch) from fedora |
---|
| 139 | |
---|
[521] | 140 | * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.9.25-1 |
---|
| 141 | - new upstream release |
---|
| 142 | - dropped/updated all old patches based on Fedora development package |
---|
| 143 | - added Provides: libvga-devel in devel subpackage |
---|
| 144 | |
---|
| 145 | * Tue Oct 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-0vl1 |
---|
| 146 | - updated Patch0, Patch2, Patch4 |
---|
| 147 | - Patch3 and Patch5 were merged into upstream, dropped |
---|
| 148 | - added Patch7 to build vga.c correctly |
---|
| 149 | - s/Copyright/License/ |
---|
| 150 | |
---|
| 151 | * Sat Aug 18 2001 Toru Sagami <sagami@vinelinux.org> |
---|
| 152 | - 1.4.1-13vl1: was ported to Vine |
---|
| 153 | |
---|
| 154 | * Thu Oct 26 2000 Than Ngo <than@redhat.com> |
---|
| 155 | - rebuilt for 7.1 |
---|
| 156 | |
---|
| 157 | * Thu Oct 26 2000 Than Ngo <than@redhat.com> |
---|
| 158 | - fixed makefile to link vgalib in sharelib instead /usr/lib (Bug #19732) |
---|
| 159 | - fixed undefined reference to `cli' and 'sti' |
---|
| 160 | |
---|
| 161 | * Mon Aug 21 2000 Than Ngo <than@redhat.com> |
---|
| 162 | - fix for building the utils correct |
---|
| 163 | |
---|
| 164 | * Sun Aug 20 2000 Than Ngo <than@redhat.com> |
---|
| 165 | - fix 800x600 mode messed up on matrox millenium I (Bug #16641) |
---|
| 166 | |
---|
| 167 | * Fri Aug 11 2000 Tim Powers <timp@redhat.com> |
---|
| 168 | - rebuilt |
---|
| 169 | |
---|
| 170 | * Mon Jul 24 2000 Prospector <prospector@redhat.com> |
---|
| 171 | - rebuilt |
---|
| 172 | |
---|
| 173 | * Mon Jul 24 2000 Than Ngo <than@redhat.de> |
---|
| 174 | - fix unclean code to built against gcc-2.96-34 |
---|
| 175 | - set chipset Vesa as default |
---|
| 176 | |
---|
| 177 | * Wed Jul 12 2000 Than Ngo <than@redhat.de> |
---|
| 178 | - clean up specfile |
---|
| 179 | |
---|
| 180 | * Mon Jun 4 2000 Bill Nottingham <notting@redhat.com> |
---|
| 181 | - move to powertools |
---|
| 182 | |
---|
| 183 | * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com> |
---|
| 184 | - handle compressed man pages |
---|
| 185 | |
---|
| 186 | * Tue Jan 18 2000 Bill Nottingham <notting@redhat.com> |
---|
| 187 | - update to 1.4.1 final |
---|
| 188 | |
---|
| 189 | * Wed Dec 08 1999 Michael Maher <mike@lastfoot.com> |
---|
| 190 | - built pre release of 1.4.1 |
---|
| 191 | |
---|
| 192 | * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com> |
---|
| 193 | - strip binaries |
---|
| 194 | |
---|
| 195 | * Fri Aug 27 1999 Bill Nottingham <notting@redhat.com> |
---|
| 196 | - update to 1.4.0, sort out patches |
---|
| 197 | |
---|
| 198 | * Sun May 16 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 199 | - don't remove old binaries (not from BUILD_ROOT!) during install (#2735). |
---|
| 200 | |
---|
| 201 | * Wed Mar 31 1999 Preston Brown <pbrown@redhat.com> |
---|
| 202 | - moved temporary svgalib files to /var/lib/svgalib |
---|
| 203 | |
---|
| 204 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 205 | - auto rebuild in the new build environment (release 2) |
---|
| 206 | |
---|
| 207 | * Sun Aug 23 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 208 | - verify dumpreg is not setuid (problem #760) |
---|
| 209 | - specfile fiddles |
---|
| 210 | |
---|
| 211 | * Thu Jul 30 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 212 | - upgraded to 1.3.0 |
---|
| 213 | - security patch |
---|
| 214 | |
---|
| 215 | * Thu May 07 1998 Prospector System <bugs@redhat.com> |
---|
| 216 | - translations modified for de, fr, tr |
---|
| 217 | |
---|
| 218 | * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 219 | - devel package moved to Development/Libraries |
---|
| 220 | |
---|
| 221 | * Mon Apr 06 1998 Erik Troan <ewt@redhat.com> |
---|
| 222 | - updated to svgalib 1.2.13 |
---|
| 223 | - uses a build root |
---|
| 224 | |
---|
| 225 | * Mon Nov 3 1997 Michael Fulbright <msf@redhat.com> |
---|
| 226 | - removed Mach64 from configuration, as the driver does not work |
---|
| 227 | |
---|
| 228 | * Tue Oct 14 1997 Donnie Barnes <djb@redhat.com> |
---|
| 229 | - spec file cleanups |
---|
| 230 | |
---|