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