X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/934f1f0a3f6c2d7e9700b9e9905a57b76958f7f9..32485259c1342115488d219776dfebeb3d4d81b1:/wxGTK_RR.spec diff --git a/wxGTK_RR.spec b/wxGTK_RR.spec index 2dc9737cba..904896be43 100644 --- a/wxGTK_RR.spec +++ b/wxGTK_RR.spec @@ -1,5 +1,5 @@ %define _prefix /opt/gnome -%define ver 2.6.0 +%define ver 2.6.2 %define ver2 2.6 %define rel 1 @@ -82,6 +82,13 @@ wxWidgets is a free C++ library for cross-platform GUI development. With wxWidgets, you can create applications for different GUIs (GTK+, Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code. +%package -n wx-i18n +Summary: The translations for the wxWidgets library. +Group: X11/Libraries + +%description -n wx-i18n +The translations files for the wxWidgets library. + %package devel Summary: The GTK+ %{gtkver} port of the wxWidgets library Group: X11/Libraries @@ -112,7 +119,7 @@ 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 10.3. +FreeBSD, Solaris, HP-UX) and MacOS X (Carbon and Mach-0). %package -n %{wxbasename}-devel Summary: wxBase library, header files. @@ -166,9 +173,9 @@ mkdir obj-shared cd obj-shared ../configure --prefix=%{_prefix} \ %if ! %{gtk2} - --disable-gtk2 \ + --with-gtk=1 \ %else - --enable-gtk2 \ + --with-gtk=2 \ %endif %if %{unicode} --enable-unicode \ @@ -200,9 +207,9 @@ mkdir obj-static cd obj-static ../configure --prefix=%{_prefix} \ %if ! %{gtk2} - --disable-gtk2 \ + --with-gtk=1 \ %else - --enable-gtk2 \ + --with-gtk=2 \ %endif --disable-shared \ %if %{unicode} @@ -243,7 +250,6 @@ wx/confbase.h wx/config.h wx/containr.h wx/datetime.h -wx/datetime.inl wx/datstrm.h wx/dde.h wx/debug.h @@ -527,13 +533,9 @@ ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/%{wxconfiglink} /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 +%if %{unicode} + rm -f %{_bindir}/wx-config +%endif rm -f %{_bindir}/%{wxconfiglink} %post -n %{wxbasename} @@ -584,6 +586,9 @@ rm -f %{_bindir}/%{wxbaseconfiglink} %{_libdir}/libwx_%{buildname}_qa-%{ver2}.so.* %{_libdir}/libwx_%{buildname}_xrc-%{ver2}.so.* +%files -n wx-i18n +%defattr(-,root,root) +%{_datadir}/locale/*/*/* %files devel -f core-headers.files %defattr(-,root,root) @@ -619,7 +624,6 @@ rm -f %{_bindir}/%{wxbaseconfiglink} %files -n %{wxbasename} %defattr(-,root,root) %{_libdir}/libwx_base*-%{ver2}.so.* -#%{_datadir}/locale/*/*/* %files -n %{wxbasename}-devel -f wxbase-headers.paths %defattr (-,root,root)