]> git.pld-linux.org Git - packages/SimGear.git/blob - SimGear.spec
- fixed -shared patch
[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.1
5 Release:        2
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 URL:            http://www.simgear.org/
11 Requires:       OpenGL
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  XFree86-devel
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  glut-devel
16 BuildRequires:  automake
17 BuildRequires:  autoconf
18 BuildRequires:  libtool
19 BuildRequires:  plib >= 1.7.0
20 BuildRequires:  zlib-devel
21 BuildRequires:  tcl-devel
22 BuildRequires:  metakit-devel
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 Requires:       %{name} = %{version}
47
48 %description devel
49 Header files neccessary to build SimGear applications.
50
51 %description devel -l pl
52 Pliki nag³ówkowe potrzebne do budowania aplikacji z SimGearem.
53
54 %package static
55 Summary:        static SimGear libraries
56 Summary(pl):    statyczne biblioteki SimGear
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}
59
60 %description static
61 Static SimGear libraries.
62
63 %description static -l pl
64 Statyczne biblioteki SimGear.
65
66 %prep
67 %setup -q
68 %patch0 -p1
69
70 %build
71 rm -f missing
72 %{__libtoolize}
73 %{__aclocal}
74 %{__autoconf}
75 %{__automake}
76 %configure \
77         --with-x \
78         --with-tcl=/usr/lib
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install DESTDIR=$RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/*.so.*.*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %doc COPYING 
99 %attr(755,root,root) %{_libdir}/lib*.so
100 %{_libdir}/lib*.la
101 %{_includedir}/*
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/lib*.a
This page took 0.052111 seconds and 3 git commands to generate.