/[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 468046 by fwang, Tue Aug 20 00:17:50 2013 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.21
4  Release:        %mkrel 1  Release:        %mkrel 3
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  Source:         http://freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
9  Buildrequires:  popt-devel glibc-static-devel  Patch0:         desktop-file-utils-0.21-dbusactivatable.patch
10    Buildrequires:  popt-devel glibc-static-devel
11  BuildRequires:  glib2-devel  BuildRequires:  glib2-devel
12  BuildRequires:  emacs-bin  BuildRequires:  emacs-bin
 BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot  
13    
14  %description  %description
15  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 21  desktop-file-validate takes a single arg Line 21  desktop-file-validate takes a single arg
21    
22  %prep  %prep
23  %setup -q  %setup -q
24    %apply_patches
25    
26  %build  %build
27  %configure2_5x  %configure2_5x
   
28  %make  %make
29    
30  %install  %install
 rm -rf %{buildroot}  
   
31  %makeinstall_std  %makeinstall_std
32    
33  mkdir -p %{buildroot}%{_sysconfdir}/emacs/site-start.d/  mkdir -p %{buildroot}%{_sysconfdir}/emacs/site-start.d/
34  cat > %{buildroot}%{_sysconfdir}/emacs/site-start.d/%{name}.el << EOF  cat > %{buildroot}%{_sysconfdir}/emacs/site-start.d/%{name}.el << EOF
35  (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 50  cat > %buildroot%{_var}/lib/rpm/filetrig
50  EOF  EOF
51  chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/update-desktop-database.script  chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/update-desktop-database.script
52    
 %clean  
 rm -rf %{buildroot}  
   
53  %files  %files
 %defattr(-,root,root)  
54  %doc AUTHORS NEWS README ChangeLog  %doc AUTHORS NEWS README ChangeLog
55  %config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el  %config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el
56  %{_bindir}/*  %{_bindir}/*
57  %_mandir/man1/*  %{_mandir}/man1/*
58  %{_datadir}/emacs/site-lisp/desktop-entry-mode.el*  %{_datadir}/emacs/site-lisp/desktop-entry-mode.el*
59  %{_var}/lib/rpm/filetriggers/update-desktop-database.*  %{_var}/lib/rpm/filetriggers/update-desktop-database.*
60    

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

  ViewVC Help
Powered by ViewVC 1.1.30