pmount-vl.spec 3.3 KB

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