1 Summary: glm - Alias Wavefront OBJ File Reader/Viewer Library
2 Summary(pl.UTF-8): glm - biblioteka do odczytu i przeglądania plików OBJ Alias Wavefront
8 Source0: http://devernay.free.fr/hacks/glm/%{name}-%{version}.tar.gz
9 # Source0-md5: 63836fce687ac5ed2108d7bc889db71f
10 Patch0: %{name}-build.patch
11 URL: http://devernay.free.fr/hacks/glm/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 glm is an Alias Wavefront OBJ File Reader/Viewer Library.
19 %description -l pl.UTF-8
20 glm to biblioteka do odczytu i przeglądania plików OBJ Alias
24 Summary: Header file for glm library
25 Summary(pl.UTF-8): Plik nagłówkowy biblioteki glm
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
30 Header file for glm library.
32 %description devel -l pl.UTF-8
33 Plik nagłówkowy biblioteki glm.
36 Summary: Static glm library
37 Summary(pl.UTF-8): Statyczna biblioteka glm
38 Group: Development/Libraries
39 Requires: %{name}-devel = %{version}-%{release}
44 %description static -l pl.UTF-8
45 Statyczna biblioteka glm.
49 Summary(pl.UTF-8): Przykłady do glm
50 Group: Development/Libraries
51 #Requires: %{name} = %{version}-%{release}
54 This is the package containing the examples, both binary and source.
56 %description examples -l pl.UTF-8
57 Ten pakiet zawiera przykłady w postaci źródeł i binariów.
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
78 install -d $RPM_BUILD_ROOT%{_bindir}
81 cp -p examples/glutobj $RPM_BUILD_ROOT%{_bindir}
82 cp -p examples/smooth $RPM_BUILD_ROOT%{_bindir}
83 # game_glutobj seems same as glutobj
84 cp -p examples/*.c examples/*.cpp examples/*.h examples/Makefile* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
87 rm -rf $RPM_BUILD_ROOT
89 %post -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog INSTALL NEWS README TODO
95 %attr(755,root,root) %{_libdir}/libglm.so.*
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libglm.so
103 %defattr(644,root,root,755)
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_bindir}/glutobj
109 %attr(755,root,root) %{_bindir}/smooth
110 %{_examplesdir}/%{name}-%{version}