| 1 |
Name: FlightGear-Atlas
|
| 2 |
Summary: Flightgear map tools
|
| 3 |
Version: 0.3.1
|
| 4 |
Release: 13%{?dist}
|
| 5 |
|
| 6 |
License: GPLv2+
|
| 7 |
Group: Amusements/Games
|
| 8 |
Source0: http://downloads.sourceforge.net/sourceforge/atlas/Atlas-%{version}.tar.gz
|
| 9 |
Source1: Atlas-default-maps.tar.gz
|
| 10 |
Patch0: FlightGear-Atlas-0.3.1-build-fixes.patch
|
| 11 |
URL: http://atlas.sourceforge.net
|
| 12 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 13 |
BuildRequires: freeglut-devel, curl-devel, libpng-devel
|
| 14 |
BuildRequires: SimGear-devel >= 1.9.0, OpenSceneGraph-devel
|
| 15 |
Requires: FlightGear-data
|
| 16 |
Obsoletes: fgfs-Atlas < 0.3.1-10
|
| 17 |
|
| 18 |
%description
|
| 19 |
Atlas aims to produce and display high quality charts of the world for
|
| 20 |
users of FlightGear, an open source flight simulator. This is achieved
|
| 21 |
through two main parts: The map creator (simply called Map) and the
|
| 22 |
Atlas viewer
|
| 23 |
|
| 24 |
%prep
|
| 25 |
%setup -q -n Atlas-%{version}
|
| 26 |
%patch0 -p1 -b .buildfixes
|
| 27 |
find -type f -name '*.[hc]xx' -exec chmod a-x {} \;
|
| 28 |
|
| 29 |
%build
|
| 30 |
%configure CXXFLAGS="$RPM_OPT_FLAGS -fPIC" --with-fgbase=%{_datadir}/FlightGear
|
| 31 |
make %{?_smp_mflags}
|
| 32 |
|
| 33 |
%install
|
| 34 |
rm -rf $RPM_BUILD_ROOT
|
| 35 |
make install DESTDIR=$RPM_BUILD_ROOT
|
| 36 |
install -d $RPM_BUILD_ROOT%{_datadir}/FlightGear
|
| 37 |
tar zxf %{SOURCE1} -C $RPM_BUILD_ROOT%{_datadir}/FlightGear
|
| 38 |
|
| 39 |
# this script is buggy and duplicates a fonctionnality now included in
|
| 40 |
# the Atlas program
|
| 41 |
rm -f $RPM_BUILD_ROOT%{_bindir}/buildmaps.sh
|
| 42 |
|
| 43 |
# the palette file must be installed
|
| 44 |
install -m 0644 src/AtlasPalette $RPM_BUILD_ROOT%{_datadir}/FlightGear
|
| 45 |
|
| 46 |
%clean
|
| 47 |
rm -rf $RPM_BUILD_ROOT
|
| 48 |
|
| 49 |
%files
|
| 50 |
%defattr(-, root, root, 0755)
|
| 51 |
%doc AUTHORS COPYING NEWS README
|
| 52 |
%{_bindir}/*
|
| 53 |
%{_datadir}/FlightGear/*
|
| 54 |
|
| 55 |
%changelog
|
| 56 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-13
|
| 57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 58 |
|
| 59 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-12
|
| 60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 61 |
|
| 62 |
* Tue Feb 03 2009 Fabrice Bellet <fabrice@bellet.info> 0.3.1-11
|
| 63 |
- rebuild with newer SimGear
|
| 64 |
|
| 65 |
* Tue Jan 06 2009 Fabrice Bellet <fabrice@bellet.info> 0.3.1-10
|
| 66 |
- new build fixes for newer SimGear
|
| 67 |
|
| 68 |
* Tue May 13 2008 Fabrice Bellet <fabrice@bellet.info> 0.3.1-9
|
| 69 |
- rebuild with newer plib
|
| 70 |
|
| 71 |
* Mon Feb 4 2008 Fabrice Bellet <fabrice@bellet.info> 0.3.1-8
|
| 72 |
- fix gcc43 build
|
| 73 |
|
| 74 |
* Mon Jan 7 2008 Fabrice Bellet <fabrice@bellet.info> 0.3.1-7
|
| 75 |
- rebuild with newer SimGear
|
| 76 |
|
| 77 |
* Sun Sep 23 2007 Fabrice Bellet <fabrice@bellet.info> 0.3.1-6
|
| 78 |
- update License tag
|
| 79 |
|
| 80 |
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.3.1-5
|
| 81 |
- Rebuild for selinux ppc32 issue.
|
| 82 |
|
| 83 |
* Wed Jun 27 2007 Fabrice Bellet <fabrice@bellet.info> 0.3.1-4
|
| 84 |
- Rebuild with newer version of SimGear
|
| 85 |
- Add the missing Palette file to the package
|
| 86 |
- Remove the buildmaps.sh script (the functionnality provided
|
| 87 |
by this script is now part of the Atlas program)
|
| 88 |
|
| 89 |
* Mon Apr 2 2007 Fabrice Bellet <fabrice@bellet.info> 0.3.1-3
|
| 90 |
- Fixed duplicate BuildRequires
|
| 91 |
|
| 92 |
* Sun Apr 1 2007 Fabrice Bellet <fabrice@bellet.info> 0.3.1-2
|
| 93 |
- Rebuild with new SimGear
|
| 94 |
|
| 95 |
* Tue Mar 20 2007 Fabrice Bellet <fabrice@bellet.info> 0.3.1-1
|
| 96 |
- Initial packaging
|