Summary: An OpenGL virtual desktop switching program
Summary(pl): Program prze³±czaj±cy wirtualne pulpity wykorzystuj±cy OpenGL
Name: 3ddesktop
-Version: 0.2.0
-Release: 0.3
+Version: 0.2.5
+Release: 1
License: GPL v2
Group: X11/Applications
-Source0: http://www.systemtoolbox.com/bard/3ddesktop/dl/%{name}-%{version}.tar.gz
-Patch0: %{name}-DESTDIR.patch
-Patch1: %{name}-ac_fix.patch
-URL: http://www.systemtoolbox.com/bard/3ddesktop/
+#Source0-md5: afecac14b6d432e757e37085d4bc8549
+Source0: http://dl.sourceforge.net/desk3d/%{name}-%{version}.tar.gz
+URL: http://desk3d.sourceforge.net/
BuildRequires: OpenGL-devel
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: glut-devel
BuildRequires: gtk+-devel
BuildRequires: imlib2-devel
+BuildRequires: kdelibs-devel >= 3.0.3
+BuildRequires: libstdc++-devel
+Requires: OpenGL
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
+%define _noautoreqdep libGL.so.1 libGLU.so.1
%description
-3D-Desktop is a GNOME OpenGL program for switching virtual desktops in
+3D-Desktop is a KDE OpenGL program for switching virtual desktops in
a seamless 3-dimensional manner. The current desktop is mapped into a
fullscreen 3D environment where you may choose other screens. Several
different visualization modes are available. The transition from
to try it out and get the full effect!
%description -l pl
-3D-Desktop jest programem GNOME wykorzystuj±cym OpenGL, który prze³±cza
+3D-Desktop jest programem KDE wykorzystuj±cym OpenGL, który prze³±cza
wirtualne pulpity w p³ynny, trójwymiarowy sposób. Aktualny pulpit jest
mapowany na pe³noekranowe ¶rodowisko 3D, gdzie mo¿esz wybraæ inne
ekrany. Dostêpnych jest kilka ró¿nych sposobów wizualizacji.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
%build
cp -f /usr/share/automake/missing .
-aclocal
+%{__aclocal}
+%{__autoheader}
%{__autoconf}
-CPPFLAGS="-I/usr/X11R6/include" ; export CPPFLAGS
-%configure
-%{__make}
+%{__automake}
+%configure \
+ --with-kde-includes="/usr/include" \
+ --with-qt-includes="/usr/include/qt"
+%{__make} OPT=""
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ChangeLog README TODO
+%doc AUTHORS ChangeLog README TODO
%attr(755,root,root) %{_bindir}/*
+%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/*
+%{_datadir}/%{name}