]> git.pld-linux.org Git - packages/SimGear.git/blob - SimGear.spec
- updated to 1.9.1
[packages/SimGear.git] / SimGear.spec
1 #
2 # TODO: - Add missing BRs for xorg
3 #       - Consider getting back to static linking or set sonames for shared libraries
4 #
5 Summary:        A set of libraries to build 3d simulations, games etc
6 Summary(pl.UTF-8):      Zestaw bibliotek do budowania trójwymiarowych symulacji, gier itp
7 Name:           SimGear
8 Version:        1.9.1
9 Release:        0.1
10 License:        GPL v2+
11 Group:          Libraries
12 Source0:        ftp://ftp.simgear.org/pub/simgear/Source/%{name}-%{version}.tar.gz
13 # Source0-md5:  edfdaa60518a06699a409d0eb9f1b157
14 Patch0:         %{name}-shared.patch
15 Patch1:         %{name}-link.patch
16 Patch2:         %{name}-cstdio.patch
17 Patch3:         %{name}-tgdb.patch
18 URL:            http://www.simgear.org/
19 BuildRequires:  OpenAL-devel
20 BuildRequires:  OpenGL-devel
21 BuildRequires:  OpenGL-glut-devel
22 BuildRequires:  OpenSceneGraph-devel
23 #BuildRequires: XFree86-devel
24 BuildRequires:  autoconf >= 2.52
25 BuildRequires:  automake
26 BuildRequires:  freealut-devel
27 BuildRequires:  libstdc++-devel
28 BuildRequires:  libtool
29 BuildRequires:  metakit-devel >= 2.4.3
30 BuildRequires:  plib-devel >= 1.8.4-3
31 BuildRequires:  tcl-devel
32 BuildRequires:  zlib-devel
33 Requires:       OpenGL
34 Requires:       plib >= 1.8.4
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
38
39 %description
40 SimGear is a set of open-source libraries designed to be used as
41 building blocks for quickly assembling 3d simulations, games, and
42 visualization applications.
43
44 The term "Simulation Kernel" is a bit presumptuous for us at this
45 point, but this is the direction we are heading with SimGear.
46
47 %description -l pl.UTF-8
48 SimGear to zestaw bibliotek zaprojektowanych do wykorzystania jako
49 klocki do szybkiego zestawiania trójwymiarowych symulacji, gier oraz
50 wizualnych aplikacji.
51
52 W tej chwili jest jeszcze trochę za wcześnie na używanie terminu
53 "Jądro Symulacji", ale to jest kierunek w którym zmierza SimGear.
54
55 %package devel
56 Summary:        Header files for SimGear
57 Summary(pl.UTF-8):      Pliki nagłówkowe dla SimGear
58 Group:          Development/Libraries
59 Requires:       %{name} = %{version}-%{release}
60 Requires:       OpenAL-devel
61 Requires:       OpenGL-devel
62 Requires:       plib-devel >= 1.8.0
63
64 %description devel
65 Header files neccessary to build SimGear applications.
66
67 %description devel -l pl.UTF-8
68 Pliki nagłówkowe potrzebne do budowania aplikacji z SimGearem.
69
70 %package static
71 Summary:        Static SimGear libraries
72 Summary(pl.UTF-8):      Statyczne biblioteki SimGear
73 Group:          Development/Libraries
74 Requires:       %{name}-devel = %{version}-%{release}
75
76 %description static
77 Static SimGear libraries.
78
79 %description static -l pl.UTF-8
80 Statyczne biblioteki SimGear.
81
82 %prep
83 %setup -q
84 #%%patch0 -p1
85 #%%patch1 -p1
86 %patch2 -p1
87 %patch3 -p1
88
89 %build
90 %{__libtoolize}
91 %{__aclocal}
92 %{__autoconf}
93 %{__automake}
94 %configure \
95         --with-x \
96         --with-tcl=/usr/lib
97 %{__make} -j 1
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %post   -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
110
111 %files
112 %defattr(644,root,root,755)
113 %doc AUTHORS NEWS
114 #%%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
115
116 %files devel
117 %defattr(644,root,root,755)
118 %doc TODO
119 #%%{_libdir}/lib*.la
120 %{_includedir}/simgear
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/lib*.a
This page took 0.043234 seconds and 3 git commands to generate.