- added rebuilding configuration files
[packages/fox.git] / fox.spec
CommitLineData
f2bd8c0b
MK
1Summary: The FOX C++ GUI Toolkit
2Name: fox
aa032bef 3Version: 0.99.174
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
75abd9d7 18%define _mandir %{_prefix}/man
f2bd8c0b
MK
19
20%description
21FOX is a C++-Based Library for Graphical User Interface Development
22FOX supports modern GUI features, such as Drag-and-Drop, Tooltips, Tab
23Books, Tree Lists, Icons, Multiple-Document Interfaces (MDI), timers,
24idle processing, automatic GUI updating, as well as OpenGL/Mesa for 3D
25graphics. Subclassing of basic FOX widgets allows for easy extension
26beyond the built-in widgets by application writers.
27
75abd9d7 28%package progs
f2bd8c0b
MK
29Summary: FOX example applications
30Group: X11/Applications
31Group(de): X11/Applikationen
32Group(pl): X11/Aplikacje
33Requires: %{name} = %{version}
75abd9d7 34Obsoletes: %{name}-example-apps
f2bd8c0b 35
75abd9d7 36%description progs
30dfb622 37Editor and file browser, written with FOX.
f2bd8c0b
MK
38
39%package devel
40Summary: Header files and development documentation for the FOX library
41Group: X11/Development/Libraries
42Group(de): X11/Entwicklung/Libraries
43Group(pl): X11/Programowanie/Biblioteki
44Requires: %{name} = %{version}
45
46%description devel
30dfb622 47Header files and development documentation for the FOX library.
f2bd8c0b
MK
48
49%package static
50Summary: FOX static libraries
51Group: X11/Development/Libraries
52Group(de): X11/Entwicklung/Libraries
53Group(pl): X11/Programowanie/Biblioteki
54Requires: %{name} = %{version}
55
56%description static
30dfb622 57FOX static libraries.
f2bd8c0b
MK
58
59%prep
60%setup -q
61
62%build
7b594954 63libtoolize -c -f
64aclocal
65automake -a -c
66autoconf
1665779a
JB
67CPPFLAGS="%{rpmcflags} -frtti" \
68#CFLAGS="%{rpmcflags} -frtti" \
30dfb622 69%configure \
70 --with-opengl=mesa \
71 --enable-release
f2bd8c0b
MK
72%{__make} GL_LIBS="-lGL -lGLU"
73
74%install
75rm -rf $RPM_BUILD_ROOT
30dfb622 76install -d $RPM_BUILD_ROOT/%{_datadir}
77
78%{__make} install DESTDIR=$RPM_BUILD_ROOT
79
80cp -p pathfinder/.libs/PathFinder $RPM_BUILD_ROOT%{_bindir}
81
82gzip -9nf ADDITIONS AUTHORS BUGS README TRACING
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
f2bd8c0b
MK
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%files
91%defattr(644,root,root,755)
30dfb622 92%attr(755,root,root) %{_bindir}/reswrap
93%attr(755,root,root) %{_libdir}/lib*.so.*.*
94%{_mandir}/*/*
f2bd8c0b 95
75abd9d7 96%files progs
f2bd8c0b
MK
97%defattr(644,root,root,755)
98%attr(755,root,root) /%{_bindir}/textedit
99%attr(755,root,root) /%{_bindir}/PathFinder
75abd9d7 100%{_mandir}/man1/*
f2bd8c0b
MK
101
102%files devel
103%defattr(644,root,root,755)
30dfb622 104%doc *.gz doc
105%attr(755,root,root) %{_libdir}/lib*.so
106%attr(755,root,root) %{_libdir}/lib*.la
107%{_includedir}/fox
f2bd8c0b
MK
108
109%files static
110%defattr(644,root,root,755)
30dfb622 111%{_libdir}/lib*.a
This page took 0.095749 seconds and 4 git commands to generate.