X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..e9c4505ef4346acbeba75182f47a8db9f76ca374:/wxBase.spec diff --git a/wxBase.spec b/wxBase.spec index 2e22008618..c6d23c0306 100644 --- a/wxBase.spec +++ b/wxBase.spec @@ -1,6 +1,5 @@ -# Note that this is NOT a relocatable package %define pref /usr -%define ver 2.1.16 +%define ver 2.3.0 %define rel 0 Summary: wxBase library - non-GUI support classes of wxWindows toolkit @@ -12,7 +11,8 @@ Group: Development/Libraries Source: wxBase-%{ver}.tar.gz URL: none 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,7 +32,7 @@ Requires: wxBase Header files for wxBase. You need them to develop programs using wxBase. %prep -%setup -n wxBase +%setup -n wxBase-%{ver} ./configure --prefix=%{pref} --disable-gui --disable-std_iostreams %build @@ -58,12 +58,12 @@ 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* %dir %{pref}/lib/wx %dir %{pref}/lib/wx/include %dir %{pref}/lib/wx/include/wx -%{pref}/lib/wx/include/wx/setup.h +%{pref}/lib/wx/include/wx/base/setup.h %files devel -f src/rpmfiles.lst %defattr (644, root, root, 755)