/[packages]/updates/8/flightgear-data/current/SPECS/flightgear-data.spec
ViewVC logotype

Annotation of /updates/8/flightgear-data/current/SPECS/flightgear-data.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1784865 - (hide annotations) (download)
Fri Feb 25 20:06:57 2022 UTC (2 years, 4 months ago) by eatdirt
File size: 1414 byte(s)
Update to bug fix release 2020.3.12
1 eatdirt 1588527 # No debug package, it's actually noarch
2 zezinho 1448450 %define debug_package %{nil}
3 zezinho 1320070
4 zezinho 1448450 # No compile of doc files named .py
5     %global _python_bytecompile_extra 0
6    
7 fwang 135077 %define oname flightgear
8 ennael 86763
9 shadow95 134488 Summary: The data for FlightGear Flight Simulator
10 shadow95 132344 Name: flightgear-data
11 eatdirt 1784865 Version: 2020.3.12
12 eatdirt 1601102 Release: %mkrel 1
13 shadow95 132427 License: GPLv2
14 malo 344696 Group: Games/Simulation
15 eatdirt 1730524 Source0: https://downloads.sf.net/flightgear/FlightGear-%{version}-data.txz
16 eatdirt 1588527 URL: http://www.flightgear.org
17    
18     ####(eatdirt) back on all arch
19 eatdirt 1588456 ####ExclusiveArch: x86_64
20 eatdirt 1588527 BuildArch: noarch
21 ennael 86763 Provides: flightgear-base = %{version}-%{release}
22 eatdirt 1640662 Obsoletes: flightgear-data < 2020.3
23 ennael 86763
24     %description
25     The Flight Gear project is working to create a sophisticated flight simulator
26     framework for the development and pursuit of interesting flight simulator
27     ideas. We are developing a solid basic sim that can be expanded and improved
28     upon by anyone interested in contributing.
29    
30     This package contains the base data files.
31    
32     %prep
33 fwang 484736 %setup -q -n fgdata
34 ovitters 877073 %autopatch -p1
35 ennael 86763
36     %install
37 dams 603101 install -d -m 0755 %{buildroot}%{_gamesdatadir}/%{oname}/
38     cp -a * %{buildroot}%{_gamesdatadir}/%{oname}/
39 ennael 86763
40 akien 815548 # fix permissions
41 dams 603101 find %{buildroot}%{_gamesdatadir}/%{oname} -type f -exec chmod 644 {} \;
42 ennael 86763
43 akien 815548 # fix file not in utf-8
44     iconv %{buildroot}%{_gamesdatadir}/%{oname}/Thanks -f iso-8859-1 \
45     -t utf-8 -o %{buildroot}%{_gamesdatadir}/%{oname}/Thanks
46 ennael 86763
47     %files
48 shadow95 132642 %doc AUTHORS COPYING NEWS README Thanks Docs
49 akien 815548 %{_gamesdatadir}/%{oname}/

  ViewVC Help
Powered by ViewVC 1.1.30