%define beta 20060721 Summary: Basic desktop integration functions Name: xdg-utils Version: 1.0 Release: 0.5.%{beta}%{?dist} URL: http://portland.freedesktop.org/ #Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}%{?beta}.tgz Source0: http://portland.freedesktop.org/download/xdg-utils-%{beta}.tgz License: MIT Group: System Environment/Base BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # upstream patches Patch1: xdg-utils-20060721-optgnome.patch # Not really used (yet) #BuildRequires: xmlto Requires: desktop-file-utils ## kde-config #Requires: kdelibs # update-gtk-icon-cache #Requires: gtk2 %description The xdg-utils package is a set of simple scripts that provide basic desktop integration functions for any Free Desktop, such as Linux. They are intended to provide a set of defacto standards. This means that: * Third party software developers can rely on these xdg-utils for all of their simple integration needs. * Developers of desktop environments can make sure that their environments are well supported * Distribution vendors can provide custom versions of these utilities The following scripts are provided at this time: * xdg-menu Place a menu into the users menu structure * xdg-mime Gather mime information about a file * xdg-open Open a URL in the user's preferred application that handles the respective URL or file type * xdg-email Open the users preferred email client, potentially with subject and other info filled in * xdg-copy Copy one URI to another * xdg-su Run a command as a different (usually root) user * xdg-screensaver Enable, disable, or suspend the screensaver %prep #setup -q -n %{name}-%{version}%{?beta} %setup -q -n %{name}-%{beta} %patch1 -p1 -b .optgnome %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog LICENSE README TODO %{_bindir}/xdg-* %{_mandir}/man1/xdg-* %clean rm -rf $RPM_BUILD_ROOT %changelog * Thu Jul 27 2006 Rex Dieter 1.0-0.5.20060721 - Release: append/use %%{?dist} * Wed Jul 26 2006 Rex Dieter 1.0-0.4.20060721 - specfile cosmetics, tabs -> spaces - %%makeinstall -> make install DESTDIR=... * Mon Jul 24 2006 Rex Dieter 1.0-0.3.20060721 - 20060721 snapshot - optgnome.patch * Mon Jul 24 2006 Rex Dieter 1.0-0.2.beta1 - Requires: desktop-file-utils * Mon Jul 24 2006 Rex Dieter 1.0-0.1.beta1 - 1.0beta1