source: projects/specs/trunk/m/mesa-libGLU/mesa-libGLU-vl.spec @ 10438

Revision 10438, 3.2 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           mesa-libGLU
4Summary:        Mesa libGLU library
5Summary(ja):    Mesa libGLU ライブラリ
6Version:        9.0.0
7Release:        4%{?_dist_release}
8
9License:        MIT
10Group:          System Environment/Libraries
11URL:            http://mesa3d.org/
12Source0:        ftp://ftp.freedesktop.org/pub/mesa/glu/glu-%{version}.tar.bz2
13Source2:        make-git-snapshot.sh
14
15BuildRequires:  mesa-libGL-devel
16Provides:       libGLU = %{version}-%{release}
17
18%description
19Mesa implementation of the standard GLU OpenGL utility API.
20
21%package        devel
22Summary:        Development files for %{name}
23Summary(ja):    %{name} の開発ファイル
24Group:          Development/Libraries
25Requires:       %{name} = %{version}-%{release}
26Requires:       mesa-libGL-devel >= 9.0.0
27Provides:       libGLU-devel = %{version}-%{release}
28
29%description    devel
30The %{name}-devel package contains libraries and header files for
31developing applications that use %{name}.
32
33
34# compat32
35%package -n compat32-%{name}
36Summary: Mesa libGLU runtime library
37Summary(ja): Mesa libGLU ランタイムライブラリ
38Group: System Environment/Libraries
39Requires(post): /sbin/ldconfig
40Requires(postun): /sbin/ldconfig
41Requires: %{name} = %{version}-%{release}
42
43%description -n compat32-%{name}
44Mesa libGLU runtime library
45
46
47%package -n compat32-%{name}-devel
48Summary: Mesa libGLU development package
49Summary(ja): Mesa libGLU 開発パッケージ
50Group: Development/Libraries
51Requires: compat32-mesa-libGL >= 9.0.0
52Requires: compat32-%{name} = %{version}-%{release}
53Requires: %{name}-devel = %{version}-%{release}
54
55%description -n compat32-%{name}-devel
56Mesa libGLU development package
57
58
59%prep
60%setup -q -n glu-%{version}
61
62%build
63%configure --disable-static
64make %{?_smp_mflags}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68make install DESTDIR=$RPM_BUILD_ROOT
69find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
70rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
71
72%post -p /sbin/ldconfig
73%post -n compat32-%{name} -p /sbin/ldconfig
74
75%postun -p /sbin/ldconfig
76%postun -n compat32-%{name} -p /sbin/ldconfig
77
78%files
79%{_libdir}/libGLU.so.1
80%{_libdir}/libGLU.so.1.3.*
81
82%files devel
83%{_includedir}/GL/glu*.h
84%{_libdir}/libGLU.so
85%{_libdir}/pkgconfig/glu.pc
86
87%if %{build_compat32}
88%files -n compat32-%{name}
89%{_libdir}/libGLU.so.1
90%{_libdir}/libGLU.so.1.3.*
91
92%files -n compat32-%{name}-devel
93%{_includedir}/GL/glu*.h
94%{_libdir}/libGLU.so
95%{_libdir}/pkgconfig/glu.pc
96%endif
97
98%changelog
99* Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 9.0.0-4
100- rebuild with gcc-5.4.0
101
102* Tue Oct 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 9.0.0-3
103- added Group tag
104
105* Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 9.0.0-2
106- add Requires: mesa-libGL-devel to mesa-libGLU-devel package
107- remove Requires: mesa-libGL-devel from compat-mesa-libGLU-devel package
108
109* Sat Nov 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 9.0.0-1
110- initial build for Vine Linux
111
112* Tue Sep 18 2012 Adam Jackson <ajax@redhat.com> 9.0.0-1
113- libGLU 9.0
114
115* Mon Sep 10 2012 Dave Airlie <airlied@redhat.com> 9.0-0.2
116- add back libGLU provides for now
117
118* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 9.0-0.1
119- Initial packaging for split libGLU
120
Note: See TracBrowser for help on using the repository browser.