From f9d3741ed67d441e40072dba759e59ec7bebaa7d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:50:19 +0100 Subject: [PATCH] automatic version update by autodist [release 0.2.3-1mamba;Sat Jan 24 2015] --- README.md | 14 ++------------ libspnav.spec | 36 ++++++++++++++++++------------------ 2 files changed, 20 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index de6935c..f35d751 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,5 @@ # libspnav -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. +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. diff --git a/libspnav.spec b/libspnav.spec index 74bca6a..dc13954 100644 --- a/libspnav.spec +++ b/libspnav.spec @@ -1,11 +1,11 @@ Name: libspnav -Version: 0.2.2 +Version: 0.2.3 Release: 1mamba Summary: library to access 3D-input-devices Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: gil +Packager: Silvan Calarco URL: http://spacenav.sourceforge.net/ Source: http://downloads.sourceforge.net/project/spacenav/spacenav%20library%20%28SDK%29/libspnav%20%{version}/libspnav-%{version}.tar.gz Patch0: libspnav-0.2.2-Makefile_in.patch @@ -13,18 +13,8 @@ License: BSD BuildRoot: %{_tmppath}/%{name}-%{version}-root %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. +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 Group: Development/Libraries @@ -33,12 +23,11 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel libspnav - library to access 3D-input-devices. - -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %prep %setup -q -%patch0 -p0 +#%patch0 -p0 %build %configure @@ -52,6 +41,13 @@ chmod 755 %{buildroot}%{_libdir}/*.so.* chmod 644 %{buildroot}%{_libdir}/*.*a chmod 644 %{buildroot}%{_includedir}/*.h +# Workaround for broken link +[ -e %{buildroot}%{_libdir}/libspnav.so.0.1 ] && \ + ln -sf libspnav.so.0.1 %{buildroot}%{_libdir}/libspnav.so.0 + +[ -e %{buildroot}%{_libdir}/libspnav.so.0 ] && \ + ln -sf libspnav.so.0 %{buildroot}%{_libdir}/libspnav.so + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -61,13 +57,17 @@ chmod 644 %{buildroot}%{_includedir}/*.h %files %defattr(-,root,root) %{_libdir}/libspnav.so.* -%doc README %files devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libspnav.a +%{_libdir}/libspnav.so +%doc README %changelog +* Sat Jan 24 2015 Automatic Build System 0.2.3-1mamba +- automatic version update by autodist + * Wed Feb 02 2011 gil 0.2.2-1mamba - package created by autospec