Dear all,

1) Sorry, there was a small error in the SPEC file, please disregard my last 
mail. Attached is the spec file.

Could you confirm that we need
GTK1.2 only configure options, without Unicode:

./configure --enable-optimise

2) Also, could you send me the needed patch for wxGTK. I lost part of my 
emails in April, I cannot find the patch.

Cheers,
Jean-Michel


# $Id: wxGTK.spec,v 1.2 2003/05/27 16:37:43 dude Exp $

Summary: The GTK+ 1.2 port of the wxWindows library.
Name: wxGTK
Version: 2.4.0
Release: fr3
License: wxWindows Licence
Group: System Environment/Libraries
Source: wxGTK-%{version}.tar.bz2
URL: http://www.wxwindows.org/
BuildRoot: %{_tmppath}/%{name}-root
# all packages providing an implementation of wxWindows library (regardless of
# the toolkit used) should provide the (virtual) wxwin package, this makes it
# possible to require wxwin instead of requiring "wxgtk or wxmotif or wxqt..."
BuildRequires: gtk+-devel >= 1.2.7, libjpeg-devel, libpng-devel, libtiff-devel
BuildRequires: zlib-devel
Provides: wxwin

%description
wxWindows is a free C++ library for cross-platform GUI development.
With wxWindows, you can create applications for different GUIs (GTK+,
Motif/LessTif, MS Windows, Mac) from the same source code.


%package devel
Summary: Develoment files of the GTK+ 1.2 port of the wxWindows library.
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
Header files for wxGTK, the GTK+ 1.2 port of the wxWindows library.


%package gl
Summary: OpenGL add-on of the the GTK+ 1.2 port of the wxWindows library.
Group: System Environment/Libraries
Requires: %{name} = %{version}

%description gl
OpenGL add-on library for wxGTK, the GTK+ 1.2 port of the wxWindows library.


%package xrc
Summary: The XML-based resource system for the wxWindows library.
Group: System Environment/Libraries
Requires: %{name} = %{version}

%description xrc
The XML-based resource system, known as XRC, allows user interface
elements such as dialogs, menu bars and toolbars, to be stored in
text files and loaded into the application at run-time.

%package stc
Summary: Styled text control add-on for wxGTK+, the GTK+ 1.2 port of the wxWindows 
library.

Group: System Environment/Libraries
Requires: %{name} = %{version}

%description stc
Styled text control add-on for wxGTK+. Based on the Scintillia project 
http://www.scintilla.org/.

%prep
%setup -q

%build
%configure --enable-optimise --with-opengl
make %{?_smp_mflags}

pushd contrib/src/xrc
        make %{?_smp_mflags}
popd

pushd contrib/src/stc
        make %{?_smp_mflags}
popd

%install
rm -rf %{buildroot}
%makeinstall
%find_lang wxstd

pushd contrib/src/xrc
        %makeinstall
popd

pushd contrib/src/stc
        %makeinstall
popd

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%post gl -p /sbin/ldconfig

%postun gl -p /sbin/ldconfig

%post xrc -p /sbin/ldconfig

%postun xrc -p /sbin/ldconfig

%post stc -p /sbin/ldconfig

%postun stc -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files -f wxstd.lang
%defattr(-, root, root)
%doc COPYING.LIB *.txt
%{_libdir}/libwx_gtk-*
%{_datadir}/wx

%files devel
%defattr(-, root, root)
%{_bindir}/*-config
%{_includedir}/wx
%{_libdir}/wx
%{_datadir}/aclocal/*.m4

%files gl
%defattr(-, root, root)
%{_libdir}/libwx_gtk_gl-*

%files xrc
%defattr(-, root, root)
%{_libdir}/libwx_gtk_xrc-*

%files stc
%defattr(-, root, root)
%{_libdir}/libwx_gtk_stc-*

%changelog
* Tue May 27 2003 Matthias Saou <[EMAIL PROTECTED]>
- Added xrc sub-package thanks to Bruno Postle.

* Mon Mar 31 2003 Matthias Saou <[EMAIL PROTECTED]>
- Rebuilt for Red Hat Linux 9.

* Sun Mar 23 2003 Matthias Saou <[EMAIL PROTECTED]>
- Update to 2.4.0

* Sun Aug  4 2002 Matthias Saou <[EMAIL PROTECTED]>
- Rebuilt without the NVIDIA_GLX package to fix dependencies.

* Thu Aug  1 2002 Matthias Saou <[EMAIL PROTECTED]>
- Major spec file cleanup.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to