Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
libbtctl
libbtctl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libbtctl.spec of Package libbtctl
# # spec file for package libbtctl (Version 0.11.1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libbtctl %define DISTRIBUTABLE 1 %define USE_MONO 0 BuildRequires: bluez-devel BuildRequires: fdupes BuildRequires: gtk2-devel BuildRequires: intltool BuildRequires: openobex-devel BuildRequires: python-devel BuildRequires: python-gtk-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files %if %USE_MONO == 1 BuildRequires: gtk-sharp BuildRequires: gtk-sharp-gapi BuildRequires: mono-basic BuildRequires: mono-data-sqlite BuildRequires: mono-devel %endif %if %DISTRIBUTABLE == 0 BuildRequires: mpeg4ip-devel %endif License: GPL-2.0+ Group: System/GUI/GNOME AutoReqProv: on Version: 0.11.1 Release: 4 Summary: GObject Bluetooth Controller Library Url: http://usefulinc.com/software/gnome-bluetooth/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.8/%{name}-%{version}.tar.bz2 %description This library is intended to provide convenient GObject-style access tocommon platform Bluetooth functions. The idea of this library is to stand alone and not require GNOME. It provides .NET bindings (in a separate package) and Python bindings. Authors: -------- Edd Dumbill <edd@usefulinc.com> %package -n libbtctl6 License: LGPL-2.1 Summary: GObject Bluetooth Controller Library Group: System/GUI/GNOME Provides: libbtctl = %{version} Obsoletes: libbtctl < %{version} Requires: %{name}-lang = %{version} %description -n libbtctl6 This library is intended to provide convenient GObject-style access tocommon platform Bluetooth functions. The idea of this library is to stand alone and not require GNOME. It provides .NET bindings (in a separate package) and Python bindings. Authors: -------- Edd Dumbill <edd@usefulinc.com> %package -n python-libbtctl License: LGPL-2.1 Summary: GObject Bluetooth Controller Library Group: System/GUI/GNOME Requires: %{name}6 = %{version} %py_requires %description -n python-libbtctl This library is intended to provide convenient GObject-style access tocommon platform Bluetooth functions. The idea of this library is to stand alone and not require GNOME. It provides .NET bindings (in a separate package) and Python bindings. Authors: -------- Edd Dumbill <edd@usefulinc.com> %if %USE_MONO == 1 %package sharp License: GPL-2.0+ Summary: .NET Bindings for GObject Bluetooth Controller Library Group: System/GUI/GNOME Requires: %{name}6 = %{version} %description sharp This package contains .NET bindings for libbtctl - GObject Bluetooth Controller Library. Authors: -------- Edd Dumbill <edd@usefulinc.com> %endif %package devel License: GPL-2.0+ Summary: Development Package for GObject Bluetooth Controller Library Group: Development/Libraries/GNOME Requires: libbtctl6 = %{version} glib2-devel bluez-devel openobex-devel %description devel This package contains all header files to develop with the GObject Bluetooth Controller Library. Authors: -------- Edd Dumbill <edd@usefulinc.com> %package doc License: GPL-2.0+ Summary: Additional Package Documentation Group: System/GUI/GNOME Requires: %{name}6 = %{version} %description doc This library is intended to provide convenient GObject-style access to common platform Bluetooth functions. The idea of this library is to stand alone and not require GNOME. It provides .NET bindings (in a separate package) and Python bindings. Authors: -------- Edd Dumbill <edd@usefulinc.com> %lang_package %prep %setup -q translation-update-upstream %build %configure --with-pic \ --disable-static %__make pydir=%{py_sitedir} %{?jobs:-j%jobs} %install %makeinstall pydir=%{py_sitedir} %find_lang %{name} find %{buildroot} -type f -name "*.la" -exec %{__rm} -vf {} + %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -n libbtctl6 -p /sbin/ldconfig %postun -n libbtctl6 -p /sbin/ldconfig %files -n libbtctl6 %defattr(-, root, root) %doc AUTHORS ChangeLog NEWS README %{_libdir}/*.so.* %files -n python-libbtctl %defattr(-, root, root) %{py_sitedir}/btctl.so %files lang -f %{name}.lang %files devel %defattr(-, root, root) %{_includedir}/libbtctl %{_libdir}/*.so %{_libdir}/pkgconfig/libbtctl.pc # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/libbtctl %if %USE_MONO == 1 %files sharp %defattr(-, root, root) %{_datadir}/gapi/*.xml %{_libdir}/pkgconfig/libbtctl-sharp.pc %{_prefix}/lib/mono/gac/* %{_prefix}/lib/mono/libbtctl %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor