]> git.pld-linux.org Git - packages/SimGear.git/blob - SimGear.spec
e4354e0a28f27d42eeb7bf16918b76f098c45034
[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:        3
6 License:        GPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Source0:        ftp://ftp.simgear.org/pub/simgear/Source/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-shared.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:  libtool
23 BuildRequires:  plib >= 1.2.0
24 BuildRequires:  zlib-devel
25 BuildRequires:  tcl-devel
26 BuildRequires:  metakit-devel
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 Group(de):      Entwicklung/Libraries
51 Group(fr):      Development/Librairies
52 Group(pl):      Programowanie/Biblioteki
53 Requires:       %{name} = %{version}
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 Group(de):      Entwicklung/Libraries
66 Group(fr):      Development/Librairies
67 Group(pl):      Programowanie/Biblioteki
68 Requires:       %{name}-devel = %{version}
69
70 %description static
71 Static SimGear libraries.
72
73 %description static -l pl
74 Statyczne biblioteki SimGear.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79
80 %build
81 rm missing
82 libtoolize --force --copy
83 aclocal
84 autoconf
85 automake -a -c
86 %configure \
87         --with-x \
88         --with-tcl=/usr/lib
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93 install -d $RPM_BUILD_ROOT
94
95 %{__make} install DESTDIR=$RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %files
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/*.so.*.*
106
107 %files devel
108 %defattr(644,root,root,755)
109 %doc simgear/metakit/doc/*.html
110 %doc simgear/metakit/doc/api
111 %attr(755,root,root) %{_libdir}/lib*.so
112 %attr(755,root,root) %{_libdir}/lib*.la
113 %{_includedir}/*
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/lib*.a
This page took 0.049842 seconds and 2 git commands to generate.