]> git.pld-linux.org Git - packages/SimGear.git/blob - SimGear.spec
- Version 0.3.10-1
[packages/SimGear.git] / SimGear.spec
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
4 Name:           SimGear
5 Version:        0.3.10
6 Release:        1
7 License:        GPL
8 Group:          Libraries
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
25 Requires:       OpenGL
26 Requires:       plib >= 1.8.4
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
30
31 %description
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.
35
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.
38
39 %description -l pl
40 SimGear to zestaw bibliotek zaprojektowanych do wykorzystania jako
41 klocki do szybkiego zestawiania trójwymiarowych symulacji, gier...
42
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.
45
46 %package devel
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
54
55 %description devel
56 Header files neccessary to build SimGear applications.
57
58 %description devel -l pl
59 Pliki nag³ówkowe potrzebne do budowania aplikacji z SimGearem.
60
61 %package static
62 Summary:        Static SimGear libraries
63 Summary(pl):    Statyczne biblioteki SimGear
64 Group:          Development/Libraries
65 Requires:       %{name}-devel = %{version}-%{release}
66
67 %description static
68 Static SimGear libraries.
69
70 %description static -l pl
71 Statyczne biblioteki SimGear.
72
73 %prep
74 %setup -q
75 %patch0 -p1
76
77 %build
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__automake}
82 %configure \
83         --with-x \
84         --with-tcl=/usr/lib
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %files
100 %defattr(644,root,root,755)
101 %doc AUTHORS NEWS
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
103
104 %files devel
105 %defattr(644,root,root,755)
106 %doc TODO
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %{_libdir}/lib*.la
109 %{_includedir}/simgear
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/lib*.a
This page took 0.113589 seconds and 3 git commands to generate.