| 1 |
Summary: Cross platform C++ game library
|
| 2 |
Name: ClanLib
|
| 3 |
Version: 2.1.0
|
| 4 |
Release: 1%{?dist}
|
| 5 |
Group: System Environment/Libraries
|
| 6 |
License: zlib
|
| 7 |
URL: http://www.clanlib.org/
|
| 8 |
Source0: http://www.clanlib.org/download/releases-2.0/%{name}-%{version}.tgz
|
| 9 |
# Prebuild docs to avoid multilib conflicts. To regenerate, build and install
|
| 10 |
# ClanLib passing --enable-docs (requires perl, libxslt) and then:
|
| 11 |
# mv $RPM_BUILD_ROOT%{_datadir}/doc/clanlib-2.1/Overview html
|
| 12 |
# tar cvfz ClanLib-%{version}-generated-docs.tar.gz html
|
| 13 |
Source1: ClanLib-%{version}-generated-docs.tar.gz
|
| 14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 15 |
BuildRequires: libX11-devel libXi-devel libXmu-devel libGLU-devel libICE-devel
|
| 16 |
BuildRequires: libXext-devel libXxf86vm-devel libXt-devel xorg-x11-proto-devel
|
| 17 |
BuildRequires: libvorbis-devel mikmod-devel alsa-lib-devel
|
| 18 |
BuildRequires: libpng-devel libjpeg-devel fontconfig-devel pcre-devel
|
| 19 |
Provides: clanlib = %{version}-%{release}
|
| 20 |
|
| 21 |
%description
|
| 22 |
ClanLib is a cross platform C++ game library.
|
| 23 |
|
| 24 |
|
| 25 |
%package devel
|
| 26 |
Summary: Development Libraries and Headers for ClanLib
|
| 27 |
Group: Development/Libraries
|
| 28 |
Requires: %{name} = %{version}-%{release}
|
| 29 |
Requires: libGLU-devel xorg-x11-proto-devel pkgconfig
|
| 30 |
Provides: clanlib-devel = %{version}-%{release}
|
| 31 |
|
| 32 |
%description devel
|
| 33 |
ClanLib development headers and libraries
|
| 34 |
|
| 35 |
|
| 36 |
%prep
|
| 37 |
%setup -q -a 1
|
| 38 |
iconv -f iso8859-1 -t utf8 TODO.txt -o TODO.txt.utf8
|
| 39 |
touch -r TODO.txt.utf8 TODO.txt
|
| 40 |
mv TODO.txt.utf8 TODO.txt
|
| 41 |
|
| 42 |
|
| 43 |
%build
|
| 44 |
%configure --disable-dependency-tracking --disable-static --enable-dyn \
|
| 45 |
--disable-docs
|
| 46 |
make %{?_smp_mflags}
|
| 47 |
|
| 48 |
|
| 49 |
%install
|
| 50 |
rm -rf $RPM_BUILD_ROOT
|
| 51 |
make install DESTDIR=$RPM_BUILD_ROOT
|
| 52 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
| 53 |
|
| 54 |
|
| 55 |
%clean
|
| 56 |
rm -rf $RPM_BUILD_ROOT
|
| 57 |
|
| 58 |
|
| 59 |
%post -p /sbin/ldconfig
|
| 60 |
|
| 61 |
%postun -p /sbin/ldconfig
|
| 62 |
|
| 63 |
%files
|
| 64 |
%defattr(-,root,root,-)
|
| 65 |
%doc COPYING CREDITS
|
| 66 |
%{_libdir}/libclan21*.so.*
|
| 67 |
|
| 68 |
%files devel
|
| 69 |
%defattr(-,root,root,-)
|
| 70 |
%doc README* html TODO.txt UPGRADE.txt
|
| 71 |
%{_libdir}/libclan21*.so
|
| 72 |
%{_includedir}/%{name}-2.1
|
| 73 |
%{_libdir}/pkgconfig/clan*-2.1.pc
|
| 74 |
|
| 75 |
|
| 76 |
%changelog
|
| 77 |
* Wed Nov 4 2009 Hans de Goede <hdegoede@redhat.com> 2.1.0-1
|
| 78 |
- Major new upstream release 2.1.0 (#532078)
|
| 79 |
- The old 1.0 version is now available in the ClanLib1 package for
|
| 80 |
packages which need it
|
| 81 |
|
| 82 |
* Thu Sep 10 2009 Hans de Goede <hdegoede@redhat.com> 1.0.0-3
|
| 83 |
- Fix (workaround) viewport issues in fullscreen mode (#522116)
|
| 84 |
|
| 85 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
| 86 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 87 |
|
| 88 |
* Sun May 17 2009 Hans de Goede <hdegoede@redhat.com> 1.0.0-1
|
| 89 |
- New upstream release 1.0.0, note: API compatible but changes soname
|
| 90 |
|
| 91 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-3
|
| 92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 93 |
|
| 94 |
* Sat Feb 21 2009 Hans de Goede <hdegoede@redhat.com> 0.8.1-2
|
| 95 |
- Fix build with gcc 4.4
|
| 96 |
|
| 97 |
* Wed Mar 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.1-1
|
| 98 |
- New upstream release
|
| 99 |
- Drop all patches (all upstreamed)
|
| 100 |
- Add patch to keep libclanDisplay-0.8 abi compatible with 0.8.0
|
| 101 |
- Warning, this release changes the ABI of the GUIStyleSilver input_box widget
|
| 102 |
- Warning, some small API changes, CL_KEY_ADD -> CL_KEY_NUMPAD_ADD, etc.
|
| 103 |
|
| 104 |
* Sat Mar 8 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-11
|
| 105 |
- Add a patch from Dave Jones fixing various wrong invocations of memset
|
| 106 |
|
| 107 |
* Sun Mar 2 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-10
|
| 108 |
- Add support for audio output through alsa (original ClanLib only supports
|
| 109 |
OSS??), this also adds support for using pulseaudio through alsa
|
| 110 |
|
| 111 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.0-9
|
| 112 |
- Autorebuild for GCC 4.3
|
| 113 |
|
| 114 |
* Fri Jan 4 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-8
|
| 115 |
- Fix building with gcc 4.3
|
| 116 |
|
| 117 |
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-7
|
| 118 |
- Fix multilib conflicts in generated Reference documentation (bz 340851)
|
| 119 |
|
| 120 |
* Fri Aug 3 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-6
|
| 121 |
- Update License tag for new Licensing Guidelines compliance
|
| 122 |
|
| 123 |
* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 0.8.0-5
|
| 124 |
- Rebuild against SDL_gfx 2.0.16.
|
| 125 |
|
| 126 |
* Sat Mar 31 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-4
|
| 127 |
- Fix some stupidness in the OpenGL surface code, which triggers an obscure
|
| 128 |
bug in mesa-6.5.2, as a bonus the OpenGL surface's should be somewhat faster
|
| 129 |
now. Details: https://bugs.freedesktop.org/show_bug.cgi?id=10491
|
| 130 |
|
| 131 |
* Sun Oct 8 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-3
|
| 132 |
- Rewrote ClanLib fullscreen handling to fix an issue where a part of the
|
| 133 |
window decoration show in fullscreen mode on certain videocards
|
| 134 |
|
| 135 |
* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-2
|
| 136 |
- FE6 Rebuild
|
| 137 |
|
| 138 |
* Sun Aug 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-1
|
| 139 |
- 0.8.0 final, warning ABI changed without soname change!
|
| 140 |
- Drop both our patches (both upstreamed)
|
| 141 |
|
| 142 |
* Wed Jul 26 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.6.RC2
|
| 143 |
- Add missing Requires: pkgconfig to -devel package
|
| 144 |
|
| 145 |
* Tue Jul 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.5.RC2
|
| 146 |
- Add libXt-devel BR to fix X detection on FC-5, sorry about all these
|
| 147 |
missing BRs and Requires.
|
| 148 |
|
| 149 |
* Tue Jul 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.4.RC2
|
| 150 |
- Add libGLU-devel to the BuildRequires to fix build on FC-5
|
| 151 |
- Add missing Requires: libGLU-devel xorg-x11-proto-devel to -devel package
|
| 152 |
|
| 153 |
* Tue Jul 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.3.RC2
|
| 154 |
- Add libXi-devel to the BuildRequires so that clanGL gets build
|
| 155 |
|
| 156 |
* Fri Jul 21 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.2.RC2
|
| 157 |
- Change License: to "zlib License" as 0.8 is under the zlib License not the
|
| 158 |
LGPL (0.6 is LGPL).
|
| 159 |
- Add a patch from pingus contrib dir which adds support for the grave key
|
| 160 |
- Add libXmu-devel to the BuildRequires
|
| 161 |
|
| 162 |
* Wed Jul 19 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.0-0.1.RC2
|
| 163 |
- Initial FE version based on the newrpms SRPM by Che.
|