Package not found: openSUSE:Factory:Staging:adi:7/perl-B-Hooks-OP-PPAddr

File shntool.spec of Package shntool

%define realname shntool
%define realver  3.0.10
%define srcext   tar.gz

# turn off the generation of debuginfo rpm  (RH9) ??
%global debug_package %{nil}

# Common info
Name:          %{realname}
Version:       %{realver}
Release:       wiz%{?extraver:0.}1%{?dist}
License:       GPL-2.0
Group:         Productivity/Multimedia/Sound/Editors and Convertors
URL:           http://www.etree.org/shnutils/shntool/
Summary:       Multi-purpose WAVE data processing and reporting utility

# Install-time parameters
%if 0%{?suse_version}
Recommends:    flac wavpack
%endif

# Build-time parameters
#BuildRequires: 
BuildRoot:     %{_tmppath}/%{name}-root
Source:        http://www.etree.org/shnutils/shntool/dist/src/%{realname}-%{realver}%{?extraver}.%{srcext}

%description
shntool is a multi-purpose WAVE data processing and reporting utility. File
formats are abstracted from its core, so it can process any file that contains
WAVE data, compressed or not - provided there exists a format module to handle
that particular file type.

shntool has native support for .wav files. If you want it to work with other
lossless audio formats, you must have the appropriate helper program installed.

# Preparation step (unpackung and patching if necessary)
%prep
%setup -q -n %{realname}-%{realver}%{?extraver}

%build
%configure \
 --disable-static \
 CFLAGS="%{optflags} %{?gcc_lto}" \
 CXXFLAGS="%{optflags} %{?gcc_lto}" \
 LDFLAGS="-Wl,--as-needed -Wl,--strip-all %{?gcc_lto}"
%{__make} %{?_smp_mflags}

%install
%{__make} install DESTDIR=%{buildroot}

%clean
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README doc/BUGS doc/CREDITS
%{_bindir}/*
%doc %{_mandir}/man1/*

%changelog
openSUSE Build Service is sponsored by