]>
Commit | Line | Data |
---|---|---|
e5ea3f7a RR |
1 | # Note that this is NOT a relocatable package |
2 | %define pref /usr | |
3 | %define ver 2.1.0 | |
ad9edf45 | 4 | %define rel 9 |
e5ea3f7a RR |
5 | |
6 | Summary: The GTK+ 1.2 port of the wxWindows library | |
f14a5b55 | 7 | Name: wxGTK |
e5ea3f7a RR |
8 | Version: %{ver} |
9 | Release: %{rel} | |
2a29700e | 10 | Copyright: wxWindows Licence |
f14a5b55 | 11 | Group: X11/Libraries |
ad9edf45 | 12 | Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxGTK-2.1.0-b9.tgz |
e5ea3f7a | 13 | URL: http://wesley.informatik.uni-freiburg.de/~wxxt/docs.html |
2a29700e | 14 | Packager: Robert Roebling <roebling@ruf.uni-freiburg.de> |
e5ea3f7a RR |
15 | Requires: gtk+ >= 1.2.1 |
16 | BuildRoot: /tmp/wxgtk_root | |
f14a5b55 | 17 | |
212d0bb3 VZ |
18 | # all packages providing an implementation of wxWindows library (regardless of |
19 | # the toolkit used) should provide the (virtual) wxwin package, this makes it | |
20 | # possible to require wxwin instead of requiring "wxgtk or wxmotif or wxqt..." | |
21 | Provides: wxwin | |
22 | ||
f14a5b55 | 23 | %description |
212d0bb3 VZ |
24 | wxWindows is a free C++ library for cross-platform GUI development. |
25 | With wxWindows, you can create applications for different GUIs (GTK+, | |
26 | Motif/LessTif, MS Windows, Mac) from the same source code. | |
f14a5b55 | 27 | |
641d87d8 RR |
28 | %package devel |
29 | Summary: The GTK+ 1.2 port of the wxWindows library | |
30 | Group: X11/Libraries | |
31 | Requires: wxGTK | |
32 | ||
33 | %description devel | |
34 | Header files for the wxGTK, the GTK+ 1.2 port of the wxWindows library. | |
35 | ||
f14a5b55 RR |
36 | %prep |
37 | %setup -n wxGTK | |
e70f5e13 | 38 | ./configure --prefix=%{pref} --enable-threads --disable-std_iostreams |
f14a5b55 RR |
39 | |
40 | %build | |
a6f3598d | 41 | make |
f14a5b55 RR |
42 | |
43 | %install | |
e5ea3f7a RR |
44 | rm -rf $RPM_BUILD_ROOT |
45 | make prefix=$RPM_BUILD_ROOT%{pref} install | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
f14a5b55 RR |
49 | |
50 | %post | |
51 | /sbin/ldconfig | |
52 | ||
53 | %postun | |
54 | /sbin/ldconfig | |
55 | ||
56 | %files | |
e5ea3f7a | 57 | %defattr (644, root, root, 755) |
2a29700e | 58 | %doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt |
641d87d8 RR |
59 | %dir %{pref}/share/wx |
60 | %{pref}/share/wx/* | |
61 | %attr(755, -, -) %{pref}/lib/libwx_gtk* | |
62 | ||
63 | %files devel | |
64 | %defattr (644, root, root, 755) | |
e5ea3f7a RR |
65 | %dir %{pref}/include/wx |
66 | %{pref}/include/wx/* | |
67 | %dir %{pref}/lib/wx | |
68 | %{pref}/lib/wx/* | |
e5ea3f7a | 69 | %attr(755, -, -) %{pref}/bin/wx-config |
2a29700e | 70 |