]> git.pld-linux.org Git - packages/bluez-libs.git/blobdiff - bluez-libs.spec
- updated to 3.17
[packages/bluez-libs.git] / bluez-libs.spec
index 0eb3827c41ac16c77d37b90611cee48ca07560e7..189b862b9483e90d32e7930f3967f194a4e97322 100644 (file)
@@ -1,67 +1,98 @@
-Summary: Bluetooth libraries
-Name: bluez-libs
-Version: 2.3
-Release: 3
-Copyright: GPL
-Group: System Environment/Libraries
-Source: http://bluez.sourceforge.net/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-URL: http://bluez.sourceforge.net/
-BuildRequires: glib-devel >= 1.2
-ExcludeArch: s390 s390x
+Summary:       Bluetooth libraries
+Summary(pl.UTF-8):     Biblioteki Bluetooth
+Name:          bluez-libs
+Version:       3.17
+Release:       1
+License:       GPL v2+
+Group:         Libraries
+#Source0Download: http://www.bluez.org/download.html
+Source0:       http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
+# Source0-md5: 0b7869b980efabe23ff1d86cf4faca25
+URL:           http://www.bluez.org/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+BuildRequires: libtool >= 1:1.4.2-9
+Conflicts:     bluez-sdp
+ExcludeArch:   s390 s390x
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Libraries for use in Bluetooth applications.
 
 The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
 
+%description -l pl.UTF-8
+Biblioteki do używania w aplikacjach Bluetooth.
+
+Znaki towarowe BLUETOOTH są własnością Bluetooth SIG, Inc. z USA.
+
 %package devel
-Summary: Development libraries for Bluetooth applications
-Group: Development/Libraries
-Requires: bluez-libs = %{version}
+Summary:       Header files for Bluetooth applications
+Summary(pl.UTF-8):     Pliki nagłówkowe dla aplikacji Bluetooth
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Obsoletes:     bluez-sdp-devel
 
 %description devel
-bluez-libs-devel contains development libraries and headers for
-use in Bluetooth applications.
+bluez-libs-devel contains header files for use in Bluetooth
+applications.
 
-%prep
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe do używania w aplikacjach
+Bluetooth.
+
+%package static
+Summary:       Static Bluetooth libraries
+Summary(pl.UTF-8):     Biblioteki statyczne Bluetooth
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+Obsoletes:     bluez-sdp-static
+
+%description static
+bluez-libs-static contains development static libraries for use in
+Bluetooth applications.
+
+%description static -l pl.UTF-8
+Ten pakiet zawiera biblioteki statyczne, których można używaź do
+aplikacji Bluetooth.
 
+%prep
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__automake}
+%{__autoheader}
+%{__autoconf}
 %configure
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
-/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
-%defattr(-, root, root)
-%doc AUTHORS COPYING INSTALL ChangeLog NEWS README
-%{_libdir}/libbluetooth.so.*
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/libbluetooth.so.*.*.*
 
 %files devel
-%defattr(-,root,root)
-/usr/include/bluetooth/*
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbluetooth.so
+%{_libdir}/libbluetooth.la
+%{_includedir}/bluetooth
+%{_aclocaldir}/*.m4
+%{_pkgconfigdir}/bluez.pc
+
+%files static
+%defattr(644,root,root,755)
 %{_libdir}/libbluetooth.a
-%{_libdir}/libbluetooth.so
-
-%changelog
-* Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
-- add symlinks to shared libs
-
-* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
-- rebuilt
-
-* Thu Jan 16 2003 Bill Nottingham <notting@redhat.com> 2.3-1
-- initial build
This page took 0.083244 seconds and 4 git commands to generate.