Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37561885
en ru br
ALT Linux repos
S:1.1-alt1

Group :: System/Libraries
RPM: libspnav

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libspnav
Version: 0.3
Release: alt1
Summary: Open source alternative to 3DConnextion drivers

License: BSD
Group: System/Libraries
URL: http://spacenav.sourceforge.net/
Vcs: https://github.com/FreeSpacenav/libspnav
Source: %name-%version.tar

BuildRequires:  libX11-devel

%description
The spacenav project provides a free, compatible alternative to the
proprietary 3Dconnexion device driver and SDK, for their 3D input
devices (called "space navigator", "space pilot", "space traveller",
etc).

This package provides the library needed for applications to connect to
the user land daemon.

%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Development files for %name.

%prep
%setup -q
#patch0 -p1

%build
# Set libdir properly
sed -i "s/libdir=lib/libdir=%_lib/g" configure
%configure
sed -i "s/CFLAGS =/CFLAGS +=/g" Makefile
%make_build

%install
%makeinstall_std

# Remove static library

rm -f %buildroot%_libdir/%name.a

%files
%doc README.md
%_libdir/*.so.0*

%files devel
%doc examples
%_libdir/*.so
%_includedir/*.h

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin