desktop-file-utils-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. Name: desktop-file-utils
  2. Summary: Utilities for manipulating .desktop files
  3. Summary(ja): .desktop ファイルを操作するユーティリティ
  4. Version: 0.26
  5. Release: 1%{?_dist_release}
  6. Group: admin-tools
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPLv2
  10. URL: https://www.freedesktop.org/wiki/Software/desktop-file-utils
  11. Source0: https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
  12. Source1: desktop-entry-mode-init.el
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: glib2-devel
  15. BuildRequires: emacs
  16. BuildRequires: meson
  17. %description
  18. .desktop files are used to describe an application for inclusion in
  19. GNOME or KDE menus. This package contains desktop-file-validate which
  20. checks whether a .desktop file complies with the specification at
  21. http://www.freedesktop.org/standards/, and desktop-file-install
  22. which installs a desktop file to the standard directory, optionally
  23. fixing it up in the process.
  24. %debug_package
  25. %prep
  26. %setup -q
  27. %build
  28. %meson
  29. %meson_build
  30. %install
  31. rm -rf %{buildroot}
  32. %meson_install
  33. mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/%{name}
  34. mv %{buildroot}%{_datadir}/emacs/site-lisp/*.el* %{buildroot}%{_datadir}/emacs/site-lisp/%{name}/
  35. install -Dpm 644 %{SOURCE1} %{buildroot}%{_datadir}/emacs/site-start.d/desktop-entry-mode-init.el
  36. touch %{buildroot}%{_datadir}/emacs/site-start.d/desktop-entry-mode-init.elc
  37. %clean
  38. rm -rf %{buildroot}
  39. %transfiletriggerin -- %{_datadir}/applications
  40. update-desktop-database &> /dev/null || :
  41. %transfiletriggerpostun -- %{_datadir}/applications
  42. update-desktop-database &> /dev/null || :
  43. %files
  44. %defattr(-,root,root)
  45. %license COPYING
  46. %doc AUTHORS NEWS README
  47. %{_bindir}/*
  48. %dir %{_datadir}/emacs
  49. %dir %{_datadir}/emacs/site-lisp
  50. %{_datadir}/emacs/site-lisp/*
  51. %dir %{_datadir}/emacs/site-start.d
  52. %{_datadir}/emacs/site-start.d/desktop-entry-mode-init.el
  53. %ghost %{_datadir}/emacs/site-start.d/desktop-entry-mode-init.elc
  54. %{_mandir}/man1/*
  55. %changelog
  56. * Mon Mar 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.26-1
  57. - new upstream release.
  58. - added triggers.
  59. * Thu Apr 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23-1
  60. - new upstream release.
  61. * Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22-2
  62. - fix typo in url
  63. * Fri Sep 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22-1
  64. - new upstream release
  65. * Sun Oct 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.21-1
  66. - new upstream release
  67. * Tue May 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20-1
  68. - new upstream release
  69. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-1
  70. - new upstream release
  71. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.17-2
  72. - rebuilt with rpm-4.8.1-3
  73. * Thu Sep 16 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-1
  74. - new upstream release
  75. * Tue May 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.16-1
  76. - new upstream release
  77. - removed BR: popt-devel
  78. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15-2
  79. - spec in utf-8
  80. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-1vl5
  81. - new upstream release
  82. * Sun Jan 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.14-0vl1
  83. - new upstream release
  84. - added %doc files
  85. * Mon Jul 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.13-0vl1
  86. - new upstream release
  87. * Sun Aug 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10-0vl2
  88. - add BuildRequires: emacsen
  89. * Mon Nov 22 2004 Tomoya TAKA <taka@vinelinux.org> 0.10-0vl1
  90. - new upstream release
  91. * Mon Jun 21 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-0vl1
  92. - new upstream release
  93. * Mon Jun 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.20030616-0vl1
  94. - update from cvs
  95. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3-3vl1
  96. - build for Vine Linux
  97. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  98. - fix more error messages
  99. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  100. - remove old symlinks before creating new ones, chills out
  101. a lot of error messages
  102. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  103. - version 0.3
  104. * Wed Jul 24 2002 Havoc Pennington <hp@redhat.com>
  105. - 0.2.95 cvs snap, should fix OnlyShowIn
  106. * Mon Jul 22 2002 Havoc Pennington <hp@redhat.com>
  107. - 0.2.94 cvs snap, adds --print-available
  108. * Tue Jul 9 2002 Havoc Pennington <hp@redhat.com>
  109. - 0.2.93 cvs snap with a crash fixed, and corrects [KDE Desktop Entry]
  110. * Fri Jun 21 2002 Havoc Pennington <hp@redhat.com>
  111. - 0.2.92 cvs snap with --remove-key and checking for OnlyShowIn
  112. and missing trailing semicolons on string lists
  113. * Fri Jun 21 2002 Havoc Pennington <hp@redhat.com>
  114. - 0.2.91 cvs snap with --copy-name-to-generic-name and
  115. --copy-generic-name-to-name
  116. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  117. - 0.2.90 cvs snap with --delete-original fixed
  118. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  119. - rebuild in different environment
  120. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  121. - 0.2
  122. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  123. - automated rebuild
  124. * Thu May 09 2002 Havoc Pennington <hp@redhat.com>
  125. - rebuild in different environment
  126. * Thu May 9 2002 Havoc Pennington <hp@redhat.com>
  127. - initial build