diff --git a/SimGear.spec b/SimGear.spec index 19b45ef..401571e 100644 --- a/SimGear.spec +++ b/SimGear.spec @@ -1,12 +1,10 @@ Name: SimGear Version: 3.4.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ -Group: System Environment/Libraries Summary: Simulation library components URL: http://simgear.sourceforge.net Source0: http://mirrors.ibiblio.org/simgear/ftp/Source/simgear-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch1: 0001-remove-unneeded-header.patch Patch2: 0002-check-to-be-sure-that-n-is-not-being-set-as-format-t.patch Patch4: simgear-aarch64.patch @@ -25,7 +23,6 @@ blocks for quickly assembling 3d simulations, games, and visualization applications. %package devel -Group: Development/Libraries Summary: Development libraries and headers for SimGear Requires: %{name} = %{version}-%{release} Requires: plib-devel, libjpeg-devel, zlib-devel, libGL-devel @@ -55,7 +52,6 @@ rm -rf simgear/xml/*.h simgear/xml/*.c make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install # These two headers have a useless conditional when they're not internal. @@ -68,27 +64,28 @@ install -d $RPM_BUILD_ROOT%{_libdir}/cmake/SimGearCore mv -f $RPM_BUILD_ROOT%{_datadir}/SimGearCore/*.cmake \ $RPM_BUILD_ROOT%{_libdir}/cmake/SimGearCore -%clean -rm -rf $RPM_BUILD_ROOT - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) -%doc COPYING AUTHORS NEWS +%doc AUTHORS NEWS +%license COPYING %{_libdir}/libSimGearCore.so.%{version} %{_libdir}/libSimGearScene.so.%{version} %files devel -%defattr(-,root,root,-) %{_includedir}/simgear/ %{_libdir}/libSimGearCore.so %{_libdir}/libSimGearScene.so %{_libdir}/cmake/SimGearCore %changelog +* Fri Apr 17 2015 Ralf Corsépius - 3.4.0-2 +- Rebuild for Gcc-5.0.1 (FTBFS, RHBZ#1212686). +- Modernize spec. +- Add %%license. + * Wed Mar 11 2015 Fabrice Bellet - 3.4.0-1 - new upstream release - drop the JPEG_FACTORY build option