]> git.pld-linux.org Git - packages/SimGear.git/blob - SimGear.spec
- updated to 0.0.18; rel1; STBR
[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.0.18
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        ftp://ftp.simgear.org/pub/simgear/Source/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-shared.patch
10 Patch1:         %{name}-am_fix.patch
11 URL:            http://www.simgear.org/
12 Requires:       OpenGL
13 BuildRequires:  OpenGL-devel
14 BuildRequires:  XFree86-devel
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  glut-devel
17 BuildRequires:  automake
18 BuildRequires:  autoconf
19 BuildRequires:  libtool
20 BuildRequires:  plib >= 1.2.0
21 BuildRequires:  zlib-devel
22 BuildRequires:  tcl-devel
23 BuildRequires:  metakit-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define _noautoreqdep libGL.so.1 libGLU.so.1
27
28 %description
29 SimGear is a set of open-source libraries designed to be used as
30 building blocks for quickly assembling 3d simulations, games, and
31 visualization applications.
32
33 The term "Simulation Kernel" is a bit presumptuous for us at this
34 point, but this is the direction we are heading with SimGear.
35
36 %description -l pl
37 SimGear to zestaw bibliotek zaprojektowanych do wykorzystania jako
38 klocki do szybkiego zestawiania trójwymiarowych symulacji, gier...
39
40 W tej chwili jest jeszcze trochê za wcze¶nie na u¿ywanie terminu
41 "J±dro Symulacji", ale to jest kierunek w którym zmierza SimGear.
42
43 %package devel
44 Summary:        header files for SimGear
45 Summary(pl):    pliki nag³ówkowe dla SimGear
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}
48
49 %description devel
50 Header files neccessary to build SimGear applications.
51
52 %description devel -l pl
53 Pliki nag³ówkowe potrzebne do budowania aplikacji z SimGearem.
54
55 %package static
56 Summary:        static SimGear libraries
57 Summary(pl):    statyczne biblioteki SimGear
58 Group:          Development/Libraries
59 Requires:       %{name}-devel = %{version}
60
61 %description static
62 Static SimGear libraries.
63
64 %description static -l pl
65 Statyczne biblioteki SimGear.
66
67 %prep
68 %setup -q
69 %patch0 
70 %patch1 -p1
71
72 %build
73 rm missing
74 libtoolize --force --copy
75 aclocal -I .
76 autoconf
77 automake -a -c -f
78 %configure \
79         --with-x \
80         --with-tcl=/usr/lib
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT
86
87 %{__make} install DESTDIR=$RPM_BUILD_ROOT
88
89 %post   -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %files
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/*.so.*.*
98
99 %files devel
100 %defattr(644,root,root,755)
101 %doc simgear/metakit/doc/*.html
102 %doc simgear/metakit/doc/api
103 %attr(755,root,root) %{_libdir}/lib*.so
104 %attr(755,root,root) %{_libdir}/lib*.la
105 %{_includedir}/*
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
This page took 0.040658 seconds and 3 git commands to generate.