]> git.saurik.com Git - wxWidgets.git/blame - wxGTK.spec
small underscores fix for GTK 1.0
[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
ad9edf45 4%define rel 9
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
ad9edf45 12Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxGTK-2.1.0-b9.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 27
641d87d8
RR
28%package devel
29Summary: The GTK+ 1.2 port of the wxWindows library
30Group: X11/Libraries
31Requires: wxGTK
32
33%description devel
34Header 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 41make
f14a5b55
RR
42
43%install
e5ea3f7a
RR
44rm -rf $RPM_BUILD_ROOT
45make prefix=$RPM_BUILD_ROOT%{pref} install
46
47%clean
48rm -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