Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > ef69626c6d9cab210111c0d6db7a8fe3 > files > 2

flightgear-data-2.10.0-1.mga3.src.rpm

%define	oname	flightgear

Summary:	The data for FlightGear Flight Simulator
Name:		flightgear-data
Version:	2.10.0
Release:	%mkrel 1
License:	GPLv2
Group:		Games/Simulation
Source0:	http://mirrors.ibiblio.org/flightgear/ftp/Shared/FlightGear-data-%{version}.tar.bz2
BuildArch:	noarch
URL:		http://www.flightgear.org/
Provides:	flightgear-base = %{version}-%{release}

%description
The Flight Gear project is working to create a sophisticated flight simulator
framework for the development and pursuit of interesting flight simulator
ideas. We are developing a solid basic sim that can be expanded and improved
upon by anyone interested in contributing.

This package contains the base data files.

%prep
%setup -q -n data

%build

%install
install -d -m 0755 %{buildroot}/%{_gamesdatadir}/%{oname}/
cp -a * %{buildroot}/%{_gamesdatadir}/%{oname}/

# cleanup temporary files and fix permissions
find %{buildroot}/%{_gamesdatadir}/%{oname} -name '*#*' -exec rm {} \;
find %{buildroot}/%{_gamesdatadir}/%{oname} -type f -exec chmod 644 {} \;

# fix wrong eol encoding on some doc files
for f in Docs/FGShortRef.css Docs/README.kln89.html Docs/FGShortRef.html \
	Docs/README.submodels Docs/README.yasim Docs/README.xmlparticles
do
	sed -i 's/\r//' %{buildroot}/%{_gamesdatadir}/%{oname}/$f
done

# fix files not in utf-8
for f in Thanks Docs/README.xmlparticles
do
	path=%{buildroot}/%{_gamesdatadir}/%{oname}/$f
	iconv -f iso-8859-1 -t utf-8 -o ${path}.utf8 $path
	mv -f ${path}.utf8 ${path}
done

%files
%doc AUTHORS COPYING NEWS README Thanks Docs
%{_gamesdatadir}/%{oname}


%changelog

* Mon Feb 18 2013 zezinho <zezinho> 2.10.0-1.mga3
+ Revision: 399167
- new version

* Fri Jan 11 2013 umeabot <umeabot> 2.8.0-2.mga3
+ Revision: 350542
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

  + malo <malo>
    - fix RPM group

* Thu Sep 06 2012 zezinho <zezinho> 2.8.0-1.mga3
+ Revision: 289026
- new version

* Sat Feb 25 2012 zezinho <zezinho> 2.6.0-1.mga3
+ Revision: 214228
- new version

  + fwang <fwang>
    - fix data dir (bug#2505)

  + shadow95 <shadow95>
    - clean spec
    - new version 2.4.0 final
    - clean spec
    - clean spec
    - clean spec
    - doc install in /usr/share/doc/flightgear-data
    - Fix License type GPLv2
    - Update datas to 2.4.0
    - Release 0.1 (pre version FlightGear's Datas)
    - clean spec
    - Update dat	a to 2.4.0
    - clean spec

  + stormi <stormi>
    - drop no more needed obsoletes
    - remove %%clean and %%defattr

* Tue Jul 19 2011 fwang <fwang> 2.0.0-3.mga2
+ Revision: 126277
- move to datadir

* Sat Apr 16 2011 ennael <ennael> 2.0.0-2.mga1
+ Revision: 86831
- clean spec file
- imported package flightgear-data


* Sun Dec 05 2010 Oden Eriksson <oeriksson@mandriva.com> 2.0.0-2mdv2011.0
+ Revision: 610712
- rebuild

* Sun Mar 07 2010 Frederik Himpe <fhimpe@mandriva.org> 2.0.0-1mdv2010.1
+ Revision: 515584
- Update to new version 2.0.0

* Thu Sep 10 2009 Thierry Vignaud <tv@mandriva.org> 1.9.0-2mdv2010.0
+ Revision: 437557
- rebuild

* Wed Mar 04 2009 Frederik Himpe <fhimpe@mandriva.org> 1.9.0-1mdv2009.1
+ Revision: 348704
- Update to new version 1.9.0
- Rename to flightgear-data
- compress upstream tarball with xz
- Use similar %%install section as Fedora

* Fri Aug 08 2008 Thierry Vignaud <tv@mandriva.org> 1.0.0-4mdv2009.0
+ Revision: 267915
+ rebuild (emptylog)

* Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 1.0.0-3mdv2009.0
+ Revision: 245200
- rebuild
- fix no-buildroot-tag

* Sat Dec 22 2007 Andreas Hasenack <andreas@mandriva.com> 1.0.0-1mdv2008.1
+ Revision: 136836
- updated base scenery to version 1.0.0 via patch file

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request