]> git.pld-linux.org Git - packages/fox.git/blobdiff - fox.spec
- added rebuilding configuration files
[packages/fox.git] / fox.spec
index 9165f2c21ca16d316f98a123d2f8ec45ba33fbfa..bf0fdfb5aedaaf1c2909e33994bba76b6c155084 100644 (file)
--- a/fox.spec
+++ b/fox.spec
@@ -1,13 +1,13 @@
 Summary:       The FOX C++ GUI Toolkit
 Name:          fox
-Version:       0.99.167
+Version:       0.99.174
 Release:       1
 License:       LGPL
 Group:         X11/Libraries
 Group(de):     X11/Libraries
 Group(es):     X11/Bibliotecas
 Group(pl):     X11/Biblioteki
-Source0:       ftp://ftp.cfdrc.com/pub/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.cfdrc.com/pub/FOX/%{name}-%{version}.tar.gz
 BuildRequires: OpenGL-devel
 URL:           http://www.cfdrc.com/FOX/fox.html
 Requires:      OpenGL
@@ -15,6 +15,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _noautoreqdep   libGL.so.1 libGLU.so.1
 %define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %description
 FOX is a C++-Based Library for Graphical User Interface Development
@@ -24,14 +25,15 @@ 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
+%package progs
 Summary:       FOX example applications
 Group:         X11/Applications
 Group(de):     X11/Applikationen
 Group(pl):     X11/Aplikacje
 Requires:      %{name} = %{version}
+Obsoletes:     %{name}-example-apps
 
-%description example-apps
+%description progs
 Editor and file browser, written with FOX.
 
 %package devel
@@ -58,8 +60,12 @@ FOX static libraries.
 %setup -q
 
 %build
-CPPFLAGS="%{!?debug:$RPM_OPT_FLAGS -frtti}%{?debug:-O0 -g}" \
-#CFLAGS="%{!?debug:$RPM_OPT_FLAGS -frtti}%{?debug:-O0 -g}" \
+libtoolize -c -f
+aclocal
+automake -a -c
+autoconf
+CPPFLAGS="%{rpmcflags} -frtti" \
+#CFLAGS="%{rpmcflags} -frtti" \
 %configure \
        --with-opengl=mesa \
        --enable-release
@@ -87,10 +93,11 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 %{_mandir}/*/*
 
-%files example-apps
+%files progs
 %defattr(644,root,root,755)
 %attr(755,root,root) /%{_bindir}/textedit
 %attr(755,root,root) /%{_bindir}/PathFinder
+%{_mandir}/man1/*
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.111384 seconds and 4 git commands to generate.