/[packages]/cauldron/xdg-utils/pristine/SPECS/xdg-utils.spec
ViewVC logotype

Contents of /cauldron/xdg-utils/pristine/SPECS/xdg-utils.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 210 - (show annotations) (download)
Fri Jan 7 09:52:16 2011 UTC (13 years, 3 months ago) by dmorgan
File size: 2490 byte(s)
Copying release 1.1.0-0.rc1.1mdv2011.0 to pristine/ directory.
1 %define beta rc1
2 Name: xdg-utils
3 Version: 1.1.0
4 Release: %mkrel 0.rc1.1
5 Summary: Interfaces and Tools to allow all applications to easily integrate with the free desktop configuration
6 License: MIT
7 Url: http://portland.freedesktop.org/wiki/
8 Group: System/Base
9 %if 0%{?cvs:1}
10 Source0: xdg-utils-%{cvs}.tar.xz
11 %else
12 Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}-%{?beta}.tar.gz
13 %endif
14 Patch0: xdg-utils-1.0.2-email_loop.patch
15 Patch1: xdg-utils-1.0.2-email_silent_errors.patch
16 BuildRequires: libxslt-proc
17 BuildRequires: gawk
18 BuildRequires: xmlto
19 BuildRequires: docbook-dtd412-xml
20 Requires: desktop-file-utils
21 Requires: xprop xset
22 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
23
24 %description
25 This version of xdg-utils contains the following commands:
26 xdg-desktop-menu: command line tool for (un)installing
27 desktop menu items
28 xdg-desktop-icon: command line tool for (un)installing
29 icons to the desktop
30 xdg-mime: command line tool for querying information
31 about file type handling and adding
32 descriptions for new file types
33 xdg-icon-resource: command line tool for (un)installing icon resources
34 xdg-open: opens a file or URL in the user's preferred
35 application
36 xdg-email: command line tool for sending mail using the user's
37 preferred
38 e-mail composer
39 xdg-su: run a program as root after prompting for the root
40 password
41 xdg-screensaver: command line tool for controlling the screensaver
42
43 Testsuite for xdg-utils is available from
44 http://portland.freedesktop.org/wiki/TestSuite
45
46 %files
47 %defattr(-,root,root,-)
48 %{_bindir}/xdg-desktop-icon
49 %{_bindir}/xdg-desktop-menu
50 %{_bindir}/xdg-email
51 %{_bindir}/xdg-icon-resource
52 %{_bindir}/xdg-mime
53 %{_bindir}/xdg-open
54 %{_bindir}/xdg-screensaver
55 %{_bindir}/xdg-settings
56 #%{_bindir}/xdg-terminal
57 %{_mandir}/man1/xdg-desktop-icon.*
58 %{_mandir}/man1/xdg-desktop-menu.*
59 %{_mandir}/man1/xdg-email.*
60 %{_mandir}/man1/xdg-icon-resource.*
61 %{_mandir}/man1/xdg-mime.*
62 %{_mandir}/man1/xdg-open.*
63 %{_mandir}/man1/xdg-screensaver.*
64 %{_mandir}/man1/xdg-settings.*
65 #%{_mandir}/man1/xdg-terminal.*
66
67 #-------------------------------------------------------------------------------#
68
69
70 %prep
71 %setup -q -n %name-%{version}-%{?beta}
72 %patch0 -p0
73 %patch1 -p0
74
75 %build
76 %configure2_5x
77 %make
78 %make -C scripts
79
80 %install
81 rm -rf %{buildroot}
82
83 %makeinstall_std
84 sed -i -e "s,_LIBDIR_,%{_libdir}/kde4/libexec,g" %buildroot/%_bindir/xdg-email
85
86 %clean
87 rm -rf %{buildroot}
88

  ViewVC Help
Powered by ViewVC 1.1.30