[SCM] Algorithms for models in fundamental astronomy branch, debian, updated. bcb4be8c6d04a802633aeb00ec47c14b3e01f0fa

Ole Streicher debian at liska.ath.cx
Fri Feb 24 09:25:33 UTC 2012


The following commit has been merged in the debian branch:
commit 5a5e0af184d1c651664981ec8391d329a2a818d1
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Thu Feb 23 17:05:12 2012 +0100

    Split in shared lib and development files

diff --git a/debian/control b/debian/control
index 57cc72d..a9f4eaa 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,17 @@ Section: science
 Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Ole Streicher <debian at liska.ath.cx>
-Build-Depends: debhelper (>= 7.5.0)
-Standards-Version: 3.9.2
-Homepage: sofa
+Build-Depends: debhelper (>= 8)
+Standards-Version: 3.9.3
+Homepage: http://www.iausofa.org/index.html
 Vcs-Git: git://git.debian.org/git/debian-science/packages/iausofa.git
 Vcs-Browser: http://git.debian.org/?p=debian-science/packages/iausofa.git
 
-Package: libsofa
+Package: libsofa-c0
 Section: libs
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: Algorithms for models in fundamental astronomy
+Description: Algorithms for models in fundamental astronomy (shared library)
  This is a suite of vector/matrix routines and various utilities that
  underpin the astronomy algorithms, which include routines for the
  following:
@@ -33,3 +33,32 @@ Description: Algorithms for models in fundamental astronomy
  establishing and maintaining an accessible and authoritative set of
  algorithms and procedures that implement standard models used in
  fundamental astronomy.
+ .
+ This package contains the shared library.
+
+Package: libsofa-c-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Algorithms for models in fundamental astronomy (development files)
+ This is a suite of vector/matrix routines and various utilities that
+ underpin the astronomy algorithms, which include routines for the
+ following:
+ .
+  - Calendars
+  - Time Scales
+  - Earth rotation and sidereal time
+  - Ephemerides (medium precision)
+  - Geocentric/geodetic transformations
+  - Precession, nutation, polar motion
+  - Star space motion
+  - Star catalogue conversion
+ .
+ This is the ANSI C version of the library.
+ .
+ The International Astronomical Union's SOFA service has the task of
+ establishing and maintaining an accessible and authoritative set of
+ algorithms and procedures that implement standard models used in
+ fundamental astronomy.
+ .
+ This package contains the header files and the static library.
diff --git a/debian/libsofa-c-dev.install b/debian/libsofa-c-dev.install
new file mode 100644
index 0000000..31b50e6
--- /dev/null
+++ b/debian/libsofa-c-dev.install
@@ -0,0 +1,3 @@
+usr/include/*.h
+usr/lib/libsofa_c.so
+usr/lib/libsofa_c.a
diff --git a/debian/libsofa-c0.install b/debian/libsofa-c0.install
new file mode 100644
index 0000000..eff2b40
--- /dev/null
+++ b/debian/libsofa-c0.install
@@ -0,0 +1,2 @@
+usr/lib/libsofa_c.so.0.0
+usr/lib/libsofa_c.so.0
diff --git a/debian/patches/create_shared_lib.patch b/debian/patches/create_shared_lib.patch
index 54584cc..76965db 100644
--- a/debian/patches/create_shared_lib.patch
+++ b/debian/patches/create_shared_lib.patch
@@ -24,7 +24,7 @@ Description: Create a shared library
  # Name the SOFA/C testbed in its source and target locations.
  
  SOFA_TEST_NAME = t_sofa_c.c
-@@ -292,12 +298,14 @@ all : $(SOFA_LIB_NAME)
+@@ -292,12 +298,15 @@ all : $(SOFA_LIB_NAME)
  	-@ echo ""
  
  # Install the library and header files.
@@ -33,6 +33,7 @@ Description: Create a shared library
  	cp $(SOFA_LIB_NAME) $(SOFA_LIB_DIR)
 +	cp $(SOFA_SHLIB_NAME) $(SOFA_LIB_DIR)
 +	ln -s $(SOFA_SHLIB_NAME) $(SOFA_LIB_DIR)/$(SOFA_SHLIB_SONAME)
++	ln -s $(SOFA_SHLIB_SONAME) $(SOFA_LIB_DIR)/libsofa_c.so
  
  # Deinstall the library and header files.
  deinstall:
@@ -52,7 +53,7 @@ Description: Create a shared library
  # Local clean up.
  clean realclean:
 -	rm -f $(SOFA_OBS) $(SOFA_LIB_NAME)
-+	rm -f $(SOFA_OBS) $(SOFA_LIB_NAME) $(SOFA_SHLIB_NAME)
++	rm -f $(SOFA_OBS) $(SOFA_LIB_NAME) $(SOFA_SHLIB_NAME) 
  
  # Clean up and deinstall.
  distclean:

-- 
Algorithms for models in fundamental astronomy



More information about the debian-science-commits mailing list