ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: libsbc
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_disable static
%define snapdate 20070327
Name: libsbc
Version: 0.0
Release: alt0.cvs.%snapdate
Summary: subband codec (SBC) library
License: GPL/LGPL
Group: System/Libraries
URL: http://bluetooth-alsa.sourceforge.net
Packager: L.A. Kostis <lakostis at altlinux.ru>
Source: libsbc-%version.tar
Patch: sbcinfo-deb-man.diff
%description
Bluetooth low-complexity, subband codec (SBC) library.
%package devel
Summary: Development files for subband codec (SBC) library
Group: Development/C
Requires: %name = %version-%release
Provides: libsbc-devel
%description devel
Header files for libsbc library.
%package -n sbcinfo
Summary: Subband codec (SBC) analyzer
Group: Sound
Requires: %name = %version-%release
%description -n sbcinfo
Bluetooth low-complexity, subband codec (SBC) analyzer.
%prep
%setup -q
%patch -p1
%build
%__autoreconf
%configure %{subst_enable static}
%make_build
%install
%make DESTDIR=%buildroot install
mkdir -p %buildroot%_man1dir
%__install -pm644 debian/*.1 %buildroot%_man1dir/
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS README COPYING*
%_libdir/lib*.so.*
%files devel
%_libdir/lib*.so
%_includedir/*
%_datadir/aclocal/*.m4
%_pkgconfigdir/*.pc
%if_enabled static
%_libdir/lib*.a
%endif #static
%files -n sbcinfo
%_bindir/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui
%define snapdate 20070327
Name: libsbc
Version: 0.0
Release: alt0.cvs.%snapdate
Summary: subband codec (SBC) library
License: GPL/LGPL
Group: System/Libraries
URL: http://bluetooth-alsa.sourceforge.net
Packager: L.A. Kostis <lakostis at altlinux.ru>
Source: libsbc-%version.tar
Patch: sbcinfo-deb-man.diff
%description
Bluetooth low-complexity, subband codec (SBC) library.
%package devel
Summary: Development files for subband codec (SBC) library
Group: Development/C
Requires: %name = %version-%release
Provides: libsbc-devel
%description devel
Header files for libsbc library.
%package -n sbcinfo
Summary: Subband codec (SBC) analyzer
Group: Sound
Requires: %name = %version-%release
%description -n sbcinfo
Bluetooth low-complexity, subband codec (SBC) analyzer.
%prep
%setup -q
%patch -p1
%build
%__autoreconf
%configure %{subst_enable static}
%make_build
%install
%make DESTDIR=%buildroot install
mkdir -p %buildroot%_man1dir
%__install -pm644 debian/*.1 %buildroot%_man1dir/
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS README COPYING*
%_libdir/lib*.so.*
%files devel
%_libdir/lib*.so
%_includedir/*
%_datadir/aclocal/*.m4
%_pkgconfigdir/*.pc
%if_enabled static
%_libdir/lib*.a
%endif #static
%files -n sbcinfo
%_bindir/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui