Cosmetic cleanups only : Indentation and consistency.
This commit is contained in:
parent
e40daeb423
commit
09932a2943
@ -1,25 +1,25 @@
|
|||||||
%define prever rc1
|
%define prever rc1
|
||||||
%define prever_dot .rc1
|
%define prever_dot .rc1
|
||||||
|
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||||
Name: alsa-utils
|
Name: alsa-utils
|
||||||
Version: 1.0.15
|
Version: 1.0.15
|
||||||
Release: 0.3%{?prever_dot}%{?dist}
|
Release: 0.3%{?prever_dot}%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
|
||||||
Source2: salsa.c
|
Source2: salsa.c
|
||||||
Source3: alsacard.c
|
Source3: alsacard.c
|
||||||
Source4: alsaunmute.c
|
Source4: alsaunmute.c
|
||||||
Source10: alsa.rules
|
Source10: alsa.rules
|
||||||
Patch: alsa-utils-1.0.14-alsaconf.patch
|
Patch0: alsa-utils-1.0.14-alsaconf.patch
|
||||||
Patch1: alsa-utils-1.0.14-statedir.patch
|
Patch1: alsa-utils-1.0.14-statedir.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: alsa-lib-devel >= %{version}
|
BuildRequires: alsa-lib-devel >= %{version}
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
Conflicts: udev < 062
|
Conflicts: udev < 062
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains command line utilities for the Advanced Linux Sound
|
This package contains command line utilities for the Advanced Linux Sound
|
||||||
@ -27,7 +27,7 @@ Architecture (ALSA).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?prever}
|
%setup -q -n %{name}-%{version}%{?prever}
|
||||||
%patch -p1
|
%patch0 -p1
|
||||||
%patch1 -p1 -b .statedir
|
%patch1 -p1 -b .statedir
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -38,7 +38,7 @@ Architecture (ALSA).
|
|||||||
%{__cc} $RPM_OPT_FLAGS -o alsaunmute %{SOURCE4} -lasound
|
%{__cc} $RPM_OPT_FLAGS -o alsaunmute %{SOURCE4} -lasound
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf ${RPM_BUILD_ROOT}
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ touch $RPM_BUILD_ROOT/var/lib/alsa/asound.state
|
|||||||
%{_datadir}/alsa/
|
%{_datadir}/alsa/
|
||||||
%{_datadir}/sounds/
|
%{_datadir}/sounds/
|
||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
%dir /var/lib/alsa
|
%dir /var/lib/alsa/
|
||||||
%ghost /var/lib/alsa/asound.state
|
%ghost /var/lib/alsa/asound.state
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user