Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
EL5
>
a52dec
> a52dec.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File a52dec.spec of Package a52dec (Revision 2)
Currently displaying revision
2
,
show latest
# # specfile for a52dec # # norootforbuild %define major 0 %define lib liba52 %define libname %{lib}-%{major} %define mandir %{_mandir} Summary: Library for decoding ATSC A/52 streams Summary(de): Bibliothek zum dekodieren von ATSC A/52 Streams Name: a52dec Version: 0.7.5svn Release: 3 License: GPL v2 or later Group: Productivity/Multimedia/Sound/Utilities Source0: %{name}-%{version}.tar.bz2 Source1: mm_accel.h Patch0: %{name}-compat.diff URL: http://liba52.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: a52 = %{version}-%{release} Obsoletes: a52 < %{version}-%{release} BuildRequires: glibc-devel BuildRequires: gcc BuildRequires: gzip Requires: %{libname} = %{version}-%{release} Autoreqprov: On %description liba52 is a free library for decoding ATSC A/52 streams. %description -l de liba52 ist eine frei Biblothek zum dekodieren von ATSC A/52 Streams. %package -n %{libname} Group: System/Libraries Summary: Shared library part of a52dec Summary(de): Bibliotheken zu a52dec Provides: %{lib} = %{version}-%{release} Obsoletes: %{lib} < %{version}-%{release} Provides: liba52dec0 = %{version}-%{release} Obsoletes: liba52dec0 < %{version}-%{release} %description -n %{libname} liba52 is a free library for decoding ATSC A/52 streams. Shared library part of a52dec. %description -n %{libname} -l de liba52 ist eine frei Biblothek zum dekodieren von ATSC A/52 Streams. Bibliotheken zu a52dec. %package -n %{lib}-devel Group: Development/Libraries/C and C++ Summary: Header files and static library for the a52dec library Summary(de): Header Dateien und statische Bibliotheken für die a52dec Bibliothek Provides: liba52dec-devel = %{version}-%{release} Obsoletes: liba52dec-devel < %{version}-%{release} Requires: %{libname} = %{version}-%{release} Requires: glibc-devel Requires: gcc %description -n %{lib}-devel Header files and static library for the a52dec library. Install this package if you want to compile programs using the library. %description -n %{lib}-devel -l de Header Dateien und statische Bibliotheken für die a52dec Bibliothek. Installieren Sie dieses Paket, wenn Sie Programme kompilieren wollen, die diese Bibliothek verwenden. %debug_package %prep %setup %patch0 -p1 %build %ifarch x86_64 amd64 ia32e CFLAGS="${RPM_OPT_FLAGS} -fPIC" %else CFLAGS="${RPM_OPT_FLAGS}" %endif CC=gcc export CC CFLAGS if [ ! -f configure ]; then %{?suse_update_config:%{suse_update_config -f}} aclocal mkdir .auto libtoolize --force aclocal -I m4 autoheader automake --gnu --add-missing autoconf automake fi %configure --enable-shared --disable-static %__make %{?jobs:-j%{jobs}} %install [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} mkdir %{buildroot} %makeinstall %{__install} -m 644 %{SOURCE1} %{buildroot}%{_includedir}/a52dec/ %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-, root, root) %doc README ChangeLog AUTHORS HISTORY INSTALL NEWS TODO COPYING %{_bindir}/* %{mandir}/man1/* %files -n %{libname} %defattr(-,root,root) %{_libdir}/*.so.* %files -n %{lib}-devel %defattr(-,root,root) %{_includedir}/a52dec/ %{_libdir}/*.so %{_libdir}/*.la %{_libdir}/pkgconfig/liba52.pc %changelog * Wed May 05 2010 Carsten Schoene <cs@linux-administrator.com> - 1.6.1-3 - EL5 import