1 # TODO: Consider getting back to static linking or set sonames for shared libraries
2 Summary: A set of libraries to build 3d simulations, games etc
3 Summary(pl): Zestaw bibliotek do budowania trójwymiarowych symulacji, gier itp
9 Source0: ftp://ftp.simgear.org/pub/simgear/Source/%{name}-%{version}.tar.gz
10 # Source0-md5: 469e17b08ed4267a33dbd19eabdd976b
11 Patch0: %{name}-shared.patch
12 URL: http://www.simgear.org/
13 BuildRequires: OpenAL-devel
14 BuildRequires: OpenGL-devel
15 BuildRequires: XFree86-devel
16 BuildRequires: autoconf >= 2.52
17 BuildRequires: automake
18 BuildRequires: glut-devel
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool
21 BuildRequires: metakit-devel >= 2.4.3
22 BuildRequires: plib-devel >= 1.8.4
23 BuildRequires: tcl-devel
24 BuildRequires: zlib-devel
26 Requires: plib >= 1.8.4
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _noautoreqdep libGL.so.1 libGLU.so.1
32 SimGear is a set of open-source libraries designed to be used as
33 building blocks for quickly assembling 3d simulations, games, and
34 visualization applications.
36 The term "Simulation Kernel" is a bit presumptuous for us at this
37 point, but this is the direction we are heading with SimGear.
40 SimGear to zestaw bibliotek zaprojektowanych do wykorzystania jako
41 klocki do szybkiego zestawiania trójwymiarowych symulacji, gier...
43 W tej chwili jest jeszcze trochê za wcze¶nie na u¿ywanie terminu
44 "J±dro Symulacji", ale to jest kierunek w którym zmierza SimGear.
47 Summary: Header files for SimGear
48 Summary(pl): Pliki nag³ówkowe dla SimGear
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
51 Requires: OpenAL-devel
52 Requires: OpenGL-devel-base
53 Requires: plib-devel >= 1.8.0
56 Header files neccessary to build SimGear applications.
58 %description devel -l pl
59 Pliki nag³ówkowe potrzebne do budowania aplikacji z SimGearem.
62 Summary: Static SimGear libraries
63 Summary(pl): Statyczne biblioteki SimGear
64 Group: Development/Libraries
65 Requires: %{name}-devel = %{version}-%{release}
68 Static SimGear libraries.
70 %description static -l pl
71 Statyczne biblioteki SimGear.
88 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT
94 rm -rf $RPM_BUILD_ROOT
96 %post -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
100 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
105 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so
109 %{_includedir}/simgear
112 %defattr(644,root,root,755)