]> git.pld-linux.org Git - packages/earth3d.git/blame - earth3d.spec
- fix ui headers
[packages/earth3d.git] / earth3d.spec
CommitLineData
c0eee56d
ER
1Summary: Map client displaying a 3D model of the world
2Name: earth3d
3Version: 1.0.5
4Release: 0.1
5License: GPL v2
6Group: Applications/Graphics
7Source0: http://downloads.sourceforge.net/earth3d/%{name}_client-%{version}-src.tar.bz2
8# Source0-md5: d273437a473f66401b01acf7521808c3
9c77557f 9Patch0: gcc.patch
c0e1faf5 10Patch1: libpng.patch
216ef88b 11Patch2: libs.patch
c0eee56d
ER
12URL: http://www.earth3d.org/
13BuildRequires: ImageMagick-devel
14BuildRequires: qt-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18The map data is fetched from a server on the net, and the client will
19display recent satellite images and map data.
20
21%prep
22%setup -q -n %{name}
9c77557f 23%patch0 -p1
c0e1faf5 24%patch1 -p1
216ef88b 25%patch2 -p1
1ac145f7 26echo "#include <gltest.h>" > gltestwidget.h
c0eee56d
ER
27
28%build
29export QTDIR=/usr
30qmake earth3d.pro
31%{__make}
32
33%install
34rm -rf $RPM_BUILD_ROOT
35%{__make} install \
36 DESTDIR=$RPM_BUILD_ROOT
37
38# The qmake install target is empty. Do the install here instead.
17fa403d 39install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
c0eee56d 40install -p earth3d $RPM_BUILD_ROOT%{_bindir}
17fa403d 41cp -p earth3d.1 $RPM_BUILD_ROOT%{_mandir}/man1
c0eee56d
ER
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
17fa403d
ER
48%doc Changelog README
49%attr(755,root,root) %{_bindir}/earth3d
50%{_mandir}/man1/earth3d.1*
This page took 0.059037 seconds and 4 git commands to generate.