]> git.pld-linux.org Git - packages/3ddesktop.git/blob - 3ddesktop.spec
- fix building with other prefix that /usr/local
[packages/3ddesktop.git] / 3ddesktop.spec
1 Summary:        An OpenGL virtual desktop switching program
2 Summary(pl):    Program prze³±czaj±cy wirtualne pulpity wykorzystuj±cy OpenGL
3 Name:           3ddesktop
4 Version:        0.2.0
5 Release:        0.3
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://www.systemtoolbox.com/bard/3ddesktop/dl/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-DESTDIR.patch
10 Patch1:         %{name}-ac_fix.patch
11 Patch2:         %{name}-other_prefix.patch
12 URL:            http://www.systemtoolbox.com/bard/3ddesktop/
13 BuildRequires:  OpenGL-devel
14 BuildRequires:  glut-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gtk+-devel
18 BuildRequires:  imlib2-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
23
24 %description
25 3D-Desktop is a GNOME OpenGL program for switching virtual desktops in
26 a seamless 3-dimensional manner. The current desktop is mapped into a
27 fullscreen 3D environment where you may choose other screens. Several
28 different visualization modes are available. The transition from
29 working desktop to fullscreen 3D environment is seamless. In other
30 words when the pager activates you see your current desktop appear to
31 zoom out to a point in space where you can see your other virtual
32 desktops allowing you to select another. The best way to understand is
33 to try it out and get the full effect!
34
35 %description -l pl
36 3D-Desktop jest programem GNOME wykorzystuj±cym OpenGL, który prze³±cza
37 wirtualne pulpity w p³ynny, trójwymiarowy sposób. Aktualny pulpit jest
38 mapowany na pe³noekranowe ¶rodowisko 3D, gdzie mo¿esz wybraæ inne
39 ekrany. Dostêpnych jest kilka ró¿nych sposobów wizualizacji.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %patch1 -p1
45 %patch2 -p1
46
47 %build
48 cp -f /usr/share/automake/missing .
49 aclocal
50 %{__autoconf}
51 CPPFLAGS="-I/usr/X11R6/include" ; export CPPFLAGS
52 %configure
53 %{__make} OPT=""
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} DESTDIR=$RPM_BUILD_ROOT install
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc ChangeLog README TODO
66 %attr(755,root,root) %{_bindir}/*
67 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/*
68 %{_datadir}/%{name}
This page took 0.042349 seconds and 4 git commands to generate.