]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxMotif.spec
removed unused files so that makefile VPATH works under Mac OS X
[wxWidgets.git] / wxMotif.spec
... / ...
CommitLineData
1# RPM .spec file for wxMotif. Based on the .spec file for wxGTK
2# (c) by Robert Roebling. Modifications (c) 2000/03 by Robert Fendt.
3
4# Note that this is NOT a relocatable package
5%define pref /usr
6%define ver 2.1.16
7%define rel 0
8
9Summary: The Motif/Lesstif port of the wxWindows library
10Name: wxMotif
11Version: %{ver}
12Release: %{rel}
13Copyright: wxWindows Licence
14Group: X11/Libraries
15Source: wxMotif-%{ver}.tgz
16URL: http://www.wxwindows.org
17Packager: Robert Fendt <rfendt@myokay.net>
18BuildRoot: /tmp/wxmotif_root
19
20# all packages providing an implementation of wxWindows library (regardless of
21# the toolkit used) should provide the (virtual) wxwin package, this makes it
22# possible to require wxwin instead of requiring "wxgtk or wxmotif or wxqt..."
23Provides: wxwin
24
25%description
26wxWindows is a free C++ library for cross-platform GUI development.
27With wxWindows, you can create applications for different GUIs (GTK+,
28Motif/LessTif, MS Windows, Mac) from the same source code.
29
30%package devel
31Summary: The Motif/Lesstif port of the wxWindows library
32Group: X11/Libraries
33Requires: wxMotif
34
35%description devel
36Header files for wxMotif, the Motif/Lesstif port of the wxWindows library.
37
38%package gl
39Summary: The Motif/Lesstif port of the wxWindows library, OpenGl add-on.
40Group: X11/Libraries
41Requires: wxMotif
42
43%description gl
44OpenGl add-on library for wxMotif, the Motif/Lesstif port of the wxWindows library.
45
46%prep
47%setup -n wxMotif
48./configure --prefix=%{pref} --enable-burnt_name --with-odbc --with-opengl --with-motif
49
50%build
51if [ "$SMP" != "" ]; then
52 export MAKE="make -j$SMP"
53else
54 export MAKE="make"
55fi
56$MAKE
57
58%install
59rm -rf $RPM_BUILD_ROOT
60make prefix=$RPM_BUILD_ROOT%{pref} install
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post
66/sbin/ldconfig
67
68%postun
69/sbin/ldconfig
70
71%files
72%defattr (644, root, root, 755)
73%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
74%dir %{pref}/share/wx
75%{pref}/share/wx/*
76%attr(755, -, -) %{pref}/lib/libwx_motif.*
77%attr(755, -, -) %{pref}/lib/libwx_motif-2.1.*
78
79%files devel
80%defattr (644, root, root, 755)
81%dir %{pref}/include/wx
82%{pref}/include/wx/*
83%dir %{pref}/lib/wx
84%{pref}/lib/wx/*
85%attr(755, -, -) %{pref}/bin/wxmotif-config
86%attr(755, -, -) %{pref}/bin/wx-config
87
88%files gl
89%attr(755, -, -) %{pref}/lib/libwx_motif_gl*