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