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