Name : 3ddesktop Version : 0.2.7 Release : 1.fc1 License : GPL Summary : GNOME OpenGL virtual desktop switcher Group : User Interface/Desktops URL : http://desk3d.sourceforge.net/ Vendor : Brad Wasson Packager: : Thomas Chung BuildRoot : %{_tmppath}/%{name}-%{version}-buildroot Source0 : %{name}-%{version}.tar.gz Source1 : 3ddesktop.desktop Source2 : 3ddesktop.png Requires : imlib2 >= 1.0.2 BuildRequires : imlib2-devel >= 1.0.2 %description 3d Destkop is an OpenGL program for switching virtual desktops in a seamless 3-dimensional manner. The current desktop is mapped into a 3D space where you may choose other screens. When activated the current desktop appears to zoom out into the 3D view. Several different visualization modes are available. %prep rm -rf %{buildroot} ####################################################################### # setup macro # -a num : Only unpack source number after changing to the directory # -b num : Only unpack source number before changing to the directory # -c : Create directory before unpacking. # -D : Do not delete the directory before unpacking # -n name : Name the directory as name # -q : Run quiety with minimum output # -T : Disable the automatic unpacking of the archives. ####################################################################### %setup -q ######################################################### # Common Red Hat RPM macros (rpm --showrc for more info) # {_sourcedir} : /usr/src/redhat/SOURCES # {_builddir} : /usr/src/redhat/BUILD # {_tmppath} : /var/tmp # {_libdir} : /usr/lib # {_bindir} : /usr/bin # {_datadir} : /usr/share # {_mandir} : /usr/share/man # {_docdir} : /usr/share/doc # {_sysconfdir} : /etc # {buildroot} # {name} # {version} # {release} ######################################################### %build CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS \ --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ --datadir=%{_datadir} make %install make DESTDIR=%{buildroot} install mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps} cp -a %{SOURCE1} %{buildroot}%{_datadir}/applications cp -a %{SOURCE2} %{buildroot}%{_datadir}/pixmaps %clean rm -rf %{buildroot} %files ##################################################### # defattr sets the default attributes for all files ##################################################### %defattr(-, root, root) %doc README COPYING ChangeLog TODO AUTHORS %{_bindir}/* %{_datadir}/3ddesktop/digits.bmp %{_datadir}/applications/3ddesktop.desktop %{_datadir}/pixmaps/3ddesktop.png %{_sysconfdir}/3ddesktop.conf %changelog * Fri Sep 24 2004 Thomas Chung - Rebuild for Fedora Core 1 - Clean up spec file - Add desktop file - Add BuildRequires