]> git.pld-linux.org Git - packages/SimGear.git/blob - SimGear.spec
8be1cf3f44765bcd67c1826a2872304d3215a765
[packages/SimGear.git] / SimGear.spec
1 Summary:        A set of libraries to build 3d simulations, games etc
2 Summary(pl):    Zestaw bibliotek do budowania trójwymiarowych symulacji, gier itp
3 Name:           SimGear
4 Version:        0.3.9
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        ftp://ftp.simgear.org/pub/simgear/Source/%{name}-%{version}.tar.gz
9 # Source0-md5:  c9586d2ddc6a8200ccaae437eaa2be14
10 Patch0:         %{name}-shared.patch
11 Patch1:         %{name}-libs.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 %patch1 -p1
77
78 %build
79 %{__libtoolize}
80 %{__aclocal}
81 %{__autoconf}
82 %{__automake}
83 %configure \
84         --with-x \
85         --with-tcl=/usr/lib
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %doc AUTHORS NEWS
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
104
105 %files devel
106 %defattr(644,root,root,755)
107 %doc TODO
108 %attr(755,root,root) %{_libdir}/lib*.so
109 %{_libdir}/lib*.la
110 %{_includedir}/simgear
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/lib*.a
This page took 0.070368 seconds and 2 git commands to generate.