shared-mime-info-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. Summary: Shared MIME information database
  2. Summary(ja): 共有 MIME 情報データベース
  3. Name: shared-mime-info
  4. Version: 1.6
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: User Interface/Desktops
  8. URL: http://freedesktop.org/wiki/Software/shared-mime-info
  9. Source0: %{name}-%{version}.tar.xz
  10. Source1: defaults.list
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gawk
  13. BuildRequires: libxml2-devel
  14. BuildRequires: glib2-devel >= 2.6.0
  15. BuildRequires: gettext
  16. # For intltool:
  17. BuildRequires: perl-XML-Parser >= 2.31-16
  18. Requires: libxml2
  19. Requires: glib2 >= 2.6.0
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. %description
  23. This is the freedesktop.org shared MIME info database.
  24. Many programs and desktops use the MIME system to represent the types of
  25. files. Frequently, it is necessary to work out the correct MIME type for
  26. a file. This is generally done by examining the file's name or contents,
  27. and looking up the correct MIME type in a database.
  28. %prep
  29. %setup -q
  30. %build
  31. %configure --disable-update-mimedb
  32. make
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. %makeinstall
  36. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
  37. install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list
  38. ## remove these bogus files
  39. rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
  40. %post
  41. %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc README NEWS shared-mime-info-spec.xml
  47. %{_bindir}/*
  48. %dir %{_datadir}/mime/
  49. %{_datadir}/mime/packages
  50. %{_datadir}/applications/defaults.list
  51. %{_datadir}/pkgconfig/*.pc
  52. %{_mandir}/man*/*
  53. %changelog
  54. * Sat Apr 23 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.6-1
  55. - new upstream release
  56. * Sat Nov 28 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5-1
  57. - new upstream release
  58. * Sat Sep 06 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3-1
  59. - new upstream release
  60. * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-2
  61. - rebuild with VineSeed environment
  62. * Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
  63. - new upstream release
  64. * Sun Mar 03 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1-1
  65. - new upstream release
  66. - changed source archive bz2 to xz
  67. * Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 0.71-2
  68. - rebuilt with rpm-4.8.1 for pkg-config
  69. * Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.71-1
  70. - new upstream release
  71. * Mon Aug 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.51-1
  72. - new upstream release
  73. - sepc in UTF-8
  74. * Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.30-1
  75. - new upstream release
  76. - updated Source1
  77. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.23-1vl5
  78. - new upstream release
  79. * Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22-0vl1
  80. - new upstream release
  81. - changed Group to User Interface/Desktops
  82. * Wed Feb 7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.20-0vl1
  83. - new upstream release
  84. - changed pkgconfig dir
  85. * Sun Nov 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.19-0vl1
  86. - new upstream release
  87. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.16-0vl1
  88. - new upstream release
  89. * Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15-10vl1
  90. - initial build for Vine Linux based on fedora package.
  91. * Mon Oct 18 2004 Alexander Larsson <alexl@redhat.com> - 0.15-10
  92. - Fix for mime sniffing on big-endian
  93. * Thu Oct 14 2004 Colin Walters <walters@redhat.com> - 0.15-9
  94. - Handle renaming of hxplay.desktop to realplay.desktop
  95. * Wed Oct 13 2004 Matthias Clasen <mclasen@redhat.com> - 0.15-8
  96. - Handle XUL files. #134122
  97. * Wed Oct 13 2004 Colin Walters <walters@redhat.com> - 0.15-7
  98. - Make helix default for ogg and mp3, will switch wav/flac too
  99. when support is added
  100. * Wed Oct 6 2004 Alexander Larsson <alexl@redhat.com> - 0.15-6
  101. - Change default pdf viewer to ggv
  102. * Tue Sep 7 2004 Alexander Larsson <alexl@redhat.com> - 0.15-4
  103. - Fixed evo desktop file reference in defaults.list
  104. * Mon Sep 6 2004 Caolan McNamara <caolanm@redhat.com> - 0.15-3
  105. - wpd can be opened in abiword, but not in openoffice.org (#114907)
  106. * Fri Sep 3 2004 Alexander Larsson <alexl@redhat.com> - 0.15-2
  107. - Add list of default apps (#131643)
  108. * Mon Aug 30 2004 Jonathan Blandford <jrb@redhat.com> 0.15-1
  109. - bump version
  110. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  111. - rebuilt
  112. * Mon Mar 22 2004 Alex Larsson <alexl@redhat.com> 0.14-1
  113. - update to 0.14
  114. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  115. - rebuilt
  116. * Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.13-1
  117. - 0.13
  118. * Fri Jan 16 2004 Alexander Larsson <alexl@redhat.com> mime-info
  119. - Initial build.