From 56e52d3e4e617e912d29e8ab33ac09140908b5348bd7c4ababb7193332bed6b6 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Sat, 6 Aug 2011 17:17:28 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/flac revision 24.0 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/flac?expand=0&rev=e5ed3ca818e23a3ed9e699f8b53214d6 --- flac.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flac.spec b/flac.spec index 06701c4..61d02a1 100644 --- a/flac.spec +++ b/flac.spec @@ -1,7 +1,7 @@ # -# spec file for package flac (Version 1.2.1) +# spec file for package flac # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,7 @@ Obsoletes: flac-64bit # Summary: Free Lossless Audio Codec Version: 1.2.1 -Release: 78 +Release: 83 License: BSD3c(or similar) Group: Productivity/Multimedia/Sound/Utilities Source: %{name}-%{version}.tar.bz2 @@ -107,6 +107,7 @@ Authors: %patch2 %patch3 -p1 %patch4 + %build autoreconf --force --install %define warn_flags -W -Wall -Wstrict-prototypes -Wformat-security From 4a7d37be9621631338d1a1acd5679d5e790e2ec49d26f1df22d306ac8d709b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 19 Sep 2011 16:07:42 +0000 Subject: [PATCH 2/2] Accepting request 83524 from home:jengelh:bl-f - Apply packaging guidelines (remove redundant/obsolete tags/sections from specfile, etc.) - Add flac-devel to baselibs OBS-URL: https://build.opensuse.org/request/show/83524 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/flac?expand=0&rev=11 --- baselibs.conf | 4 ++++ flac.changes | 7 +++++++ flac.spec | 30 +----------------------------- 3 files changed, 12 insertions(+), 29 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index 4b40f6a..01ed91c 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -2,3 +2,7 @@ libFLAC8 obsoletes "flac- <= " obsoletes "libflac- <= " libFLAC++6 +flac-devel + requires -flac- + requires "libFLAC8- = " + requires "libFLAC++6- = " diff --git a/flac.changes b/flac.changes index 646842f..31e5a34 100644 --- a/flac.changes +++ b/flac.changes @@ -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 diff --git a/flac.spec b/flac.spec index 61d02a1..0550f07 100644 --- a/flac.spec +++ b/flac.spec @@ -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}