shared-mime-info-vl.spec 3.8 KB

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