2006-07-27 11:41:12 +00:00
|
|
|
|
2008-11-21 20:25:46 +00:00
|
|
|
%define cvs 20081121cvs
|
|
|
|
|
2006-07-27 11:41:12 +00:00
|
|
|
Summary: Basic desktop integration functions
|
|
|
|
Name: xdg-utils
|
2007-06-25 03:24:08 +00:00
|
|
|
Version: 1.0.2
|
2009-02-26 08:17:17 +00:00
|
|
|
Release: 6.%{cvs}%{?dist}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
URL: http://portland.freedesktop.org/
|
2008-11-21 20:25:46 +00:00
|
|
|
%if 0%{?cvs:1}
|
|
|
|
Source0: xdg-utils-%{cvs}.tgz
|
|
|
|
Source1: xdg-utils-cvs_checkout.sh
|
|
|
|
%else
|
2006-08-21 15:05:42 +00:00
|
|
|
Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}%{?beta}.tgz
|
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
|
|
|
|
|
2008-11-21 20:25:46 +00:00
|
|
|
Patch1: xdg-utils-1.0.2-htmlview.patch
|
|
|
|
|
|
|
|
## upstream patches
|
|
|
|
Patch101: xdg-utils-1.0.2-mimeopen.patch
|
|
|
|
Patch102: xdg-utils-1.0.1-typo.patch
|
|
|
|
Patch104: xdg-utils-1.0.2-CVE-2008-0386.patch
|
|
|
|
|
|
|
|
BuildRequires: gawk
|
|
|
|
BuildRequires: xmlto
|
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
|
|
|
|
## kde-config
|
2006-10-24 12:28:39 +00:00
|
|
|
#Requires(hint): kdelibs
|
|
|
|
## update-gtk-icon-cache
|
|
|
|
#Requires(hint): gtk2
|
2007-10-03 16:00:27 +00:00
|
|
|
## htmlview patch
|
|
|
|
#Requires(hint): htmlview links
|
2006-10-24 15:48:23 +00:00
|
|
|
## mimeopen generic default
|
|
|
|
#Requires(hint): %{_bindir}/mimeopen
|
|
|
|
#Requires(hint): perl-File-MimeInfo
|
2007-10-03 16:00:27 +00:00
|
|
|
Requires: which
|
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-menu Install desktop menu items
|
|
|
|
* xdg-desktop-icon Install icons to the desktop
|
|
|
|
* 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-email Send mail using the user's preferred e-mail composer
|
|
|
|
* xdg-screensaver Control the screensaver
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-11-21 20:25:46 +00:00
|
|
|
#setup -q -n %{name}-%{version}%{?beta}
|
|
|
|
%setup -q -n %{name}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
2008-11-21 20:25:46 +00:00
|
|
|
%patch1 -p1 -b .htmlview
|
|
|
|
|
|
|
|
%if ! 0%{?cvs:1}
|
|
|
|
%patch101 -p1 -b .mimeopen
|
|
|
|
%patch102 -p1 -b .typo
|
|
|
|
%patch104 -p1 -b .CVE-2008-0386
|
|
|
|
%endif%
|
2006-10-24 15:48:23 +00:00
|
|
|
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
2008-11-21 20:25:46 +00:00
|
|
|
make -C scripts scripts
|
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
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc ChangeLog LICENSE README TODO
|
|
|
|
%{_bindir}/xdg-*
|
|
|
|
%{_mandir}/man1/xdg-*
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
2008-01-18 15:04:48 +00:00
|
|
|
rm -rf %{buildroot}
|
2006-07-27 11:41:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
|