diff options
author | Karol Krenski | 2006-05-01 00:11:03 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 19550c7f0e849a9e7833fe6e724c06820f848889 (patch) | |
tree | 104a87338c41ee6601880458326e78d760024c26 | |
parent | cc646b64482284617af9f61fdb116c302202c89a (diff) | |
download | libsndfile-19550c7f0e849a9e7833fe6e724c06820f848889.zip libsndfile-19550c7f0e849a9e7833fe6e724c06820f848889.tar.gz |
- BR: alsa-lib-devel, pkgconfig and sqlite3-devel (+ without bcond)auto/th/libsndfile-1_0_16-1
- added without static_libs bcond
Changed files:
libsndfile.spec -> 1.52
-rw-r--r-- | libsndfile.spec | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libsndfile.spec b/libsndfile.spec index 3d42f06..a2e41b9 100644 --- a/libsndfile.spec +++ b/libsndfile.spec @@ -1,3 +1,8 @@ +# +# Conditional build: +%bcond_without sqlite # disable use of sqlite +%bcond_without static_libs # don't build static library +# Summary: C library for reading and writing files containing sampled sound Summary(pl): Biblioteka obsługi plików dĽwiękowych Name: libsndfile @@ -9,10 +14,13 @@ Group: Development/Libraries Source0: http://www.mega-nerd.com/libsndfile/%{name}-%{version}.tar.gz # Source0-md5: 773b6639672d39b6342030c7fd1e9719 URL: http://www.mega-nerd.com/libsndfile/ +BuildRequires: alsa-lib-devel BuildRequires: autoconf >= 2.54 BuildRequires: automake BuildRequires: flac-devel >= 1.1.1 BuildRequires: libtool +BuildRequires: pkgconfig +%{?with_sqlite:BuildRequires: sqlite3-devel} Obsoletes: libsndfile1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -76,7 +84,10 @@ dĽwiękowych. %{__aclocal} %{__autoconf} %{__automake} -%configure +%configure \ + %{!?with_static_libs:--disable-static} \ + %{!?with_sqlite:--disable-sqlite} + %{__make} %install @@ -108,9 +119,11 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/* %{_pkgconfigdir}/*.pc +%if %{with static_libs} %files static %defattr(644,root,root,755) %{_libdir}/lib*.a +%endif %files octave %defattr(644,root,root,755) |