commit libspnav for openSUSE:Factory

2018-09-03 Thread root
Hello community,

here is the log from the commit of package libspnav for openSUSE:Factory 
checked in at 2018-09-03 10:34:36

Comparing /work/SRC/openSUSE:Factory/libspnav (Old)
 and  /work/SRC/openSUSE:Factory/.libspnav.new (New)


Package is "libspnav"

Mon Sep  3 10:34:36 2018 rev:10 rq:632479 version:0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/libspnav/libspnav.changes2015-02-27 
11:00:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.libspnav.new/libspnav.changes   2018-09-03 
10:34:39.596600895 +0200
@@ -1,0 +2,7 @@
+Tue Aug 28 20:57:44 UTC 2018 - Herbert Graeber  0.2.3
+
+- The project moved its official repository to github
+- Add separate LICENSE file (formerly only available as part of the
+  README file
+
+---
@@ -5 +12,6 @@
-  * No changelog available
+  * fixed invalid quaternion bug in cube example, when receiving
+zero-angle rotations.
+  * fixed memory leak in spnav_remove_events.
+  * makefile improvements (MacOS X build, DESTDIR, shared library
+symlinks, create missing install paths).
+  * fixed bug when closing and reopening the connection to spacenavd.

New:

  LICENSE



Other differences:
--
++ libspnav.spec ++
--- /var/tmp/diff_new_pack.4e3Bvh/_old  2018-09-03 10:34:40.080602143 +0200
+++ /var/tmp/diff_new_pack.4e3Bvh/_new  2018-09-03 10:34:40.080602143 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libspnav
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2009,2011 Herbert Graeber
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,7 +13,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,10 +23,11 @@
 Summary:Library for accessing 3D connexion devices
 License:BSD-3-Clause
 Group:  Hardware/Other
-Url:http://sourceforge.net/projects/spacenav/
-Source: 
http://sourceforge.net/projects/spacenav/files/spacenav%20library%20%28SDK%29/%{name}%20%{version}/%{name}-%{version}.tar.gz
-Patch:  libspnav-0.2.3-lib_links.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+URL:http://sourceforge.net/projects/spacenav/
+Source: 
https://github.com/FreeSpacenav/%{name}/archive/%{name}-%{version}.tar.gz
+Source1:LICENSE
+Patch0: libspnav-0.2.3-lib_links.patch
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(x11)
 
 %description
@@ -82,8 +83,9 @@
 restrictions of the official SDK.
 
 %prep  
-%setup -q
-%patch -p1
+%setup -q -n %{name}-%{name}-%{version}
+%patch0 -p1
+cp %{SOURCE1} .
 
 %build
 # Set libdir properly
@@ -93,20 +95,18 @@
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install
+%make_install
 rm -f %{buildroot}%{_libdir}/*.a
 
 %post -n libspnav0 -p /sbin/ldconfig
-
 %postun -n libspnav0 -p /sbin/ldconfig
 
 %files -n libspnav0 
-%defattr(-,root,root)
+%license LICENSE
 %doc README examples
 %{_libdir}/libspnav.so.*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/*.h
 %{_libdir}/libspnav.so
 

++ LICENSE ++
Copyright (C) 2007-2018 John Tsiombikas 

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
   derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
++ 

commit libspnav for openSUSE:Factory

2015-02-27 Thread h_root
Hello community,

here is the log from the commit of package libspnav for openSUSE:Factory 
checked in at 2015-02-27 10:59:41

Comparing /work/SRC/openSUSE:Factory/libspnav (Old)
 and  /work/SRC/openSUSE:Factory/.libspnav.new (New)


Package is libspnav

Changes:

--- /work/SRC/openSUSE:Factory/libspnav/libspnav.changes2014-10-05 
20:32:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.libspnav.new/libspnav.changes   2015-02-27 
11:00:19.0 +0100
@@ -1,0 +2,8 @@
+Sat Feb 14 19:17:25 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 0.2.3
+  * No changelog available
+- Add libspnav-0.2.3-lib_links.patch; fix libraries link against
+  $BUILDROOT
+
+---

Old:

  libspnav-0.2.2.tar.bz2

New:

  libspnav-0.2.3-lib_links.patch
  libspnav-0.2.3.tar.gz



Other differences:
--
++ libspnav.spec ++
--- /var/tmp/diff_new_pack.fs3hoK/_old  2015-02-27 11:00:20.0 +0100
+++ /var/tmp/diff_new_pack.fs3hoK/_new  2015-02-27 11:00:20.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libspnav
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2009,2011 Herbert Graeber
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,13 +18,14 @@
 
 
 Name:   libspnav
-Version:0.2.2
+Version:0.2.3
 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
+Source: 
http://sourceforge.net/projects/spacenav/files/spacenav%20library%20%28SDK%29/%{name}%20%{version}/%{name}-%{version}.tar.gz
+Patch:  libspnav-0.2.3-lib_links.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  pkgconfig(x11)
 
@@ -82,20 +83,18 @@
 
 %prep  
 %setup -q
+%patch -p1
 
 %build
+# Set libdir properly
+sed -i s/libdir=lib/libdir=%{_lib}/g configure
 %configure
-%__make opt=$RPM_OPT_FLAGS
+sed -i s/CFLAGS =/CFLAGS +=/g Makefile
+make %{?_smp_mflags}
 
 %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
+make DESTDIR=%{buildroot} install
+rm -f %{buildroot}%{_libdir}/*.a
 
 %post -n libspnav0 -p /sbin/ldconfig
 

++ libspnav-0.2.3-lib_links.patch ++
diff -Naur libspnav-0.2.3.orig/Makefile.in libspnav-0.2.3/Makefile.in
--- libspnav-0.2.3.orig/Makefile.in 2014-08-17 20:38:31.0 -0500
+++ libspnav-0.2.3/Makefile.in  2014-08-18 13:02:08.243930849 -0500
@@ -54,9 +54,11 @@
cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so)
[ -n $(soname) ]  \
rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) 
$(DESTDIR)$(PREFIX)/$(libdir)/$(devlink)  \
-   ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) 
$(DESTDIR)$(PREFIX)/$(libdir)/$(soname)  \
-   ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) 
$(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
-   true
+   pushd $(DESTDIR)$(PREFIX)/$(libdir)  \
+   ln -s $(lib_so) $(soname)  \
+   ln -s $(soname) $(devlink) || \
+   true  \
+   popd
for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; 
done
 
 .PHONY: uninstall

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libspnav for openSUSE:Factory

2014-10-05 Thread h_root
Hello community,

here is the log from the commit of package libspnav for openSUSE:Factory 
checked in at 2014-10-05 20:31:26

Comparing /work/SRC/openSUSE:Factory/libspnav (Old)
 and  /work/SRC/openSUSE:Factory/.libspnav.new (New)


Package is libspnav

Changes:

--- /work/SRC/openSUSE:Factory/libspnav/libspnav.changes2012-01-19 
09:43:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.libspnav.new/libspnav.changes   2014-10-05 
20:32:43.0 +0200
@@ -1,0 +2,5 @@
+Wed Oct  1 20:14:03 UTC 2014 - crrodrig...@opensuse.org
+
+- Only use pkgconfig(x11) not xorg-x11-devel 
+
+---



Other differences:
--
++ libspnav.spec ++
--- /var/tmp/diff_new_pack.OIiikH/_old  2014-10-05 20:32:43.0 +0200
+++ /var/tmp/diff_new_pack.OIiikH/_new  2014-10-05 20:32:43.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libspnav
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2009,2011 Herbert Graeber
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,7 +26,7 @@
 Url:http://sourceforge.net/projects/spacenav/
 Source: %{name}-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  xorg-x11-devel
+BuildRequires:  pkgconfig(x11)
 
 %description
 The libspnav library is provided as a replacement of the magellan library.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libspnav for openSUSE:Factory

2012-01-19 Thread h_root
Hello community,

here is the log from the commit of package libspnav for openSUSE:Factory 
checked in at 2012-01-19 09:43:18

Comparing /work/SRC/openSUSE:Factory/libspnav (Old)
 and  /work/SRC/openSUSE:Factory/.libspnav.new (New)


Package is libspnav, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libspnav/libspnav.changes2011-09-23 
02:10:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.libspnav.new/libspnav.changes   2012-01-19 
09:43:20.0 +0100
@@ -1,0 +2,5 @@
+Thu Jan 12 11:30:45 UTC 2012 - co...@suse.com
+
+- change license to be in spdx.org format
+
+---



Other differences:
--
++ libspnav.spec ++
--- /var/tmp/diff_new_pack.HhkJRl/_old  2012-01-19 09:43:20.0 +0100
+++ /var/tmp/diff_new_pack.HhkJRl/_new  2012-01-19 09:43:20.0 +0100
@@ -1,20 +1,28 @@
 #
 # spec file for package libspnav
 #
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2009,2011 Herbert Graeber
 #
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# 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/
 #
 
-# norootforbuild
 
 Name:  libspnav
 Version:   0.2.2
 Release:   0
 Summary:   Library for accessing 3D connexion devices
+License:BSD-3-Clause
 Group: Hardware/Other
-License:   BSD
 Url:   http://sourceforge.net/projects/spacenav/
 Source:%{name}-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libspnav for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package libspnav for openSUSE:Factory
checked in at Mon Sep 19 17:53:58 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ libspnav/libspnav.changes   2011-08-09 22:54:38.0 +0200
@@ -0,0 +1,21 @@
+---
+Tue Aug  9 20:53:50 UTC 2011 - herb...@graeber-clan.de
+
+- Corrected license to BSD
+
+---
+Wed Aug  3 10:24:43 UTC 2011 - toddrme2...@gmail.com
+
+- Add a Url tag.
+
+---
+Mon Jan 24 18:02:22 UTC 2011 - herb...@graeber-clan.de
+
+- update to version 0.2.2
+- use separate changes file
+
+---
+Sun Mar 22 00:00:00 UTC 2009 - herb...@graeber-clan.de
+
+- Initial package
+

calling whatdependson for head-i586


New:

  libspnav-0.2.2.tar.bz2
  libspnav.changes
  libspnav.spec



Other differences:
--
++ libspnav.spec ++
#
# spec file for package libspnav
#
# Copyright (c) 2009,2011 Herbert Graeber
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

# norootforbuild

Name:  libspnav
Version:   0.2.2
Release:   0
Summary:   Library for accessing 3D connexion devices
Group: Hardware/Other
License:   BSD
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