packages: aften/aften.spec - pl - build and package shared library and C++ ...
qboosh
qboosh at pld-linux.org
Mon Nov 14 18:41:26 CET 2011
Author: qboosh Date: Mon Nov 14 17:41:26 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- pl
- build and package shared library and C++ binding
---- Files affected:
packages/aften:
aften.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/aften/aften.spec
diff -u packages/aften/aften.spec:1.1 packages/aften/aften.spec:1.2
--- packages/aften/aften.spec:1.1 Mon Nov 14 12:22:08 2011
+++ packages/aften/aften.spec Mon Nov 14 18:41:20 2011
@@ -1,24 +1,73 @@
# $Revision$, $Date$
Summary: A/52 audio encoder
-#Summary(pl.UTF-8): -
+Summary(pl.UTF-8): Koder dźwięku A/52
Name: aften
Version: 0.0.8
Release: 1
-License: LGPL
+License: LGPL v2+
Group: Applications/Sound
-Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+Source0: http://downloads.sourceforge.net/aften/%{name}-%{version}.tar.bz2
# Source0-md5: fde67146879febb81af3d95a62df8840
URL: http://aften.sourceforge.net/
-BuildRequires: cmake
+BuildRequires: cmake >= 2.4
+BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Aften is an audio encoder which generates compressed audio streams
based on ATSC A/52 specification. This type of audio is also known
+as AC-3 or Dolby(R) Digital and is one of the audio codecs used in
+DVD-Video content.
+
+%description -l en.UTF-8
+Aften is an audio encoder which generates compressed audio streams
+based on ATSC A/52 specification. This type of audio is also known
as AC-3 or Dolby® Digital and is one of the audio codecs used in
DVD-Video content.
-#%description -l pl.UTF-8
+%description -l pl.UTF-8
+Aften to koder dźwięku generujący skompresowane strumienie dźwięku
+oparte na specyfikacji ATSC A/52. Ten format jest znany także jako
+AC-3 lub Dolby® Digital i jest jednym z kodeków dźwięku używanych w
+treściach DVD-Video.
+
+%package devel
+Summary: Header files for Aften library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Aften
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for Aften library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Aften.
+
+%package c++
+Summary: C++ binding for Aften library
+Summary(pl.UTF-8): Interfejs C++ do biblioteki Aften
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description c++
+C++ binding for Aften library.
+
+%description c++ -l pl.UTF-8
+Interfejs C++ do biblioteki Aften.
+
+%package c++-devel
+Summary: Header file for C++ binding for Aften library
+Summary(pl.UTF-8): Plik nagłówkowy interfejsu C++ do biblioteki Aften
+Group: Development/Libraries
+Requires: %{name}-c++ = %{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
+Requires: libstdc++-devel
+
+%description c++-devel
+Header file for C++ binding for Aften library.
+
+%description c++-devel -l pl.UTF-8
+Plik nagłówkowy interfejsu C++ do biblioteki Aften.
%prep
%setup -q
@@ -26,15 +75,16 @@
%build
install -d build
cd build
-%cmake \
- ../
+%cmake .. \
+ -DSHARED=ON \
+ -DBINDINGS_CXX=ON
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} -C build install/fast \
+%{__make} -C build install/fast \
DESTDIR=$RPM_BUILD_ROOT
%clean
@@ -43,7 +93,29 @@
%files
%defattr(644,root,root,755)
%doc Changelog README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/aften
+%attr(755,root,root) %{_bindir}/wavfilter
+%attr(755,root,root) %{_bindir}/wavinfo
+%attr(755,root,root) %{_bindir}/wavrms
+%attr(755,root,root) %{_libdir}/libaften.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libaften.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libaften.so
+%dir %{_includedir}/aften
+%{_includedir}/aften/aften-types.h
+%{_includedir}/aften/aften.h
+
+%files c++
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libaftenxx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libaftenxx.so.0
+
+%files c++-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libaftenxx.so
+%{_includedir}/aften/aftenxx.h
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -51,6 +123,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2011/11/14 17:41:20 qboosh
+- pl
+- build and package shared library and C++ binding
+
Revision 1.1 2011/11/14 11:22:08 baggins
- new
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/aften/aften.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list