2006-08-05 13:05:52 +00:00
|
|
|
%define _prefix /usr
|
2010-07-22 12:09:04 +00:00
|
|
|
%define ver 2.9.2
|
2007-02-06 19:58:27 +00:00
|
|
|
%define ver2 2.9
|
2005-04-11 19:37:51 +00:00
|
|
|
%define rel 1
|
1999-04-26 20:48:39 +00:00
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
# Configurable settings (use --with(out) {unicode,gtk2} on rpmbuild cmd line):
|
2005-04-17 12:33:54 +00:00
|
|
|
%define unicode 1
|
2003-08-20 15:14:12 +00:00
|
|
|
%{?_with_unicode: %{expand: %%define unicode 1}}
|
|
|
|
%{?_without_unicode: %{expand: %%define unicode 0}}
|
|
|
|
|
2005-02-19 18:17:58 +00:00
|
|
|
%define gtk2 1
|
2003-08-20 15:14:12 +00:00
|
|
|
%{?_with_gtk2: %{expand: %%define gtk2 1}}
|
|
|
|
%{?_without_gtk2: %{expand: %%define gtk2 0}}
|
|
|
|
|
2005-04-17 12:33:54 +00:00
|
|
|
# "buildname" needs to be e.g. gtk2ud for debug builds
|
2005-04-02 22:26:04 +00:00
|
|
|
%if %{gtk2}
|
|
|
|
%define gtkver 2
|
2005-04-17 12:33:54 +00:00
|
|
|
%define portname gtk2
|
|
|
|
%if %{unicode}
|
|
|
|
%define buildname gtk2u
|
|
|
|
%else
|
|
|
|
%define buildname gtk2
|
|
|
|
%endif
|
2005-03-21 22:46:37 +00:00
|
|
|
%else
|
2005-04-02 22:26:04 +00:00
|
|
|
%define gtkver 1.2
|
2005-04-17 12:33:54 +00:00
|
|
|
%define portname gtk
|
|
|
|
%define buildname gtk
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{unicode}
|
|
|
|
%define name wx-%{portname}-unicode
|
|
|
|
%define wxconfig %{portname}-unicode-release-%{ver2}
|
|
|
|
%define wxconfigstatic %{portname}-unicode-release-static-%{ver2}
|
|
|
|
%define wxconfiglink wx%{portname}u-%{ver2}-config
|
|
|
|
%else
|
|
|
|
%define name wx-%{portname}-ansi
|
|
|
|
%define wxconfig %{portname}-ansi-release-%{ver2}
|
|
|
|
%define wxconfigstatic %{portname}-ansi-release-static-%{ver2}
|
|
|
|
%define wxconfiglink wx%{portname}-%{ver2}-config
|
2003-08-20 15:14:12 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{unicode}
|
2005-04-17 12:33:54 +00:00
|
|
|
%define wxbasename wx-base-unicode
|
|
|
|
%define wxbaseconfig base-unicode-release-%{ver2}
|
|
|
|
%define wxbaseconfiglink wxbaseu-%{ver2}-config
|
2003-08-20 15:14:12 +00:00
|
|
|
%else
|
2005-04-17 12:33:54 +00:00
|
|
|
%define wxbasename wx-base-ansi
|
|
|
|
%define wxbaseconfig base-ansi-release-%{ver2}
|
|
|
|
%define wxbaseconfiglink wxbase-%{ver2}-config
|
2003-08-20 15:14:12 +00:00
|
|
|
%endif
|
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
Summary: The GTK+ %{gtkver} port of the wxWidgets library
|
|
|
|
Name: %{name}
|
1999-04-26 20:48:39 +00:00
|
|
|
Version: %{ver}
|
|
|
|
Release: %{rel}
|
2003-08-20 15:14:12 +00:00
|
|
|
License: wxWindows Licence
|
1999-01-05 18:46:22 +00:00
|
|
|
Group: X11/Libraries
|
2006-08-05 13:04:09 +00:00
|
|
|
Source: wxGTK-%{ver}.tar.bz2
|
2005-04-02 22:26:04 +00:00
|
|
|
URL: http://www.wxwidgets.org
|
2001-01-29 17:39:24 +00:00
|
|
|
Packager: Vadim Zeitlin <vadim@wxwindows.org>
|
2005-04-17 12:33:54 +00:00
|
|
|
Prefix: %{_prefix}
|
2005-04-02 22:26:04 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
Requires: %{wxbasename} = %{ver}
|
2006-08-05 14:57:18 +00:00
|
|
|
%if %{portname} == gtk2
|
|
|
|
BuildRequires: gtk+-2.0-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: gtk+-devel >= 1.2.0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: zlib-devel, libjpeg-devel, libpng-devel, libtiff-devel
|
1999-01-05 18:46:22 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
# all packages providing an implementation of wxWidgets library (regardless of
|
1999-02-27 23:16:54 +00:00
|
|
|
# the toolkit used) should provide the (virtual) wxwin package, this makes it
|
2001-08-25 14:52:26 +00:00
|
|
|
# possible to require wxwin instead of requiring "wxgtk or wxmotif or wxuniv..."
|
1999-02-27 23:16:54 +00:00
|
|
|
Provides: wxwin
|
2003-08-20 15:14:12 +00:00
|
|
|
Provides: wxGTK
|
1999-02-27 23:16:54 +00:00
|
|
|
|
1999-01-05 18:46:22 +00:00
|
|
|
%description
|
2005-04-02 22:26:04 +00:00
|
|
|
wxWidgets is a free C++ library for cross-platform GUI development.
|
|
|
|
With wxWidgets, you can create applications for different GUIs (GTK+,
|
2005-04-17 12:33:54 +00:00
|
|
|
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
|
|
|
|
|
2005-04-18 17:47:56 +00:00
|
|
|
%package -n wx-i18n
|
2005-04-17 12:33:54 +00:00
|
|
|
Summary: The translations for the wxWidgets library.
|
|
|
|
Group: X11/Libraries
|
|
|
|
|
2005-04-18 17:47:56 +00:00
|
|
|
%description -n wx-i18n
|
2005-04-17 12:33:54 +00:00
|
|
|
The translations files for the wxWidgets library.
|
1999-01-05 18:46:22 +00:00
|
|
|
|
1999-08-25 16:39:29 +00:00
|
|
|
%package devel
|
2005-04-02 22:26:04 +00:00
|
|
|
Summary: The GTK+ %{gtkver} port of the wxWidgets library
|
1999-08-25 16:39:29 +00:00
|
|
|
Group: X11/Libraries
|
2003-08-20 15:14:12 +00:00
|
|
|
Requires: %{name} = %{ver}
|
|
|
|
Requires: %{wxbasename}-devel = %{ver}
|
|
|
|
Provides: wxGTK-devel
|
1999-08-25 16:39:29 +00:00
|
|
|
|
|
|
|
%description devel
|
2005-04-17 12:33:54 +00:00
|
|
|
The GTK+ %{gtkver} port of the wxWidgets library, header files.
|
2000-03-05 17:49:58 +00:00
|
|
|
|
|
|
|
%package gl
|
2005-04-02 22:26:04 +00:00
|
|
|
Summary: The GTK+ %{gtkver} port of the wxWidgets library, OpenGL add-on.
|
2000-03-05 17:49:58 +00:00
|
|
|
Group: X11/Libraries
|
2003-08-20 15:14:12 +00:00
|
|
|
Requires: %{name} = %{ver}
|
2005-04-02 22:26:04 +00:00
|
|
|
Provides: wxGTK-gl
|
2000-03-05 17:49:58 +00:00
|
|
|
|
|
|
|
%description gl
|
2005-04-02 22:26:04 +00:00
|
|
|
OpenGL add-on library for wxGTK, the GTK+ %{gtkver} port of the wxWidgets library.
|
2001-11-22 00:33:18 +00:00
|
|
|
|
2005-04-17 12:33:54 +00:00
|
|
|
%package -n %{wxbasename}
|
|
|
|
Summary: wxBase library - non-GUI support classes of the wxWidgets toolkit
|
2001-11-22 00:33:18 +00:00
|
|
|
Group: Development/Libraries
|
2005-04-17 12:33:54 +00:00
|
|
|
Provides: wxBase
|
|
|
|
|
|
|
|
%description -n %{wxbasename}
|
|
|
|
wxBase is a collection of C++ classes providing basic data structures (strings,
|
|
|
|
lists, arrays), portable wrappers around many OS-specific funstions (file
|
|
|
|
operations, time/date manipulations, threads, processes, sockets, shared
|
|
|
|
library loading) as well as other utility classes (streams, archive and
|
|
|
|
compression). wxBase currently supports Win32, most Unix variants (Linux,
|
|
|
|
FreeBSD, Solaris, HP-UX) and MacOS X (Carbon and Mach-0).
|
|
|
|
|
|
|
|
%package -n %{wxbasename}-devel
|
|
|
|
Summary: wxBase library, header files.
|
|
|
|
Group: Development/Libraries
|
|
|
|
Provides: wxBase-devel
|
2001-11-22 00:33:18 +00:00
|
|
|
|
2005-04-17 12:33:54 +00:00
|
|
|
%description -n %{wxbasename}-devel
|
|
|
|
wxBase library - non-GUI support classes of the wxWidgets toolkit,
|
|
|
|
header files.
|
1999-08-25 16:39:29 +00:00
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
%package contrib
|
2005-04-02 22:26:04 +00:00
|
|
|
Summary: The GTK+ %{gtkver} port of the wxWidgets library, contributed libraries.
|
2003-08-20 15:14:12 +00:00
|
|
|
Group: X11/Libraries
|
|
|
|
Requires: %{name} = %{ver}
|
|
|
|
|
|
|
|
%description contrib
|
2005-04-02 22:26:04 +00:00
|
|
|
Contributed libraries for wxGTK, the GTK+ %{gtkver} port of the wxWidgets library.
|
2003-08-20 15:14:12 +00:00
|
|
|
|
|
|
|
%package contrib-devel
|
2005-04-02 22:26:04 +00:00
|
|
|
Summary: The GTK+ %{gtkver} port of the wxWidgets library
|
2003-08-20 15:14:12 +00:00
|
|
|
Group: X11/Libraries
|
|
|
|
Requires: %{name}-contrib = %{ver}
|
|
|
|
Requires: %{name}-devel = %{ver}
|
|
|
|
|
|
|
|
%description contrib-devel
|
2005-04-02 22:26:04 +00:00
|
|
|
Header files for contributed libraries for wxGTK, the GTK+ %{gtkver} port of the wxWidgets library.
|
2003-08-20 15:14:12 +00:00
|
|
|
|
1999-01-05 18:46:22 +00:00
|
|
|
%prep
|
2003-08-20 15:14:12 +00:00
|
|
|
%setup -q -n wxGTK-%{ver}
|
1999-01-05 18:46:22 +00:00
|
|
|
|
|
|
|
%build
|
2000-02-01 16:37:28 +00:00
|
|
|
if [ "$SMP" != "" ]; then
|
2005-04-02 22:26:04 +00:00
|
|
|
export MAKE="make -j$SMP"
|
2000-02-01 16:37:28 +00:00
|
|
|
else
|
2005-04-02 22:26:04 +00:00
|
|
|
export MAKE="make"
|
2000-02-01 16:37:28 +00:00
|
|
|
fi
|
2001-11-22 00:33:18 +00:00
|
|
|
|
2005-04-17 12:33:54 +00:00
|
|
|
mkdir obj-shared
|
|
|
|
cd obj-shared
|
|
|
|
../configure --prefix=%{_prefix} \
|
2005-02-19 18:17:58 +00:00
|
|
|
%if ! %{gtk2}
|
2005-04-17 12:33:54 +00:00
|
|
|
--with-gtk=1 \
|
|
|
|
%else
|
|
|
|
--with-gtk=2 \
|
2005-04-02 22:26:04 +00:00
|
|
|
%endif
|
2005-04-17 12:33:54 +00:00
|
|
|
%if %{unicode}
|
|
|
|
--enable-unicode \
|
|
|
|
%else
|
|
|
|
--disable-unicode \
|
2003-08-20 15:14:12 +00:00
|
|
|
%endif
|
2005-04-17 12:33:54 +00:00
|
|
|
--with-opengl
|
2001-11-22 00:33:18 +00:00
|
|
|
$MAKE
|
2005-04-02 22:26:04 +00:00
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
cd contrib/src
|
|
|
|
$MAKE
|
|
|
|
cd ../../..
|
2001-11-22 00:33:18 +00:00
|
|
|
|
2005-04-17 12:33:54 +00:00
|
|
|
mkdir obj-static
|
|
|
|
cd obj-static
|
|
|
|
../configure --prefix=%{_prefix} \
|
2005-02-19 18:17:58 +00:00
|
|
|
%if ! %{gtk2}
|
2005-04-17 12:33:54 +00:00
|
|
|
--with-gtk=1 \
|
|
|
|
%else
|
|
|
|
--with-gtk=2 \
|
2005-04-02 22:26:04 +00:00
|
|
|
%endif
|
2005-04-17 12:33:54 +00:00
|
|
|
--disable-shared \
|
|
|
|
%if %{unicode}
|
2006-08-05 13:09:35 +00:00
|
|
|
--enable-unicode \
|
2005-04-17 12:33:54 +00:00
|
|
|
%else
|
2006-08-05 13:09:35 +00:00
|
|
|
--disable-unicode \
|
2003-08-20 15:14:12 +00:00
|
|
|
%endif
|
2006-08-05 13:09:35 +00:00
|
|
|
--with-opengl
|
2000-02-01 16:37:28 +00:00
|
|
|
$MAKE
|
2005-04-17 12:33:54 +00:00
|
|
|
|
|
|
|
cd contrib/src
|
|
|
|
$MAKE
|
|
|
|
cd ../../..
|
1999-01-05 18:46:22 +00:00
|
|
|
|
2006-08-05 13:34:59 +00:00
|
|
|
make -C locale allmo
|
|
|
|
|
1999-01-05 18:46:22 +00:00
|
|
|
%install
|
2001-01-29 17:39:24 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-08-05 13:31:59 +00:00
|
|
|
(cd obj-static; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install)
|
|
|
|
(cd obj-shared; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install)
|
2003-08-30 12:30:09 +00:00
|
|
|
|
|
|
|
# --- wxBase headers list begins here ---
|
2005-07-29 16:44:00 +00:00
|
|
|
cat <<EOF >wxbase-headers.files
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/afterstd.h
|
2009-09-19 08:51:11 +00:00
|
|
|
wx/any.h
|
2009-03-24 23:21:29 +00:00
|
|
|
wx/anystr.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/app.h
|
|
|
|
wx/apptrait.h
|
2004-11-23 08:46:26 +00:00
|
|
|
wx/archive.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/arrimpl.cpp
|
|
|
|
wx/arrstr.h
|
2007-07-10 02:00:51 +00:00
|
|
|
wx/atomic.h
|
|
|
|
wx/base64.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/beforestd.h
|
|
|
|
wx/buffer.h
|
|
|
|
wx/build.h
|
2007-03-29 17:40:32 +00:00
|
|
|
wx/chartype.h
|
2009-02-03 12:01:46 +00:00
|
|
|
wx/checkeddelete.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/chkconf.h
|
2004-07-18 03:10:04 +00:00
|
|
|
wx/clntdata.h
|
2007-11-12 22:32:23 +00:00
|
|
|
wx/cmdargs.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/cmdline.h
|
|
|
|
wx/confbase.h
|
|
|
|
wx/config.h
|
2006-04-05 15:06:15 +00:00
|
|
|
wx/convauto.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/containr.h
|
2006-10-01 20:46:32 +00:00
|
|
|
wx/cpp.h
|
2007-05-30 14:03:45 +00:00
|
|
|
wx/crt.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/datetime.h
|
|
|
|
wx/datstrm.h
|
|
|
|
wx/dde.h
|
|
|
|
wx/debug.h
|
|
|
|
wx/defs.h
|
|
|
|
wx/dir.h
|
2003-11-06 01:31:44 +00:00
|
|
|
wx/dlimpexp.h
|
2008-09-22 00:53:46 +00:00
|
|
|
wx/dlist.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/dynarray.h
|
|
|
|
wx/dynlib.h
|
|
|
|
wx/dynload.h
|
|
|
|
wx/encconv.h
|
|
|
|
wx/event.h
|
2010-01-24 01:00:20 +00:00
|
|
|
wx/evtloop.h
|
2003-09-18 22:46:21 +00:00
|
|
|
wx/except.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/features.h
|
2007-04-13 12:06:21 +00:00
|
|
|
wx/flags.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/ffile.h
|
|
|
|
wx/file.h
|
|
|
|
wx/fileconf.h
|
|
|
|
wx/filefn.h
|
|
|
|
wx/filename.h
|
|
|
|
wx/filesys.h
|
|
|
|
wx/fontenc.h
|
|
|
|
wx/fontmap.h
|
2006-10-27 22:10:19 +00:00
|
|
|
wx/fs_arc.h
|
2006-10-26 22:49:53 +00:00
|
|
|
wx/fs_filter.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/fs_mem.h
|
|
|
|
wx/fs_zip.h
|
|
|
|
wx/hash.h
|
|
|
|
wx/hashmap.h
|
|
|
|
wx/hashset.h
|
2005-03-11 03:03:35 +00:00
|
|
|
wx/html/forcelnk.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/iconloc.h
|
|
|
|
wx/init.h
|
|
|
|
wx/intl.h
|
|
|
|
wx/iosfwrap.h
|
|
|
|
wx/ioswrap.h
|
|
|
|
wx/ipc.h
|
|
|
|
wx/ipcbase.h
|
2008-10-08 15:44:49 +00:00
|
|
|
wx/kbdstate.h
|
2010-04-24 07:06:32 +00:00
|
|
|
wx/language.h
|
2005-10-03 21:05:25 +00:00
|
|
|
wx/link.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/list.h
|
|
|
|
wx/listimpl.cpp
|
|
|
|
wx/log.h
|
|
|
|
wx/longlong.h
|
|
|
|
wx/math.h
|
|
|
|
wx/memconf.h
|
|
|
|
wx/memory.h
|
|
|
|
wx/memtext.h
|
|
|
|
wx/mimetype.h
|
|
|
|
wx/module.h
|
2008-10-08 15:44:49 +00:00
|
|
|
wx/mousestate.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/msgout.h
|
2010-06-11 20:42:38 +00:00
|
|
|
wx/msgqueue.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/mstream.h
|
|
|
|
wx/object.h
|
|
|
|
wx/platform.h
|
2006-08-13 21:10:59 +00:00
|
|
|
wx/platinfo.h
|
2006-05-27 14:09:40 +00:00
|
|
|
wx/power.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/process.h
|
|
|
|
wx/ptr_scpd.h
|
2008-01-13 02:48:17 +00:00
|
|
|
wx/ptr_shrd.h
|
2005-08-08 12:59:33 +00:00
|
|
|
wx/recguard.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/regex.h
|
2009-02-03 12:01:46 +00:00
|
|
|
wx/scopedarray.h
|
|
|
|
wx/scopedptr.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/scopeguard.h
|
2009-02-03 12:01:46 +00:00
|
|
|
wx/sharedptr.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/snglinst.h
|
2004-09-27 06:53:08 +00:00
|
|
|
wx/sstream.h
|
2003-09-27 15:48:14 +00:00
|
|
|
wx/stack.h
|
2005-01-17 01:43:08 +00:00
|
|
|
wx/stackwalk.h
|
2004-10-27 22:47:26 +00:00
|
|
|
wx/stdpaths.h
|
2009-05-02 18:29:33 +00:00
|
|
|
wx/stdstream.h
|
2004-09-19 12:05:11 +00:00
|
|
|
wx/stockitem.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/stopwatch.h
|
|
|
|
wx/strconv.h
|
|
|
|
wx/stream.h
|
|
|
|
wx/string.h
|
2007-03-29 17:40:32 +00:00
|
|
|
wx/stringimpl.h
|
2007-04-19 10:05:55 +00:00
|
|
|
wx/stringops.h
|
2007-03-17 10:26:10 +00:00
|
|
|
wx/strvararg.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/sysopt.h
|
2006-10-27 09:57:42 +00:00
|
|
|
wx/tarstrm.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/textbuf.h
|
|
|
|
wx/textfile.h
|
|
|
|
wx/thread.h
|
|
|
|
wx/thrimpl.cpp
|
|
|
|
wx/timer.h
|
2008-11-03 12:47:56 +00:00
|
|
|
wx/tls.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/tokenzr.h
|
2008-01-13 02:48:17 +00:00
|
|
|
wx/tracker.h
|
2010-04-24 07:06:32 +00:00
|
|
|
wx/translation.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/txtstrm.h
|
2009-11-19 19:27:24 +00:00
|
|
|
wx/typeinfo.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/types.h
|
2007-03-29 17:40:32 +00:00
|
|
|
wx/unichar.h
|
2004-10-27 22:47:26 +00:00
|
|
|
wx/uri.h
|
2008-08-02 14:15:22 +00:00
|
|
|
wx/ustring.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/utils.h
|
|
|
|
wx/variant.h
|
|
|
|
wx/vector.h
|
|
|
|
wx/version.h
|
|
|
|
wx/volume.h
|
2008-01-13 02:48:17 +00:00
|
|
|
wx/weakref.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/wfstream.h
|
|
|
|
wx/wx.h
|
|
|
|
wx/wxchar.h
|
2007-03-29 17:40:32 +00:00
|
|
|
wx/wxcrt.h
|
2007-06-10 17:14:14 +00:00
|
|
|
wx/wxcrtbase.h
|
2007-04-19 08:04:34 +00:00
|
|
|
wx/wxcrtvararg.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/wxprec.h
|
2008-02-10 17:03:23 +00:00
|
|
|
wx/xlocale.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/xti.h
|
|
|
|
wx/xtistrm.h
|
|
|
|
wx/zipstrm.h
|
|
|
|
wx/zstream.h
|
2008-01-13 02:48:17 +00:00
|
|
|
wx/meta/convertible.h
|
2008-01-23 12:13:07 +00:00
|
|
|
wx/meta/if.h
|
2008-01-13 02:48:17 +00:00
|
|
|
wx/meta/int2type.h
|
2008-01-23 12:13:07 +00:00
|
|
|
wx/meta/movable.h
|
2010-06-14 15:12:37 +00:00
|
|
|
wx/meta/pod.h
|
2009-10-22 11:35:43 +00:00
|
|
|
wx/fswatcher.h
|
|
|
|
wx/generic/fswatcher.h
|
2007-05-14 23:43:39 +00:00
|
|
|
wx/unix/app.h
|
2005-07-29 18:41:58 +00:00
|
|
|
wx/unix/apptbase.h
|
|
|
|
wx/unix/apptrait.h
|
2007-07-14 19:06:18 +00:00
|
|
|
wx/unix/chkconf.h
|
2007-05-14 23:43:39 +00:00
|
|
|
wx/unix/evtloop.h
|
2009-10-22 16:53:10 +00:00
|
|
|
wx/unix/evtloopsrc.h
|
2005-07-29 18:41:58 +00:00
|
|
|
wx/unix/pipe.h
|
2008-01-06 14:38:44 +00:00
|
|
|
wx/unix/stdpaths.h
|
2008-02-10 17:03:23 +00:00
|
|
|
wx/unix/stackwalk.h
|
2008-09-04 07:57:32 +00:00
|
|
|
wx/unix/tls.h
|
2009-10-22 11:35:43 +00:00
|
|
|
wx/unix/fswatcher_kqueue.h
|
2008-01-06 14:38:44 +00:00
|
|
|
wx/unix/execute.h
|
|
|
|
wx/unix/mimetype.h
|
2009-10-22 11:35:43 +00:00
|
|
|
wx/unix/fswatcher_inotify.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/fs_inet.h
|
|
|
|
wx/protocol/file.h
|
|
|
|
wx/protocol/ftp.h
|
|
|
|
wx/protocol/http.h
|
2009-03-07 13:58:39 +00:00
|
|
|
wx/protocol/log.h
|
2003-08-30 12:30:09 +00:00
|
|
|
wx/protocol/protocol.h
|
|
|
|
wx/sckaddr.h
|
|
|
|
wx/sckipc.h
|
|
|
|
wx/sckstrm.h
|
|
|
|
wx/socket.h
|
|
|
|
wx/url.h
|
|
|
|
wx/xml/xml.h
|
|
|
|
wx/xtixml.h
|
|
|
|
EOF
|
|
|
|
# --- wxBase headers list ends here ---
|
2005-04-17 12:33:54 +00:00
|
|
|
cat <<EOF >wxbase-headers.paths
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/afterstd.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/app.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/apptrait.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/archive.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/arrimpl.cpp
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/arrstr.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/beforestd.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/buffer.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/build.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/chkconf.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/clntdata.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/cmdline.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/confbase.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/config.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/containr.h
|
2006-08-05 14:46:33 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/convauto.h
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/datetime.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/datstrm.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/dde.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/debug.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/defs.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/dir.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/dlimpexp.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/dynarray.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/dynlib.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/dynload.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/encconv.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/event.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/except.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/features.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/ffile.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/file.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/fileconf.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/filefn.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/filename.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/filesys.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/fontenc.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/fontmap.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/fs_mem.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/fs_zip.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/hash.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/hashmap.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/hashset.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/html/forcelnk.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/iconloc.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/init.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/intl.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/iosfwrap.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/ioswrap.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/ipc.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/ipcbase.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/isql.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/isqlext.h
|
2006-08-05 14:46:33 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/link.h
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/list.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/listimpl.cpp
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/log.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/longlong.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/math.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/memconf.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/memory.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/memtext.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/mimetype.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/module.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/msgout.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/mstream.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/object.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/platform.h
|
2006-08-05 14:46:33 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/power.h
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/process.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/ptr_scpd.h
|
2006-08-05 14:46:33 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/recguard.h
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/regex.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/scopeguard.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/snglinst.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/sstream.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/stack.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/stackwalk.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/stdpaths.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/stockitem.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/stopwatch.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/strconv.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/stream.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/string.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/sysopt.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/textbuf.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/textfile.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/thread.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/thrimpl.cpp
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/timer.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/tokenzr.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/txtstrm.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/types.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/uri.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/utils.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/variant.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/vector.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/version.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/volume.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/wfstream.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/wx.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/wxchar.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/wxprec.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/xti.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/xtistrm.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/zipstrm.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/zstream.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/fs_inet.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/gsocket.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/protocol/file.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/protocol/ftp.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/protocol/http.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/protocol/protocol.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/sckaddr.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/sckipc.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/sckstrm.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/socket.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/url.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/xml/xml.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/xtixml.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/unix/apptbase.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/unix/apptrait.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/unix/execute.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/unix/gsockunx.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/unix/mimetype.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/unix/pipe.h
|
2006-08-05 14:46:33 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/unix/private.h
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_includedir}/wx-%{ver2}/wx/unix/stackwalk.h
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/unix/stdpaths.h
|
|
|
|
EOF
|
|
|
|
# --- wxBase headers list ends here ---
|
|
|
|
|
|
|
|
# temporarily remove base headers
|
|
|
|
mkdir $RPM_BUILD_ROOT/_save_dir
|
|
|
|
cp -r $RPM_BUILD_ROOT%{_includedir}/wx-%{ver2} $RPM_BUILD_ROOT/_save_dir
|
|
|
|
for f in `cat wxbase-headers.files` ; do
|
2005-04-02 22:26:04 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_includedir}/wx-%{ver2}/$f
|
2003-08-20 15:14:12 +00:00
|
|
|
done
|
|
|
|
# list of all core headers:
|
2005-04-02 22:26:04 +00:00
|
|
|
find $RPM_BUILD_ROOT%{_includedir}/wx-%{ver2} -type f | sed -e "s,$RPM_BUILD_ROOT,,g" >core-headers.files
|
2005-04-17 12:33:54 +00:00
|
|
|
# move base headers (actually all headers) back again
|
|
|
|
cp -f -r $RPM_BUILD_ROOT/_save_dir/* $RPM_BUILD_ROOT%{_includedir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT/_save_dir
|
2003-08-20 15:14:12 +00:00
|
|
|
|
|
|
|
# contrib stuff:
|
2006-08-05 14:34:03 +00:00
|
|
|
(cd obj-static/contrib; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install)
|
|
|
|
(cd obj-shared/contrib; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install)
|
|
|
|
|
|
|
|
# utils:
|
|
|
|
(cd obj-shared/utils/wxrc; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install)
|
2003-10-06 19:12:12 +00:00
|
|
|
|
2006-08-05 14:48:42 +00:00
|
|
|
# wx-config link is created during package installation, remove it for now
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/wx-config
|
|
|
|
|
2001-12-15 16:45:18 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
1999-01-05 18:46:22 +00:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2005-02-19 18:17:58 +00:00
|
|
|
%post devel
|
|
|
|
# link wx-config when you install RPM.
|
2005-04-17 12:33:54 +00:00
|
|
|
%if %{unicode}
|
|
|
|
ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/wx-config
|
|
|
|
%endif
|
2005-02-19 18:17:58 +00:00
|
|
|
# link wx-config with explicit name.
|
2005-04-02 22:26:04 +00:00
|
|
|
ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/%{wxconfiglink}
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
/sbin/ldconfig
|
2005-03-21 22:46:37 +00:00
|
|
|
|
2005-02-19 18:17:58 +00:00
|
|
|
%preun devel
|
2005-04-17 12:33:54 +00:00
|
|
|
%if %{unicode}
|
|
|
|
rm -f %{_bindir}/wx-config
|
|
|
|
%endif
|
2005-04-02 22:26:04 +00:00
|
|
|
rm -f %{_bindir}/%{wxconfiglink}
|
2005-03-21 22:46:37 +00:00
|
|
|
|
2005-04-17 12:33:54 +00:00
|
|
|
%post -n %{wxbasename}
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %{wxbasename}
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n %{wxbasename}-devel
|
|
|
|
# link wx-config with explicit name.
|
|
|
|
ln -sf %{_libdir}/wx/config/%{wxbaseconfig} %{_bindir}/%{wxbaseconfiglink}
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %{wxbasename}-devel
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%preun -n %{wxbasename}-devel
|
|
|
|
rm -f %{_bindir}/%{wxbaseconfiglink}
|
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%post gl
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun gl
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%post contrib
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun contrib
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%post contrib-devel
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun contrib-devel
|
|
|
|
/sbin/ldconfig
|
2001-11-20 23:50:53 +00:00
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
%files
|
2001-11-20 23:50:53 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING.LIB *.txt
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_adv-%{ver2}.so.*
|
2006-08-05 14:44:33 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_aui-%{ver2}.so.*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_core-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_html-%{ver2}.so.*
|
2006-08-05 14:17:10 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_mmedia-%{ver2}.so.*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_qa-%{ver2}.so.*
|
2006-08-05 14:44:33 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_richtext-%{ver2}.so.*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_xrc-%{ver2}.so.*
|
2005-04-02 22:26:04 +00:00
|
|
|
|
2005-04-18 17:47:56 +00:00
|
|
|
%files -n wx-i18n
|
2005-04-17 12:33:54 +00:00
|
|
|
%defattr(-,root,root)
|
2006-08-05 13:34:59 +00:00
|
|
|
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
1999-08-25 16:39:29 +00:00
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
%files devel -f core-headers.files
|
2001-05-25 07:00:12 +00:00
|
|
|
%defattr(-,root,root)
|
2005-04-17 12:33:54 +00:00
|
|
|
# shared libs
|
|
|
|
%{_libdir}/libwx_%{buildname}_adv-%{ver2}.so
|
2006-08-05 14:44:33 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_aui-%{ver2}.so
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_core-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_%{buildname}_gl-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_%{buildname}_html-%{ver2}.so
|
2006-08-05 14:17:10 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_mmedia-%{ver2}.so
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_qa-%{ver2}.so
|
2006-08-05 14:44:33 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_richtext-%{ver2}.so
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_xrc-%{ver2}.so
|
|
|
|
# static libs
|
|
|
|
%{_libdir}/libwx_%{buildname}_adv-%{ver2}.a
|
2006-08-05 14:44:33 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_aui-%{ver2}.a
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_core-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_gl-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_html-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_qa-%{ver2}.a
|
2006-08-05 14:44:33 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_richtext-%{ver2}.a
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_xrc-%{ver2}.a
|
2001-11-20 23:50:53 +00:00
|
|
|
%dir %{_libdir}/wx
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/wx/config/%{wxconfig}
|
|
|
|
%{_libdir}/wx/include/%{wxconfig}/wx/setup.h
|
|
|
|
%{_libdir}/wx/config/%{wxconfigstatic}
|
|
|
|
%{_libdir}/wx/include/%{wxconfigstatic}/wx/setup.h
|
2005-04-02 22:26:04 +00:00
|
|
|
%{_bindir}/wxrc*
|
1999-01-29 12:54:50 +00:00
|
|
|
|
2005-04-17 12:33:54 +00:00
|
|
|
%files -n %{wxbasename}
|
2001-11-20 23:50:53 +00:00
|
|
|
%defattr(-,root,root)
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_base*-%{ver2}.so.*
|
2001-05-25 07:00:12 +00:00
|
|
|
|
2005-04-17 12:33:54 +00:00
|
|
|
%files -n %{wxbasename}-devel -f wxbase-headers.paths
|
2001-11-22 00:33:18 +00:00
|
|
|
%defattr (-,root,root)
|
2005-04-17 12:33:54 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}
|
|
|
|
%{_libdir}/libwx_base*-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_base*-%{ver2}.a
|
|
|
|
%if %{unicode}
|
|
|
|
%{_libdir}/libwxregexu-%{ver2}.a
|
|
|
|
%endif
|
|
|
|
%dir %{_libdir}/wx
|
|
|
|
%{_datadir}/aclocal/*.m4
|
2006-08-05 13:34:59 +00:00
|
|
|
%{_datadir}/bakefile/presets/*
|
2005-04-17 12:33:54 +00:00
|
|
|
|
|
|
|
%files gl
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libwx_%{buildname}_gl-%{ver2}.so.*
|
2003-08-20 15:14:12 +00:00
|
|
|
|
|
|
|
%files contrib
|
|
|
|
%defattr(-,root,root)
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_animate-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_deprecated-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_fl-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_gizmos-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_gizmos_xrc-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_mmedia-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_ogl-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_plot-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_stc-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{buildname}_svg-%{ver2}.so.*
|
2003-08-20 15:14:12 +00:00
|
|
|
|
2006-08-05 14:29:35 +00:00
|
|
|
# static libs
|
|
|
|
%{_libdir}/libwx_%{buildname}_animate-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_deprecated-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_fl-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_gizmos-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_gizmos_xrc-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_mmedia-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_ogl-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_plot-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_stc-%{ver2}.a
|
|
|
|
%{_libdir}/libwx_%{buildname}_svg-%{ver2}.a
|
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
%files contrib-devel
|
|
|
|
%defattr(-,root,root)
|
2005-04-02 22:26:04 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/animate
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/animate/*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_animate-%{ver2}.so
|
2003-08-20 15:14:12 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/deprecated
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/deprecated/*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_deprecated-%{ver2}.so
|
2003-08-20 15:14:12 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/fl
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/fl/*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_fl-%{ver2}.so
|
2003-08-20 15:14:12 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/gizmos
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/gizmos/*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_gizmos-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_%{buildname}_gizmos_xrc-%{ver2}.so
|
2003-08-20 15:14:12 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/mmedia
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/mmedia/*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_mmedia-%{ver2}.so
|
2003-08-20 15:14:12 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/ogl
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/ogl/*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_ogl-%{ver2}.so
|
2003-08-20 15:14:12 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/plot
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/plot/*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_plot-%{ver2}.so
|
2003-08-20 15:14:12 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/stc
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/stc/*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_stc-%{ver2}.so
|
2003-08-20 15:14:12 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/svg
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/svg/*
|
2005-04-17 12:33:54 +00:00
|
|
|
%{_libdir}/libwx_%{buildname}_svg-%{ver2}.so
|