Author: qboosh                       Date: Sat Mar  5 18:09:12 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl fixes (typos, "wrapper" != "zamiennik")
- added link patch, BR: OpenThreads-devel, BR+R libogg-devel (used if found)
- package static library; pass --enable-static not to depend on libtool version

---- Files affected:
SPECS:
   OpenAL++.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/OpenAL++.spec
diff -u SPECS/OpenAL++.spec:1.2 SPECS/OpenAL++.spec:1.3
--- SPECS/OpenAL++.spec:1.2     Sat Mar  5 15:59:32 2005
+++ SPECS/OpenAL++.spec Sat Mar  5 19:09:06 2005
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 %define _snap 050303
 Summary:       An object oriented wrapper for OpenAL
-Summary(pl):   Obiektowy zamiennik dla OpenAL
+Summary(pl):   Obiektowy wrapper dla OpenAL
 Name:          OpenAL++
 Version:       0.2
 Release:       0.20%{_snap}.1
@@ -9,12 +9,17 @@
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/alpp/openalpp-%{_snap}.tgz
 # Source0-md5: f93325e71675e7e4744cbdb4ca3b9603
+Patch0:                openalpp-link.patch
 URL:           http://alpp.sourceforge.net/
 BuildRequires: OpenAL-devel
+BuildRequires: OpenThreads-devel
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: libogg-devel
 BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
+# disabled - unfinished (apps would require -DWITH_PORTAUDIO)
+#BuildRequires:        portaudio-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,9 +28,9 @@
 streaming sound over sockets or from an input device.
 
 %description -l pl
-OpenAL++ to zorientowany obiektowo zamiennik OpenAL. Znacznie ułatwia
-używanie dźwięku przestrzennego. Posiada wbudowaną funkcionalność
-strumieniowania dzięku po gniazdach lub z urządzenia wejściowego.
+OpenAL++ to zorientowany obiektowo wrapper na OpenAL. Znacznie ułatwia
+używanie dźwięku przestrzennego. Posiada wbudowaną funkcjonalność
+strumieniowania dźwięku po gniazdach lub z urządzenia wejściowego.
 
 %package devel
 Summary:       Header files for OpenAL++ library
@@ -33,7 +38,10 @@
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      OpenAL-devel
+Requires:      OpenThreads-devel
+Requires:      libogg-devel
 Requires:      libstdc++-devel
+#Requires:     portaudio-devel
 
 %description devel
 Header files for OpenAL++ library.
@@ -41,15 +49,29 @@
 %description devel -l pl
 Pliki nagłówkowe biblioteki OpenAL++.
 
+%package static
+Summary:       Static OpenAL++ library
+Summary(pl):   Statyczna biblioteka OpenAL++
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static OpenAL++ library.
+
+%description static -l pl
+Statyczna biblioteka OpenAL++.
+
 %prep
 %setup -q -n openalpp
+%patch0 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       --enable-static
 %{__make}
 
 %install
@@ -61,6 +83,9 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc README
@@ -68,12 +93,14 @@
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
 %{_includedir}/openalpp
 %{_pkgconfigdir}/*.pc
-%{_libdir}/lib*.so
-%{_libdir}/lib*.la
 
-#%{_libdir}/lib*.a
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -81,9 +108,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/03/05 18:09:06  qboosh
+- pl fixes (typos, "wrapper" != "zamiennik")
+- added link patch, BR: OpenThreads-devel, BR+R libogg-devel (used if found)
+- package static library; pass --enable-static not to depend on libtool version
+
 Revision 1.2  2005/03/05 14:59:32  sparky
 - devel R: libstdc++-devel
 
 Revision 1.1  2005/03/04 22:25:41  sparky
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/OpenAL++.spec?r1=1.2&r2=1.3&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to