Name: libpasastro Version: 1.1 Release: %mkrel 1 Summary: Pascal interface for standard astronomy libraries Group: Sciences/Astronomy License: GPLv2+ URL: http://sourceforge.net/projects/libpasastro/ # Official stable version doesn't include yet fixes required upstream # for packaging in Fedora, so we use svn version. # Use the following commands to generate the tarball: # svn export -r 9 svn://svn.code.sf.net/p/libpasastro/code/trunk libpasastro-1.0 # tar -cJvf libpasastro-1.0-svn.tar.xz libpasastro-1.0 Source0: https://github.com/pchev/libpasastro/archive/v1.1.tar.gz#/libpasastro-1.1.tar.gz #Source0: http://downloads.sourceforge.net/%%{name}/%%{name}-%%{version}-src.tar.xz # Patch to fix stripping and permissions of library files # Since this is Fedora specific we don't ask upstream to include Patch0: libpasastro-1.0-fix-install.patch %description Libpasastro provides shared libraries to interface Pascal program with standard astronomy libraries. libpasgetdss.so : Interface with GetDSS to work with DSS images. libpasplan404.so : Interface with Plan404 to compute planets position. libpaswcs.so : Interface with libwcs to work with FITS WCS. %prep %autosetup -p1 # fix library path in install.sh script on 64bit sed -i 's/\$destdir\/lib/\$destdir\/%{_lib}/g' ./install.sh %build mkdir -p plan404/obj %make_build arch_flags="%{optflags}" %install %make_install PREFIX="%{buildroot}/usr" %files %doc %{_datadir}/doc/%{name}/ %{_libdir}/libpas*.so.* %changelog * Mon Oct 01 2018 joequant <joequant> 1.1-1.mga7 (not released yet) + Revision: 1314420 - update to 1.1 * Sun Sep 23 2018 umeabot <umeabot> 1.0-2.mga7 + Revision: 1299084 - Mageia 7 Mass Rebuild * Tue Aug 01 2017 joequant <joequant> 1.0-1.mga7 + Revision: 1133824 - fix group - imported package libpasastro