2006-07-27 11:41:12 +00:00
|
|
|
|
2011-01-04 12:27:29 +00:00
|
|
|
%if 0%{?fedora} > 12 && 0%{?fedora} < 15
|
|
|
|
%define htmlview 1
|
2009-11-30 15:30:37 +00:00
|
|
|
%endif
|
|
|
|
|
2011-07-14 12:18:35 +00:00
|
|
|
%define snap 20110714
|
2011-02-01 15:24:51 +00:00
|
|
|
#define pre rc1
|
2008-11-21 20:25:46 +00:00
|
|
|
|
2006-07-27 11:41:12 +00:00
|
|
|
Summary: Basic desktop integration functions
|
|
|
|
Name: xdg-utils
|
2011-01-04 12:27:29 +00:00
|
|
|
Version: 1.1.0
|
2011-07-14 12:18:35 +00:00
|
|
|
Release: 0.9.%{snap}%{?dist}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
URL: http://portland.freedesktop.org/
|
2011-02-01 15:24:51 +00:00
|
|
|
%if 0%{?snap:1}
|
|
|
|
Source0: xdg-utils-%{version}-%{snap}.tar.gz
|
2011-01-04 12:27:29 +00:00
|
|
|
Source1: xdg-utils-git_checkout.sh
|
2008-11-21 20:25:46 +00:00
|
|
|
%else
|
2011-01-04 12:27:29 +00:00
|
|
|
Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}%{?pre:-%{pre}}.tar.gz
|
2008-11-21 20:25:46 +00:00
|
|
|
%endif
|
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
|
|
|
|
|
2009-11-30 15:30:37 +00:00
|
|
|
Source10: htmlview.sh
|
|
|
|
|
2011-01-04 12:27:29 +00:00
|
|
|
%if 0%{?snap}
|
2008-11-21 20:25:46 +00:00
|
|
|
BuildRequires: gawk
|
|
|
|
BuildRequires: xmlto
|
2011-01-04 12:27:29 +00:00
|
|
|
%endif
|
2006-10-24 15:48:23 +00:00
|
|
|
|
2006-12-19 21:46:42 +00:00
|
|
|
Requires: coreutils
|
2006-07-27 11:41:12 +00:00
|
|
|
Requires: desktop-file-utils
|
2007-10-03 16:00:27 +00:00
|
|
|
Requires: which
|
2006-07-27 11:41:12 +00:00
|
|
|
|
2011-01-04 12:27:29 +00:00
|
|
|
# drop for f16+
|
2009-11-30 15:30:37 +00:00
|
|
|
Obsoletes: htmlview <= 4.0.0
|
|
|
|
## nothing should be depending on this
|
2011-01-04 12:27:29 +00:00
|
|
|
%if 0%{?htmlview}
|
|
|
|
Provides: htmlview = 4.0.1
|
2009-11-30 15:30:37 +00:00
|
|
|
%endif
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
%description
|
2008-01-18 15:04:48 +00:00
|
|
|
The %{name} package is a set of simple scripts that provide basic
|
2006-07-27 11:41:12 +00:00
|
|
|
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:
|
2006-10-02 20:53:56 +00:00
|
|
|
* xdg-desktop-icon Install icons to the desktop
|
2011-01-04 12:27:29 +00:00
|
|
|
* xdg-desktop-menu Install desktop menu items
|
|
|
|
* xdg-email Send mail using the user's preferred e-mail composer
|
2006-10-02 20:53:56 +00:00
|
|
|
* xdg-icon-resource Install icon resources
|
|
|
|
* xdg-mime Query information about file type handling and
|
|
|
|
install descriptions for new file types
|
|
|
|
* xdg-open Open a file or URL in the user's preferred application
|
|
|
|
* xdg-screensaver Control the screensaver
|
2011-01-04 12:27:29 +00:00
|
|
|
* xdg-settings Get various settings from the desktop environment
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2011-01-04 12:27:29 +00:00
|
|
|
%setup -q -n %{name}-%{version}%{?pre:-%{pre}}
|
2006-10-24 15:48:23 +00:00
|
|
|
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
|
2011-02-01 15:24:51 +00:00
|
|
|
%if 0%{?snap:1}
|
2011-02-01 15:32:51 +00:00
|
|
|
make scripts-clean -C scripts
|
|
|
|
make man scripts %{?_smp_mflags} -C scripts
|
2011-01-04 12:27:29 +00:00
|
|
|
%endif
|
2011-02-01 15:24:51 +00:00
|
|
|
make %{?_smp_mflags}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2008-01-18 15:04:48 +00:00
|
|
|
rm -rf %{buildroot}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
2008-01-18 15:04:48 +00:00
|
|
|
make install DESTDIR=%{buildroot}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
2011-01-04 12:27:29 +00:00
|
|
|
%if 0%{?htmlview}
|
2009-11-30 15:30:37 +00:00
|
|
|
install -m755 -p %{SOURCE10} %{buildroot}%{_bindir}/htmlview
|
|
|
|
%endif
|
|
|
|
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc ChangeLog LICENSE README TODO
|
2011-01-04 12:27:29 +00:00
|
|
|
%if 0%{?htmlview}
|
2009-11-30 15:30:37 +00:00
|
|
|
%{_bindir}/htmlview
|
|
|
|
%endif
|
2011-01-04 12:27:29 +00:00
|
|
|
%{_bindir}/xdg-desktop-icon
|
|
|
|
%{_bindir}/xdg-desktop-menu
|
|
|
|
%{_bindir}/xdg-email
|
|
|
|
%{_bindir}/xdg-icon-resource
|
|
|
|
%{_bindir}/xdg-mime
|
|
|
|
%{_bindir}/xdg-open
|
|
|
|
%{_bindir}/xdg-screensaver
|
|
|
|
%{_bindir}/xdg-settings
|
|
|
|
%{_mandir}/man1/xdg-desktop-icon.1*
|
|
|
|
%{_mandir}/man1/xdg-desktop-menu.1*
|
|
|
|
%{_mandir}/man1/xdg-email.1*
|
|
|
|
%{_mandir}/man1/xdg-icon-resource.1*
|
|
|
|
%{_mandir}/man1/xdg-mime.1*
|
|
|
|
%{_mandir}/man1/xdg-open.1*
|
|
|
|
%{_mandir}/man1/xdg-screensaver.1*
|
|
|
|
%{_mandir}/man1/xdg-settings.1*
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%clean
|
2008-01-18 15:04:48 +00:00
|
|
|
rm -rf %{buildroot}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2011-07-14 12:18:35 +00:00
|
|
|
* Thu Jul 14 2011 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.9.20110714
|
|
|
|
- 20110714 snapshot
|
|
|
|
- xdg-mime : use 'file --mime-type' instead of 'file -i'
|
|
|
|
|
2011-06-16 20:02:21 +00:00
|
|
|
* Thu Jun 16 2011 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.8.20110510
|
|
|
|
- rebuild
|
|
|
|
|
2011-06-02 19:06:12 +00:00
|
|
|
* Thu Jun 02 2011 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.7.20110510
|
|
|
|
- fix gnome3 detection, gnome-default-applications-properties error output
|
|
|
|
|
2011-05-05 15:03:33 +00:00
|
|
|
* Thu May 05 2011 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.6.20110505
|
|
|
|
- Error in xdg-open script (#702347)
|
|
|
|
|
2011-05-04 18:23:56 +00:00
|
|
|
* Wed May 04 2011 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.5.20110504
|
|
|
|
- 20110504 snapshot
|
|
|
|
- xdg-email does not work (#690840)
|
|
|
|
|
2011-04-08 12:12:21 +00:00
|
|
|
* Fri Apr 08 2011 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.4.20110408
|
|
|
|
- 20110408 snapshot
|
|
|
|
- Shouldn't use user's defaults.list (#678656)
|
|
|
|
|
2011-02-08 03:54:55 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-0.3.20110201
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-01 15:24:51 +00:00
|
|
|
* Tue Feb 01 2011 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.2.20110201
|
|
|
|
- 20110201 snapshot
|
|
|
|
- add gnome3 support, make default browser work again for xdg-settings (#654746)
|
|
|
|
|
2011-01-04 12:27:29 +00:00
|
|
|
* Mon Jan 03 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.1.0-0.1.rc1
|
|
|
|
- xdg-utils-1.1.0-rc1
|
|
|
|
|
2010-10-28 20:57:58 +00:00
|
|
|
* Thu Oct 28 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-21.20101028
|
|
|
|
- lxde support (#580835, fdo#26058))
|
|
|
|
|
2010-07-09 16:11:12 +00:00
|
|
|
* Fri Jul 09 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-20.20100709
|
|
|
|
- xdg-screensaver: consider gnome-screensaver a separate DE (fdo#20027)
|
|
|
|
|
2010-07-09 14:46:25 +00:00
|
|
|
* Fri Jul 09 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-19.20100709
|
|
|
|
- xdg-open man page needs updating to include FILE and SEE ALSO (#603841)
|
|
|
|
- xdg-open should call mimeopen with -L option (#430072)
|
|
|
|
- xdg-desktop-icon : use localized desktop folder name (fdo#19011)
|
|
|
|
|
2010-04-09 20:07:43 +00:00
|
|
|
* Fri Apr 09 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-18.20100409
|
|
|
|
- xdg-settings fixes (#580715, fdo#26284)
|
|
|
|
|
2010-01-18 13:43:56 +00:00
|
|
|
* Mon Jan 18 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-17.20100118cvs
|
|
|
|
- xdg-screensaver resume activates the screensaver on KDE4 (fdo#26085)
|
|
|
|
|
2009-12-17 19:15:47 +00:00
|
|
|
* Thu Dec 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-16.20091217cvs
|
|
|
|
- xdg-mime: line 531: kde-config: command not found (#545702)
|
|
|
|
- xdg-email calls gconftool which doesn't exist (#548529)
|
|
|
|
|
2009-11-30 15:30:37 +00:00
|
|
|
* Mon Nov 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-15.20091016cvs
|
|
|
|
- add Obsoletes: htmlview (#541179, f13+)
|
|
|
|
|
2009-10-16 17:24:54 +00:00
|
|
|
* Fri Oct 16 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-14.20091016cvs
|
|
|
|
- prefer gvfs-open over gnome-open (#529287)
|
|
|
|
- DE=gnome, if org.gnome.SessionManager exists on dbus (#529287)
|
|
|
|
|
|
|
|
* Mon Sep 28 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-13.20090928cvs
|
|
|
|
- xdg-open: use kde-open
|
|
|
|
|
2009-09-22 00:32:53 +00:00
|
|
|
* Mon Sep 21 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-12.20090921cvs
|
|
|
|
- suppress stderr from kde-config (#524724)
|
|
|
|
|
2009-09-13 19:53:34 +00:00
|
|
|
* Sun Sep 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-11.20090913cvs
|
|
|
|
- 20090913cvs snapshot
|
|
|
|
- xdg-open in xdg-utils expects xprop to be available (#506857)
|
|
|
|
|
2009-08-25 03:11:05 +00:00
|
|
|
* Mon Aug 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-10.20090824cvs
|
|
|
|
- 20090824cvs snapshot
|
|
|
|
|
2009-07-27 07:43:40 +00:00
|
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-9.20081121cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-04-09 18:18:59 +00:00
|
|
|
* Thu Apr 09 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-8.20081121cvs
|
|
|
|
- revert. kfmclient openURL is largely useless
|
|
|
|
|
2009-04-08 19:08:16 +00:00
|
|
|
* Wed Apr 08 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-7.20081121cvs
|
|
|
|
- xdg-open: s/kfmclient exec/kfmclient openURL/ (CVE-2009-0068, rh#472010, fdo#19377)
|
|
|
|
|
2009-02-26 08:17:17 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-6.20081121cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-21 20:25:46 +00:00
|
|
|
* Fri Nov 21 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.2-5.20081121cvs
|
|
|
|
- upstreamed a few more patches, rebase to cvs snapshot
|
|
|
|
|
2008-01-25 14:19:51 +00:00
|
|
|
* Fri Jan 25 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.0.2-4
|
|
|
|
- Fix for CVE-2008-0386 (#429513)
|
|
|
|
|
2008-01-18 15:04:48 +00:00
|
|
|
* Fri Jan 18 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-3
|
|
|
|
- fix mimeopen support (#429280)
|
|
|
|
- spec cosmetics: cleanup macro usage
|
|
|
|
|
2007-10-03 16:00:27 +00:00
|
|
|
* Wed Oct 03 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-2
|
|
|
|
- Requires: which (#312601)
|
|
|
|
|
2007-06-25 03:24:08 +00:00
|
|
|
* Sun Jun 24 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-1
|
|
|
|
- xdg-utils-1.0.2
|
|
|
|
|
2007-04-23 13:50:04 +00:00
|
|
|
* Mon Apr 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-3
|
|
|
|
- add htmlview,links to browser fallbacks
|
|
|
|
|
2006-12-19 21:46:42 +00:00
|
|
|
* Tue Dec 19 2006 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-2
|
|
|
|
- fix typo in xdg-icon-resource manpage
|
|
|
|
|
2006-11-06 14:03:45 +00:00
|
|
|
* Mon Nov 06 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-1
|
|
|
|
- xdg-utils-1.0.1
|
|
|
|
|
2006-10-24 15:48:23 +00:00
|
|
|
* Tue Oct 24 2006 Rex Dieter <rexdieter[AT]users.sf.net 1.0-3
|
|
|
|
- actually *use* mimeopen patch (#210797)
|
|
|
|
|
2006-10-24 12:28:39 +00:00
|
|
|
* Tue Oct 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-2
|
|
|
|
- prefer mimeopen as generic default (#210797)
|
|
|
|
|
2006-10-10 12:48:28 +00:00
|
|
|
* Tue Oct 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-1
|
|
|
|
- 1.0(final)
|
|
|
|
|
2006-10-02 20:53:56 +00:00
|
|
|
* Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.9.rc1
|
|
|
|
- update %%description (#208926)
|
|
|
|
|
2006-09-21 02:05:31 +00:00
|
|
|
* Wed Sep 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.8.rc1
|
|
|
|
- 1.0rc1
|
|
|
|
|
2006-09-15 13:17:18 +00:00
|
|
|
* Fri Sep 15 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.7.beta4
|
|
|
|
- 1.0beta4
|
|
|
|
|
2006-08-21 15:05:42 +00:00
|
|
|
* Mon Aug 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.6.beta3
|
2006-09-15 13:17:18 +00:00
|
|
|
- 1.0beta3
|
2006-08-21 15:05:42 +00:00
|
|
|
|
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
|
|
|
|
|