]> git.saurik.com Git - wxWidgets.git/blame - wxWINE.spec
Changed my mind and used FNSTRINGCAST instead
[wxWidgets.git] / wxWINE.spec
CommitLineData
f53561f1
RR
1# Note that this is NOT a relocatable package
2%define pref /usr
3%define ver 2.1.0
0544bc0a 4%define rel 8
f53561f1
RR
5
6Summary: The WINE port of the wxWindows library
7Name: wxWINE
8Version: %{ver}
9Release: %{rel}
10Copyright: wxWindows Licence
11Group: X11/Libraries
a622c152 12Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxWINE-2.1.0-b7.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
32cd src && make
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
50%dir %{pref}/include/wx
51%{pref}/include/wx/*
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
58