]> git.pld-linux.org Git - packages/SimGear.git/blob - SimGear.spec
- spaces->tabs
[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.6
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:  8ea139152a3eba476f5d7178f571b72a
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.0
23 BuildRequires:  tcl-devel
24 BuildRequires:  zlib-devel
25 Requires:       OpenGL
26 Requires:       plib >= 1.8.0
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 rm -f missing
80 %{__libtoolize}
81 %{__aclocal}
82 %{__autoconf}
83 %{__automake}
84 %configure \
85         --with-x \
86         --with-tcl=/usr/lib
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files
102 %defattr(644,root,root,755)
103 %doc AUTHORS NEWS
104 %attr(755,root,root) %{_libdir}/*.so.*.*
105
106 %files devel
107 %defattr(644,root,root,755)
108 %doc TODO
109 %attr(755,root,root) %{_libdir}/lib*.so
110 %{_libdir}/lib*.la
111 %{_includedir}/*
112
113 %files static
114 %defattr(644,root,root,755)
115 %{_libdir}/lib*.a
This page took 0.074103 seconds and 3 git commands to generate.