libSimGear/libSimGear.spec

134 lines
4.2 KiB
RPMSpec
Raw Normal View History

%define rel %(echo %version | cut -d. -f1-2)
Name: libSimGear
Version: 2020.3.9
Release: 1mamba
Summary: Tools and libraries useful for FlightGear
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.simgear.com/
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
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libXt-devel
BuildRequires: libXmu-devel
BuildRequires: libGL-devel
BuildRequires: libGLUT-devel
BuildRequires: libopenal-devel >= 0.0
BuildRequires: libplib-devel >= 1.8.4
BuildRequires: zlib-devel >= 1.2.2
BuildRequires: OpenSceneGraph >= 3.4.0
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.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Provides: SimGear-devel = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: SimGear-devel < 2016.1.1
%description devel
This package contains static libraries and header files needed for development.
#% debug_package
%prep
%setup -q -n simgear-%{version}
#%patch1 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files devel
%defattr(-,root,root)
%dir %{_includedir}/simgear
%{_includedir}/simgear/*
%{_libdir}/libSimGearCored.a
%{_libdir}/libSimGearScened.a
%dir %{_libdir}/cmake/SimGear
%{_libdir}/cmake/SimGear/SimGear*.cmake
%doc AUTHORS COPYING
%changelog
* Sat Jun 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2020.3.9-1mamba
- update to 2020.3.9
* Sat Mar 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2020.3.8-1mamba
- update to 2020.3.8
* Fri Mar 04 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2016.1.1-1mamba
- update to 2016.1.1
* Sat Feb 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-2mamba
- rebuilt with OpenSceneGraph 3.4.0
* Sat Mar 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-1mamba
- update to 3.4.0
* Wed Mar 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-2mamba
- rebuilt with OpenSceneGraph 3.1.8
* Sat Feb 22 2014 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic update by autodist
* Wed Dec 11 2013 Automatic Build System <autodist@mambasoft.it> 2.12.1-1mamba
- automatic update by autodist
* Mon Sep 23 2013 Automatic Build System <autodist@mambasoft.it> 2.12.0-1mamba
- automatic update by autodist
* Fri Mar 01 2013 Automatic Build System <autodist@mambasoft.it> 2.10.0-1mamba
- automatic version update by autodist
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
- update to 2.8.0
* Thu Jun 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- update to 2.0.0
* Mon May 04 2009 Automatic Build System <autodist@mambasoft.it> 1.9.1-4mamba
- automatic rebuild by autodist
* Sat Apr 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-3mamba
- automatic rebuild by autodist
* Fri Apr 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-2mamba
- automatic rebuild by autodist
* Mon Mar 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-1mamba
- automatic update by autodist
* Fri Jan 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-1mamba
- automatic update to 1.9.0 by autodist
* Mon Jan 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
- updated maintainer
* Wed Sep 07 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.3.8-2qilnx
- specfile fixes
- rebuilt with JPEG Factory support
* Tue Sep 06 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.3.8-1qilnx
- package created by autospec