From 120c009c12336384802ea60db6f86d63c1011fd1 Mon Sep 17 00:00:00 2001 From: François Cami Date: Aug 26 2014 19:46:56 +0000 Subject: add %{?_isa} to Requires for the -devel subpackage; add a -qt subpackage to host the alsoft-config tool --- diff --git a/openal-soft.spec b/openal-soft.spec index fbcec8c..a2e0e01 100644 --- a/openal-soft.spec +++ b/openal-soft.spec @@ -1,6 +1,6 @@ Name: openal-soft Version: 1.16.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open Audio Library Group: System Environment/Libraries @@ -30,7 +30,7 @@ and audio capture. %package devel Summary: Development files for %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: openal-devel <= 0.0.10 Provides: openal-devel = %{version} @@ -38,6 +38,15 @@ Provides: openal-devel = %{version} The %{name}-devel package contains libraries and header files for 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 %setup -q @@ -58,7 +67,6 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf %files %doc COPYING %{_bindir}/openal-info -%{_bindir}/alsoft-config %{_libdir}/libopenal.so.* %dir %{_sysconfdir}/openal %config(noreplace) %{_sysconfdir}/openal/alsoft.conf @@ -76,8 +84,13 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf #%dir %{_datarootdir}/openal/examples #%{_datarootdir}/openal/examples/common/* +%files qt +%{_bindir}/alsoft-config %changelog +* Tue Aug 26 2014 François Cami - 1.16.0-2 +- Add the -qt subpackage to host the alsoft-config tool + * Sun Aug 17 2014 François Cami - 1.16.0-1 - New upstream release