Hello community,
here is the log from the commit of package sbig
checked in at Wed Apr 9 00:52:04 CEST 2008.
--------
--- arch/i386/sbig/sbig.changes 2007-10-18 13:55:13.000000000 +0200
+++ sbig/sbig.changes 2008-04-08 16:10:25.000000000 +0200
@@ -1,0 +2,12 @@
+Fri Mar 14 17:04:34 CET 2008 - lmichnovic@suse.cz
+
+- update to latest version 20080304
+ * support for more cameras
+ * cfitsio library support is disabled
+ * needs fxload
+ * new udev rules file 50-usb-serial.rules
+- removed cfitsio-devel from BuildReq
+- added Requires on fxload and sbig-firmware packages
+- calling ldconfig in %post, %postun
+
+-------------------------------------------------------------------
Old:
----
sbig-directory.patch
sbig_linux_2.6_I86_32.tar.bz2
New:
----
sbig_linux_release_32bit.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sbig.spec ++++++
--- /var/tmp/diff_new_pack.j12269/_old 2008-04-09 00:51:19.000000000 +0200
+++ /var/tmp/diff_new_pack.j12269/_new 2008-04-09 00:51:19.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package sbig (Version 1.2)
+# spec file for package sbig (Version 1.3)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -9,23 +9,24 @@
#
+
Name: sbig
-BuildRequires: gcc-c++ libcfitsio-devel libusb-devel
-License: LGPL v2 or later; Other uncritical OpenSource License
+BuildRequires: gcc-c++ libusb-devel
+License: LGPL v2.1 or later; Other uncritical OpenSource License
Group: Hardware/Other
AutoReqProv: on
-Version: 1.2
-Release: 18
-Source: sbig_linux_2.6_I86_32.tar.bz2
+Version: 1.3
+Release: 1
+Source: sbig_linux_release_32bit.tar.bz2
Source1: LICENSE.txt
Url: http://www.sbig.com
-Patch: sbig-directory.patch
Patch1: sbig-makefile.patch
Patch2: sbig-declaration.patch
-Enhances: sbig-firmware
+Requires: sbig-firmware fxload
ExclusiveArch: %ix86
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Non Kernel Shared Library for USB SBIG CCD Cameras
+Requires: fxload sbig-firmware
%description
Non kernel shared library compiled for i386 for USB SBIG CCD cameras.
@@ -37,14 +38,12 @@
Jan Soldan
%prep
-%setup -n sbig_linux_2.6_I86_32
-%patch
+%setup -n sbig_linux_release_32bit
%patch1
%patch2
-rm testapp/testapp
%build
-cd testapp
+cd app
make
%install
@@ -54,17 +53,22 @@
mkdir -p $RPM_BUILD_ROOT/usr/lib
mkdir -p $RPM_BUILD_ROOT/usr/bin
cp -a %{S:1} $RPM_BUILD_ROOT/usr/share/doc/packages/sbig/
-cd testapp
-cp -a Makefile README.txt *.h *.cpp $RPM_BUILD_ROOT/usr/share/doc/packages/sbig/
+cd app
+cp -a Makefile *.h *.cpp $RPM_BUILD_ROOT/usr/share/doc/packages/sbig/
cp -a testapp $RPM_BUILD_ROOT/usr/bin/sbig_testapp
-cd ../install
+cd ../drv
cp -a 10-sbig.rules $RPM_BUILD_ROOT/etc/udev/rules.d/10-sbig.rules
+cp -a 50-usb-serial.rules $RPM_BUILD_ROOT/etc/udev/rules.d/50-usb-serial.rules
cp -a sbig_dev_permission.py $RPM_BUILD_ROOT/lib/sbig_dev_permission.py
cp -a *.so *.a $RPM_BUILD_ROOT/usr/lib/
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
%files
%defattr(-, root, root)
%dir /etc/udev
@@ -76,25 +80,36 @@
%attr(755, root, root) /usr/bin/sbig_testapp
%attr(755, root, root) /lib/sbig_dev_permission.py
/etc/udev/rules.d/10-sbig.rules
+/etc/udev/rules.d/50-usb-serial.rules
+
%changelog
-* Thu Oct 18 2007 - lmichnovic@suse.cz
+* Fri Mar 14 2008 lmichnovic@suse.cz
+- update to latest version 20080304
+ * support for more cameras
+ * cfitsio library support is disabled
+ * needs fxload
+ * new udev rules file 50-usb-serial.rules
+- removed cfitsio-devel from BuildReq
+- added Requires on fxload and sbig-firmware packages
+- calling ldconfig in %%post, %%postun
+* Thu Oct 18 2007 lmichnovic@suse.cz
- added needed include (sbig-declaration.patch)
-* Sun Jul 22 2007 - aj@suse.de
+* Sun Jul 22 2007 aj@suse.de
- Fix BuildRequires.
-* Wed Jul 18 2007 - lmichnovic@suse.cz
+* Wed Jul 18 2007 lmichnovic@suse.cz
- update to new version
* now links with cfitsio lib (Buildrequires: libcfitsio0-devel)
- adjusted include dir of cfitsio lib in *makefile.patch
-* Wed May 16 2007 - olh@suse.de
+* Wed May 16 2007 olh@suse.de
- Buildrequires libusb -> libusb-devel
-* Mon Oct 23 2006 - lmichnovic@suse.cz
+* Mon Oct 23 2006 lmichnovic@suse.cz
- added libusb into BuildRequires - fixes failed build
-* Sun Oct 22 2006 - lmichnovic@suse.cz
+* Sun Oct 22 2006 lmichnovic@suse.cz
- fixed Makefile for testapp (*makefile.patch)
-* Fri Oct 20 2006 - lmichnovic@suse.cz
+* Fri Oct 20 2006 lmichnovic@suse.cz
- update to version 1.1
* latest shared lib for kernels 2.6.13 and above
-* Thu Oct 19 2006 - lmichnovic@suse.cz
+* Thu Oct 19 2006 lmichnovic@suse.cz
- initial version 1.0
- distributing *.so libs within this package
- firmware distributing in noarch package sbig-firmware
++++++ sbig-declaration.patch ++++++
--- /var/tmp/diff_new_pack.j12269/_old 2008-04-09 00:51:20.000000000 +0200
+++ /var/tmp/diff_new_pack.j12269/_new 2008-04-09 00:51:20.000000000 +0200
@@ -1,5 +1,5 @@
---- testapp/csbigcam.cpp
-+++ testapp/csbigcam.cpp
+--- app/csbigcam.cpp
++++ app/csbigcam.cpp
@@ -37,6 +37,7 @@
#include "csbigimg.h"
#include <string>
++++++ sbig-makefile.patch ++++++
--- /var/tmp/diff_new_pack.j12269/_old 2008-04-09 00:51:20.000000000 +0200
+++ /var/tmp/diff_new_pack.j12269/_new 2008-04-09 00:51:20.000000000 +0200
@@ -1,15 +1,31 @@
---- testapp/Makefile
-+++ testapp/Makefile
-@@ -15,9 +15,9 @@
+--- app/Makefile
++++ app/Makefile
+@@ -6,7 +6,7 @@
+ # 1) change directory to 'sbig'
+ # 2) make
+ # Note: Linker uses shared libraries and do not forget to put
+-# *.so libraries to the /usr/local/lib directory and
++# *.so libraries to the /usr/lib directory and
+ # setenv LD_LIBRARY_PATH to this path. See README.txt for details.
####################################################################################
+ APP_NAME = testapp
+@@ -16,8 +16,8 @@
APP_SRC = $(S_APP)
APP_OBJ = $(O_APP)
--INCLUDE = -I .
--LIBRARY = -L .
--APP_CFLAGS = -O2 $(INCLUDE) $(LIBRARY) -Wall
-+INCLUDE = -I . -I /usr/include/libcfitsio0
-+LIBRARY = -L../install -L/usr/lib
-+APP_CFLAGS = -O2 $(RPM_OPT_FLAGS) $(INCLUDE) $(LIBRARY) -Wall
+ INCLUDE = -I .
+-LIBRARY = -L /usr/local/lib
+-APP_CFLAGS = -O2 $(INCLUDE) $(LIBRARY) -Wall
++LIBRARY = -L../drv -L/usr/lib
++APP_CFLAGS = -O2 $(RPM_OPT_FLAGS) $(INCLUDE) $(LIBRARY) -Wall
APP_CC = g++
####################################################################################
all: $(APP_NAME)
+@@ -26,7 +26,7 @@
+ ####################################################################################
+ $(APP_NAME): $(APP_OBJ)
+ # $(APP_CC) $(APP_CFLAGS) -o $(APP_NAME) $(APP_OBJ) -lsbigudrv -lcfitsio -lm
+- $(APP_CC) $(APP_CFLAGS) -o $(APP_NAME) $(APP_OBJ) -lsbigudrv -lm
++ $(APP_CC) $(APP_CFLAGS) -o $(APP_NAME) $(APP_OBJ) -lsbigudrv32 -lm
+ chmod a+x $(APP_NAME)
+
+ testmain.o : testmain.cpp csbigcam.h csbigimg.h
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org