Replaced wxMotif.spec with clone of wxGTK one (old one didn't work, apparently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
45
wxMotif.spec
45
wxMotif.spec
@@ -1,9 +1,12 @@
|
|||||||
|
# RPM .spec file for wxMotif. Based on the .spec file for wxGTK
|
||||||
|
# (c) by Robert Roebling. Modifications (c) 2000/03 by Robert Fendt.
|
||||||
|
|
||||||
# Note that this is NOT a relocatable package
|
# Note that this is NOT a relocatable package
|
||||||
%define pref /usr
|
%define pref /usr
|
||||||
%define ver 2.1.15
|
%define ver 2.1.15
|
||||||
%define rel 0
|
%define rel 0
|
||||||
|
|
||||||
Summary: The Motif 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}
|
||||||
@@ -11,7 +14,7 @@ Copyright: wxWindows Licence
|
|||||||
Group: X11/Libraries
|
Group: X11/Libraries
|
||||||
Source: wxMotif-%{ver}.tgz
|
Source: wxMotif-%{ver}.tgz
|
||||||
URL: http://www.wxwindows.org
|
URL: http://www.wxwindows.org
|
||||||
Packager: Robert Roebling <roebling@ruf.uni-freiburg.de>
|
Packager: Robert Fendt <rfendt@myokay.net>
|
||||||
BuildRoot: /tmp/wxmotif_root
|
BuildRoot: /tmp/wxmotif_root
|
||||||
|
|
||||||
# all packages providing an implementation of wxWindows library (regardless of
|
# all packages providing an implementation of wxWindows library (regardless of
|
||||||
@@ -24,12 +27,33 @@ wxWindows is a free C++ library for cross-platform GUI development.
|
|||||||
With wxWindows, you can create applications for different GUIs (GTK+,
|
With wxWindows, you can create applications for different GUIs (GTK+,
|
||||||
Motif/LessTif, MS Windows, Mac) from the same source code.
|
Motif/LessTif, MS Windows, Mac) from the same source code.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: The Motif/Lesstif port of the wxWindows library
|
||||||
|
Group: X11/Libraries
|
||||||
|
Requires: wxMotif
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Header files for wxMotif, the Motif/Lesstif port of the wxWindows library.
|
||||||
|
|
||||||
|
%package gl
|
||||||
|
Summary: The Motif/Lesstif port of the wxWindows library, OpenGl add-on.
|
||||||
|
Group: X11/Libraries
|
||||||
|
Requires: wxMotif
|
||||||
|
|
||||||
|
%description gl
|
||||||
|
OpenGl add-on library for wxMotif, the Motif/Lesstif port of the wxWindows library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n wxMotif
|
%setup -n wxMotif
|
||||||
./configure --prefix=%{pref} --disable-threads --disable-std_iostreams
|
./configure --prefix=%{pref} --enable-burnt_name --with-odbc --with-opengl --with-motif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
if [ "$SMP" != "" ]; then
|
||||||
|
export MAKE="make -j$SMP"
|
||||||
|
else
|
||||||
|
export MAKE="make"
|
||||||
|
fi
|
||||||
|
$MAKE
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@@ -47,12 +71,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr (644, root, root, 755)
|
%defattr (644, root, root, 755)
|
||||||
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
|
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
|
||||||
|
%dir %{pref}/share/wx
|
||||||
|
%{pref}/share/wx/*
|
||||||
|
%attr(755, -, -) %{pref}/lib/libwx_motif.*
|
||||||
|
%attr(755, -, -) %{pref}/lib/libwx_motif-2.1.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr (644, root, root, 755)
|
||||||
%dir %{pref}/include/wx
|
%dir %{pref}/include/wx
|
||||||
%{pref}/include/wx/*
|
%{pref}/include/wx/*
|
||||||
%dir %{pref}/lib/wx
|
%dir %{pref}/lib/wx
|
||||||
%{pref}/lib/wx/*
|
%{pref}/lib/wx/*
|
||||||
%dir %{pref}/share/wx
|
%attr(755, -, -) %{pref}/bin/wxmotif-config
|
||||||
%{pref}/share/wx/*
|
|
||||||
%attr(755, -, -) %{pref}/lib/libwx_motif*
|
|
||||||
%attr(755, -, -) %{pref}/bin/wx-config
|
%attr(755, -, -) %{pref}/bin/wx-config
|
||||||
|
|
||||||
|
%files gl
|
||||||
|
%attr(755, -, -) %{pref}/lib/libwx_motif_gl*
|
||||||
|
Reference in New Issue
Block a user