1999-04-26 20:48:39 +00:00
|
|
|
# Note that this is NOT a relocatable package
|
|
|
|
%define pref /usr
|
1999-12-27 13:01:07 +00:00
|
|
|
%define ver 2.1.12
|
1999-10-11 22:36:46 +00:00
|
|
|
%define rel 0
|
1999-04-26 20:48:39 +00:00
|
|
|
|
|
|
|
Summary: The GTK+ 1.2 port of the wxWindows library
|
1999-01-05 18:46:22 +00:00
|
|
|
Name: wxGTK
|
1999-04-26 20:48:39 +00:00
|
|
|
Version: %{ver}
|
|
|
|
Release: %{rel}
|
1999-01-29 12:54:50 +00:00
|
|
|
Copyright: wxWindows Licence
|
1999-01-05 18:46:22 +00:00
|
|
|
Group: X11/Libraries
|
1999-12-27 13:01:07 +00:00
|
|
|
Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxGTK-2.1.12.tgz
|
1999-04-26 20:48:39 +00:00
|
|
|
URL: http://wesley.informatik.uni-freiburg.de/~wxxt/docs.html
|
1999-01-29 12:54:50 +00:00
|
|
|
Packager: Robert Roebling <roebling@ruf.uni-freiburg.de>
|
1999-04-26 20:48:39 +00:00
|
|
|
BuildRoot: /tmp/wxgtk_root
|
1999-01-05 18:46:22 +00:00
|
|
|
|
1999-02-27 23:16:54 +00: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 18:46:22 +00:00
|
|
|
%description
|
1999-02-27 23:16:54 +00: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 18:46:22 +00:00
|
|
|
|
1999-08-25 16:39:29 +00:00
|
|
|
%package devel
|
|
|
|
Summary: The GTK+ 1.2 port of the wxWindows library
|
|
|
|
Group: X11/Libraries
|
|
|
|
Requires: wxGTK
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Header files for the wxGTK, the GTK+ 1.2 port of the wxWindows library.
|
|
|
|
|
1999-01-05 18:46:22 +00:00
|
|
|
%prep
|
|
|
|
%setup -n wxGTK
|
1999-10-15 14:59:44 +00:00
|
|
|
./configure --prefix=%{pref} --enable-threads --disable-std_iostreams --disable-newgrid
|
1999-01-05 18:46:22 +00:00
|
|
|
|
|
|
|
%build
|
1999-08-26 16:15:38 +00:00
|
|
|
make
|
1999-01-05 18:46:22 +00:00
|
|
|
|
|
|
|
%install
|
1999-04-26 20:48:39 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make prefix=$RPM_BUILD_ROOT%{pref} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
1999-01-05 18:46:22 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
1999-04-26 20:48:39 +00:00
|
|
|
%defattr (644, root, root, 755)
|
1999-01-29 12:54:50 +00:00
|
|
|
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
|
1999-08-25 16:39:29 +00:00
|
|
|
%dir %{pref}/share/wx
|
|
|
|
%{pref}/share/wx/*
|
|
|
|
%attr(755, -, -) %{pref}/lib/libwx_gtk*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (644, root, root, 755)
|
1999-04-26 20:48:39 +00:00
|
|
|
%dir %{pref}/include/wx
|
|
|
|
%{pref}/include/wx/*
|
|
|
|
%dir %{pref}/lib/wx
|
|
|
|
%{pref}/lib/wx/*
|
|
|
|
%attr(755, -, -) %{pref}/bin/wx-config
|
1999-01-29 12:54:50 +00:00
|
|
|
|