Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:12.2_ArchPorts
clanlib
clanlib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File clanlib.spec of Package clanlib
# # spec file for package clanlib # # 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/ # %define clan_ver 2.3 Name: clanlib Version: 2.3.6 Release: 0 Summary: A Portable Interface for Writing Games License: Zlib Group: System/Libraries Url: http://www.clanlib.org/ Source: ClanLib-%{version}.tgz BuildRequires: Mesa-devel BuildRequires: alsa-devel BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: fontconfig-devel BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: libmikmod-devel BuildRequires: libogg-devel BuildRequires: libpng-devel BuildRequires: libstdc++-devel BuildRequires: libvorbis-devel BuildRequires: libxslt BuildRequires: pcre-devel BuildRequires: sqlite3-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ClanLib delivers a platform-independent interface for writing games. %package devel Summary: A portable interface for writing games Group: Development/Libraries/X11 Requires: %{name} = %{version} Requires: Mesa-devel Requires: alsa-devel Requires: fontconfig-devel Requires: freetype2-devel Requires: libjpeg-devel Requires: libmikmod-devel Requires: libogg-devel Requires: libpng-devel Requires: libstdc++-devel Requires: libvorbis-devel Requires: pcre-devel Requires: sqlite3-devel Requires: zlib-devel %description devel ClanLib delivers a platform independent interface to write games with. %prep %setup -q -n ClanLib-%{version} %build export CFLAGS="%{optflags}" export CXXFLAGS="$CFLAGS" %ifarch %arm export CFLAGS="$CFLAGS -DCL_ARM_PLATFORM" export CXXFLAGS="$CFLAGS -DCL_ARM_PLATFORM" %ifarch armv7l armv7hl # force enable thumb as normal arm mode fails with an internal gcc error export CFLAGS="$CFLAGS -mthumb -mthumb-interwork" export CXXFLAGS="$CFLAGS -mthumb -mthumb-interwork" %endif %endif %ifarch %ix86 %configure --with-pic --disable-static --enable-asm386 --disable-docs %else %configure --with-pic --disable-static --disable-asm386 --disable-docs %endif make %{?_smp_mflags} %install %makeinstall rm -f %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc COPYING CREDITS README %{_libdir}/libclan*.so.* %files devel %defattr(-, root, root) %doc CODING_STYLE PATCHES %{_includedir}/* %{_libdir}/pkgconfig/* %{_libdir}/libclan*.so %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