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

Revision 9007, 3.1 KB checked in by inagaki, 10 years ago (diff)

2014-10-14 Ryoichi INAGAKI <ryo1@…>

  • eudev, mesa-libGLU, mtdev, network-manager-applet: fixed Group


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:        3%{?_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* Tue Oct 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 9.0.0-3
100- added Group tag
101
102* Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 9.0.0-2
103- add Requires: mesa-libGL-devel to mesa-libGLU-devel package
104- remove Requires: mesa-libGL-devel from compat-mesa-libGLU-devel package
105
106* Sat Nov 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 9.0.0-1
107- initial build for Vine Linux
108
109* Tue Sep 18 2012 Adam Jackson <ajax@redhat.com> 9.0.0-1
110- libGLU 9.0
111
112* Mon Sep 10 2012 Dave Airlie <airlied@redhat.com> 9.0-0.2
113- add back libGLU provides for now
114
115* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 9.0-0.1
116- Initial packaging for split libGLU
117
Note: See TracBrowser for help on using the repository browser.