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