Projects
Multimedia
rsound
rsound.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rsound.spec of Package rsound (Revision 2)
Currently displaying revision
2
,
Show latest
# vim: set sw=4 ts=4 et nu: # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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/ Name: rsound Version: 1.1 %define soname 3 Release: 0.pm.1 Summary: Multi-platform, simple PCM audio server and client Source: https://github.com/downloads/Themaister/RSound/rsound-1.1.tar.gz Patch1: rsound-lib64.patch URL: https://github.com/Themaister/RSound Group: System/Sound Daemons License: GPL-3.0+ BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: alsa-devel BuildRequires: libao-devel BuildRequires: portaudio-devel BuildRequires: openal-soft-devel BuildRequires: libpulse-devel BuildRequires: libsamplerate-devel BuildRequires: jack-devel BuildRequires: gcc make glibc-devel pkgconfig Requires: librsound%{soname} = %{version} %description RSound is a multi-platform, simple PCM audio server and client. This package contains the runtime environment: the audio server as well as the client. %package -n librsound%{soname} Summary: Multi-platform, simple PCM audio server and client Group: System/Libraries %description -n librsound%{soname} RSound is a multi-platform, simple PCM audio server and client. This package contains the runtime libraries. %package -n librsound-devel Summary: Multi-platform, simple PCM audio server and client Group: Development/Libraries/C and C++ Obsoletes: librsound-devel-static Requires: librsound%{soname} = %{version} %description -n librsound-devel RSound is a multi-platform, simple PCM audio server and client. This package contains the development environment. %prep %setup -q %if %{_lib}==lib64 %patch1 %endif %build ./configure \ --enable-alsa \ --enable-oss \ --enable-libao \ --enable-portaudio \ --enable-openal \ --enable-pulse \ --enable-samplerate \ --disable-roar \ --disable-muroar \ --enable-jack \ --enable-syslog \ --prefix="%{_prefix}" # we want verbose builds find . -type f -name Makefile | while read f; do %__sed -i 's|@$(CC)|$(CC)|' "$f" done ##__sed -i '/^CFLAGS = /s/$/ %{optflags}/' src/config.mk %__make %{?_smp_mflags} CFLAGS="%{optflags} -std=gnu99" %install %makeinstall find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.a" -delete -print %post -n librsound%{soname} -p /sbin/ldconfig %postun -n librsound%{soname} -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING DOCUMENTATION README %{_bindir}/rsd %{_bindir}/rsdplay %doc %{_mandir}/man1/rsd.1* %doc %{_mandir}/man1/rsdplay.1* %files -n librsound%{soname} %defattr(-,root,root) %{_libdir}/librsound.so.%{soname} %{_libdir}/librsound.so.%{soname}.* %files -n librsound-devel %defattr(-,root,root) %{_includedir}/rsound.h %{_libdir}/librsound.so %{_libdir}/pkgconfig/rsound.pc %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.