X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2224580a415da12d7c453943c4ae4a1b58ecd369..6853365e97d65e7d8c15e523ac13b8600b1a78ad:/wxBase.spec diff --git a/wxBase.spec b/wxBase.spec index c27ad5bcc6..ad5752bc72 100644 --- a/wxBase.spec +++ b/wxBase.spec @@ -1,7 +1,6 @@ -# Note that this is NOT a relocatable package %define pref /usr -%define ver 2.1.13 -%define rel 0 +%define ver 2.3.1 +%define rel 1 Summary: wxBase library - non-GUI support classes of wxWindows toolkit Name: wxBase @@ -9,10 +8,11 @@ Version: %{ver} Release: %{rel} Copyright: wxWindows Licence Group: Development/Libraries -Source: wxBase-%{ver}.tar.gz -URL: none +Source: wxBase-%{ver}.tar.bz2 +URL: http://www.wxwindows.org Packager: Vadim Zeitlin -BuildRoot: /tmp/wxBase_rpm +Prefix: %{pref} +BuildRoot: /var/tmp/%{name}-root %description wxBase is a collection of C++ classes providing basic data structures (strings, @@ -32,8 +32,8 @@ Requires: wxBase Header files for wxBase. You need them to develop programs using wxBase. %prep -%setup -n wxBase -./configure --prefix=%{pref} --disable-gui +%setup -n wxBase-%{ver} +./configure --prefix=%{pref} --disable-gui --disable-std_iostreams %build if [ "$SMP" != "" ]; then @@ -58,14 +58,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr (644, root, root, 755) -%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt -%attr(755, -, -) %{pref}/lib/libwxbase* +%doc COPYING.LIB LICENCE.txt README.txt SYMBOLS.txt +%attr(755, -, -) %{pref}/lib/libwx_base* + +%files devel -f src/rpmfiles.lst %dir %{pref}/lib/wx %dir %{pref}/lib/wx/include %dir %{pref}/lib/wx/include/wx -%{pref}/lib/wx/include/wx/setup.h - -%files devel -f src/rpmfiles.lst +%dir %{pref}/lib/wx/include/wx/base +%{pref}/lib/wx/include/wx/base/setup.h %defattr (644, root, root, 755) +%attr(755, -, -) %{pref}/bin/wxbase-config %attr(755, -, -) %{pref}/bin/wx-config