nautilus-mount-image-vl.spec 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. %define origbasever 0.2.0
  2. %define origrev 1
  3. %define rel 1
  4. %define jaPOdir po/ja_JP/LC_MESSAGES
  5. Name: nautilus-mount-image
  6. Version: %{origbasever}
  7. Release: %{rel}%{?_dist_release}
  8. Summary: mounting ISO image extensions for Nautilus
  9. Summary(ja): NautilusのISOイメージマウント 拡張
  10. Group: User Interface/Desktops
  11. License: GPLv2+
  12. URL: http://mundogeek.net/nautilus-scripts/
  13. Source0: https://edge.launchpad.net/%7Ezootropo/+archive/+files/%{name}_%{origbasever}-%{origrev}.tar.gz
  14. Source1: nautilus-mount-image-ja.po
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildArch: noarch
  17. BuildRequires: gettext
  18. Requires: python, nautilus-python
  19. %description
  20. This program adds a new entry to the contextual menu which allows us to
  21. mount and unmount the selected CD or DVD image.
  22. %prep
  23. %setup -q -n %{name}-%{version}
  24. # ja.po
  25. %{__mkdir_p} %{jaPOdir}
  26. %{__cp} %{SOURCE1} %{jaPOdir}/%{name}.po
  27. pushd %{jaPOdir}
  28. msgfmt %{name}.po -o %{name}.mo
  29. popd
  30. %install
  31. rm -rf %{buildroot}
  32. %makeinstall DESTDIR=%{buildroot}
  33. %{find_lang} %{name}
  34. %clean
  35. rm -rf %{buildroot}
  36. %files -f %{name}.lang
  37. %defattr(-,root,root,-)
  38. %doc COPYING changelog
  39. %{_libdir}/nautilus/extensions-2.0/python/nautilus-mount-image.py
  40. %{_datadir}/pixmaps/nautilus-mount-image.png
  41. %changelog
  42. * Mon Nov 30 2009 IWAI, Masaharu <iwai@alib.jp> 0.2.0-1
  43. - initial release