- updated to 0.99.172
[packages/fox.git] / fox.spec
CommitLineData
f2bd8c0b
MK
1Summary: The FOX C++ GUI Toolkit
2Name: fox
cfb9ace5 3Version: 0.99.172
f2bd8c0b 4Release: 1
30dfb622 5License: LGPL
f2bd8c0b
MK
6Group: X11/Libraries
7Group(de): X11/Libraries
8Group(es): X11/Bibliotecas
9Group(pl): X11/Biblioteki
6e9524a7 10Source0: ftp://ftp.cfdrc.com/pub/FOX/%{name}-%{version}.tar.gz
30dfb622 11BuildRequires: OpenGL-devel
12URL: http://www.cfdrc.com/FOX/fox.html
7fdb9c95 13Requires: OpenGL
30dfb622 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f2bd8c0b 15
7fdb9c95 16%define _noautoreqdep libGL.so.1 libGLU.so.1
30dfb622 17%define _prefix /usr/X11R6
f2bd8c0b
MK
18
19%description
20FOX is a C++-Based Library for Graphical User Interface Development
21FOX supports modern GUI features, such as Drag-and-Drop, Tooltips, Tab
22Books, Tree Lists, Icons, Multiple-Document Interfaces (MDI), timers,
23idle processing, automatic GUI updating, as well as OpenGL/Mesa for 3D
24graphics. Subclassing of basic FOX widgets allows for easy extension
25beyond the built-in widgets by application writers.
26
27%package example-apps
28Summary: FOX example applications
29Group: X11/Applications
30Group(de): X11/Applikationen
31Group(pl): X11/Aplikacje
32Requires: %{name} = %{version}
33
34%description example-apps
30dfb622 35Editor and file browser, written with FOX.
f2bd8c0b
MK
36
37%package devel
38Summary: Header files and development documentation for the FOX library
39Group: X11/Development/Libraries
40Group(de): X11/Entwicklung/Libraries
41Group(pl): X11/Programowanie/Biblioteki
42Requires: %{name} = %{version}
43
44%description devel
30dfb622 45Header files and development documentation for the FOX library.
f2bd8c0b
MK
46
47%package static
48Summary: FOX static libraries
49Group: X11/Development/Libraries
50Group(de): X11/Entwicklung/Libraries
51Group(pl): X11/Programowanie/Biblioteki
52Requires: %{name} = %{version}
53
54%description static
30dfb622 55FOX static libraries.
f2bd8c0b
MK
56
57%prep
58%setup -q
59
60%build
1665779a
JB
61CPPFLAGS="%{rpmcflags} -frtti" \
62#CFLAGS="%{rpmcflags} -frtti" \
30dfb622 63%configure \
64 --with-opengl=mesa \
65 --enable-release
f2bd8c0b
MK
66%{__make} GL_LIBS="-lGL -lGLU"
67
68%install
69rm -rf $RPM_BUILD_ROOT
30dfb622 70install -d $RPM_BUILD_ROOT/%{_datadir}
71
72%{__make} install DESTDIR=$RPM_BUILD_ROOT
73
74cp -p pathfinder/.libs/PathFinder $RPM_BUILD_ROOT%{_bindir}
75
76gzip -9nf ADDITIONS AUTHORS BUGS README TRACING
77
78%post -p /sbin/ldconfig
79%postun -p /sbin/ldconfig
f2bd8c0b
MK
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files
85%defattr(644,root,root,755)
30dfb622 86%attr(755,root,root) %{_bindir}/reswrap
87%attr(755,root,root) %{_libdir}/lib*.so.*.*
88%{_mandir}/*/*
f2bd8c0b
MK
89
90%files example-apps
91%defattr(644,root,root,755)
92%attr(755,root,root) /%{_bindir}/textedit
93%attr(755,root,root) /%{_bindir}/PathFinder
94
95%files devel
96%defattr(644,root,root,755)
30dfb622 97%doc *.gz doc
98%attr(755,root,root) %{_libdir}/lib*.so
99%attr(755,root,root) %{_libdir}/lib*.la
100%{_includedir}/fox
f2bd8c0b
MK
101
102%files static
103%defattr(644,root,root,755)
30dfb622 104%{_libdir}/lib*.a
This page took 0.134984 seconds and 4 git commands to generate.