diff --git a/libSimGear.spec b/libSimGear.spec index a42e17c..30f76f2 100644 --- a/libSimGear.spec +++ b/libSimGear.spec @@ -1,15 +1,14 @@ -%define rel 2016.1 +%define rel %(echo %version | cut -d. -f1-2) Name: libSimGear -Version: 2016.1.1 +Version: 2020.3.8 Release: 1mamba Summary: Tools and libraries useful for FlightGear Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.simgear.org/ -Source: http://netix.dl.sourceforge.net/project/flightgear/release-%{rel}/simgear-%{version}.tar.bz2 -#Source: ftp://ftp.ihg.uni-duisburg.de/Mirrors/ftp.simgear.org/Source/simgear-%{version}.tar.bz2 +URL: https://www.simgear.org/ +Source: https://sourceforge.net/projects/flightgear/files/release-%{rel}/simgear-%{version}.tar.bz2 Patch0: %{name}-1.9.1-gcc44.patch Patch1: libSimGear-3.4.0-OpenSceneGraph-3.4.0.patch License: LGPL @@ -28,9 +27,8 @@ BuildRequires: libopenal-devel >= 0.0 BuildRequires: libplib-devel >= 1.8.4 BuildRequires: zlib-devel >= 1.2.2 BuildRequires: OpenSceneGraph >= 3.4.0 -Provides: SimGear = %{version}-%{release} -Obsoletes: SimGear -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Provides: SimGear = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: SimGear < 2016.1.1 %description This package contains a tools and libraries useful for constructing simulation and visualization applications such as FlightGear or TerraGear. @@ -38,11 +36,13 @@ This package contains a tools and libraries useful for constructing simulation a %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} -Provides: SimGear-devel = %{version}-%{release} -Obsoletes: SimGear-devel +Provides: SimGear-devel = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: SimGear-devel < 2016.1.1 %description devel -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. + +%debug__package %prep %setup -q -n simgear-%{version} @@ -63,16 +63,16 @@ This package contains static libraries and header files need for development. %defattr(-,root,root) %dir %{_includedir}/simgear %{_includedir}/simgear/* -%{_libdir}/libSimGearCore.a -%{_libdir}/libSimGearScene.a -%{_prefix}/lib/cmake/SimGear/SimGearConfig.cmake -%{_prefix}/lib/cmake/SimGear/SimGearConfigVersion.cmake -%{_prefix}/lib/cmake/SimGear/SimGearTargets-release.cmake -%{_prefix}/lib/cmake/SimGear/SimGearTargets.cmake +%{_libdir}/libSimGearCored.a +%{_libdir}/libSimGearScened.a +%dir %{_libdir}/cmake/SimGear +%{_libdir}/cmake/SimGear/SimGear*.cmake %doc AUTHORS COPYING -#NEWS README README.zlib TODO %changelog +* Sat Mar 27 2021 Silvan Calarco 2020.3.8-1mamba +- update to 2020.3.8 + * Fri Mar 04 2016 Ercole 'ercolinux' Carpanetto 2016.1.1-1mamba - update to 2016.1.1