]> git.pld-linux.org Git - packages/SimGear.git/blob - SimGear.spec
- cosmetics
[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.3
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:  5e0fe624af3791bb635ad10ba364cf78
10 Patch0:         %{name}-shared.patch
11 URL:            http://www.simgear.org/
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  XFree86-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  glut-devel
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtool
19 BuildRequires:  metakit-devel >= 2.4.3
20 BuildRequires:  plib >= 1.7.0
21 BuildRequires:  tcl-devel
22 BuildRequires:  zlib-devel
23 Requires:       OpenGL
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 -p1
70
71 %build
72 rm -f missing
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__automake}
77 %configure \
78         --with-x \
79         --with-tcl=/usr/lib
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %doc AUTHORS NEWS
97 %attr(755,root,root) %{_libdir}/*.so.*.*
98
99 %files devel
100 %defattr(644,root,root,755)
101 %doc TODO
102 %attr(755,root,root) %{_libdir}/lib*.so
103 %{_libdir}/lib*.la
104 %{_includedir}/*
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/lib*.a
This page took 0.174565 seconds and 3 git commands to generate.