]>
Commit | Line | Data |
---|---|---|
e5ea3f7a RR |
1 | # Note that this is NOT a relocatable package |
2 | %define pref /usr | |
3 | %define ver 2.1.0 | |
a622c152 | 4 | %define rel 7 |
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 |
a622c152 | 12 | Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxGTK-2.1.0-b7.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 RR |
27 | |
28 | %prep | |
29 | %setup -n wxGTK | |
77c85c2b | 30 | ./configure --prefix=%{pref} --enable-threads |
f14a5b55 RR |
31 | |
32 | %build | |
77c85c2b | 33 | cd src && make |
f14a5b55 RR |
34 | |
35 | %install | |
e5ea3f7a RR |
36 | rm -rf $RPM_BUILD_ROOT |
37 | make prefix=$RPM_BUILD_ROOT%{pref} install | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
f14a5b55 RR |
41 | |
42 | %post | |
43 | /sbin/ldconfig | |
44 | ||
45 | %postun | |
46 | /sbin/ldconfig | |
47 | ||
48 | %files | |
e5ea3f7a | 49 | %defattr (644, root, root, 755) |
2a29700e | 50 | %doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt |
e5ea3f7a RR |
51 | %dir %{pref}/include/wx |
52 | %{pref}/include/wx/* | |
53 | %dir %{pref}/lib/wx | |
54 | %{pref}/lib/wx/* | |
385bcb35 RR |
55 | %dir %{pref}/share/wx |
56 | %{pref}/share/wx/* | |
8b08d100 | 57 | %attr(755, -, -) %{pref}/lib/libwx_gtk* |
e5ea3f7a | 58 | %attr(755, -, -) %{pref}/bin/wx-config |
2a29700e | 59 |