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