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