]> git.saurik.com Git - wxWidgets.git/blame - wxMotif.spec
Solaris fixes: -lnsl, -lXext, -lsocket added if needed
[wxWidgets.git] / wxMotif.spec
CommitLineData
a622c152
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
a622c152
RR
5
6Summary: The Motif port of the wxWindows library
7Name: wxMotif
8Version: %{ver}
9Release: %{rel}
10Copyright: wxWindows Licence
11Group: X11/Libraries
e70f5e13 12Source: ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/wxMotif-2.1.0-b8.tgz
a622c152
RR
13URL: http://wesley.informatik.uni-freiburg.de/~wxxt/docs.html
14Packager: Robert Roebling <roebling@ruf.uni-freiburg.de>
15BuildRoot: /tmp/wxmotif_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 wxMotif
e70f5e13 29./configure --prefix=%{pref} --disable-threads --disable-std_iostreams
a622c152
RR
30
31%build
a6f3598d 32make
a622c152
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
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_motif*
57%attr(755, -, -) %{pref}/bin/wx-config
58