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