]> git.saurik.com Git - wxWidgets.git/blame - wxGTK.spec
two more bug notes
[wxWidgets.git] / wxGTK.spec
CommitLineData
e5ea3f7a
RR
1# Note that this is NOT a relocatable package
2%define pref /usr
3%define ver 2.1.0
31276cb5 4%define rel 4
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
31276cb5 12Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxGTK-2.1.0-b4.tgz
e5ea3f7a 13URL: http://wesley.informatik.uni-freiburg.de/~wxxt/docs.html
2a29700e 14Packager: Robert Roebling <roebling@ruf.uni-freiburg.de>
e5ea3f7a
RR
15Requires: gtk+ >= 1.2.1
16BuildRoot: /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..."
21Provides: wxwin
22
f14a5b55 23%description
212d0bb3
VZ
24wxWindows is a free C++ library for cross-platform GUI development.
25With wxWindows, you can create applications for different GUIs (GTK+,
26Motif/LessTif, MS Windows, Mac) from the same source code.
f14a5b55
RR
27
28%prep
29%setup -n wxGTK
7f3b7908 30./configure --prefix=%{pref} --with-threads
f14a5b55
RR
31
32%build
2a29700e 33make
f14a5b55
RR
34
35%install
e5ea3f7a
RR
36rm -rf $RPM_BUILD_ROOT
37make prefix=$RPM_BUILD_ROOT%{pref} install
38
39%clean
40rm -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/*
55%attr(755, -, -) %{pref}/lib/libwx_gtk2.so
56%attr(755, -, -) %{pref}/lib/libwx_gtk2.so.1
57%attr(755, -, -) %{pref}/lib/libwx_gtk2.so.1.0
58%attr(755, -, -) %{pref}/bin/wx-config
2a29700e 59