Release: 2
Copyright: Other
Group: Libraries
+Group(de): Libraries
+Group(es): Bibliotecas
+Group(fr): Librairies
Group(pl): Biblioteki
Source0: %{name}-%{version}beta2.tar.gz
Source1: %{name}-Makefile.PLD
Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautoreqdep libGL.so.1 libGLU.so.1
-%define _prefix /usr/X11R6
+%define _prefix /usr/X11R6
%description
%package devel
Summary: Togl devel
-Summary(pl): Togl devel
+Summary(pl): Togl - czê¶æ dla programistów
Group: Development/Libraries
+Group(de): Entwicklung/Libraries
+Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+
%description devel
+
%description devel -l pl
%prep
%setup -q
-
%patch -p0
%build
install %{SOURCE1} .
-mv %{name}-Makefile.PLD Makefile
-%{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+mv -f %{name}-Makefile.PLD Makefile
+%{__make} RPM_OPT_FLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir},%{_examplesdir}/%{name}-%{version}}
#%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
-install -s libtogl.so.1.3 $RPM_BUILD_ROOT%{_libdir}
-cp double gears index overlay texture $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install libtogl.so.1.3 $RPM_BUILD_ROOT%{_libdir}
+install double gears index overlay texture $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
install togl.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
install togl.o $RPM_BUILD_ROOT%{_libdir}
install togl.h $RPM_BUILD_ROOT%{_includedir}
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)