1999-04-26 16:48:39 -04:00
|
|
|
# Note that this is NOT a relocatable package
|
|
|
|
%define pref /usr
|
2000-11-24 07:39:30 -05:00
|
|
|
%define ver 2.3.0
|
1999-10-11 18:36:46 -04:00
|
|
|
%define rel 0
|
1999-04-26 16:48:39 -04:00
|
|
|
|
|
|
|
Summary: The GTK+ 1.2 port of the wxWindows library
|
1999-01-05 13:46:22 -05:00
|
|
|
Name: wxGTK
|
1999-04-26 16:48:39 -04:00
|
|
|
Version: %{ver}
|
|
|
|
Release: %{rel}
|
1999-01-29 07:54:50 -05:00
|
|
|
Copyright: wxWindows Licence
|
1999-01-05 13:46:22 -05:00
|
|
|
Group: X11/Libraries
|
2000-03-05 14:53:29 -05:00
|
|
|
Source: wxGTK-%{ver}.tgz
|
2000-07-15 15:51:35 -04:00
|
|
|
URL: http://wxwindows.org
|
|
|
|
Packager: Robert Roebling <robert@roebling.de>
|
1999-01-05 13:46:22 -05:00
|
|
|
|
1999-02-27 18:16:54 -05:00
|
|
|
# all packages providing an implementation of wxWindows library (regardless of
|
|
|
|
# the toolkit used) should provide the (virtual) wxwin package, this makes it
|
|
|
|
# possible to require wxwin instead of requiring "wxgtk or wxmotif or wxqt..."
|
|
|
|
Provides: wxwin
|
|
|
|
|
1999-01-05 13:46:22 -05:00
|
|
|
%description
|
1999-02-27 18:16:54 -05:00
|
|
|
wxWindows is a free C++ library for cross-platform GUI development.
|
|
|
|
With wxWindows, you can create applications for different GUIs (GTK+,
|
|
|
|
Motif/LessTif, MS Windows, Mac) from the same source code.
|
1999-01-05 13:46:22 -05:00
|
|
|
|
1999-08-25 12:39:29 -04:00
|
|
|
%package devel
|
|
|
|
Summary: The GTK+ 1.2 port of the wxWindows library
|
|
|
|
Group: X11/Libraries
|
|
|
|
Requires: wxGTK
|
|
|
|
|
|
|
|
%description devel
|
2000-03-05 12:49:58 -05:00
|
|
|
Header files for wxGTK, the GTK+ 1.2 port of the wxWindows library.
|
|
|
|
|
|
|
|
%package gl
|
|
|
|
Summary: The GTK+ 1.2 port of the wxWindows library, OpenGl add-on.
|
|
|
|
Group: X11/Libraries
|
|
|
|
Requires: wxGTK
|
|
|
|
|
|
|
|
%description gl
|
2000-03-05 14:53:29 -05:00
|
|
|
OpenGl add-on library for wxGTK, the GTK+ 1.2 port of the wxWindows library.
|
1999-08-25 12:39:29 -04:00
|
|
|
|
1999-01-05 13:46:22 -05:00
|
|
|
%prep
|
|
|
|
%setup -n wxGTK
|
2000-03-05 14:53:29 -05:00
|
|
|
./configure --prefix=%{pref} --enable-burnt_name --with-odbc --with-opengl
|
1999-01-05 13:46:22 -05:00
|
|
|
|
|
|
|
%build
|
2000-02-01 11:37:28 -05:00
|
|
|
if [ "$SMP" != "" ]; then
|
|
|
|
export MAKE="make -j$SMP"
|
|
|
|
else
|
|
|
|
export MAKE="make"
|
|
|
|
fi
|
|
|
|
$MAKE
|
1999-01-05 13:46:22 -05:00
|
|
|
|
|
|
|
%install
|
2000-07-15 15:51:35 -04:00
|
|
|
make install
|
1999-01-05 13:46:22 -05:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
1999-04-26 16:48:39 -04:00
|
|
|
%defattr (644, root, root, 755)
|
1999-01-29 07:54:50 -05:00
|
|
|
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
|
1999-08-25 12:39:29 -04:00
|
|
|
%dir %{pref}/share/wx
|
|
|
|
%{pref}/share/wx/*
|
2000-03-20 13:51:59 -05:00
|
|
|
%attr(755, -, -) %{pref}/lib/libwx_gtk.*
|
2000-07-15 15:51:35 -04:00
|
|
|
%attr(755, -, -) %{pref}/lib/libwx_gtk-2.2.*
|
1999-08-25 12:39:29 -04:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (644, root, root, 755)
|
1999-04-26 16:48:39 -04:00
|
|
|
%dir %{pref}/include/wx
|
|
|
|
%{pref}/include/wx/*
|
|
|
|
%dir %{pref}/lib/wx
|
|
|
|
%{pref}/lib/wx/*
|
2000-02-24 13:09:48 -05:00
|
|
|
%attr(755, -, -) %{pref}/bin/wxgtk-config
|
1999-04-26 16:48:39 -04:00
|
|
|
%attr(755, -, -) %{pref}/bin/wx-config
|
1999-01-29 07:54:50 -05:00
|
|
|
|
2000-03-05 12:49:58 -05:00
|
|
|
%files gl
|
|
|
|
%attr(755, -, -) %{pref}/lib/libwx_gtk_gl*
|