2006-07-27 11:41:12 +00:00
|
|
|
|
2006-08-21 15:05:42 +00:00
|
|
|
%define beta beta3
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
Summary: Basic desktop integration functions
|
|
|
|
Name: xdg-utils
|
|
|
|
Version: 1.0
|
2006-08-21 15:05:42 +00:00
|
|
|
Release: 0.6.%{beta}%{?dist}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
URL: http://portland.freedesktop.org/
|
2006-08-21 15:05:42 +00:00
|
|
|
Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}%{?beta}.tgz
|
2006-07-27 11:41:12 +00:00
|
|
|
License: MIT
|
|
|
|
Group: System Environment/Base
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
# 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
|
2006-08-21 15:05:42 +00:00
|
|
|
%setup -q -n %{name}-%{version}%{?beta}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%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
|
2006-08-21 15:05:42 +00:00
|
|
|
* Mon Aug 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.6.beta3
|
|
|
|
- xdg-utils-1.0beta3
|
|
|
|
|
2006-07-27 20:20:40 +00:00
|
|
|
* Thu Jul 27 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.5.20060721
|
|
|
|
- Release: append/use %%{?dist}
|
|
|
|
|
2006-07-27 11:41:12 +00:00
|
|
|
* Wed Jul 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.4.20060721
|
|
|
|
- specfile cosmetics, tabs -> spaces
|
|
|
|
- %%makeinstall -> make install DESTDIR=...
|
|
|
|
|
|
|
|
* Mon Jul 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.3.20060721
|
|
|
|
- 20060721 snapshot
|
|
|
|
- optgnome.patch
|
|
|
|
|
|
|
|
* Mon Jul 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.2.beta1
|
|
|
|
- Requires: desktop-file-utils
|
|
|
|
|
|
|
|
* Mon Jul 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.1.beta1
|
|
|
|
- 1.0beta1
|
|
|
|
|