add %{?_isa} to Requires for the -devel subpackage; add a -qt subpackage to host the alsoft-config tool

epel10
François Cami 11 years ago
parent 613fe9149b
commit 120c009c12

@ -1,6 +1,6 @@
Name: openal-soft Name: openal-soft
Version: 1.16.0 Version: 1.16.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Open Audio Library Summary: Open Audio Library
Group: System Environment/Libraries Group: System Environment/Libraries
@ -30,7 +30,7 @@ and audio capture.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: openal-devel <= 0.0.10 Obsoletes: openal-devel <= 0.0.10
Provides: openal-devel = %{version} Provides: openal-devel = %{version}
@ -38,6 +38,15 @@ Provides: openal-devel = %{version}
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%package qt
Summary: Qt frontend for configuring OpenAL Soft
Group: Applications/System
Requires: %{name}%{?_isa} = %{version}-%{release}
%description qt
The %{name}-qt package contains alsoft-config, a Qt-based tool
for configuring OpenAL features.
%prep %prep
%setup -q %setup -q
@ -58,7 +67,6 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf
%files %files
%doc COPYING %doc COPYING
%{_bindir}/openal-info %{_bindir}/openal-info
%{_bindir}/alsoft-config
%{_libdir}/libopenal.so.* %{_libdir}/libopenal.so.*
%dir %{_sysconfdir}/openal %dir %{_sysconfdir}/openal
%config(noreplace) %{_sysconfdir}/openal/alsoft.conf %config(noreplace) %{_sysconfdir}/openal/alsoft.conf
@ -76,8 +84,13 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf
#%dir %{_datarootdir}/openal/examples #%dir %{_datarootdir}/openal/examples
#%{_datarootdir}/openal/examples/common/* #%{_datarootdir}/openal/examples/common/*
%files qt
%{_bindir}/alsoft-config
%changelog %changelog
* Tue Aug 26 2014 François Cami <fcami@fedoraproject.org> - 1.16.0-2
- Add the -qt subpackage to host the alsoft-config tool
* Sun Aug 17 2014 François Cami <fcami@fedoraproject.org> - 1.16.0-1 * Sun Aug 17 2014 François Cami <fcami@fedoraproject.org> - 1.16.0-1
- New upstream release - New upstream release

Loading…
Cancel
Save