Accepting request 83630 from multimedia:libs

- Apply packaging guidelines (remove redundant/obsolete
  tags/sections from specfile, etc.)
- Add flac-devel to baselibs (forwarded request 83524 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flac?expand=0&rev=25
This commit is contained in:
Lars Vogdt 2011-09-19 20:50:34 +00:00 committed by Git OBS Bridge
commit f634b1568b
3 changed files with 12 additions and 29 deletions

View File

@ -2,3 +2,7 @@ libFLAC8
obsoletes "flac-<targettype> <= <version>"
obsoletes "libflac-<targettype> <= <version>"
libFLAC++6
flac-devel
requires -flac-<targettype>
requires "libFLAC8-<targettype> = <version>"
requires "libFLAC++6-<targettype> = <version>"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Apply packaging guidelines (remove redundant/obsolete
tags/sections from specfile, etc.)
- Add flac-devel to baselibs
-------------------------------------------------------------------
Sat Aug 6 04:00:28 UTC 2011 - crrodriguez@opensuse.org

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: flac
@ -46,12 +45,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
FLAC is an open source lossless audio codec developed by Josh Coalson.
Authors:
--------
Josh Coalson
%package -n libFLAC8
Summary: Free Lossless Audio Codec Library
License: BSD3c(or similar)
@ -63,12 +56,6 @@ Provides: libflac = %{version}
This package contains the library for FLAC (Free Lossless Audio Codec)
developed by Josh Coalson.
Authors:
--------
Josh Coalson
%package -n libFLAC++6
Summary: Free Lossless Audio Codec Library
License: BSD3c(or similar)
@ -78,12 +65,6 @@ Group: System/Libraries
This package contains the C++ library for FLAC (Free Lossless Audio
Codec) developed by Josh Coalson.
Authors:
--------
Josh Coalson
%package devel
Summary: FLAC Library Development Package
License: BSD3c(or similar)
@ -94,12 +75,6 @@ Requires: libFLAC8 = %{version} libFLAC++6 = %{version} glibc-devel libstd
This package contains the files needed to compile programs that use the
FLAC library.
Authors:
--------
Josh Coalson
%prep
%setup -q
%patch
@ -118,7 +93,7 @@ export CXXFLAGS="$CFLAGS"
--disable-static \
--disable-rpath \
--with-pic
%{__make} %{?jobs:-j %jobs}
make %{?_smp_mflags}
%install
%makeinstall
@ -142,9 +117,6 @@ make check
%postun -n libFLAC++6
%run_ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc %{_docdir}/%{name}