Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:derselbst
sfml
sfml.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sfml.spec of Package sfml
# # spec file for package sfml # # 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: libsfml1_6 Version: 1.6 Release: 0 Summary: SFML library License: COPYRIGHT Group: Development/Libraries/C and C++ Source: sfml-%version.tar.gz Patch0: sfml-1.6-nochm.patch Patch1: sfml-1.6-cflags.patch Patch2: sfml-1.6-gcc.patch Patch3: sfml-1.6-system_libs.patch Patch4: sfml-1.6-underlinking.patch BuildRequires: Mesa-devel BuildRequires: doxygen BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: glew-devel BuildRequires: libSOIL-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libsndfile-devel BuildRequires: libtool BuildRequires: openal-devel BuildRequires: xorg-x11-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description SFML is a portable and easy to use multimedia API written in C++. You can see it as a modern, object-oriented alternative to SDL. SFML is composed of several packages to perfectly suit your needs. You can use SFML as a minimal windowing system to interface with OpenGL, or as a fully-featured multimedia library for building games or interactive programs. %package -n sfml-devel Summary: SFML development files Group: Development/Libraries/C and C++ Requires: Mesa-devel Requires: libsfml1_6 = %version %description -n sfml-devel Development files for SFML. %prep %setup -q -n sfml-%version %patch0 %patch1 %patch2 %patch3 %patch4 rm -rf src/SFML/Graphics/GLEW rm -rf src/SFML/Graphics/libjpeg rm -rf src/SFML/Graphics/libpng rm -rf src/SFML/Graphics/SOIL rm -rf src/SFML/Graphics/zlib rm -rf src/SFML/Window/glext %build make %{?jobs:-j%jobs} DEBUGFLAGS="$RPM_OPT_FLAGS -DNDEBUG" cd doc/build doxygen %install %makeinstall DESTDIR=$RPM_BUILD_ROOT/usr DESTLIBDIR=${RPM_BUILD_ROOT}%_libdir install -d -m 755 $RPM_BUILD_ROOT%_docdir/sfml cp -a doc/*.htm doc/html $RPM_BUILD_ROOT%_docdir/sfml %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %_libdir/lib*.so.* %files -n sfml-devel %defattr(-,root,root) /usr/include/SFML %_libdir/lib*.so %doc %_docdir/sfml %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