/[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 248337 by anssi, Wed Mar 7 20:20:28 2012 UTC revision 248338 by wally, Mon May 28 13:36:42 2012 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.20  Version:        0.20
4  Release:        %mkrel 1  Release:        %mkrel 2
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.xz  Source:         http://freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
9  Buildrequires:  popt-devel glibc-static-devel  # From upstream:
10    # http://cgit.freedesktop.org/xdg/desktop-file-utils/commit/?id=ff6bf3
11    Patch0:         desktop-file-utils-0.20-add-XFCE-to-registered-categories.patch
12    Buildrequires:  popt-devel glibc-static-devel
13  BuildRequires:  glib2-devel  BuildRequires:  glib2-devel
14  BuildRequires:  emacs-bin  BuildRequires:  emacs-bin
15    
# Line 20  desktop-file-validate takes a single arg Line 23  desktop-file-validate takes a single arg
23    
24  %prep  %prep
25  %setup -q  %setup -q
26    %apply_patches
27    
28  %build  %build
29  %configure2_5x  %configure2_5x
   
30  %make  %make
31    
32  %install  %install
 rm -rf %{buildroot}  
   
33  %makeinstall_std  %makeinstall_std
34    
35  mkdir -p %{buildroot}%{_sysconfdir}/emacs/site-start.d/  mkdir -p %{buildroot}%{_sysconfdir}/emacs/site-start.d/
36  cat > %{buildroot}%{_sysconfdir}/emacs/site-start.d/%{name}.el << EOF  cat > %{buildroot}%{_sysconfdir}/emacs/site-start.d/%{name}.el << EOF
37  (autoload 'desktop-entry-mode "desktop-entry-mode" "Desktop Entry mode" t)  (autoload 'desktop-entry-mode "desktop-entry-mode" "Desktop Entry mode" t)
# Line 49  cat > %buildroot%{_var}/lib/rpm/filetrig Line 52  cat > %buildroot%{_var}/lib/rpm/filetrig
52  EOF  EOF
53  chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/update-desktop-database.script  chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/update-desktop-database.script
54    
 %clean  
 rm -rf %{buildroot}  
   
55  %files  %files
 %defattr(-,root,root)  
56  %doc AUTHORS NEWS README ChangeLog  %doc AUTHORS NEWS README ChangeLog
57  %config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el  %config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el
58  %{_bindir}/*  %{_bindir}/*
59  %_mandir/man1/*  %{_mandir}/man1/*
60  %{_datadir}/emacs/site-lisp/desktop-entry-mode.el*  %{_datadir}/emacs/site-lisp/desktop-entry-mode.el*
61  %{_var}/lib/rpm/filetriggers/update-desktop-database.*  %{_var}/lib/rpm/filetriggers/update-desktop-database.*
62    

Legend:
Removed from v.248337  
changed lines
  Added in v.248338

  ViewVC Help
Powered by ViewVC 1.1.30