oops, checked in wrong version of wxMOtif.spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
42
wxMotif.spec
42
wxMotif.spec
@@ -8,7 +8,7 @@
|
|||||||
%define rel 1
|
%define rel 1
|
||||||
|
|
||||||
Summary: The Motif/Lesstif port of the wxWindows library
|
Summary: The Motif/Lesstif port of the wxWindows library
|
||||||
Name: wxMOTIF
|
Name: wxMotif
|
||||||
Version: %{ver}
|
Version: %{ver}
|
||||||
Release: %{rel}
|
Release: %{rel}
|
||||||
Copyright: wxWindows Licence
|
Copyright: wxWindows Licence
|
||||||
@@ -31,22 +31,29 @@ Motif/LessTif, MS Windows, Mac) from the same source code.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: The Motif/Lesstif port of the wxWindows library
|
Summary: The Motif/Lesstif port of the wxWindows library
|
||||||
Group: X11/Libraries
|
Group: X11/Libraries
|
||||||
Requires: wxMotif
|
Requires: wxMotif = %{ver}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Header files for wxMotif, the Motif/Lesstif port of the wxWindows library.
|
Header files for wxMotif, the Motif/Lesstif port of the wxWindows library.
|
||||||
|
|
||||||
%package gl
|
%package gl
|
||||||
Summary: The Motif/Lesstif port of the wxWindows library, OpenGl add-on.
|
Summary: The Motif/Lesstif port of the wxWindows library, OpenGL add-on.
|
||||||
Group: X11/Libraries
|
Group: X11/Libraries
|
||||||
Requires: wxMotif
|
Requires: wxMotif = %{ver}
|
||||||
|
|
||||||
%description gl
|
%description gl
|
||||||
OpenGl add-on library for wxMotif, the Motif/Lesstif port of the wxWindows library.
|
OpenGL add-on library for wxMotif, the Motif/Lesstif port of the wxWindows library.
|
||||||
|
|
||||||
|
%package static
|
||||||
|
Summary: wxMotif static libraries
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description static
|
||||||
|
Static libraries for wxMotif. You need them if you want to link statically against wxMotif.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -n wxMOTIF-%{ver}
|
||||||
./configure --prefix=%{pref} --enable-soname --with-odbc --with-opengl --with-motif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ "$SMP" != "" ]; then
|
if [ "$SMP" != "" ]; then
|
||||||
@@ -54,12 +61,25 @@ if [ "$SMP" != "" ]; then
|
|||||||
else
|
else
|
||||||
export MAKE="make"
|
export MAKE="make"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
(cd locale; make allmo)
|
||||||
|
|
||||||
|
mkdir obj-shared
|
||||||
|
cd obj-shared
|
||||||
|
../configure --prefix=%{pref} --enable-soname --with-odbc --with-opengl --with-motif
|
||||||
$MAKE
|
$MAKE
|
||||||
(cd locale ; make allmo)
|
cd ..
|
||||||
|
|
||||||
|
mkdir obj-static
|
||||||
|
cd obj-static
|
||||||
|
../configure --prefix=%{pref} --disable-shared --with-odbc --with-opengl --with-motif
|
||||||
|
$MAKE
|
||||||
|
cd ..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make prefix=$RPM_BUILD_ROOT%{pref} install
|
(cd obj-static; make prefix=$RPM_BUILD_ROOT%{pref} install)
|
||||||
|
(cd obj-shared; make prefix=$RPM_BUILD_ROOT%{pref} install)
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@@ -113,3 +133,7 @@ fi
|
|||||||
%files gl
|
%files gl
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libwx_motif_gl*
|
%{_libdir}/libwx_motif_gl*
|
||||||
|
|
||||||
|
%files static
|
||||||
|
%defattr (-,root,root)
|
||||||
|
%{_libdir}/lib*.a
|
||||||
|
Reference in New Issue
Block a user