- _noautoreqdep libGL.so.1 libGLU.so.1
[packages/fox.git] / fox.spec
CommitLineData
f2bd8c0b
MK
1Summary: The FOX C++ GUI Toolkit
2Name: fox
e99e5304 3Version: 0.99.164
f2bd8c0b
MK
4Release: 1
5Copyright: GNU LGPL
6Group: X11/Libraries
7Group(de): X11/Libraries
8Group(es): X11/Bibliotecas
9Group(pl): X11/Biblioteki
10URL: http://www.cfdrc.com/FOX/fox.html
11Source0: ftp://ftp.cfdrc.com/pub/%{name}-%{version}.tar.gz
7fdb9c95 12BuildRequires: OpenGL-devel
f2bd8c0b 13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
7fdb9c95 14Requires: OpenGL
f2bd8c0b 15
7fdb9c95 16%define _noautoreqdep libGL.so.1 libGLU.so.1
f2bd8c0b
MK
17%define _prefix /usr/X11R6
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
35editor and file browser, written with FOX
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
45Header files and development documentation for the FOX library
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
55FOX static libraries
56
57%prep
58%setup -q
59
60%build
61CPPFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O0 -g} -frtti" CFLAGS="$RPM_OPT_FLAGS -frtti" \
62./configure --prefix=%{_prefix} --with-opengl=mesa --enable-release
63%{__make} GL_LIBS="-lGL -lGLU"
64
65%install
66rm -rf $RPM_BUILD_ROOT
67%{__make} install prefix=$RPM_BUILD_ROOT/%{_prefix}
68cp -p pathfinder/.libs/PathFinder $RPM_BUILD_ROOT/%{_bindir}
69mkdir $RPM_BUILD_ROOT/%{_prefix}/share
70mv $RPM_BUILD_ROOT/%{_prefix}/man $RPM_BUILD_ROOT/%{_prefix}/share
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
77%attr(755,root,root) /%{_bindir}/reswrap
e99e5304
MK
78%attr(755,root,root) /%{_libdir}/libFOX-0.99.so.164.0.0
79/%{_libdir}/libFOX-0.99.so.164
f2bd8c0b
MK
80/%{_mandir}/*/*
81%doc ADDITIONS AUTHORS BUGS INSTALL LICENSE README TRACING
82
83%files example-apps
84%defattr(644,root,root,755)
85%attr(755,root,root) /%{_bindir}/textedit
86%attr(755,root,root) /%{_bindir}/PathFinder
87
88%files devel
89%defattr(644,root,root,755)
90/%{_includedir}/fox
91/%{_libdir}/libFOX.so
92/%{_libdir}/libFOX.la
93%doc doc
94
95%files static
96%defattr(644,root,root,755)
97/%{_libdir}/libFOX.a
This page took 0.186233 seconds and 4 git commands to generate.