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