You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
154 lines
3.8 KiB
154 lines
3.8 KiB
13 years ago
|
# Default version for this component
|
||
|
%if "%{?version}" == ""
|
||
|
%define version 3.5.12
|
||
|
%endif
|
||
13 years ago
|
%define release 6
|
||
13 years ago
|
|
||
13 years ago
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||
|
%if "%{?_prefix}" != "/usr"
|
||
|
%define _variant .opt
|
||
|
%endif
|
||
|
|
||
13 years ago
|
# TDE 3.5.12 specific building variables
|
||
|
BuildRequires: autoconf automake libtool m4
|
||
|
|
||
13 years ago
|
|
||
|
Name: trinity-arts
|
||
13 years ago
|
Version: %{?version}
|
||
|
Release: %{?release}%{?dist}%{?_variant}
|
||
13 years ago
|
License: GPL
|
||
|
Summary: aRts (analog realtime synthesizer) - the KDE sound system
|
||
13 years ago
|
Group: System Environment/Daemons
|
||
13 years ago
|
|
||
13 years ago
|
Vendor: Trinity Project
|
||
13 years ago
|
URL: http://www.trinitydesktop.org/
|
||
13 years ago
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||
|
|
||
|
Prefix: %{_prefix}
|
||
13 years ago
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
|
||
|
Source0: arts-%{version}.tar.gz
|
||
13 years ago
|
|
||
|
BuildRequires: tqtinterface-devel
|
||
|
BuildRequires: audiofile-devel
|
||
|
BuildRequires: alsa-lib-devel
|
||
|
BuildRequires: glib2-devel
|
||
|
BuildRequires: libtool-ltdl-devel
|
||
13 years ago
|
BuildRequires: gsl-devel
|
||
13 years ago
|
|
||
|
Requires: tqtinterface
|
||
|
Requires: audiofile
|
||
|
|
||
|
%if "%{?_prefix}" == "/usr"
|
||
|
Obsoletes: arts
|
||
|
%endif
|
||
|
|
||
|
%description
|
||
|
arts (analog real-time synthesizer) is the sound system of KDE 3.
|
||
|
|
||
|
The principle of arts is to create/process sound using small modules which do
|
||
|
certain tasks. These may be create a waveform (oscillators), play samples,
|
||
|
filter data, add signals, perform effects like delay/flanger/chorus, or
|
||
|
output the data to the soundcard.
|
||
|
|
||
|
By connecting all those small modules together, you can perform complex
|
||
|
tasks like simulating a mixer, generating an instrument or things like
|
||
|
playing a wave file with some effects.
|
||
|
|
||
|
|
||
|
%package devel
|
||
13 years ago
|
Group: Development/Libraries
|
||
13 years ago
|
Summary: %{name} - Development files
|
||
13 years ago
|
Requires: %{name} = %{version}-%{release}
|
||
13 years ago
|
%if "%{?_prefix}" == "/usr"
|
||
|
Obsoletes: arts-devel
|
||
|
%endif
|
||
|
|
||
|
%description devel
|
||
|
Development files for %{name}
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n dependencies/arts
|
||
|
|
||
|
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||
13 years ago
|
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh"
|
||
13 years ago
|
%__make -f "admin/Makefile.common"
|
||
13 years ago
|
|
||
|
%build
|
||
|
export PATH="%{_bindir}:${PATH}"
|
||
|
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||
13 years ago
|
|
||
13 years ago
|
%configure \
|
||
|
--disable-rpath \
|
||
|
--disable-debug --disable-warnings \
|
||
|
--disable-dependency-tracking \
|
||
|
--enable-new-ldflags \
|
||
|
--disable-libmad \
|
||
|
--with-alsa \
|
||
|
--enable-final \
|
||
13 years ago
|
--enable-closure \
|
||
13 years ago
|
--with-extra-includes=%{_includedir}/tqt
|
||
|
|
||
|
%__make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
13 years ago
|
%__rm -rf %{?buildroot}
|
||
|
%__make install DESTDIR=%{?buildroot}
|
||
13 years ago
|
|
||
|
%clean
|
||
|
%__rm -rf %{?buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc COPYING.LIB
|
||
|
%dir %{_libdir}/mcop
|
||
|
%dir %{_libdir}/mcop/Arts
|
||
|
%{_libdir}/mcop/Arts/*
|
||
|
%{_libdir}/mcop/*.mcopclass
|
||
|
%{_libdir}/mcop/*.mcoptype
|
||
|
%{_libdir}/lib*.so.*
|
||
|
%{_libdir}/lib*.la
|
||
|
%{_bindir}/artscat
|
||
|
%{_bindir}/artsd
|
||
|
%{_bindir}/artsdsp
|
||
|
%{_bindir}/artsplay
|
||
|
%{_bindir}/artsrec
|
||
|
%{_bindir}/artsshell
|
||
|
%{_bindir}/artswrapper
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%{_bindir}/mcopidl
|
||
|
%dir %{_includedir}
|
||
|
%{_includedir}/arts/
|
||
|
%{_includedir}/artsc/
|
||
|
%{_bindir}/artsc-config
|
||
|
%{_libdir}/lib*.so
|
||
|
|
||
|
|
||
|
%changelog
|
||
13 years ago
|
* Fri Sep 16 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6
|
||
|
- Add support for RHEL 5.
|
||
|
|
||
13 years ago
|
* Mon Sep 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
|
||
|
- Add "Group" field
|
||
|
|
||
13 years ago
|
* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
|
||
|
- Import to GIT
|
||
|
- Removes cmake stuff, build with autotools only
|
||
|
|
||
|
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
|
||
|
- Correct macro to install under "/opt", if desired
|
||
|
|
||
|
* Sat Dec 18 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
|
||
|
- Add cmake support
|
||
|
- Add some BuildRequires
|
||
|
|
||
|
* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
|
||
|
- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity)
|
||
|
- Add '--with-extra-includes=%{_includedir}/tqt'
|
||
|
|
||
|
* Tue Dec 07 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0
|
||
|
- Initial version
|
||
|
|