/[packages]/updates/infra_5/desktop-file-utils/current/SPECS/desktop-file-utils.spec
ViewVC logotype

Diff of /updates/infra_5/desktop-file-utils/current/SPECS/desktop-file-utils.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5293 by blino, Mon Jan 10 10:31:07 2011 UTC revision 621521 by wally, Fri May 9 13:26:28 2014 UTC
# Line 1  Line 1 
1  Summary:        Utilities for working with desktop entries  Summary:        Utilities for working with desktop entries
2  Name:           desktop-file-utils  Name:           desktop-file-utils
3  Version:        0.17  Version:        0.22
4  Release:        %mkrel 1  Release:        %mkrel 4
5  License:        GPLv2+  License:        GPLv2+
6  Group:          Graphical desktop/Other  Group:          Graphical desktop/Other
7  Url:            http://freedesktop.org/Software/desktop-file-utils  Url:            http://freedesktop.org/Software/desktop-file-utils
8  Source:         http://freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.bz2  Source0:        http://freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
9  Buildrequires:  popt-devel glibc-static-devel  # Adds OPENBOX and LXQt to the registered categories list
10    Patch0:         desktop-file-utils-0.22-registered-categories.patch
11    BuildRequires:  popt-devel
12  BuildRequires:  glib2-devel  BuildRequires:  glib2-devel
13  BuildRequires:  emacs-bin  BuildRequires:  emacs-bin
 BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot  
14    
15  %description  %description
16  desktop-file-utils contains a couple of command line utilities for working  desktop-file-utils contains a couple of command line utilities for working
# Line 17  with desktop entries. It requires GLib a Line 18  with desktop entries. It requires GLib a
18  implementation requires Unicode utilities and such.  implementation requires Unicode utilities and such.
19    
20  Right now the only documentation is "desktop-file-install --help".  Right now the only documentation is "desktop-file-install --help".
21  desktop-file-validate takes a single argument, the file to validate.  desktop-file-validate takes a single argument, the file to validate.
22    
23  %prep  %prep
24  %setup -q  %setup -q
25    %apply_patches
26    
27  %build  %build
28  %configure2_5x  %configure2_5x
   
29  %make  %make
30    
31  %install  %install
 rm -rf %{buildroot}  
   
32  %makeinstall_std  %makeinstall_std
33    
34  mkdir -p %{buildroot}%{_sysconfdir}/emacs/site-start.d/  mkdir -p %{buildroot}%{_sysconfdir}/emacs/site-start.d/
35  cat > %{buildroot}%{_sysconfdir}/emacs/site-start.d/%{name}.el << EOF  cat > %{buildroot}%{_sysconfdir}/emacs/site-start.d/%{name}.el << EOF
36  (autoload 'desktop-entry-mode "desktop-entry-mode" "Desktop Entry mode" t)  (autoload 'desktop-entry-mode "desktop-entry-mode" "Desktop Entry mode" t)
# Line 50  cat > %buildroot%{_var}/lib/rpm/filetrig Line 51  cat > %buildroot%{_var}/lib/rpm/filetrig
51  EOF  EOF
52  chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/update-desktop-database.script  chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/update-desktop-database.script
53    
54  %clean  %files
 rm -rf %{buildroot}  
   
 %files  
 %defattr(-,root,root)  
55  %doc AUTHORS NEWS README ChangeLog  %doc AUTHORS NEWS README ChangeLog
56  %config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el  %config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el
57  %{_bindir}/*  %{_bindir}/*
58  %_mandir/man1/*  %{_mandir}/man1/*
59  %{_datadir}/emacs/site-lisp/desktop-entry-mode.el*  %{_datadir}/emacs/site-lisp/desktop-entry-mode.el*
60  %{_var}/lib/rpm/filetriggers/update-desktop-database.*  %{_var}/lib/rpm/filetriggers/update-desktop-database.*
   
   

Legend:
Removed from v.5293  
changed lines
  Added in v.621521

  ViewVC Help
Powered by ViewVC 1.1.30