2002-09-14 18:35:10 +00:00
|
|
|
%define pref /usr
|
2009-07-05 11:51:53 +00:00
|
|
|
%define ver 2.9.1
|
2007-02-06 19:58:27 +00:00
|
|
|
%define ver2 2.9
|
2005-04-11 19:37:51 +00:00
|
|
|
%define rel 1
|
2002-09-14 18:35:10 +00:00
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
# Configurable settings (use --with(out) unicode on rpmbuild cmd line):
|
|
|
|
%define unicode 0
|
|
|
|
%{?_with_unicode: %{expand: %%define unicode 1}}
|
|
|
|
%{?_without_unicode: %{expand: %%define unicode 0}}
|
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%define portname x11univ
|
2003-08-20 15:14:12 +00:00
|
|
|
|
|
|
|
%if %{unicode}
|
2005-04-02 22:26:04 +00:00
|
|
|
%define wxbasename wx-base-unicode
|
|
|
|
%define name wx-%{portname}-unicode
|
|
|
|
%define wxconfig %{portname}-unicode-release-%{ver2}
|
|
|
|
%define wxconfiglink wx%{portname}u-%{ver2}-config
|
2003-08-20 15:14:12 +00:00
|
|
|
%else
|
2005-04-02 22:26:04 +00:00
|
|
|
%define wxbasename wx-base
|
|
|
|
%define name wx-%{portname}
|
|
|
|
%define wxconfig %{portname}-ansi-release-%{ver2}
|
|
|
|
%define wxconfiglink wx%{portname}-%{ver2}-config
|
2003-08-20 15:14:12 +00:00
|
|
|
%endif
|
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
Summary: The X11 port of the wxWidgets library
|
|
|
|
Name: %{name}
|
2002-09-14 18:35:10 +00:00
|
|
|
Version: %{ver}
|
|
|
|
Release: %{rel}
|
2003-08-20 15:14:12 +00:00
|
|
|
License: wxWindows Licence
|
2002-09-14 18:35:10 +00:00
|
|
|
Group: X11/Libraries
|
|
|
|
Source: wxX11-%{ver}.tar.bz2
|
2005-04-02 22:26:04 +00:00
|
|
|
URL: http://www.wxwidgets.org
|
2002-09-14 18:35:10 +00:00
|
|
|
Packager: Vadim Zeitlin <vadim@wxwindows.org>
|
|
|
|
Prefix: %{pref}
|
2005-04-02 22:26:04 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
Requires: %{wxbasename} = %{ver}
|
2002-09-14 18:35:10 +00:00
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
# all packages providing an implementation of wxWidgets library (regardless of
|
2002-09-14 18:35:10 +00:00
|
|
|
# the toolkit used) should provide the (virtual) wxwin package, this makes it
|
|
|
|
# possible to require wxwin instead of requiring "wxgtk or wxmotif or wxuniv..."
|
|
|
|
Provides: wxwin
|
2003-08-20 15:14:12 +00:00
|
|
|
Provides: wxX11
|
|
|
|
|
2002-09-14 18:35:10 +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+,
|
2002-09-14 18:35:10 +00:00
|
|
|
Motif/LessTif, MS Windows, Mac) from the same source code.
|
|
|
|
|
|
|
|
%package devel
|
2005-04-02 22:26:04 +00:00
|
|
|
Summary: The X11 port of the wxWidgets library
|
2002-09-14 18:35:10 +00:00
|
|
|
Group: X11/Libraries
|
2003-08-20 15:14:12 +00:00
|
|
|
Requires: %{name} = %{ver}
|
|
|
|
Requires: %{wxbasename}-devel = %{ver}
|
2002-09-14 18:35:10 +00:00
|
|
|
|
|
|
|
%description devel
|
2005-04-02 22:26:04 +00:00
|
|
|
Header files for wxX11, the X11 port of the wxWidgets library.
|
2002-09-14 18:35:10 +00:00
|
|
|
|
|
|
|
%package gl
|
2005-04-02 22:26:04 +00:00
|
|
|
Summary: The X11 port of the wxWidgets library, OpenGL add-on.
|
2002-09-14 18:35:10 +00:00
|
|
|
Group: X11/Libraries
|
2003-08-20 15:14:12 +00:00
|
|
|
Requires: %{name} = %{ver}
|
2002-09-14 18:35:10 +00:00
|
|
|
|
|
|
|
%description gl
|
2005-04-02 22:26:04 +00:00
|
|
|
OpenGL add-on library for wxX11, the X11 port of the wxWidgets library.
|
2002-09-14 18:35:10 +00:00
|
|
|
|
|
|
|
%package static
|
|
|
|
Summary: wxX11 static libraries
|
|
|
|
Group: Development/Libraries
|
2005-04-02 22:26:04 +00:00
|
|
|
Requires: %{wxbasename}-static
|
|
|
|
Requires: %{name}-devel = %{ver}
|
2002-09-14 18:35:10 +00:00
|
|
|
|
|
|
|
%description static
|
|
|
|
Static libraries for wxX11. You need them if you want to link statically against wxX11.
|
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
%package contrib
|
|
|
|
Summary: Contrib libraries for wxX11.
|
|
|
|
Group: X11/Libraries
|
|
|
|
Requires: %{name} = %{ver}
|
|
|
|
|
|
|
|
%description contrib
|
|
|
|
Contributed libraries for wxX11.
|
|
|
|
|
|
|
|
%package contrib-devel
|
|
|
|
Summary: Contrib libraries for wxX11.
|
|
|
|
Group: X11/Libraries
|
|
|
|
Requires: %{name}-contrib = %{ver}
|
|
|
|
Requires: %{name}-devel = %{ver}
|
|
|
|
|
|
|
|
%description contrib-devel
|
|
|
|
Header files for contributed libraries for wxX11.
|
|
|
|
|
2002-09-14 18:35:10 +00:00
|
|
|
%prep
|
2003-08-20 15:14:12 +00:00
|
|
|
%setup -q -n wxX11-%{ver}
|
2002-09-14 18:35:10 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
if [ "$SMP" != "" ]; then
|
2005-04-02 22:26:04 +00:00
|
|
|
export MAKE="make -j$SMP"
|
2002-09-14 18:35:10 +00:00
|
|
|
else
|
2005-04-02 22:26:04 +00:00
|
|
|
export MAKE="make"
|
2002-09-14 18:35:10 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
mkdir obj-shared
|
|
|
|
cd obj-shared
|
2003-08-20 15:14:12 +00:00
|
|
|
../configure --prefix=%{pref} --with-x11 \
|
|
|
|
%if %{unicode}
|
|
|
|
--enable-unicode \
|
|
|
|
%else
|
2007-10-23 13:40:27 +00:00
|
|
|
--disable-unicode \
|
2003-08-20 15:14:12 +00:00
|
|
|
%endif
|
2002-09-14 18:35:10 +00:00
|
|
|
$MAKE
|
2005-04-02 22:26:04 +00:00
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
cd contrib/src
|
|
|
|
$MAKE
|
|
|
|
cd ../../..
|
2002-09-14 18:35:10 +00:00
|
|
|
|
|
|
|
mkdir obj-static
|
|
|
|
cd obj-static
|
2003-08-20 15:14:12 +00:00
|
|
|
../configure --prefix=%{pref} --with-x11 --disable-shared \
|
|
|
|
%if %{unicode}
|
|
|
|
--enable-unicode \
|
|
|
|
%else
|
2007-10-23 13:40:27 +00:00
|
|
|
--disable-unicode \
|
2003-08-20 15:14:12 +00:00
|
|
|
%endif
|
|
|
|
--with-opengl
|
2002-09-14 18:35:10 +00:00
|
|
|
$MAKE
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
(cd obj-static; make prefix=$RPM_BUILD_ROOT%{pref} install)
|
|
|
|
(cd obj-shared; make prefix=$RPM_BUILD_ROOT%{pref} install)
|
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
# Remove headers that are part of wx-base-devel:
|
2003-08-30 12:30:09 +00:00
|
|
|
|
|
|
|
# --- wxBase headers list begins here ---
|
2005-07-29 18:41:58 +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
|
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
|
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
|
|
|
|
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
|
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
|
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 ---
|
|
|
|
for f in `cat wxbase-headers-list` ; 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
|
2003-08-20 15:14:12 +00:00
|
|
|
|
|
|
|
# contrib stuff:
|
|
|
|
(cd obj-shared/contrib/src; make prefix=$RPM_BUILD_ROOT%{pref} install)
|
2005-02-20 13:07:11 +00:00
|
|
|
(cd obj-shared/utils/wxrc; make prefix=$RPM_BUILD_ROOT%{pref} install)
|
2002-09-14 18:35:10 +00:00
|
|
|
|
2003-10-06 19:12:12 +00:00
|
|
|
# remove wxBase files so that RPM doesn't complain about unpackaged files:
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libwx_base*
|
2005-04-02 22:26:04 +00:00
|
|
|
%if %{unicode}
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libwxregexu-%{ver2}.a
|
|
|
|
%endif
|
2003-10-06 19:12:12 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/aclocal/*
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*/*/*
|
|
|
|
|
2002-09-14 18:35:10 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%post devel
|
|
|
|
# link wx-config when you install RPM.
|
|
|
|
ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/wx-config
|
|
|
|
# link wx-config with explicit name.
|
|
|
|
ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/%{wxconfiglink}
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
if test -f %{_bindir}/wx-config -a -f /usr/bin/md5sum ; then
|
|
|
|
SUM1=`md5sum %{_libdir}/wx/config/%{wxconfig} | cut -c 0-32`
|
|
|
|
SUM2=`md5sum %{_bindir}/wx-config | cut -c 0-32`
|
|
|
|
if test "x$SUM1" = "x$SUM2" ; then
|
|
|
|
rm -f %{_bindir}/wx-config
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
rm -f %{_bindir}/%{wxconfiglink}
|
|
|
|
|
2002-09-14 18:35:10 +00:00
|
|
|
%post gl
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun gl
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2005-04-02 22:26:04 +00:00
|
|
|
%post contrib
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun contrib
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%post contrib-devel
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun contrib-devel
|
|
|
|
/sbin/ldconfig
|
2002-09-14 18:35:10 +00:00
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
%files
|
2002-09-14 18:35:10 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING.LIB *.txt
|
2005-04-02 22:26:04 +00:00
|
|
|
%{_libdir}/libwx_%{portname}*_adv-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_core-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_html-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_media-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_qa-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_xrc-%{ver2}.so.*
|
|
|
|
|
2002-09-14 18:35:10 +00:00
|
|
|
|
2003-08-20 15:14:12 +00:00
|
|
|
%files devel -f core-headers.files
|
2002-09-14 18:35:10 +00:00
|
|
|
%defattr(-,root,root)
|
2005-04-02 22:26:04 +00:00
|
|
|
%{_libdir}/libwx_%{portname}*_adv-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_%{portname}*_core-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_%{portname}*_gl-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_%{portname}*_html-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_%{portname}*_media-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_%{portname}*_qa-%{ver2}.so
|
|
|
|
%{_libdir}/libwx_%{portname}*_xrc-%{ver2}.so
|
2002-09-14 18:35:10 +00:00
|
|
|
%dir %{_libdir}/wx
|
|
|
|
%{_libdir}/wx/*
|
2005-04-02 22:26:04 +00:00
|
|
|
%{_bindir}/wxrc*
|
2002-09-14 18:35:10 +00:00
|
|
|
|
|
|
|
%files gl
|
|
|
|
%defattr(-,root,root)
|
2005-04-02 22:26:04 +00:00
|
|
|
%{_libdir}/libwx_%{portname}*_gl-%{ver2}.so.*
|
2002-09-14 18:35:10 +00:00
|
|
|
|
|
|
|
%files static
|
|
|
|
%defattr (-,root,root)
|
2005-04-02 22:26:04 +00:00
|
|
|
%{_libdir}/libwx_%{portname}*_*-%{ver2}.a
|
2003-08-20 15:14:12 +00:00
|
|
|
|
|
|
|
%files contrib
|
|
|
|
%defattr(-,root,root)
|
2005-04-02 22:26:04 +00:00
|
|
|
%{_libdir}/libwx_%{portname}*_animate-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_deprecated-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_fl-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_gizmos-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_mmedia-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_ogl-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_plot-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_stc-%{ver2}.so.*
|
|
|
|
%{_libdir}/libwx_%{portname}*_svg-%{ver2}.so.*
|
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/*
|
|
|
|
%{_libdir}/libwx_%{portname}*_animate-%{ver2}.so
|
|
|
|
|
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/deprecated
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/deprecated/*
|
|
|
|
%{_libdir}/libwx_%{portname}*_deprecated-%{ver2}.so
|
|
|
|
|
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/fl
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/fl/*
|
|
|
|
%{_libdir}/libwx_%{portname}*_fl-%{ver2}.so
|
|
|
|
|
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/gizmos
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/gizmos/*
|
|
|
|
%{_libdir}/libwx_%{portname}*_gizmos-%{ver2}.so
|
|
|
|
|
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/mmedia
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/mmedia/*
|
|
|
|
%{_libdir}/libwx_%{portname}*_mmedia-%{ver2}.so
|
|
|
|
|
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/ogl
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/ogl/*
|
|
|
|
%{_libdir}/libwx_%{portname}*_ogl-%{ver2}.so
|
|
|
|
|
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/plot
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/plot/*
|
|
|
|
%{_libdir}/libwx_%{portname}*_plot-%{ver2}.so
|
|
|
|
|
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/stc
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/stc/*
|
|
|
|
%{_libdir}/libwx_%{portname}*_stc-%{ver2}.so
|
|
|
|
|
|
|
|
%dir %{_includedir}/wx-%{ver2}/wx/svg
|
|
|
|
%{_includedir}/wx-%{ver2}/wx/svg/*
|
|
|
|
%{_libdir}/libwx_%{portname}*_svg-%{ver2}.so
|