]> git.saurik.com Git - wxWidgets.git/blame - wxGTK.spec
Replaced true/false with TRUE/FALSE
[wxWidgets.git] / wxGTK.spec
CommitLineData
e5ea3f7a
RR
1# Note that this is NOT a relocatable package
2%define pref /usr
f6bcfd97 3%define ver 2.2.1
d5a07b9e 4%define rel 0
e5ea3f7a
RR
5
6Summary: The GTK+ 1.2 port of the wxWindows library
f14a5b55 7Name: wxGTK
e5ea3f7a
RR
8Version: %{ver}
9Release: %{rel}
2a29700e 10Copyright: wxWindows Licence
f14a5b55 11Group: X11/Libraries
40903af7 12Source: wxGTK-%{ver}.tgz
f6bcfd97
BP
13URL: http://wxwindows.org
14Packager: Robert Roebling <robert@roebling.de>
f14a5b55 15
212d0bb3
VZ
16# all packages providing an implementation of wxWindows library (regardless of
17# the toolkit used) should provide the (virtual) wxwin package, this makes it
18# possible to require wxwin instead of requiring "wxgtk or wxmotif or wxqt..."
19Provides: wxwin
20
f14a5b55 21%description
212d0bb3
VZ
22wxWindows is a free C++ library for cross-platform GUI development.
23With wxWindows, you can create applications for different GUIs (GTK+,
24Motif/LessTif, MS Windows, Mac) from the same source code.
f14a5b55 25
641d87d8
RR
26%package devel
27Summary: The GTK+ 1.2 port of the wxWindows library
28Group: X11/Libraries
29Requires: wxGTK
30
31%description devel
c661ecca
RR
32Header files for wxGTK, the GTK+ 1.2 port of the wxWindows library.
33
34%package gl
35Summary: The GTK+ 1.2 port of the wxWindows library, OpenGl add-on.
36Group: X11/Libraries
37Requires: wxGTK
38
39%description gl
40903af7 40OpenGl add-on library for wxGTK, the GTK+ 1.2 port of the wxWindows library.
641d87d8 41
f14a5b55
RR
42%prep
43%setup -n wxGTK
40903af7 44./configure --prefix=%{pref} --enable-burnt_name --with-odbc --with-opengl
f14a5b55
RR
45
46%build
103aab26
RR
47if [ "$SMP" != "" ]; then
48 export MAKE="make -j$SMP"
49else
50 export MAKE="make"
51fi
52$MAKE
f14a5b55
RR
53
54%install
f6bcfd97 55make install
f14a5b55
RR
56
57%post
58/sbin/ldconfig
59
60%postun
61/sbin/ldconfig
62
63%files
e5ea3f7a 64%defattr (644, root, root, 755)
2a29700e 65%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
641d87d8
RR
66%dir %{pref}/share/wx
67%{pref}/share/wx/*
ea1f75db 68%attr(755, -, -) %{pref}/lib/libwx_gtk.*
f6bcfd97 69%attr(755, -, -) %{pref}/lib/libwx_gtk-2.2.*
641d87d8
RR
70
71%files devel
72%defattr (644, root, root, 755)
e5ea3f7a
RR
73%dir %{pref}/include/wx
74%{pref}/include/wx/*
75%dir %{pref}/lib/wx
76%{pref}/lib/wx/*
b0e282b3 77%attr(755, -, -) %{pref}/bin/wxgtk-config
e5ea3f7a 78%attr(755, -, -) %{pref}/bin/wx-config
2a29700e 79
c661ecca
RR
80%files gl
81%attr(755, -, -) %{pref}/lib/libwx_gtk_gl*