gnome-mount-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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: 3%{?_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 Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8-3
  96. - rebuild with rpm-4.8.1 for pkg-config file
  97. * Sat Mar 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-2
  98. - rebuilt with nautilus 2.24.1
  99. - changed spec encode in UTF-8
  100. - fixed %changelog typo
  101. * Wed May 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8-1
  102. - new upstream release
  103. - rebuilt with nautilus 2.22.2
  104. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-0vl1
  105. - new upstream release
  106. - add gnome-mount-nautilus-properties subpackage
  107. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-0vl1
  108. - initial build for Vine Linux based on FC package.
  109. * Wed Mar 1 2006 David Zeuthen <davidz@redhat.com> - 0.4-5
  110. - Update for new patch in #183191
  111. * Wed Mar 1 2006 Matthias Clasen <mclasen@redhat.com> - 0.4-4
  112. - Fix a crash without media (#183191)
  113. * Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 0.4-3
  114. - add some buildrequires
  115. * Mon Feb 13 2006 David Zeuthen <davidz@redhat.com> - 0.4-2
  116. - Fix mounting of drives that HAL cannot poll
  117. * Mon Feb 13 2006 David Zeuthen <davidz@redhat.com> - 0.4-1
  118. - Update to upstream version 0.4
  119. * Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 0.4-0.cvs20060213.1.1
  120. - rebump for build order issues during double-long bump
  121. * Mon Feb 13 2006 David Zeuthen <davidz@redhat.com> - 0.4-0.cvs20060213.1
  122. - fix build
  123. * Mon Feb 13 2006 David Zeuthen <davidz@redhat.com> - 0.4-0.cvs20060213
  124. - new upstream snapshot
  125. * Tue Feb 07 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4-0.cvs20060117.2
  126. - fix build
  127. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.4-0.cvs20060117.1
  128. - rebuilt for new gcc4.1 snapshot and glibc changes
  129. * Tue Jan 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4-0.cvs20060117
  130. - CVS snapshot of gnome-mount
  131. - Added a devel sub package for apps that compile in gnome-mount support
  132. * Tue Jan 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.3-2
  133. - Install the schema in the post
  134. * Wed Jan 11 2006 Christopher Aillon <caillon@redhat.com> - 0.3-1
  135. - Update to 0.3
  136. * Mon Jan 09 2006 John (J5) Palmieri <johnp@redhat.com> - 0.2-1
  137. - initial import