- spec based on version included in tarball,
[packages/fox.git] / fox.spec
CommitLineData
f2bd8c0b
MK
1Summary: The FOX C++ GUI Toolkit
2Name: fox
3Version: 0.99.161
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
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13Requires: Mesa
14
15%define _prefix /usr/X11R6
16
17%description
18FOX is a C++-Based Library for Graphical User Interface Development
19FOX supports modern GUI features, such as Drag-and-Drop, Tooltips, Tab
20Books, Tree Lists, Icons, Multiple-Document Interfaces (MDI), timers,
21idle processing, automatic GUI updating, as well as OpenGL/Mesa for 3D
22graphics. Subclassing of basic FOX widgets allows for easy extension
23beyond the built-in widgets by application writers.
24
25%package example-apps
26Summary: FOX example applications
27Group: X11/Applications
28Group(de): X11/Applikationen
29Group(pl): X11/Aplikacje
30Requires: %{name} = %{version}
31
32%description example-apps
33editor and file browser, written with FOX
34
35%package devel
36Summary: Header files and development documentation for the FOX library
37Group: X11/Development/Libraries
38Group(de): X11/Entwicklung/Libraries
39Group(pl): X11/Programowanie/Biblioteki
40Requires: %{name} = %{version}
41
42%description devel
43Header files and development documentation for the FOX library
44
45%package static
46Summary: FOX static libraries
47Group: X11/Development/Libraries
48Group(de): X11/Entwicklung/Libraries
49Group(pl): X11/Programowanie/Biblioteki
50Requires: %{name} = %{version}
51
52%description static
53FOX static libraries
54
55%prep
56%setup -q
57
58%build
59CPPFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O0 -g} -frtti" CFLAGS="$RPM_OPT_FLAGS -frtti" \
60./configure --prefix=%{_prefix} --with-opengl=mesa --enable-release
61%{__make} GL_LIBS="-lGL -lGLU"
62
63%install
64rm -rf $RPM_BUILD_ROOT
65%{__make} install prefix=$RPM_BUILD_ROOT/%{_prefix}
66cp -p pathfinder/.libs/PathFinder $RPM_BUILD_ROOT/%{_bindir}
67mkdir $RPM_BUILD_ROOT/%{_prefix}/share
68mv $RPM_BUILD_ROOT/%{_prefix}/man $RPM_BUILD_ROOT/%{_prefix}/share
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
74%defattr(644,root,root,755)
75%attr(755,root,root) /%{_bindir}/reswrap
76%attr(755,root,root) /%{_libdir}/libFOX-0.99.so.161.0.0
77/%{_libdir}/libFOX-0.99.so.161
78/%{_mandir}/*/*
79%doc ADDITIONS AUTHORS BUGS INSTALL LICENSE README TRACING
80
81%files example-apps
82%defattr(644,root,root,755)
83%attr(755,root,root) /%{_bindir}/textedit
84%attr(755,root,root) /%{_bindir}/PathFinder
85
86%files devel
87%defattr(644,root,root,755)
88/%{_includedir}/fox
89/%{_libdir}/libFOX.so
90/%{_libdir}/libFOX.la
91%doc doc
92
93%files static
94%defattr(644,root,root,755)
95/%{_libdir}/libFOX.a
This page took 0.120243 seconds and 4 git commands to generate.