Summary: Cross platform C++ game library Name: ClanLib Version: 2.1.2 Release: 1%{?dist} Group: System Environment/Libraries License: zlib URL: http://www.clanlib.org/ Source0: http://www.clanlib.org/download/releases-2.0/%{name}-%{version}.tgz # Prebuild docs to avoid multilib conflicts. To regenerate, build and install # ClanLib passing --enable-docs (requires perl, libxslt) and then: # mv $RPM_BUILD_ROOT%{_datadir}/doc/clanlib-2.1/Overview html # tar cvfz ClanLib-%{version}-generated-docs.tar.gz html Source1: ClanLib-%{version}-generated-docs.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libX11-devel libXi-devel libXmu-devel libGLU-devel libICE-devel BuildRequires: libXext-devel libXxf86vm-devel libXt-devel xorg-x11-proto-devel BuildRequires: libvorbis-devel mikmod-devel alsa-lib-devel BuildRequires: libpng-devel libjpeg-devel fontconfig-devel pcre-devel Provides: clanlib = %{version}-%{release} %description ClanLib is a cross platform C++ game library. %package devel Summary: Development Libraries and Headers for ClanLib Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libGLU-devel xorg-x11-proto-devel pkgconfig Requires: fontconfig-devel libjpeg-devel libpng-devel libXxf86vm-devel Provides: clanlib-devel = %{version}-%{release} %description devel ClanLib development headers and libraries %prep %setup -q -a 1 %build %configure --disable-dependency-tracking --disable-static --enable-dyn \ --disable-docs # Get rid of /usr/lib64 rpath on 64bit sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING CREDITS %{_libdir}/libclan21*.so.* %files devel %defattr(-,root,root,-) %doc README* html UPGRADE.txt %{_libdir}/libclan21*.so %{_includedir}/%{name}-2.1 %{_libdir}/pkgconfig/clan*-2.1.pc %changelog * Tue Jul 20 2010 Hans de Goede <hdegoede@redhat.com> 2.1.2-1 - New upstream release 2.1.2 - Drop all patches (all upstreamed) * Sat May 29 2010 Hans de Goede <hdegoede@redhat.com> 2.1.1-1 - New upstream release 2.1.1 - Fix clanSound clanMikMod and clanVorbis modules missing on ppc (#595934) * Wed Nov 11 2009 Hans de Goede <hdegoede@redhat.com> 2.1.0-3 - Fix -devel Requires to require fontconfig-devel not just fontconfig * Wed Nov 11 2009 Hans de Goede <hdegoede@redhat.com> 2.1.0-2 - Add Requires to -devel package to make sure all libs needed by "pkg-config --libs clanDisplay-2.1" are present * Wed Nov 4 2009 Hans de Goede <hdegoede@redhat.com> 2.1.0-1 - Major new upstream release 2.1.0 (#532078) - The old 1.0 version is now available in the ClanLib1 package for packages which need it * Thu Sep 10 2009 Hans de Goede <hdegoede@redhat.com> 1.0.0-3 - Fix (workaround) viewport issues in fullscreen mode (#522116) * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun May 17 2009 Hans de Goede <hdegoede@redhat.com> 1.0.0-1 - New upstream release 1.0.0, note: API compatible but changes soname * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 21 2009 Hans de Goede <hdegoede@redhat.com> 0.8.1-2 - Fix build with gcc 4.4 * Wed Mar 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.1-1 - New upstream release - Drop all patches (all upstreamed) - Add patch to keep libclanDisplay-0.8 abi compatible with 0.8.0 - Warning, this release changes the ABI of the GUIStyleSilver input_box widget - Warning, some small API changes, CL_KEY_ADD -> CL_KEY_NUMPAD_ADD, etc. * Sat Mar 8 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-11 - Add a patch from Dave Jones fixing various wrong invocations of memset * Sun Mar 2 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-10 - Add support for audio output through alsa (original ClanLib only supports OSS??), this also adds support for using pulseaudio through alsa * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.0-9 - Autorebuild for GCC 4.3 * Fri Jan 4 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-8 - Fix building with gcc 4.3 * Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-7 - Fix multilib conflicts in generated Reference documentation (bz 340851) * Fri Aug 3 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-6 - Update License tag for new Licensing Guidelines compliance * Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 0.8.0-5 - Rebuild against SDL_gfx 2.0.16. * Sat Mar 31 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-4 - Fix some stupidness in the OpenGL surface code, which triggers an obscure bug in mesa-6.5.2, as a bonus the OpenGL surface's should be somewhat faster now. Details: https://bugs.freedesktop.org/show_bug.cgi?id=10491 * Sun Oct 8 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-3 - Rewrote ClanLib fullscreen handling to fix an issue where a part of the window decoration show in fullscreen mode on certain videocards * Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-2 - FE6 Rebuild * Sun Aug 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-1 - 0.8.0 final, warning ABI changed without soname change! - Drop both our patches (both upstreamed) * Wed Jul 26 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.6.RC2 - Add missing Requires: pkgconfig to -devel package * Tue Jul 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.5.RC2 - Add libXt-devel BR to fix X detection on FC-5, sorry about all these missing BRs and Requires. * Tue Jul 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.4.RC2 - Add libGLU-devel to the BuildRequires to fix build on FC-5 - Add missing Requires: libGLU-devel xorg-x11-proto-devel to -devel package * Tue Jul 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.3.RC2 - Add libXi-devel to the BuildRequires so that clanGL gets build * Fri Jul 21 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.2.RC2 - Change License: to "zlib License" as 0.8 is under the zlib License not the LGPL (0.6 is LGPL). - Add a patch from pingus contrib dir which adds support for the grave key - Add libXmu-devel to the BuildRequires * Wed Jul 19 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.1.RC2 - Initial FE version based on the newrpms SRPM by Che.