source: projects/specs/trunk/m/mesa-demos/mesa-demos-vl.spec @ 9767

Revision 9767, 2.2 KB checked in by Takemikaduchi, 9 years ago (diff)

blender,glew,mesa-demos: new upstream release
others: rebuild with glew-1.13.0

Line 
1%define demodir %{_libdir}/mesa
2
3Summary: Mesa demos
4Summary(ja): Mesa demos
5Name: mesa-demos
6Version: 8.2.0
7Release: 1%{?_dist_release}
8License: MIT
9Group: System Environment/Libraries
10URL: http://www.mesa3d.org
11
12Source0: %{name}-%{version}.tar.bz2
13
14Patch0: mesa-demos-8.0.1-legal.patch
15Patch1: mesa-demos-as-needed.patch
16
17BuildRequires: pkgconfig autoconf automake libtool
18BuildRequires: freeglut-devel
19BuildRequires: libGL-devel
20BuildRequires: libGLU-devel
21BuildRequires: glew-devel
22
23Group: Development/Libraries
24
25%description
26This package provides some demo applications for testing Mesa.
27
28%package -n glx-utils
29Summary: GLX utilities
30Summary(ja): GLX ユーティリティ
31Group: Development/Libraries
32
33%description -n glx-utils
34The glx-utils package provides the glxinfo and glxgears utilities.
35
36%prep
37%setup -q
38%patch0 -p1 -b .legal
39%patch1 -p1 -b .asneeded
40
41# These two files are distributable, but non-free (lack of permission to modify).
42rm -rf src/demos/pointblast.c
43rm -rf src/demos/spriteblast.c
44
45%build
46autoreconf -i
47%configure --bindir=%{demodir}  --with-system-data-files
48make %{?_smp_mflags}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52make install DESTDIR=$RPM_BUILD_ROOT
53
54mkdir -p $RPM_BUILD_ROOT%{_bindir}
55install -m 0755 src/xdemos/glxgears $RPM_BUILD_ROOT%{_bindir}
56install -m 0755 src/xdemos/glxinfo $RPM_BUILD_ROOT%{_bindir}
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%check
62
63%files
64%defattr(-,root,root,-)
65%{demodir}
66%{_datadir}/%{name}
67
68%files -n glx-utils
69%defattr(-,root,root,-)
70%{_bindir}/glxinfo
71%{_bindir}/glxgears
72
73%changelog
74* Thu Oct 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.2.0-1
75- update to 8.2.0
76- add Patch0,1 from fedora
77
78* Tue Jan 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.0.1-2
79- rebuild with glew-1.7.0
80
81* Fri Jan 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 8.0.1-1
82- initial build for Vine Linux
83
84* Mon Nov 01 2010 Adam Jackson <ajax@redhat.com> 7.10-3.20101028
85- Install rgba images too (#640688)
86
87* Sat Oct 30 2010 Dave Airlie <airlied@redhat.com> 7.10-2.20101028
88- fix install of gears/info (#647947)
89
90* Thu Oct 28 2010 Adam Jackson <ajax@redhat.com> 7.10-1.20101028
91- Today's git snapshot
92- Arbitrary EVR bump to be newer than when the mesa source package dropped
93  the demos subpackage.
94
95* Tue Jun 15 2010 Jerome Glisse <jglisse@redhat.com> 7.7
96- Initial build.
Note: See TracBrowser for help on using the repository browser.