From: Jakub Bogusz Date: Wed, 2 May 2001 21:51:29 +0000 (+0000) Subject: - adapterized and made spec %%debug ready or added using %%rpm*flags macros X-Git-Url: http://git.pld-linux.org/?p=packages%2FTogl.git;a=commitdiff_plain;h=da22a7d56b3b102790968c1f9d29229c20586242;hp=70c5cec5c03ebd40a7c8d950e9893656f3181688 - adapterized and made spec %%debug ready or added using %%rpm*flags macros Changed files: Togl.spec -> 1.7 --- diff --git a/Togl.spec b/Togl.spec index d5ea3c7..98d7524 100644 --- a/Togl.spec +++ b/Togl.spec @@ -5,6 +5,9 @@ Version: 1.6 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 @@ -17,7 +20,7 @@ BuildRequires: XFree86-OpenGL-devel >= 4.0.1 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 @@ -25,29 +28,32 @@ Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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} @@ -55,8 +61,8 @@ 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)