rebuilt with more configure options; disable static build [release 0.30-7mamba;Sat Jan 19 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 03:56:53 +01:00
parent 0ae370b682
commit dc55508f53

View File

@ -1,6 +1,6 @@
Name: libcanberra Name: libcanberra
Version: 0.30 Version: 0.30
Release: 6mamba Release: 7mamba
Summary: Portable Sound Event Library Summary: Portable Sound Event Library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -17,12 +17,18 @@ BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel BuildRequires: libXdmcp-devel
BuildRequires: libalsa-devel BuildRequires: libalsa-devel
BuildRequires: libatk-devel BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libdw-devel
BuildRequires: libelf-devel
BuildRequires: libexpat-devel BuildRequires: libexpat-devel
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel BuildRequires: libgraphite2-devel
@ -31,18 +37,24 @@ BuildRequires: libgtk-devel
BuildRequires: libgtk2-devel BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel BuildRequires: libharfbuzz-devel
BuildRequires: libltdl-devel BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libmount-devel
BuildRequires: libogg-devel BuildRequires: libogg-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-devel
%endif %endif
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libtdb-devel BuildRequires: libtdb-devel
BuildRequires: libthai-devel
BuildRequires: libunwind-devel
BuildRequires: libuuid-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: udev-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpulseaudio-devel >= 12.2-1mamba BuildRequires: libpulseaudio-devel >= 12.2-1mamba
BuildRequires: libtdb-devel BuildRequires: libtdb-devel
@ -112,22 +124,47 @@ This package contains %{name} API documentation.
%build %build
%configure \ %configure \
--disable-static \
--enable-alsa \ --enable-alsa \
--enable-null \ --enable-null \
--enable-gstreamer \
--enable-pulse \
--enable-oss \
--with-builtin=dso \ --with-builtin=dso \
--disable-schemas-install \ --disable-schemas-install \
--enable-static --with-systemdsystemunitdir=%{_unitdir}
# --enable-gtk-doc
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
rm -rf %{buildroot}%{_datadir}/doc/libcanberra rm -rf %{buildroot}%{_datadir}/doc/libcanberra
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig %post
%postun -p /sbin/ldconfig /sbin/ldconfig
%systemd_post canberra-system-bootup
%systemd_post canberra-system-shutdown-reboot
%systemd_post canberra-system-shutdown
:
%preun
%systemd_preun canberra-system-bootup
%systemd_preun canberra-system-shutdown-reboot
%systemd_preun canberra-system-shutdown
:
%postun
/sbin/ldconfig
%systemd_postun canberra-system-bootup
%systemd_postun canberra-system-shutdown-reboot
%systemd_postun canberra-system-shutdown
:
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -157,14 +194,8 @@ rm -rf %{buildroot}%{_datadir}/doc/libcanberra
%{_libdir}/libcanberra-gtk.so %{_libdir}/libcanberra-gtk.so
%{_libdir}/libcanberra-gtk3.so %{_libdir}/libcanberra-gtk3.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%files static
%defattr(-,root,root)
%{_libdir}/libcanberra-%{version}/libcanberra-*.a
%{_libdir}/libcanberra-%{version}/libcanberra-*.la %{_libdir}/libcanberra-%{version}/libcanberra-*.la
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.a
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.la %{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.la
%{_libdir}/*.a
%{_libdir}/*.la %{_libdir}/*.la
%files gtk2 %files gtk2
@ -195,6 +226,9 @@ rm -rf %{buildroot}%{_datadir}/doc/libcanberra
%{_datadir}/gtk-doc/html/libcanberra/style.css %{_datadir}/gtk-doc/html/libcanberra/style.css
%changelog %changelog
* Sat Jan 19 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30-7mamba
- rebuilt with more configure options; disable static build
* Sat Aug 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30-6mamba * Sat Aug 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30-6mamba
- rebuilt with pulseaudio 12.2 - rebuilt with pulseaudio 12.2