SPECS: fluidsynth.spec - lt/ac/am; added -build.patch; BR: autoconf, libtoo...
charles
charles at pld-linux.org
Sun Sep 14 13:53:32 CEST 2008
Author: charles Date: Sun Sep 14 11:53:32 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- lt/ac/am; added -build.patch; BR: autoconf, libtool
- %files cleanups
- without static_libs bcond
---- Files affected:
SPECS:
fluidsynth.spec (1.33 -> 1.34)
---- Diffs:
================================================================
Index: SPECS/fluidsynth.spec
diff -u SPECS/fluidsynth.spec:1.33 SPECS/fluidsynth.spec:1.34
--- SPECS/fluidsynth.spec:1.33 Tue Jan 1 00:38:18 2008
+++ SPECS/fluidsynth.spec Sun Sep 14 13:53:26 2008
@@ -1,8 +1,9 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_with ladcca # enable ladcca sesion managment support
-%bcond_with sse # use the SSE instructions of Pentium3+ or Athlon XP
+%bcond_with ladcca # enable ladcca sesion managment support
+%bcond_with sse # use the SSE instructions of Pentium3+ or Athlon XP
+%bcond_without static_libs # don't build static library
#
%ifarch pentium3 pentium4 %{x8664}
%define with_sse 1
@@ -17,13 +18,16 @@
Group: Applications/Sound
Source0: http://savannah.nongnu.org/download/fluid/%{name}-%{version}.tar.gz
# Source0-md5: e2abfd2e69fd8b28d965df968d7d44ee
+Patch0: %{name}-build.patch
URL: http://www.fluidsynth.org/
BuildRequires: alsa-lib-devel >= 0.9.0
+BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: jack-audio-connection-kit-devel
%{?with_ladcca:BuildRequires: ladcca-devel < 0.4.0}
%{?with_ladcca:BuildRequires: ladcca-devel >= 0.3.1}
BuildRequires: ladspa-devel
+BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.213
Requires: alsa-lib
@@ -65,18 +69,24 @@
%prep
%setup -q
+%patch0 -p1
%build
-cp /usr/share/automake/config.sub .
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
%{!?with_ladcca:--disable-ladcca} \
+ %{!?with_static_libs:--disable-static} \
%{?with_sse:--enable-SSE} \
--enable-coreaudio \
--enable-jack-support \
--enable-ladspa \
- --enable-midishare \
- --enable-profiling
+ --enable-profiling \
+ --without-readline
%{__make}
@@ -96,21 +106,24 @@
%files
%defattr(644,root,root,755)
%doc ChangeLog README
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/fluidsynth
+%attr(755,root,root) %{_libdir}/libfluidsynth.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfluidsynth.so.1
+%{_mandir}/man1/fluidsynth.1*
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib%{name}.so
-%{_libdir}/lib%{name}.la
-%{_includedir}/%{name}.h
+%attr(755,root,root) %{_libdir}/libfluidsynth.so
+%{_libdir}/libfluidsynth.la
+%{_includedir}/fluidsynth.h
%{_includedir}/%{name}
%{_pkgconfigdir}/fluidsynth.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib%{name}.a
+%{_libdir}/libfluidsynth.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -118,6 +131,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.34 2008/09/14 11:53:26 charles
+- lt/ac/am; added -build.patch; BR: autoconf, libtool
+- %files cleanups
+- without static_libs bcond
+
Revision 1.33 2007/12/31 23:38:18 zbyniu
- up to 1.0.8
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fluidsynth.spec?r1=1.33&r2=1.34&f=u
More information about the pld-cvs-commit
mailing list