cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
+ cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
+ cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
mkdir $(DISTDIR)/lib
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
mkdir $(DISTDIR)/src
+ cp $(SRCDIR)/files.lst $(DISTDIR)/src/
mkdir $(DISTDIR)/src/zlib
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
# but is not used when building wxBase distribution
ALL_GUI_DIST: ALL_DIST
cp $(WXDIR)/wxBase.spec $(DISTDIR)
- cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
- cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
- cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
+ cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
+ if test -f $(DOCDIR)/$(TOOLKITDIR)/changes.txt ; then \
+ cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES-$(TOOLKIT).txt ; fi
+ cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README-$(TOOLKIT).txt
cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
mkdir $(DISTDIR)/include
mkdir $(DISTDIR)/include/wx
mkdir $(DISTDIR)/src/tiff
mkdir $(DISTDIR)/src/iodbc
mkdir $(DISTDIR)/src/unix
- cp $(SRCDIR)/files.lst $(DISTDIR)/src/
cp $(SRCDIR)/*.in $(DISTDIR)/src
cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
cp $(COMMDIR)/*.c $(DISTDIR)/src/common
mkdir $(DISTDIR)/include/wx/unix
mkdir $(DISTDIR)/src/common
mkdir $(DISTDIR)/src/unix
+ mkdir $(DISTDIR)/src/msw
cp $(WXDIR)/wxBase.spec $(DISTDIR)
cp @PORT_FILES@ $(DISTDIR)
- cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
- cp $(WXDIR)/wxBase*.dsp $(DISTDIR)
- cp $(WXDIR)/wxBase*.dsw $(DISTDIR)
+ cp $(WXDIR)/src/wxBase*.dsp $(DISTDIR)
+ cp $(WXDIR)/src/wxBase*.dsw $(DISTDIR)
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
cp $(SRCDIR)/*.in $(DISTDIR)/src
cp -R $(WXDIR)/contrib $(DISTDIR)
MOTIF_DIST: ALL_GUI_DIST
- cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
+ cp $(WXDIR)/wxMotif.spec $(DISTDIR)
cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
cp $(MOTIFDIR)/files.lst $(DISTDIR)/src/motif
cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
+ cp $(MOTIFDIR)/*.c $(DISTDIR)/src/motif
cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
mkdir $(DISTDIR)/src/motif/xmcombo
cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
appcmn.cpp Common Base
choiccmn.cpp Common
clipcmn.cpp Common
-clntdata.cpp Common
+clntdata.cpp Common Base
cmdline.cpp Common Base
cmdproc.cpp Common
cmndata.cpp Common
choicdlg.h WXH
choice.h WXH
clipbrd.h WXH
-clntdata.h WXH
+clntdata.h WXH Base
cmdline.h WXH Base
cmdproc.h WXH
cmndata.h WXH
panel.h WXH
paper.h WXH
pen.h WXH
-platform.h WXH
+platform.h WXH Base
popupwin.h WXH
print.h WXH
printdlg.h WXH
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASE.T!
ALL_SOURCES = \
common/init.cpp \
common/appcmn.cpp \
+ common/clntdata.cpp \
common/cmdline.cpp \
common/config.cpp \
common/datetime.cpp \
arrimpl.cpp \
buffer.h \
chkconf.h \
+ clntdata.h \
cmdline.h \
confbase.h \
config.h \
mstream.h \
object.h \
objstrm.h \
+ platform.h \
process.h \
regex.h \
sckaddr.h \
BASE_OBJS = \
init.o \
appcmn.o \
+ clntdata.o \
cmdline.o \
config.o \
datetime.o \
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
ALL_SOURCES = \
generic/accel.cpp \
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
ALL_SOURCES = \
generic/accel.cpp \
-# This file was automatically generated by tmake at 08:59, 2001/11/18
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MAC.T!
ALL_SOURCES = \
generic/busyinfo.cpp \
-# This file was automatically generated by tmake at 08:59, 2001/11/18
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MAC.T!
ALL_SOURCES = \
generic/busyinfo.cpp \
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
ALL_SOURCES = \
generic/accel.cpp \
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
ALL_SOURCES = \
generic/busyinfo.cpp \
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
ALL_SOURCES = \
generic/busyinfo.cpp \
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
#
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BCC.T!
#
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE DOS.T!
#
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T!
#
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE SC.T!
# Symantec C++ makefile for the msw objects
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
# File: makefile.vc
#!/binb/wmake.exe
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE WAT.T!
#
/usr/include/wx/arrimpl.cpp
/usr/include/wx/buffer.h
/usr/include/wx/chkconf.h
+/usr/include/wx/clntdata.h
/usr/include/wx/cmdline.h
/usr/include/wx/confbase.h
/usr/include/wx/config.h
/usr/include/wx/mstream.h
/usr/include/wx/object.h
/usr/include/wx/objstrm.h
+/usr/include/wx/platform.h
/usr/include/wx/process.h
/usr/include/wx/regex.h
/usr/include/wx/sckaddr.h
-# This file was automatically generated by tmake at 18:55, 2001/11/17
+# This file was automatically generated by tmake at 16:36, 2001/11/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNIV.T!
UNIVOBJS = \
bmpbuttn.o \
# End Source File
# Begin Source File
+SOURCE=.\common\clntdata.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\cmdline.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\include\wx\clntdata.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\cmdline.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\include\wx\platform.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\process.h
# End Source File
# Begin Source File
%define pref /usr
-%define ver 2.3.1
+%define ver 2.3.2
%define ver2 2.3
%define rel 1
export MAKE="make"
fi
$MAKE
+(cd locale; make allmo)
%install
rm -rf $RPM_BUILD_ROOT
%postun
/sbin/ldconfig
+%post devel
+# Install wx-config if there isn't any
+if test ! -f %{_bindir}/wx-config ; then
+ ln -sf wxbase-%{ver2}-config %{_bindir}/wx-config
+fi
+
+%preun devel
+# Remove wx-config if it points to this package
+if test -f %{_bindir}/wx-config -a -f /usr/bin/md5sum ; then
+ SUM1=`md5sum %{_bindir}/wxbase-%{ver2}-config | 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
+
%files
-%defattr (644, root, root, 755)
-%doc COPYING.LIB LICENCE.txt README.txt SYMBOLS.txt
-%attr(755, -, -) %{pref}/lib/libwx_base*
+%defattr (-,root,root)
+%doc COPYING.LIB *.txt
+%{_libdir}/libwx_base*so.*
+%{_datadir}/locale/*/*/*.mo
-%files devel -f src/rpmfiles.lst
-%dir %{pref}/lib/wx
-%dir %{pref}/lib/wx/include
-%dir %{pref}/lib/wx/include/wx
-%dir %{pref}/lib/wx/include/wx/base
-%{pref}/lib/wx/include/wx/base/setup.h
-%defattr (644, root, root, 755)
-%attr(755, -, -) %{pref}/bin/wxbase-%{ver2}-config
-%attr(755, -, -) %{pref}/bin/wx-config
+%files devel
+%defattr (-,root,root)
+%dir %{_includedir}/wx
+%{_includedir}/wx/*
+%{_libdir}/libwx_base*.so
+%dir %{_libdir}/wx
+%{_libdir}/wx/*
+%{_bindir}/wxbase-%{ver2}-config