]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxGTK.spec
Fixed my fix
[wxWidgets.git] / wxGTK.spec
... / ...
CommitLineData
1# Note that this is NOT a relocatable package
2%define pref /usr
3%define ver 2.1.0
4%define rel 8
5
6Summary: The GTK+ 1.2 port of the wxWindows library
7Name: wxGTK
8Version: %{ver}
9Release: %{rel}
10Copyright: wxWindows Licence
11Group: X11/Libraries
12Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxGTK-2.1.0-b8.tgz
13URL: http://wesley.informatik.uni-freiburg.de/~wxxt/docs.html
14Packager: Robert Roebling <roebling@ruf.uni-freiburg.de>
15Requires: gtk+ >= 1.2.1
16BuildRoot: /tmp/wxgtk_root
17
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
23%description
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.
27
28%prep
29%setup -n wxGTK
30./configure --prefix=%{pref} --enable-threads --disable-std_iostreams
31
32%build
33cd src && make
34
35%install
36rm -rf $RPM_BUILD_ROOT
37make prefix=$RPM_BUILD_ROOT%{pref} install
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%post
43/sbin/ldconfig
44
45%postun
46/sbin/ldconfig
47
48%files
49%defattr (644, root, root, 755)
50%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
51%dir %{pref}/include/wx
52%{pref}/include/wx/*
53%dir %{pref}/lib/wx
54%{pref}/lib/wx/*
55%dir %{pref}/share/wx
56%{pref}/share/wx/*
57%attr(755, -, -) %{pref}/lib/libwx_gtk*
58%attr(755, -, -) %{pref}/bin/wx-config
59