]> git.pld-linux.org Git - packages/SimGear.git/blob - SimGear.spec
- URL fixed
[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 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.2.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 missing
72 libtoolize --force --copy
73 aclocal
74 autoconf
75 automake -a -c
76 %configure \
77         --with-x \
78         --with-tcl=/usr/lib
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT
84
85 %{__make} install DESTDIR=$RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/*.so.*.*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %doc simgear/metakit/doc/*.html
100 %doc simgear/metakit/doc/api
101 %attr(755,root,root) %{_libdir}/lib*.so
102 %attr(755,root,root) %{_libdir}/lib*.la
103 %{_includedir}/*
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/lib*.a
This page took 0.068221 seconds and 3 git commands to generate.