Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:FOX
fox14
fox14.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fox14.spec of Package fox14
# # spec file for package fox14 (Version 1.4.35) # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: fox14 Version: 1.4.35 Release: 1 License: LGPL-2.1+ with modifications Summary: Shared Libraries for the FOX Toolkit Url: http://www.fox-toolkit.org/ Group: Development/Languages/C and C++ Source: fox-%{version}.tar.bz2 # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: fox-%{version}_configure_x11_extensions_header.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: fox-%{version}_AM_CFLAGS.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch2: fox-%{version}_configure_pkg_config_xft.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch3: fox-1.4.35-am111.patch Patch4: fox14-remove_date_from_reswrap.patch Obsoletes: fox < %{version} Provides: fox = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build # # SUSE Requires # %if 0%{?suse_version} BuildRequires: autoconf Buildrequires: automake BuildRequires: cups-devel BuildRequires: freetype2-devel BuildRequires: gcc-c++ %if 0%{?suse_version} > 01230 BuildRequires: glu-devel %else BuildRequires: Mesa-devel %endif BuildRequires: gzip BuildRequires: libtool BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: pkgconfig BuildRequires: xorg-x11-Mesa-devel BuildRequires: xorg-x11-devel BuildRequires: zlib-devel %endif # # Mandriva Requires # %if 0%{?mandriva_version} BuildRequires: cups BuildRequires: cups-common BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: libmesaglu-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: libxext-devel BuildRequires: libxft-devel BuildRequires: pkgconfig BuildRequires: xorg-x11 BuildRequires: zlib-devel %endif # # Fedora Requires # %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: cups-devel BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: libGLU-devel BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: pkgconfig BuildRequires: xorg-x11-devel BuildRequires: zlib-devel %endif %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 devel Summary: Development Files and Documentation for the FOX GUI Toolkit Group: Development/Languages/C and C++ Requires: %{name} = %{version} Obsoletes: fox-devel < %{version} Provides: fox-devel = %{version} %description devel FOX is a C++-based library for graphical user interface development. The devel package contains the files necessary to develop applications using the FOX GUI toolkit: the header files, the reswrap resource compiler, manual pages, and HTML documentation. %package example-apps Summary: Example applications for the FOX GUI toolkit Group: Development/Languages/C and C++ Requires: %{name} Obsoletes: fox-example-apps < %{version} Provides: fox-example-apps = %{version} Conflicts: fox16-example-apps %description example-apps The example-apps package contains executables for several FOX-based applications, including Adie, calculator, shutterbug and PathFinder. %prep %setup -q -n fox-%{version} %patch0 -p0 %patch1 -p0 %patch2 -p0 %patch3 -p0 %patch4 -p0 %build autoreconf -fi CXXFLAGS="%{optflags} -DNDEBUG -Wuninitialized -fno-strict-aliasing" \ %configure \ --enable-threadsafe \ --enable-cups \ --with-xft \ --with-xim \ --with-xcursor \ --with-xrandr \ --with-opengl \ --with-shape \ --with-xshm \ %if 0%{?mandriva_version} --with-opengl="no" \ %endif --without-profiling make %{?_smp_mflags} %install %make_install mv %{buildroot}%{_datadir}/doc/fox-* rpmdocs # necessary if you want to install the old AND the new version mv %{buildroot}%{_bindir}/fox-config %{buildroot}%{_bindir}/fox14-config mv %{buildroot}%{_bindir}/reswrap %{buildroot}%{_bindir}/reswrap14 mv %{buildroot}%{_mandir}/man1/reswrap.1 %{buildroot}%{_mandir}/man1/reswrap14.1 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel test -f %{_bindir}/fox-config || ln -s fox14-config %{_bindir}/fox-config test -f %{_bindir}/reswrap || ln -s reswrap14 %{_bindir}/reswrap test -f %{_mandir}/man1/reswrap.1.gz || ln -s reswrap14.1.gz %{_mandir}/man1/reswrap.1.gz %clean rm -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc ADDITIONS AUTHORS LICENSE* README TRACING %{_libdir}/libCHART-*.so.* %{_libdir}/libFOX-*.so.* %files devel %defattr(-,root,root) %doc rpmdocs/* %{_mandir}/man1/reswrap14* %{_bindir}/fox14-config %{_bindir}/reswrap14 %{_includedir}/fox-*/ %{_libdir}/libCHART-*.a %{_libdir}/libFOX-*.a %{_libdir}/libCHART-*.so %{_libdir}/libFOX-*.so %exclude %{_libdir}/*.la %files example-apps %defattr(-,root,root) %{_bindir}/Adie.stx %{_bindir}/adie %{_bindir}/PathFinder %{_bindir}/calculator %{_bindir}/shutterbug %{_mandir}/man1/adie* %{_mandir}/man1/calculator* %{_mandir}/man1/PathFinder* %{_mandir}/man1/shutterbug* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor