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