RPM packaging: update dependencies packages

pull/3/head
François Andriot 10 years ago
parent 97e1a5b5fc
commit d3c1f8ab66

@ -1,5 +1,5 @@
# #
# spec file for package akode (version R14.0.0) # spec file for package akode (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -21,7 +21,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
@ -86,6 +88,7 @@ BuildRequires: jack-audio-connection-kit-devel
BuildRequires: libsamplerate-devel BuildRequires: libsamplerate-devel
%endif %endif
%if 0
# PULSEAUDIO support # PULSEAUDIO support
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define _with_pulseaudio --with-pulseaudio %define _with_pulseaudio --with-pulseaudio
@ -99,6 +102,7 @@ BuildRequires: pulseaudio-libs-devel
BuildRequires: pulseaudio-devel BuildRequires: pulseaudio-devel
%endif %endif
%endif %endif
%endif
# MAD support # MAD support
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
@ -111,8 +115,8 @@ BuildRequires: libmad-devel
%endif %endif
%endif %endif
BuildRequires: cmake >= 2.8
BuildRequires: automake libtool BuildRequires: libtool
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: speex-devel BuildRequires: speex-devel
@ -135,16 +139,16 @@ aKode also has the following audio outputs:
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc rpmdocs/* %doc rpmdocs/*
%{tde_bindir}/akodeplay %{_bindir}/akodeplay
%{tde_libdir}/libakode.so.* %{_libdir}/libakode.so.*
%{tde_libdir}/libakode_alsa_sink.la %{_libdir}/libakode_alsa_sink.la
%{tde_libdir}/libakode_alsa_sink.so %{_libdir}/libakode_alsa_sink.so
%{tde_libdir}/libakode_mpc_decoder.la %{_libdir}/libakode_mpc_decoder.la
%{tde_libdir}/libakode_mpc_decoder.so %{_libdir}/libakode_mpc_decoder.so
%{tde_libdir}/libakode_oss_sink.la %{_libdir}/libakode_oss_sink.la
%{tde_libdir}/libakode_oss_sink.so %{_libdir}/libakode_oss_sink.so
%{tde_libdir}/libakode_xiph_decoder.la %{_libdir}/libakode_xiph_decoder.la
%{tde_libdir}/libakode_xiph_decoder.so %{_libdir}/libakode_xiph_decoder.so
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -169,11 +173,11 @@ This package contains the development files for Akode.
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_bindir}/akode-config %{_bindir}/akode-config
%{tde_includedir}/* %{_includedir}/*
%{tde_libdir}/libakode.la %{_libdir}/libakode.la
%{tde_libdir}/libakode.so %{_libdir}/libakode.so
%{tde_libdir}/pkgconfig/*.pc #%{_libdir}/pkgconfig/*.pc
%post devel %post devel
/sbin/ldconfig /sbin/ldconfig
@ -195,8 +199,8 @@ This package contains the Jack audio output backend for Akode.
%files jack %files jack
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_libdir}/libakode_jack_sink.la %{_libdir}/libakode_jack_sink.la
%{tde_libdir}/libakode_jack_sink.so %{_libdir}/libakode_jack_sink.so
%post jack %post jack
/sbin/ldconfig /sbin/ldconfig
@ -221,8 +225,8 @@ Recommended for network transparent audio.
%files pulseaudio %files pulseaudio
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_libdir}/libakode_polyp_sink.la %{_libdir}/libakode_polyp_sink.la
%{tde_libdir}/libakode_polyp_sink.so %{_libdir}/libakode_polyp_sink.so
%post pulseaudio %post pulseaudio
/sbin/ldconfig /sbin/ldconfig
@ -249,8 +253,8 @@ This package contains the samplerate decoder for Akode.
# License: GPLv2+ # License: GPLv2+
%files libsamplerate %files libsamplerate
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{tde_libdir}/libakode_src_resampler.la %{_libdir}/libakode_src_resampler.la
%{tde_libdir}/libakode_src_resampler.so %{_libdir}/libakode_src_resampler.so
%post libsamplerate %post libsamplerate
/sbin/ldconfig /sbin/ldconfig
@ -273,8 +277,8 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
This package contains the mad decoder for Akode. This package contains the mad decoder for Akode.
%files libmad %files libmad
%{tde_libdir}/libakode_mpeg_decoder.la %{_libdir}/libakode_mpeg_decoder.la
%{tde_libdir}/libakode_mpeg_decoder.so %{_libdir}/libakode_mpeg_decoder.so
%post libmad %post libmad
/sbin/ldconfig /sbin/ldconfig
@ -293,51 +297,60 @@ This package contains the mad decoder for Akode.
########## ##########
%prep %prep
%setup -q -n akode-2.0.2 %setup -q -n akode
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f admin/Makefile.common
%build %build
export CXXFLAGS="${RPM_OPT_FLAGS} -DHAVE_STDINT_H" unset QTDIR QTINC QTLIB
%configure \ if ! rpm -E %%cmake|grep -q "cd build"; then
--bindir=%{tde_bindir} \ %__mkdir_p build
--libdir=%{tde_libdir} \ cd build
--includedir=%{tde_includedir} \ fi
--datadir=%{tde_datadir} \
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=OFF \
\
-DINCLUDE_INSTALL_DIR=%{_includedir} \
-DLIB_INSTALL_DIR=%{_libdir} \
\ \
--disable-dependency-tracking \ -DWITH_ALL_OPTIONS="ON" \
--disable-debug \ -DWITH_LIBLTDL="OFF" \
--enable-new-ldflags \ -DWITH_ALSA_SINK="ON" \
--enable-final \ %{!?_with_jack:-DWITH_JACK_SINK="OFF"} %{?_with_jack:-DWITH_JACK_SINK="ON"} \
--enable-closure \ %{!?_with_pulseaudio:-DWITH_POLYP_SINK="OFF"} %{?_with_pulseaudio:-DWITH_POLYP_SINK="ON"} \
--enable-rpath \ -DWITH_OSS_SINK="ON" \
--disable-gcc-hidden-visibility \ -DWITH_SUN_SINK="OFF" \
\ \
--without-libltdl \ -DWITH_FFMPEG_DECODER="OFF" \
--with-alsa \ -DWITH_MPC_DECODER="ON" \
--with-oss \ -DWITH_MPEG_DECODER="ON" \
%{?_with_flac} %{!?_with_flac:--without-flac} \ -DWITH_SRC_RESAMPLER="ON" \
%{?_with_jack} %{!?_with_jack:--without-jack} \ -DWITH_XIPH_DECODER="ON" \
%{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \ ..
%{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \
--with-speex \ %__make %{?_smp_mflags} || %__make
--with-vorbis \
--without-ffmpeg \
%{?_with_libmad} %{!?_with_libmad:--without-libmad}
%__make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool # %{?_with_flac} %{!?_with_flac:--without-flac} \
# %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \
# --with-speex \
# --with-vorbis \
# --without-ffmpeg \
# %{?_with_libmad} %{!?_with_libmad:--without-libmad}
%install %install
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{?buildroot} -C build
# unpackaged files # unpackaged files
%__rm -f %{buildroot}%{tde_libdir}/*.a #%__rm -f %{buildroot}%{tde_libdir}/*.a
# rpmdocs # rpmdocs
for file in AUTHORS COPYING NEWS README TODO ; do for file in AUTHORS COPYING NEWS README TODO ; do

@ -1,5 +1,5 @@
# #
# spec file for package arts (version R14.0.0) # spec file for package arts (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -21,7 +21,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_pkg arts %define tde_pkg arts
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
# #
# spec file for package avahi-tqt (version R14.0.0) # spec file for package avahi-tqt (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -17,7 +17,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libavahi %{_lib}avahi %define libavahi %{_lib}avahi

@ -1,5 +1,5 @@
# #
# spec file for package dbus-1-tqt (version R14.0.0) # spec file for package dbus-1-tqt (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -17,7 +17,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libdbus %{_lib}dbus %define libdbus %{_lib}dbus

@ -1,5 +1,5 @@
# #
# spec file for package dbus-tqt (version R14.0.0) # spec file for package dbus-tqt (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -17,7 +17,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libdbus %{_lib}dbus %define libdbus %{_lib}dbus

@ -1,5 +1,5 @@
# #
# spec file for package libart-lgpl (version R14.0.0) # spec file for package libart-lgpl (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -18,7 +18,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libart %{_lib}art %define libart %{_lib}art

@ -1,5 +1,5 @@
# #
# spec file for package libcaldav (version R14.0.0) # spec file for package libcaldav (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -17,7 +17,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_pkg libcaldav %define tde_pkg libcaldav
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include

@ -1,5 +1,5 @@
# #
# spec file for package libcarddav (version R14.0.0) # spec file for package libcarddav (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -17,7 +17,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_pkg libcarddav %define tde_pkg libcarddav
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include

@ -1,5 +1,5 @@
# #
# spec file for package python-tqt (version R14.0.0) # spec file for package python-tqt (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -23,7 +23,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_pkg python-tqt %define tde_pkg python-tqt
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
# #
# spec file for package sip4-tqt (version R14.0.0) # spec file for package sip4-tqt (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -27,7 +27,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_pkg sip4-tqt %define tde_pkg sip4-tqt
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin

@ -1,5 +1,5 @@
# #
# spec file for package tqca-tls (version R14.0.0) # spec file for package tqca-tls (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -17,7 +17,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_pkg tqca-tls %define tde_pkg tqca-tls
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include

@ -1,5 +1,5 @@
# #
# spec file for package tqca (version R14.0.0) # spec file for package tqca (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -17,7 +17,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_pkg tqca %define tde_pkg tqca
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include

@ -1,5 +1,5 @@
# #
# spec file for package tqscintilla (version R14.0.0) # spec file for package tqscintilla (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -17,7 +17,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_pkg tqscintilla %define tde_pkg tqscintilla
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share

@ -1,5 +1,5 @@
# #
# spec file for package tqt3 (version R14.0.0) # spec file for package tqt3 (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -16,7 +16,9 @@
# #
# TDE variables # TDE variables
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libtqt3 %{_lib}tqt3 %define libtqt3 %{_lib}tqt3
@ -262,6 +264,9 @@ BuildRequires: unixODBC-devel
# SQLITE support # SQLITE support
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
# SQLITE3 support
BuildRequires: sqlite3-devel
# POSTGRESQL support # POSTGRESQL support
BuildRequires: postgresql BuildRequires: postgresql
BuildRequires: postgresql-devel BuildRequires: postgresql-devel

@ -1,5 +1,5 @@
# #
# spec file for package tqtinterface (version R14.0.0) # spec file for package tqtinterface (version R14)
# #
# Copyright (c) 2014 Trinity Desktop Environment # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -21,7 +21,9 @@
# TDE variables # TDE variables
%define tde_epoch 2 %define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.0.0 %define tde_version 14.0.0
%endif
%define tde_pkg tqtinterface %define tde_pkg tqtinterface
%define cmake_modules_dir %{_datadir}/cmake/Modules %define cmake_modules_dir %{_datadir}/cmake/Modules

Loading…
Cancel
Save