]> git.pld-linux.org Git - packages/ecasound.git/blobdiff - ecasound.spec
- :!sort BuildRequires rules.
[packages/ecasound.git] / ecasound.spec
index 14068a11a453da31b99f82c8c5edd1e7281e7105..5d67d93bef0be5aab0b7c06ab16610d18fcb9f35 100644 (file)
@@ -1,22 +1,36 @@
+
 Summary:       Software package for multitrack audio processing
 Summary(pl):   Oprogramowanie do wielo¶cie¿kowego przetwarzania d¼wiêku
 Name:          ecasound
-Version:       1.8.2r14
-Release:       1
+Version:       2.0.3
+Release:       2
 License:       GPL
 Group:         Applications/Sound
 Group(de):     Applikationen/Laut
 Group(pl):     Aplikacje/D¼wiêk
 Source0:       http://ecasound.seul.org/download/%{name}-%{version}.tar.gz
-BuildRequires: audiofile-devel >= 0.1.7
-BuildRequires: readline-devel
-BuildRequires: ncurses-devel >= 5.0
+Patch0:                %{name}-am_fix.patch
+Patch1:                %{name}-ac_fix.patch
+Patch2:                %{name}-readline.patch
+Patch3:                %{name}-am15.patch
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: audiofile-devel >= 0.2.0
+%ifnarch sparc sparc64
+%{!?_without_alsa:BuildRequires:       alsa-lib-devel}
+%endif
+BuildRequires: libtool
+BuildRequires: libstdc++-devel
+BuildRequires: readline-devel >= 4.2
+BuildRequires: rpm-pythonprov
+BuildRequires: python-devel >= 2.1
 Requires:      lame
 Requires:      mpg123
+Requires:      libecasound = %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%include /usr/lib/rpm/macros.python
+
 %description
 Ecasound is a software package designed for multitrack audio
 processing. It can be used for simple tasks like audio playback,
@@ -55,8 +69,12 @@ Summary:     Ecasound libraries
 Summary(pl):   Biblioteki programu ecasound
 Group:         Development/Libraries
 Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
 Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 
 %description -n libecasound
 Ecasound libraries.
@@ -69,8 +87,12 @@ Summary:     Ecasound headers
 Summary(pl):   Pliki nag³ówkowe bibliotek programu ecasound
 Group:         Development/Libraries
 Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
 Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      libecasound = %{version}
 
 %description -n libecasound-devel
@@ -84,8 +106,12 @@ Summary:    Ecasound static libraries
 Summary(pl):   Biblioteki statyczne programu ecasound
 Group:         Development/Libraries
 Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
 Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      libecasound-devel = %{version}
 
 %description -n libecasound-static
@@ -94,36 +120,85 @@ Ecasound static libraries.
 %description -l pl -n libecasound-static
 Biblioteki statyczne programu ecasound.
 
+%package plugins
+Summary:       Ecasound plugins (ALSA, Audio File Library, aRts)
+Summary(pl):   Wtyczki dla programu ecasound (ALSA, Audio File Library, aRts)
+Group:         Applications/Sound
+Group(de):     Applikationen/Laut
+Group(pl):     Aplikacje/D¼wiêk
+Requires:      ecasound = %{version}
+
+%description plugins
+This package contains ecasound plugins, which give support for ALSA,
+Audio File Library and aRts.
+
+%description -l pl plugins
+Pakiet ten zawiera wtyczki dla programu ecasound, które umo¿liwiaj±
+wspó³pracê z bibliotekami takich projektów jak ALSA, Audio File
+Library oraz aRts.
+
+%package -n python-%{name}
+Summary:       Python module for Ecasound
+Summary(pl):   Modu³ jêzyka Python dla biblioteki programu ecasound
+Group:         Development/Languages/Python
+Group(de):     Entwicklung/Sprachen/Python
+Group(pl):     Programowanie/Jêzyki/Python
+%requires_eq   python
+
+%description -n python-%{name}
+Python module for Ecasound library.
+
+%description -l pl -n python-%{name}
+Modu³ jêzyka Python dla biblioteki programu ecasound.
+
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
-CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti"
+rm missing
+%ifarch sparc sparc64
+libtoolize --copy --force
+%endif
+aclocal
+autoconf
+automake -a -c
+CXXFLAGS="%{rpmcflags} -D_REENTRANT"
 %configure \
-       --enable-sys-readline
+       --enable-sys-readline \
+       --with-python-includes=%{py_incdir} \
+       --with-python-modules=%{py_libdir} \
+       %{?_without_alsa:--disable-alsa}
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+%{__install} -d $RPM_BUILD_ROOT%{py_sitedir}
+
 %{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
+install pyecasound/*.py $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/*/*
+%post   -n libecasound -p /sbin/ldconfig
+%postun -n libecasound -p /sbin/ldconfig
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -n libecasound -p /sbin/ldconfig
-%postun -n libecasound -p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ecaconvert
 %attr(755,root,root) %{_bindir}/ecafixdc
 %attr(755,root,root) %{_bindir}/ecanormalize
 %attr(755,root,root) %{_bindir}/ecaplay
+%attr(755,root,root) %{_bindir}/ecasignalview
 %attr(755,root,root) %{_bindir}/ecasound
-%attr(755,root,root) %{_bindir}/ecasound-config
 %{_mandir}/man1/eca*
 %{_mandir}/man5/eca*
 
@@ -136,7 +211,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n libecasound-devel
 %defattr(644,root,root,755)
-%{_includedir}/ecasound/[^qe]*
+%attr(755,root,root) %{_bindir}/ecasound-config
+%attr(755,root,root) %{_bindir}/ecasoundc-config
+%{_includedir}/ecasound/*
 %{_includedir}/kvutils/*
 %attr(755,root,root) %{_libdir}/libkvutils.so
 %attr(755,root,root) %{_libdir}/libkvutils.la
@@ -146,4 +223,17 @@ rm -rf $RPM_BUILD_ROOT
 %files -n libecasound-static
 %defattr(644,root,root,755)
 %{_libdir}/libkvutils.a
-%{_libdir}/libecasound*.a
+%{_libdir}/libecasound.a
+%{py_dyndir}/*.a
+
+%files plugins
+%defattr(644,root,root,755)
+%dir %{_libdir}/ecasound-plugins
+%attr(755,root,root) %{_libdir}/ecasound-plugins/lib*.so*
+%{_libdir}/ecasound-plugins/lib*.la
+%{_libdir}/ecasound-plugins/lib*.a
+
+%files -n python-%{name}
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_dyndir}/*.so
+%{py_sitedir}/*.py[co]
This page took 0.065347 seconds and 4 git commands to generate.