File: fox.spec

package info (click to toggle)
fox0.99 0.99.175-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 9,300 kB
  • ctags: 12,760
  • sloc: cpp: 90,453; sh: 7,717; ansic: 1,903; makefile: 850; perl: 32
file content (78 lines) | stat: -rw-r--r-- 1,922 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Summary: The FOX C++ GUI Toolkit
Name: fox
Version: 0.99.175
Release: 3
Copyright: GNU LGPL
Group: System Environment/Libraries
URL: http://www.cfdrc.com/FOX/fox.html
Source0: ftp://ftp.cfdrc.com/pub/fox-0.99.175.tar.gz
BuildRoot: %{_tmppath}/%{name}-buildroot
Requires: Mesa

%define prefix %{_prefix}

%description
FOX is a C++-Based Library for Graphical User Interface Development
FOX supports modern GUI features, such as Drag-and-Drop, Tooltips, Tab
Books, Tree Lists, Icons, Multiple-Document Interfaces (MDI), timers,
idle processing, automatic GUI updating, as well as OpenGL/Mesa for
3D graphics.  Subclassing of basic FOX widgets allows for easy
extension beyond the built-in widgets by application writers.

%package example-apps
Summary: FOX example applications
Group: X11/Applications

%description example-apps
editor and file browser, written with FOX

%prep
%setup -q

%build
CPPFLAGS="$RPM_OPT_FLAGS -frtti" CFLAGS="$RPM_OPT_FLAGS -frtti" \
./configure --prefix=%{prefix} --with-opengl=mesa --enable-release
make GL_LIBS="-lGL -lGLU"

%install
rm -rf $RPM_BUILD_ROOT
make install prefix=$RPM_BUILD_ROOT/usr
cp -p pathfinder/PathFinder $RPM_BUILD_ROOT/usr/bin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/reswrap
/usr/include/fox
/usr/lib/*
/usr/man/*/*
%doc doc
%doc ADDITIONS AUTHORS BUGS INSTALL LICENSE README TRACING

%files example-apps
%defattr(-,root,root)
/usr/bin/textedit
/usr/bin/PathFinder

%changelog
* Tue Oct 10 2000 David Sugar <dyfet@ostel.com> 0.99.132-3
- rtti forced for rpm build specs that use -fno-rtti.

* Fri Mar 24 2000 Jos Romildo Malaquias <romildo@iceb.ufpo.b> 0.99.122-1
- new version

* Fri Mar 24 2000 Jos Romildo Malaquias <romildo@iceb.ufpo.b> 0.99.119-1
- new version

* Sun Mar 05 2000 Jos Romildo Malaquias <romildo@iceb.ufpo.b>
- some adaptations

* Tue Nov 10 1998 Ren van Paassen <M.M.vanPaassen@lr.tudelft.nl>
- initial package