Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/openal-0.0.8/admin/RPM/openal.spec @ 47

Last change on this file since 47 was 17, checked in by landauf, 17 years ago

added openal

File size: 9.8 KB
RevLine 
[17]1#
2# spec file for package openal (Version 0.0.8)
3#
4# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
5# This file and all modifications and additions to the pristine
6# package are under the same license as the package itself.
7#
8# Please submit bugfixes or comments via http://www.suse.de/feedback/
9#
10
11# norootforbuild
12# neededforbuild SDL SDL-devel aalib aalib-devel alsa alsa-devel arts arts-devel audiofile esound esound-devel glib2 glib2-devel libogg libogg-devel libstdc++-devel libvorbis libvorbis-devel pkgconfig resmgr slang smpeg smpeg-devel xorg-x11-libs
13
14BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext libtool perl rpm SDL SDL-devel aalib aalib-devel alsa alsa-devel arts arts-devel audiofile esound esound-devel glib2 glib2-devel libogg libogg-devel libstdc++-devel libvorbis libvorbis-devel pkgconfig resmgr slang smpeg smpeg-devel xorg-x11-libs dialog expat fontconfig fontconfig-devel freeglut freeglut-devel freetype2 freetype2-devel gcc-c++ gnome-filesystem jack jack-devel libjpeg liblcms liblcms-devel libmng libmng-devel libpng libpng-devel libsndfile libtiff pciutils qt3 qt3-devel xorg-x11-Mesa xorg-x11-Mesa-devel xorg-x11-devel aaa_skel ash bind-libs gpg libgcj logrotate openslp suse-build-key suse-release tcsh
15
16Name:         openal
17License:      LGPL
18Group:        System/Libraries
19Autoreqprov:  on
20Version:      0.0.8
21Release:      1
22URL:          http://www.openal.org/
23Icon:         openal.xpm
24Summary:      Open Audio Library
25Source:       openal-%{version}.tar.gz
26BuildRoot:    %{_tmppath}/%{name}-%{version}-build
27
28%description
29OpenAL is an audio library designed in the spirit of OpenGL--machine
30independent, cross platform, and data format neutral with a clean,
31simple C-based API.
32
33
34
35Authors:
36--------
37    Adam D. Moss <adam@steambird.com>
38    Bernd Kreimeier <bk@oddworld.com>
39    Christopher Purnell <cjp@lost.org.uk>
40    Dirk Ehlke <dehlke@mip.informatik.uni-kiel.de>
41    Elias Naur <elias@oddlabs.com>
42    Erik Greenwald <erik@smluc.org>
43    Erik Hofman <erik@ehofman.com>
44    Garin Hiebert <garinh@cheesetoast.net>
45    Guillaume Borios <gborios@free.fr>
46    Jason Daly <jdaly@ist.ucf.edu>
47    John E. Stone <j.stone@acm.org>
48    Joseph I. Valenzuela <valenzuela@treyarch.com>
49    Michael Vance <michael@linuxgames.com>
50    Prakash Punnoor <prakash@punnoor.de>
51    Ryan C. Gordon <ryan@epicgames.com>
52    Sven Panne <sven.panne@aedion.de>
53    Yotam Gingold <ygingold@cs.brown.edu>
54    Zoltan Ponekker <pontscho@kac.poliod.hu>
55
56%package devel
57Summary:      Static libraries, header files and tests for openal library
58Requires:     openal = %{version}
59Group:        Development/Libraries/C and C++
60
61%description devel
62OpenAL is an audio library designed in the spirit of OpenGL - machine
63independent, cross platform, and data format neutral, with a clean,
64simple C-based API.
65
66
67
68Authors:
69--------
70    Adam D. Moss <adam@steambird.com>
71    Bernd Kreimeier <bk@oddworld.com>
72    Christopher Purnell <cjp@lost.org.uk>
73    Dirk Ehlke <dehlke@mip.informatik.uni-kiel.de>
74    Elias Naur <elias@oddlabs.com>
75    Erik Greenwald <erik@smluc.org>
76    Erik Hofman <erik@ehofman.com>
77    Garin Hiebert <garinh@cheesetoast.net>
78    Guillaume Borios <gborios@free.fr>
79    Jason Daly <jdaly@ist.ucf.edu>
80    John E. Stone <j.stone@acm.org>
81    Joseph I. Valenzuela <valenzuela@treyarch.com>
82    Michael Vance <michael@linuxgames.com>
83    Prakash Punnoor <prakash@punnoor.de>
84    Ryan C. Gordon <ryan@epicgames.com>
85    Sven Panne <sven.panne@aedion.de>
86    Yotam Gingold <ygingold@cs.brown.edu>
87    Zoltan Ponekker <pontscho@kac.poliod.hu>
88
89%debug_package
90%prep
91%setup -q
92
93%build
94%{?suse_update_config:%{suse_update_config -f admin/autotools}}
95./autogen.sh
96export CFLAGS="$RPM_OPT_FLAGS"
97%ifarch ia64
98export LDFLAGS=-Wl,-relax
99%endif
100./configure --prefix=%{_prefix}
101make
102
103%install
104rm -rf $RPM_BUILD_ROOT
105make DESTDIR=$RPM_BUILD_ROOT \
106     DESTLIB=$RPM_BUILD_ROOT%{_libdir} \
107     install
108#
109# documentation
110install -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
111install -m 644 ChangeLog                                \
112               AUTHORS                                  \
113               README                                   \
114               common/specification/OpenAL1-1Spec.pdf   \
115               $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/
116#
117# configuration
118install -m 755 -d $RPM_BUILD_ROOT/etc
119cat > $RPM_BUILD_ROOT/etc/openalrc <<EOFMARKER
120(define devices '(alsa native))
121
122;; uncomment this to output via the 2nd soundcard
123;;(define alsa-device "plughw:2,0")
124EOFMARKER
125
126%clean
127rm -rf $RPM_BUILD_ROOT
128
129%files
130%defattr(-,root,root)
131%doc %{_defaultdocdir}/%{name}/ChangeLog
132%doc %{_defaultdocdir}/%{name}/AUTHORS
133%doc %{_defaultdocdir}/%{name}/README
134/etc/openalrc
135%{_libdir}/libopenal.so.*
136
137%files devel
138%defattr(-,root,root)
139%doc %{_defaultdocdir}/%{name}/OpenAL1-1Spec.pdf
140%{_prefix}/bin/openal-config
141%{_includedir}/AL/al.h
142%{_includedir}/AL/alc.h
143%{_includedir}/AL/alext.h
144%{_libdir}/libopenal.a
145%{_libdir}/libopenal.la
146%{_libdir}/libopenal.so
147%{_libdir}/pkgconfig/openal.pc
148
149%changelog -n openal
150* Thu Jan 05 2006 - sven.panne@aedion.de
151- Optimizations are enabled by default now
152* Thu Dec 22 2005 - sven.panne@aedion.de
153- Removed superfluous/outdated configure flags
154* Tue Nov 29 2005 - sven.panne@aedion.de
155- Synched with new directory structure
156* Mon Nov 28 2005 - sven.panne@aedion.de
157- Fixed build dependencies
158- Updated file list
159* Thu Oct 27 2005 - sven.panne@aedion.de
160- Synched with latest Makefile changes
161* Fri Sep 30 2005 - sven.panne@aedion.de
162- Updated authors
163* Fri Sep 23 2005 - sven.panne@aedion.de
164- Various changes to bring the spec file in line with the OpenAL repository again.
165* Tue Mar 15 2005 - sbrabec@suse.cz
166- Removed incorrect ALSA flags (#72855).
167* Thu Feb 03 2005 - sbrabec@suse.cz
168- Updated to 2005-01-06 CVS snapshot (version 0.0.8).
169* Fri Jan 21 2005 - ro@suse.de
170- disable arch-asm (does not compile ATM)
171* Fri Jan 21 2005 - sbrabec@suse.cz
172- Updated to 2005-01-06 CVS snapshot.
173* Thu Sep 02 2004 - sbrabec@suse.cz
174- Updated to actual CVS snapshot.
175* Wed Apr 28 2004 - ro@suse.de
176- added -fno-strict-aliasing
177* Sat Jan 10 2004 - adrian@suse.de
178- add %%defattr
179* Tue Dec 09 2003 - ro@suse.de
180- build with alsa compatibility defines
181* Mon Oct 06 2003 - ro@suse.de
182- added glib2, glib2-devel to neededforbuild (arts)
183* Mon Aug 11 2003 - sbrabec@suse.cz
184- Updated to actual CVS snapshot.
185* Thu Jul 31 2003 - ro@suse.de
186- include sys/time.h before alsa
187* Thu Apr 24 2003 - ro@suse.de
188- fix install_info --delete call and move from preun to postun
189* Mon Feb 10 2003 - sbrabec@suse.cz
190- Use %%install_info (bug #23445).
191* Mon Feb 10 2003 - sbrabec@suse.cz
192- Updated to 20030131 CVS snapshot.
193* Wed Oct 30 2002 - sbrabec@suse.cz
194- Updated to actual CVS version.
195- Fixed compiler warnings.
196* Fri Aug 30 2002 - pmladek@suse.cz
197- fixed dependency of the devel subpackage on the main package (used %%version)
198* Fri Jul 05 2002 - kukuk@suse.de
199- Use %%ix86 macro
200* Mon Apr 08 2002 - pmladek@suse.cz
201- arch specific assembler is only for i386
202- fixed includes for ia64
203* Wed Apr 03 2002 - pmladek@suse.cz
204- used some pieces from old patches
205- fixed to compile with autoconf-2.53:
206- fixed acinclude.m4, used aclocal
207- some fixes in configure.in
208- cleaned up spec file
209- removed boom.mp3 to avoid potential license problems
210* Wed Feb 20 2002 - ro@suse.de
211- removed kdelibs3-artsd from neededforbuild
212  (artsd is there anyway)
213* Sat Feb 16 2002 - sndirsch@suse.de
214- enabled optimization and arch specific assembler
215* Fri Feb 15 2002 - sndirsch@suse.de
216- added SMPEG/SDL support to get MP3 playback support (required
217  by VegaStrike)
218* Fri Feb 15 2002 - ro@suse.de
219- changed neededforbuild <kdelibs3-artsd> to <arts arts-devel>
220* Fri Feb 08 2002 - bk@suse.de
221- (re)enable optimisations and move prepare stuff to %%prep
222* Thu Feb 07 2002 - sndirsch@suse.de
223- added Ogg/Vorbis and Capture support
224- removed compiler flags "-Werror -pedantic-errors"
225* Thu Feb 07 2002 - sndirsch@suse.de
226- added support for aRTs and esound daemon
227- added global config file + a small patch to read this one
228* Wed Feb 06 2002 - tiwai@suse.de
229- added ALSA 0.9.0 support.  see README.alsa.
230- clean up spec file, using %%_libdir.
231- removed SDL.
232* Fri Feb 01 2002 - sndirsch@suse.de
233- updated to CVS sources of 20020201 (required for vegastrike)
234- disabled patches (not required any more)
235* Fri Jan 11 2002 - pmladek@suse.cz
236- devel package created
237- used macro %%{_librdir} to fix for lib64
238* Wed Aug 08 2001 - ro@suse.de
239- changed neededforbuild <sdl> to <SDL>
240- changed neededforbuild <sdl-devel> to <SDL-devel>
241* Tue May 22 2001 - pmladek@suse.cz
242- fixed include files on ia64
243- fixed preprocessor warnigs by patch for alpha
244* Tue May 08 2001 - mfabian@suse.de
245- bzip2 sources
246* Thu Apr 19 2001 - pmladek@suse.cz
247- fixed to compile on axp
248* Wed Apr 04 2001 - schwab@suse.de
249- Pass -relax to linker on ia64.
250- Fix makefile to use LDFLAGS.
251- Remove -fPIC when building non-library object.
252* Mon Mar 26 2001 - ro@suse.de
253- changed neededforbuild <sdl> to <sdl sdl-devel>
254* Thu Nov 30 2000 - ro@suse.de
255- added suse-update-config
256* Mon Nov 06 2000 - ro@suse.de
257- fixed neededforbuild
258* Thu Jun 08 2000 - cihlar@suse.cz
259- uncommented %%clean
260* Tue May 09 2000 - smid@suse.cz
261- buildroot added
262- upgrade to version from 08.05.2000
263* Tue Apr 11 2000 - sndirsch@suse.de
264- removed '-Werror' and '-pedantic-erros' compiler flags
265* Mon Mar 27 2000 - uli@suse.de
266- renamed dif for easier maintenance
267- __linux -> __linux__
268- now uses RPM_OPT_FLAGS
269  Wed Mar 15 19:31:35 CET 2000
270- added test demos
271* Thu Mar 09 2000 - sndirsch@suse.de
272- created package
Note: See TracBrowser for help on using the repository browser.