/[pkgs]/devel/ClanLib06/ClanLib06.spec
ViewVC logotype

Contents of /devel/ClanLib06/ClanLib06.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Fri Jul 24 15:04:30 2009 UTC (4 months ago) by jkeating
Branch: MAIN
CVS Tags: F-12-split, ClanLib06-0_6_5-15_fc12, HEAD
Changes since 1.15: +4 -1 lines
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1 Summary: Version 0.6 of this Cross platform C++ game library
2 Name: ClanLib06
3 Version: 0.6.5
4 Release: 15%{?dist}
5 Group: System Environment/Libraries
6 License: LGPLv2
7 URL: http://www.clanlib.org/
8 Source0: http://www.clanlib.org/download/legacy/ClanLib-%{version}-1.tar.gz
9 # prebuild docs to avoid multilib conflicts. To regenerate untar and configure,
10 # cd Documentation, make, make install HTML_PREFIX=`pwd`/html, cd ..,
11 # tar cvfz ClanLib-%{version}-generated-docs.tar.gz Documentation/html
12 Source1: ClanLib-%{version}-generated-docs.tar.gz
13 Patch0: ClanLib-0.6.5-debian.patch
14 Patch1: ClanLib-0.6.5-suse.patch
15 Patch2: ClanLib-0.6.5-tolua++.patch
16 Patch3: ClanLib-0.6.5-smalljpg.patch
17 Patch4: ClanLib-0.6.5-gcc4.3.patch
18 Patch5: ClanLib-0.6.5-mikmod32.patch
19 Patch6: ClanLib-0.6.5-alsa.patch
20 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
21 BuildRequires: libX11-devel libXext-devel libXt-devel libGLU-devel
22 BuildRequires: libICE-devel libXxf86vm-devel xorg-x11-proto-devel
23 BuildRequires: libvorbis-devel libpng-devel libjpeg-devel mikmod-devel
24 BuildRequires: tolua++-devel Hermes-devel freetype-devel autoconf
25 BuildRequires: alsa-lib-devel
26 Provides: clanlib06 = %{version}-%{release}
27
28 %description
29 Version 0.6 of this cross platform C++ game library, which is still used
30 by many games.
31
32
33 %package devel
34 Summary: Development Libraries and Headers for ClanLib 0.6
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: libGLU-devel Hermes-devel mikmod-devel lua-devel libpng-devel
38 Provides: clanlib06-devel = %{version}-%{release}
39
40 %description devel
41 ClanLib 0.6 development headers and libraries
42
43
44 %prep
45 %setup -q -a 1 -n ClanLib-%{version}
46 %patch0 -p1 -z .deb
47 %patch1 -p1 -z .suse
48 %patch2 -p1 -z .tolua++
49 %patch3 -p1 -z .smalljpg
50 %patch4 -p1 -z .gcc43
51 %patch5 -p1 -z .mikmod32
52 %patch6 -p1 -z .alsa
53 # mark asm files as NOT needing execstack
54 for i in `find Sources -name '*.s'`; do
55 echo '.section .note.GNU-stack,"",@progbits' >> $i
56 done
57 autoconf
58
59
60 %build
61 %ifarch %{ix86}
62 ARCH_CONFIG_FLAGS=--enable-asm386
63 %endif
64 cp -a -f /usr/lib/rpm/redhat/config.sub .
65 %configure --disable-dependency-tracking --disable-debug --enable-dyn \
66 --disable-directfb $ARCH_CONFIG_FLAGS
67 tolua++ -o Sources/Lua/clanbindings.cpp Sources/Lua/clanbindings.pkg
68 make %{?_smp_mflags}
69
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 make install DESTDIR=$RPM_BUILD_ROOT
74 rm $RPM_BUILD_ROOT%{_libdir}/*.a
75 chmod -x $RPM_BUILD_ROOT%{_mandir}/man1/clanlib-config.1*
76
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81
82 %post -p /sbin/ldconfig
83
84 %postun -p /sbin/ldconfig
85
86
87 %files
88 %defattr(-,root,root,-)
89 %doc COPYING CREDITS NEWS ascii-logo
90 %{_libdir}/*.so.*
91
92 %files devel
93 %defattr(-,root,root,-)
94 %doc README README.gui README.upgrade Documentation/html
95 %{_bindir}/clanlib-config
96 %{_libdir}/*.so
97 %{_includedir}/ClanLib
98 %{_mandir}/man1/clanlib-config.1.gz
99
100
101 %changelog
102 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.5-15
103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
104
105 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.5-14
106 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
107
108 * Sun Sep 7 2008 Hans de Goede <hdegoede@redhat.com> 0.6.5-13
109 - Fix patch fuzz build failure
110
111 * Sun Mar 2 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-12
112 - Add support for audio output through alsa (original ClanLib only supports
113 OSS??), this also adds support for using pulseaudio through alsa
114
115 * Sun Feb 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-11
116 - Rebuild for new libmikmod
117 - Rebuild with gcc 4.3
118
119 * Fri Jan 4 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-10
120 - Fix building with gcc 4.3
121
122 * Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-9
123 - Explictily disable directfb support, so that it doesn't accidentally get
124 build on system which have directfb installed
125 - Fix multilib conflict in the Reference documentation (bz 340861)
126
127 * Fri Aug 3 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-8
128 - Update License tag for new Licensing Guidelines compliance
129
130 * Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-7
131 - FE6 Rebuild
132
133 * Mon Jul 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-6
134 - Add missing Requires: libpng-devel to the -devel package <sigh>.
135
136 * Tue Jul 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-5
137 - Add missing BRs: libGLU-devel freetype-devel libXt-devel. To Fix resp
138 building of clanGL, clanTTF and X detection on FC-5.
139
140 * Tue Jul 25 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-4
141 - Add missing Requires: libGLU-devel Hermes-devel mikmod-devel lua-devel to
142 the -devel package.
143
144 * Sun Jul 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-3
145 - Mark asm files as NOT needing execstack, making us OK with new default
146 SELinux targeted policy settings.
147
148 * Sun Jul 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-2
149 - Add missing BRs: tolua++-devel, Hermes-devel and autoconf
150
151 * Wed Jul 19 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-1
152 - Initial FE version based on the newrpms SRPM by Che.

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2