]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxBase.spec
wxListBox mouse events now report coords relative
[wxWidgets.git] / wxBase.spec
... / ...
CommitLineData
1%define pref /usr
2%define ver 2.3.1
3%define ver2 2.3
4%define rel 1
5
6Summary: wxBase library - non-GUI support classes of wxWindows toolkit
7Name: wxBase
8Version: %{ver}
9Release: %{rel}
10Copyright: wxWindows Licence
11Group: Development/Libraries
12Source: wxBase-%{ver}.tar.bz2
13URL: http://www.wxwindows.org
14Packager: Vadim Zeitlin <vadim@wxwindows.org>
15Prefix: %{pref}
16BuildRoot: /var/tmp/%{name}-root
17
18%description
19wxBase is a collection of C++ classes providing basic data structures (strings,
20lists, arrays), powerful wxDateTime class for date manipulations, portable
21wrappers around many OS-specific functions allowing to build the same program
22under all supported folders, wxThread class for writing multithreaded programs
23using either Win32 or POSIX threads and much more. wxBase currently supports
24the following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris, HP-UX,
25...) and BeOS.
26
27%package devel
28Summary: wxBase headers needed for developping with wxBase
29Group: Development/Libraries
30Requires: wxBase
31
32%description devel
33Header files for wxBase. You need them to develop programs using wxBase.
34
35%prep
36%setup -n wxBase-%{ver}
37./configure --prefix=%{pref} --enable-soname --disable-gui --disable-std_iostreams
38
39%build
40if [ "$SMP" != "" ]; then
41 export MAKE="make -j$SMP"
42else
43 export MAKE="make"
44fi
45$MAKE
46
47%install
48rm -rf $RPM_BUILD_ROOT
49make prefix=$RPM_BUILD_ROOT%{pref} install
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%post
55/sbin/ldconfig
56
57%postun
58/sbin/ldconfig
59
60%files
61%defattr (644, root, root, 755)
62%doc COPYING.LIB LICENCE.txt README.txt SYMBOLS.txt
63%attr(755, -, -) %{pref}/lib/libwx_base*
64
65%files devel -f src/rpmfiles.lst
66%dir %{pref}/lib/wx
67%dir %{pref}/lib/wx/include
68%dir %{pref}/lib/wx/include/wx
69%dir %{pref}/lib/wx/include/wx/base
70%{pref}/lib/wx/include/wx/base/setup.h
71%defattr (644, root, root, 755)
72%attr(755, -, -) %{pref}/bin/wxbase-%{ver2}-config
73%attr(755, -, -) %{pref}/bin/wx-config
74