1999-06-16 16:34:31 +00:00
|
|
|
# Note that this is NOT a relocatable package
|
|
|
|
%define pref /usr
|
2005-05-30 19:52:20 +00:00
|
|
|
%define ver 2.6.1
|
2005-04-11 19:37:51 +00:00
|
|
|
%define rel 1
|
1999-06-16 16:34:31 +00:00
|
|
|
|
|
|
|
Summary: The WINE port of the wxWindows library
|
|
|
|
Name: wxWINE
|
|
|
|
Version: %{ver}
|
|
|
|
Release: %{rel}
|
|
|
|
Copyright: wxWindows Licence
|
|
|
|
Group: X11/Libraries
|
1999-08-05 20:38:51 +00:00
|
|
|
Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxWINE-2.1.0-b8.tgz
|
1999-06-16 16:34:31 +00:00
|
|
|
URL: http://wesley.informatik.uni-freiburg.de/~wxxt/docs.html
|
|
|
|
Packager: Robert Roebling <roebling@ruf.uni-freiburg.de>
|
|
|
|
BuildRoot: /tmp/wxwine_root
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n wxWINE
|
|
|
|
./configure --prefix=%{pref}
|
|
|
|
|
|
|
|
%build
|
1999-08-26 16:15:38 +00:00
|
|
|
make
|
1999-06-16 16:34:31 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make prefix=$RPM_BUILD_ROOT%{pref} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr (644, root, root, 755)
|
|
|
|
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
|
2004-07-22 08:32:37 +00:00
|
|
|
%dir %{pref}/include/wx-*
|
|
|
|
%{pref}/include/wx-*/*
|
1999-06-16 16:34:31 +00:00
|
|
|
%dir %{pref}/lib/wx
|
|
|
|
%{pref}/lib/wx/*
|
|
|
|
%dir %{pref}/share/wx
|
|
|
|
%{pref}/share/wx/*
|
|
|
|
%attr(755, -, -) %{pref}/lib/libwx_msw*
|
|
|
|
%attr(755, -, -) %{pref}/bin/wx-config
|
2004-07-22 08:32:37 +00:00
|
|
|
:
|