create libs subpackage
This commit is contained in:
parent
2497fc4bd8
commit
739d881cba
31
flac.spec
31
flac.spec
@ -13,6 +13,8 @@ Source0: %{name}-%{gitdate}git%{gitrev}.tar.xz
|
|||||||
#Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz
|
#Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz
|
||||||
URL: http://flac.sourceforge.net/
|
URL: http://flac.sourceforge.net/
|
||||||
|
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
BuildRequires: libogg-devel
|
BuildRequires: libogg-devel
|
||||||
BuildRequires: automake autoconf libtool gettext-devel doxygen
|
BuildRequires: automake autoconf libtool gettext-devel doxygen
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
@ -28,10 +30,26 @@ flac, a command-line program to encode and decode FLAC files, metaflac,
|
|||||||
a command-line metadata editor for FLAC files and input plugins for
|
a command-line metadata editor for FLAC files and input plugins for
|
||||||
various music players.
|
various music players.
|
||||||
|
|
||||||
|
This package contains the command-line tools and documentation.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries for the Free Lossless Audio Codec
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC
|
||||||
|
is similar to Ogg Vorbis, but lossless. The FLAC project consists of
|
||||||
|
the stream format, reference encoders and decoders in library form,
|
||||||
|
flac, a command-line program to encode and decode FLAC files, metaflac,
|
||||||
|
a command-line metadata editor for FLAC files and input plugins for
|
||||||
|
various music players.
|
||||||
|
|
||||||
|
This package contains the FLAC libraries.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development libraries and header files from FLAC
|
Summary: Development libraries and header files from FLAC
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -67,17 +85,20 @@ rm %{buildroot}%{_libdir}/*.la
|
|||||||
%check
|
%check
|
||||||
make -C test check FLAC__TEST_LEVEL=0 &> /dev/null
|
make -C test check FLAC__TEST_LEVEL=0 &> /dev/null
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING* README flac-doc/*
|
%doc flac-doc/*
|
||||||
%{_bindir}/flac
|
%{_bindir}/flac
|
||||||
%{_bindir}/metaflac
|
%{_bindir}/metaflac
|
||||||
%{_libdir}/*.so.*
|
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%doc AUTHORS COPYING* README
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc flac-doc-devel/*
|
%doc flac-doc-devel/*
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user