gnome-mount-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. Summary: Mount replacement which uses HAL to do the mounting
  2. Summary(ja): HAL を利用して mount を行うツール
  3. Name: gnome-mount
  4. Version: 0.8
  5. Release: 2%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/System
  8. URL: http://freedesktop.org/~david/dist/
  9. Source: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: hal-devel >= 0.5.8.1
  12. BuildRequires: gtk2-devel >= 2.10.0
  13. BuildRequires: dbus-devel >= 1.0
  14. BuildRequires: dbus-glib-devel >= 0.73
  15. BuildRequires: gnome-keyring-devel
  16. BuildRequires: libnotify-devel
  17. BuildRequires: libgnomeui-devel
  18. BuildRequires: gettext
  19. BuildRequires: perl(XML::Parser)
  20. BuildRequires: nautilus-devel >= 2.21.2
  21. BuildRequires: GConf2-devel
  22. BuildRequires: libglade2-devel
  23. BuildRequires: glib2-devel >= 2.15.0
  24. Requires: hal >= 0.5.8.1
  25. Requires: dbus >= 1.0
  26. Requires: dbus-glib >= 0.73
  27. Requires(post,pre,preun): GConf2
  28. %description
  29. A replacement for the mount, umount and eject commands that
  30. uses HAL to do all the heavy lifting.
  31. %description -l ja
  32. HAL を利用する mount, umount, eject 相当のツールが含まれています。
  33. %package devel
  34. Summary: Development files for gnome-mount
  35. Summary(ja): gnome-mount 用の開発ファイル
  36. Group: Development/Libraries
  37. %description devel
  38. Development files for gnome-mount
  39. %description -l ja
  40. このパッケージには gnome-mount 用の開発ファイルが含まれています。
  41. %package nautilus-properties
  42. Summary: Nautilus extention for gnome-mount
  43. Summary(ja): gnome-mount の Nautilus 拡張
  44. Group: Applications/System
  45. Requires: %{name} = %{version}-%{release}
  46. %description nautilus-properties
  47. Nautilus extention which adds property pages to volume and drive mount
  48. properties dialog for manipulating mount options.
  49. %prep
  50. rm -rf $RPM_BUILD_ROOT
  51. %setup -q
  52. %build
  53. %configure
  54. %__make %{?_smp_mflags}
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  58. make install DESTDIR=$RPM_BUILD_ROOT
  59. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  60. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  61. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  62. %find_lang %{name}
  63. %clean
  64. rm -rf $RPM_BUILD_ROOT
  65. %post
  66. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  67. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnome-mount.schemas > /dev/null || :
  68. %pre
  69. if [ "$1" -gt 1 ]; then
  70. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  71. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-mount.schemas > /dev/null || :
  72. fi
  73. %preun
  74. if [ "$1" -eq 0 ]; then
  75. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  76. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-mount.schemas > /dev/null || :
  77. fi
  78. %files
  79. %defattr(-, root, root)
  80. %doc AUTHORS COPYING ChangeLog NEWS README
  81. %{_sysconfdir}/gconf/schemas/gnome-mount.schemas
  82. %{_datadir}/locale/*
  83. %{_bindir}/gnome-eject
  84. %{_bindir}/gnome-mount
  85. %{_bindir}/gnome-umount
  86. %{_datadir}/gnome-mount/gnome-mount-properties.glade
  87. %{_mandir}/man1/*
  88. %files devel
  89. %defattr(-, root, root)
  90. %{_libdir}/pkgconfig/gnome-mount.pc
  91. %files nautilus-properties
  92. %defattr(-, root, root)
  93. %{_libdir}/nautilus/extensions-2.0/libgnome-mount.so
  94. %changelog
  95. * Sat Mar 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-2
  96. - rebuilt with nautilus 2.24.1
  97. - changed spec encode in UTF-8
  98. - fixed %changelog typo
  99. * Wed May 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8-1
  100. - new upstream release
  101. - rebuilt with nautilus 2.22.2
  102. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-0vl1
  103. - new upstream release
  104. - add gnome-mount-nautilus-properties subpackage
  105. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-0vl1
  106. - initial build for Vine Linux based on FC package.
  107. * Wed Mar 1 2006 David Zeuthen <davidz@redhat.com> - 0.4-5
  108. - Update for new patch in #183191
  109. * Wed Mar 1 2006 Matthias Clasen <mclasen@redhat.com> - 0.4-4
  110. - Fix a crash without media (#183191)
  111. * Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 0.4-3
  112. - add some buildrequires
  113. * Mon Feb 13 2006 David Zeuthen <davidz@redhat.com> - 0.4-2
  114. - Fix mounting of drives that HAL cannot poll
  115. * Mon Feb 13 2006 David Zeuthen <davidz@redhat.com> - 0.4-1
  116. - Update to upstream version 0.4
  117. * Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 0.4-0.cvs20060213.1.1
  118. - rebump for build order issues during double-long bump
  119. * Mon Feb 13 2006 David Zeuthen <davidz@redhat.com> - 0.4-0.cvs20060213.1
  120. - fix build
  121. * Mon Feb 13 2006 David Zeuthen <davidz@redhat.com> - 0.4-0.cvs20060213
  122. - new upstream snapshot
  123. * Tue Feb 07 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4-0.cvs20060117.2
  124. - fix build
  125. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.4-0.cvs20060117.1
  126. - rebuilt for new gcc4.1 snapshot and glibc changes
  127. * Tue Jan 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4-0.cvs20060117
  128. - CVS snapshot of gnome-mount
  129. - Added a devel sub package for apps that compile in gnome-mount support
  130. * Tue Jan 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.3-2
  131. - Install the schema in the post
  132. * Wed Jan 11 2006 Christopher Aillon <caillon@redhat.com> - 0.3-1
  133. - Update to 0.3
  134. * Mon Jan 09 2006 John (J5) Palmieri <johnp@redhat.com> - 0.2-1
  135. - initial import