]> git.saurik.com Git - wxWidgets.git/blame - wxWINE.spec
don't use -single_module together with -bundle under Darwin (ld gives an error for...
[wxWidgets.git] / wxWINE.spec
CommitLineData
f53561f1
RR
1# Note that this is NOT a relocatable package
2%define pref /usr
f02fe2ef 3%define ver 2.6.2
df050bd9 4%define rel 1
f53561f1
RR
5
6Summary: The WINE port of the wxWindows library
7Name: wxWINE
8Version: %{ver}
9Release: %{rel}
10Copyright: wxWindows Licence
11Group: X11/Libraries
e70f5e13 12Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxWINE-2.1.0-b8.tgz
f53561f1
RR
13URL: http://wesley.informatik.uni-freiburg.de/~wxxt/docs.html
14Packager: Robert Roebling <roebling@ruf.uni-freiburg.de>
15BuildRoot: /tmp/wxwine_root
16
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
22%description
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.
26
27%prep
28%setup -n wxWINE
29./configure --prefix=%{pref}
30
31%build
a6f3598d 32make
f53561f1
RR
33
34%install
35rm -rf $RPM_BUILD_ROOT
36make prefix=$RPM_BUILD_ROOT%{pref} install
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%post
42/sbin/ldconfig
43
44%postun
45/sbin/ldconfig
46
47%files
48%defattr (644, root, root, 755)
49%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
68b47b2f
VS
50%dir %{pref}/include/wx-*
51%{pref}/include/wx-*/*
f53561f1
RR
52%dir %{pref}/lib/wx
53%{pref}/lib/wx/*
54%dir %{pref}/share/wx
55%{pref}/share/wx/*
56%attr(755, -, -) %{pref}/lib/libwx_msw*
57%attr(755, -, -) %{pref}/bin/wx-config
68b47b2f 58: