/[packages]/updates/4/xdg-utils/current/SPECS/xdg-utils.spec
ViewVC logotype

Contents of /updates/4/xdg-utils/current/SPECS/xdg-utils.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 812903 - (show annotations) (download)
Sat Jan 31 15:01:42 2015 UTC (9 years, 2 months ago) by shlomif
File size: 3526 byte(s)
Merge from Cauldron.

- Upgrade to 1.1.0-rc3.
- Add patches.
- Apply patch for MGA14932.

1 #comment out if not pre-release
2 %define prel rc3
3
4 %define extrarel 0
5 %define rel 3
6 %define subrel 1
7
8 Name: xdg-utils
9 Version: 1.1.0
10 Release: %mkrel %{?prel:0.%extrarel.%prel.}%{rel}
11 Summary: Interfaces and Tools for easy integration with the free desktop configuration
12 License: MIT
13 Url: http://portland.freedesktop.org/wiki/
14 Group: System/Base
15 Source0: http://people.freedesktop.org/~rdieter/xdg-utils/%{name}-%{version}%{?prel:-%prel}.tar.gz
16 Patch0: xdg-utils-1.1.0-rc3-email_loop.patch
17 Patch1: xdg-utils-1.1.0-rc3-email_silent_errors.patch
18 # For: MGA #7848 , MGA #4027.
19 Patch2: xdg-utils-1.1.0-rc3-inhibit-screensaver.patch
20 # From upstream git:
21 # http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=0f06aadc
22 Patch3: xdg-utils-1.1.0-rc3-xfce-screensaver-handling.patch
23 # http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=11a4bd44
24 Patch4: xdg-utils-1.1.0-rc3-fix-command-injection-vulnerability.patch
25 # http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ffa6e473
26 Patch5: xdg-utils-1.1.0-rc3-dereference-symlinks-when-using-mimetype-or-file.patch
27 # http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=8e9fa9bc
28 Patch6: xdg-utils-1.1.0-rc3-change-screensaver_freedesktops-interpretation-of-GetActive.patch
29 # http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ab071bea
30 Patch7: xdg-utils-1.1.0-rc3-better-fix-for-command-injection-vulnerability.patch
31 BuildRequires: libxslt-proc
32 BuildRequires: gawk
33 BuildRequires: xmlto
34 BuildRequires: docbook-dtd412-xml
35 BuildRequires: docbook-style-xsl
36 Requires: desktop-file-utils
37 Requires: xprop
38 Requires: xset
39
40 %description
41 This version of xdg-utils contains the following commands:
42 xdg-desktop-menu: command line tool for (un)installing
43 desktop menu items
44 xdg-desktop-icon: command line tool for (un)installing
45 icons to the desktop
46 xdg-mime: command line tool for querying information
47 about file type handling and adding
48 descriptions for new file types
49 xdg-icon-resource: command line tool for (un)installing icon resources
50 xdg-open: opens a file or URL in the user's preferred
51 application
52 xdg-email: command line tool for sending mail using the user's
53 preferred
54 e-mail composer
55 xdg-su: run a program as root after prompting for the root
56 password
57 xdg-screensaver: command line tool for controlling the screensaver
58
59 Testsuite for xdg-utils is available from
60 http://portland.freedesktop.org/wiki/TestSuite
61
62 %files
63 %doc README TODO RELEASE_NOTES
64 %{_bindir}/xdg-desktop-icon
65 %{_bindir}/xdg-desktop-menu
66 %{_bindir}/xdg-email
67 %{_bindir}/xdg-icon-resource
68 %{_bindir}/xdg-mime
69 %{_bindir}/xdg-open
70 %{_bindir}/xdg-screensaver
71 %{_bindir}/xdg-settings
72 #%{_bindir}/xdg-terminal
73 %{_mandir}/man1/xdg-desktop-icon.*
74 %{_mandir}/man1/xdg-desktop-menu.*
75 %{_mandir}/man1/xdg-email.*
76 %{_mandir}/man1/xdg-icon-resource.*
77 %{_mandir}/man1/xdg-mime.*
78 %{_mandir}/man1/xdg-open.*
79 %{_mandir}/man1/xdg-screensaver.*
80 %{_mandir}/man1/xdg-settings.*
81 #%{_mandir}/man1/xdg-terminal.*
82
83 #-------------------------------------------------------------------------------#
84
85
86 %prep
87 %setup -q -n %{name}-%{version}%{?prel:-%prel}
88 %apply_patches
89
90 %build
91 %configure2_5x
92 %make
93 %make -C scripts
94
95 %install
96 %makeinstall_std

  ViewVC Help
Powered by ViewVC 1.1.30