- xdg-utils-1.1.0-rc1
This commit is contained in:
parent
637a630908
commit
50cab9656e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/xdg-utils-20101028.tgz
|
/xdg-utils-20101028.tgz
|
||||||
|
/xdg-utils-1.1.0-rc1.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
8c7b2581c420b534a1d6692ef49ca1aa xdg-utils-20101028.tgz
|
fadf5e7a08e0526fc60dbe3e5b7ef8d6 xdg-utils-1.1.0-rc1.tar.gz
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
|
|
||||||
CVSUSER=:pserver:anonymous
|
|
||||||
MODULE=$(basename $0 -cvs_checkout.sh)
|
|
||||||
DATE=$(date +%Y%m%d)
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
rm -rf $MODULE
|
|
||||||
|
|
||||||
cvs -z3 -d$CVSUSER@cvs.freedesktop.org:/cvs/portland checkout -P portland/$MODULE
|
|
||||||
pushd portland
|
|
||||||
tar czf ../$MODULE-${DATE}.tgz $MODULE
|
|
||||||
popd
|
|
||||||
|
|
||||||
rm -rf portland
|
|
17
xdg-utils-git_checkout.sh
Executable file
17
xdg-utils-git_checkout.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
MODULE=xdg-utils
|
||||||
|
VERSION=1.1.0
|
||||||
|
DATE=$(date +%Y%m%d)
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
rm -rf $MODULE
|
||||||
|
|
||||||
|
git clone git://anongit.freedesktop.org/portland/xdg-utils $MODULE/
|
||||||
|
pushd $MODULE
|
||||||
|
git archive master --format tar --prefix=${MODULE}-${VERSION}/ | gzip -9 > ../${MODULE}-${VERSION}-${DATE}.tar.gz
|
||||||
|
popd
|
||||||
|
|
||||||
|
rm -rf $MODULE
|
@ -1,12 +0,0 @@
|
|||||||
diff -up xdg-utils/scripts/xdg-open.in.htmlview xdg-utils/scripts/xdg-open.in
|
|
||||||
--- xdg-utils/scripts/xdg-open.in.htmlview 2010-07-09 08:43:05.000000000 -0500
|
|
||||||
+++ xdg-utils/scripts/xdg-open.in 2010-07-09 11:31:03.001178866 -0500
|
|
||||||
@@ -196,7 +196,7 @@ fi
|
|
||||||
if [ x"$BROWSER" = x"" ]; then
|
|
||||||
BROWSER=links2:links:lynx:w3m
|
|
||||||
if [ -n "$DISPLAY" ]; then
|
|
||||||
- BROWSER=firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER
|
|
||||||
+ BROWSER=htmlview:firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
@ -1,21 +1,22 @@
|
|||||||
|
|
||||||
%if 0%{?fedora} > 12
|
%if 0%{?fedora} > 12 && 0%{?fedora} < 15
|
||||||
%define obsoletes_htmlview 1
|
%define htmlview 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define cvs 20101028
|
#define snap 20101028
|
||||||
|
%define pre rc1
|
||||||
|
|
||||||
Summary: Basic desktop integration functions
|
Summary: Basic desktop integration functions
|
||||||
Name: xdg-utils
|
Name: xdg-utils
|
||||||
Version: 1.0.2
|
Version: 1.1.0
|
||||||
Release: 21.%{cvs}%{?dist}
|
Release: 0.1.%{pre}%{?dist}
|
||||||
|
|
||||||
URL: http://portland.freedesktop.org/
|
URL: http://portland.freedesktop.org/
|
||||||
%if 0%{?cvs:1}
|
%if 0%{?cvs:1}
|
||||||
Source0: xdg-utils-%{cvs}.tgz
|
Source0: xdg-utils-%{version}-%{snap}.tgz
|
||||||
Source1: xdg-utils-cvs_checkout.sh
|
Source1: xdg-utils-git_checkout.sh
|
||||||
%else
|
%else
|
||||||
Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}%{?beta}.tgz
|
Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}%{?pre:-%{pre}}.tar.gz
|
||||||
%endif
|
%endif
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -24,10 +25,10 @@ BuildArch: noarch
|
|||||||
|
|
||||||
Source10: htmlview.sh
|
Source10: htmlview.sh
|
||||||
|
|
||||||
Patch1: xdg-utils-htmlview.patch
|
%if 0%{?snap}
|
||||||
|
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
Requires: desktop-file-utils
|
Requires: desktop-file-utils
|
||||||
@ -35,17 +36,16 @@ Requires: desktop-file-utils
|
|||||||
#Requires(hint): kdelibs
|
#Requires(hint): kdelibs
|
||||||
## update-gtk-icon-cache
|
## update-gtk-icon-cache
|
||||||
#Requires(hint): gtk2
|
#Requires(hint): gtk2
|
||||||
## htmlview patch
|
|
||||||
#Requires(hint): htmlview links
|
|
||||||
## mimeopen generic default
|
## mimeopen generic default
|
||||||
#Requires(hint): %{_bindir}/mimeopen
|
#Requires(hint): %{_bindir}/mimeopen
|
||||||
#Requires(hint): perl-File-MimeInfo
|
#Requires(hint): perl-File-MimeInfo
|
||||||
Requires: which
|
Requires: which
|
||||||
|
|
||||||
%if 0%{?obsoletes_htmlview}
|
# drop for f16+
|
||||||
Obsoletes: htmlview <= 4.0.0
|
Obsoletes: htmlview <= 4.0.0
|
||||||
## nothing should be depending on this
|
## nothing should be depending on this
|
||||||
#Provides: htmlview = 4.0.1
|
%if 0%{?htmlview}
|
||||||
|
Provides: htmlview = 4.0.1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -60,22 +60,22 @@ This means that:
|
|||||||
* Distribution vendors can provide custom versions of these utilities
|
* Distribution vendors can provide custom versions of these utilities
|
||||||
|
|
||||||
The following scripts are provided at this time:
|
The following scripts are provided at this time:
|
||||||
* xdg-desktop-menu Install desktop menu items
|
|
||||||
* xdg-desktop-icon Install icons to the desktop
|
* xdg-desktop-icon Install icons to the desktop
|
||||||
|
* xdg-desktop-menu Install desktop menu items
|
||||||
|
* xdg-email Send mail using the user's preferred e-mail composer
|
||||||
* xdg-icon-resource Install icon resources
|
* xdg-icon-resource Install icon resources
|
||||||
* xdg-mime Query information about file type handling and
|
* xdg-mime Query information about file type handling and
|
||||||
install descriptions for new file types
|
install descriptions for new file types
|
||||||
* xdg-open Open a file or URL in the user's preferred application
|
* 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
|
* xdg-screensaver Control the screensaver
|
||||||
|
* xdg-settings Get various settings from the desktop environment
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
#setup -q -n %{name}-%{version}%{?beta}
|
%if 0%{?cvs:1}
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}
|
||||||
|
%else
|
||||||
%if ! 0%{?obsoletes_htmlview}
|
%setup -q -n %{name}-%{version}%{?pre:-%{pre}}
|
||||||
%patch1 -p1 -b .htmlview
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -83,7 +83,9 @@ The following scripts are provided at this time:
|
|||||||
%configure
|
%configure
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
%if 0%{?cvs:1}
|
||||||
make -C scripts scripts
|
make -C scripts scripts
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -91,7 +93,7 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
%if 0%{?obsoletes_htmlview}
|
%if 0%{?htmlview}
|
||||||
install -m755 -p %{SOURCE10} %{buildroot}%{_bindir}/htmlview
|
install -m755 -p %{SOURCE10} %{buildroot}%{_bindir}/htmlview
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -99,11 +101,25 @@ install -m755 -p %{SOURCE10} %{buildroot}%{_bindir}/htmlview
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc ChangeLog LICENSE README TODO
|
%doc ChangeLog LICENSE README TODO
|
||||||
%if 0%{?obsoletes_htmlview}
|
%if 0%{?htmlview}
|
||||||
%{_bindir}/htmlview
|
%{_bindir}/htmlview
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/xdg-*
|
%{_bindir}/xdg-desktop-icon
|
||||||
%{_mandir}/man1/xdg-*
|
%{_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*
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -111,6 +127,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 03 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.1.0-0.1.rc1
|
||||||
|
- xdg-utils-1.1.0-rc1
|
||||||
|
|
||||||
* Thu Oct 28 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-21.20101028
|
* Thu Oct 28 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-21.20101028
|
||||||
- lxde support (#580835, fdo#26058))
|
- lxde support (#580835, fdo#26058))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user