Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
libspnav
libspnav.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libspnav.spec of Package libspnav
# # spec file for package libspnav # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009,2011 Herbert Graeber # # 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: libspnav Version: 0.2.2 Release: 0 Summary: Library for accessing 3D connexion devices License: BSD-3-Clause Group: Hardware/Other Url: http://sourceforge.net/projects/spacenav/ Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: xorg-x11-devel %description The libspnav library is provided as a replacement of the magellan library. It provides a cleaner, and more orthogonal interface. libspnav supports both the original X11 protocol for communicating with the driver, and the new alternative non-X protocol. Programs that choose to use the X11 protocol, are automatically compatible with either the free spacenavd driver or the official 3dxserv, as if they were using the magellan SDK. Also, libspnav provides a magellan API wrapper on top of the new API. So, any applications that were using the magellan library, can switch to libspnav without any changes. And programmers that are familliar with the magellan API can continue using it with a free library without the restrictions of the official SDK. %package -n libspnav0 Summary: Library for accessing 3D connexion devices Group: Hardware/Other Suggests: spacenavd %description -n libspnav0 The libspnav library is provided as a replacement of the magellan library. It provides a cleaner, and more orthogonal interface. libspnav supports both the original X11 protocol for communicating with the driver, and the new alternative non-X protocol. Programs that choose to use the X11 protocol, are automatically compatible with either the free spacenavd driver or the official 3dxserv, as if they were using the magellan SDK. Also, libspnav provides a magellan API wrapper on top of the new API. So, any applications that were using the magellan library, can switch to libspnav without any changes. And programmers that are familliar with the magellan API can continue using it with a free library without the restrictions of the official SDK. %package devel Summary: Include files for libspnav Group: Development/Libraries/C and C++ Requires: libspnav0 = %{version}-%{release} %description devel The libspnav library is provided as a replacement of the magellan library. It provides a cleaner, and more orthogonal interface. libspnav supports both the original X11 protocol for communicating with the driver, and the new alternative non-X protocol. Programs that choose to use the X11 protocol, are automatically compatible with either the free spacenavd driver or the official 3dxserv, as if they were using the magellan SDK. Also, libspnav provides a magellan API wrapper on top of the new API. So, any applications that were using the magellan library, can switch to libspnav without any changes. And programmers that are familliar with the magellan API can continue using it with a free library without the restrictions of the official SDK. %prep %setup -q %build %configure %__make opt="$RPM_OPT_FLAGS" %install install -D -m 644 libspnav.so.0.1 $RPM_BUILD_ROOT%{_libdir}/libspnav.so.0.1 install -D -m 644 spnav.h $RPM_BUILD_ROOT%{_includedir}/spnav.h install -D -m 644 spnav_magellan.h $RPM_BUILD_ROOT%{_includedir}/spnav_magellan.h install -D -m 644 spnav_config.h $RPM_BUILD_ROOT%{_includedir}/spnav_config.h pushd $RPM_BUILD_ROOT%{_libdir} ln -s libspnav.so.0.1 libspnav.so.0 ln -s libspnav.so.0.1 libspnav.so popd %post -n libspnav0 -p /sbin/ldconfig %postun -n libspnav0 -p /sbin/ldconfig %files -n libspnav0 %defattr(-,root,root) %doc README examples %{_libdir}/libspnav.so.* %files devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libspnav.so %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