pmount-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. %define name pmount
  2. %define version 0.9.20
  3. %define release 1%{?_dist_release}
  4. Summary: Pmount allow mounting devices without fstab modifications
  5. Summary(ja): fstab を書き換えずにデバイスをマウントするためのツール
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: http://www.piware.de/projects/%{name}-%{version}.tar.gz
  10. #Patch0: pmount-0.9.9-makefile.patch
  11. Patch1: pmount-0.9.17-nosetuid.patch
  12. License: GPL
  13. # realpath.c is GPLv2+. Others are GPL+;
  14. Group: System Environment/Base
  15. Url: http://pmount.alioth.debian.org/
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. #Buildrequires: automake
  18. #Buildrequires: automake19
  19. Buildrequires: sysfsutils-devel
  20. Buildrequires: hal-devel
  21. Buildrequires: dbus-devel
  22. Buildrequires: perl-XML-Parser
  23. %description
  24. Pmount allow mounting usb, firewire and pcmci media without modifying
  25. /etc/fstab. It's a good base for automount software.
  26. %description -l ja
  27. Pmount は usb や firewire, pcmcia のようなメディアを /etc/fstab を
  28. 書き換えずに mount するためのツールです。
  29. %prep
  30. %setup -q
  31. #%patch0 -p1
  32. %patch1 -p1
  33. %build
  34. #automake-1.9
  35. %configure \
  36. --with-lock-dir=%{_localstatedir}/lock/pmount \
  37. --with-whitelist=%{_sysconfdir}/pmount.allow
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf %{buildroot}
  41. %__make DESTDIR=$RPM_BUILD_ROOT install
  42. %find_lang %name
  43. %clean
  44. rm -rf %{buildroot}
  45. %files -f %{name}.lang
  46. %defattr(-,root,root,-)
  47. %doc AUTHORS README.devel TODO COPYING ChangeLog
  48. %config(noreplace) %{_sysconfdir}/pmount.allow
  49. %attr(4755,root,root) %{_bindir}/pmount
  50. %attr(4755,root,root) %{_bindir}/pumount
  51. %{_bindir}/pmount-hal
  52. %{_mandir}/man1/p*mount*.1*
  53. %changelog
  54. * Wed Sep 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.20-1
  55. - new upstream release
  56. * Tue Jun 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.19-1vl5
  57. - new upstream release
  58. - fixed "mount" in %description -l ja
  59. - fixed BuildRoot
  60. - dropt Patch0
  61. - added Patch1 (import Fedora)
  62. - don't use automake19
  63. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.13-1vl5
  64. - applied new versioning policy, spec in utf-8
  65. - fixed automake to 1.9
  66. * Fri May 04 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.13-0vl3
  67. - rebuild with dbus-1.0
  68. - add BuildRequires: dbus-devel
  69. * Sun Oct 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.13-0vl2
  70. - change Group to System Environment/Base
  71. - fix kanji code of spec file
  72. * Sat Oct 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.13-0vl1
  73. - initial build for Vine Linux based on MDV package.
  74. * Wed Aug 02 2006 Frederic Crozat <fcrozat@mandriva.com> 0.9.9-2mdv2007.0
  75. - Patch1: don't use deprecated dbus api
  76. * Tue Mar 07 2006 Nicolas L馗ureuil <neoclust@mandriva.org> 0.9.9-1mdk
  77. - New release 0.9.9
  78. * Thu Jan 26 2006 Gテカtz Waschk <waschk@mandriva.org> 0.9.6-5mdk
  79. - rebuild for new dbus
  80. * Tue Dec 13 2005 Thierry Vignaud <tvignaud@mandriva.com> 0.9.6-4mdk
  81. - relink with libsysfs2
  82. - patch 0: fix detecting libsysfs2
  83. * Sun Nov 6 2005 Gテカtz Waschk <waschk@mandriva.org> 0.9.6-3mdk
  84. - install it with setuid root
  85. * Fri Oct 28 2005 Gテカtz Waschk <waschk@mandriva.org> 0.9.6-2mdk
  86. - fix buildrequires
  87. * Wed Oct 26 2005 Couriousous <couriousous@mandriva.org> 0.9.6-1mdk
  88. - first Mandriva release