nautilus-image-converter-vl.spec 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Summary: Nautilus extension to mass resize and rotate images
  2. Summary(ja): 複数の画像をリサイズ・回転できる Nautilus用 の拡張
  3. Name: nautilus-image-converter
  4. Version: 0.3.0
  5. Release: 3%{?_dist_release}
  6. Source0: http://www.bitron.ch/downloads/%{name}-%{version}.tar.gz
  7. License: GPL
  8. Group: User Interface/Desktops
  9. URL: http://www.bitron.ch/software/nautilus-image-converter.php
  10. Requires: nautilus >= 2.6.0, ImageMagick
  11. BuildRequires: gtk2-devel >= 2.4.0, libglade2-devel >= 2.4.0
  12. BuildRequires: gnome-vfs2-devel >= 2.6.0
  13. BuildRequires: glib2-devel >= 2.15.0
  14. BuildRequires: nautilus-devel
  15. BuildRequires: gettext
  16. BuildRequires: perl(XML::Parser)
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: kazutaka
  21. %description
  22. Adds a "Resize Images" and "Rotate Images" menu item to the context
  23. menu of all images. This opens a dialog where you set the desired options.
  24. A click on "Resize" or "Rotate" finally convert the image(s) using
  25. ImageMagick's convert tool.
  26. %description -l ja
  27. 全ての画像ファイルの右クリックメニューに、"画像のリサイズ" と
  28. "画像の回転" のメニューアイテムを追加します。このメニューアイテムを
  29. 選んで表示されたダイアログ画面から好きなオプションを設定します。
  30. "リサイズ" または "回転" ボタンを押すと、ImageMagick の変換ツールを
  31. 使って画像を変換します。
  32. %prep
  33. %setup -q
  34. %build
  35. %configure --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. %__rm -rf ${RPM_BUILD_ROOT}
  39. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  40. %find_lang %{name}
  41. # remove *.la file
  42. find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
  43. %clean
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %files -f %{name}.lang
  46. %defattr(-,root,root)
  47. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
  48. %{_libdir}/nautilus/extensions-2.0/libnautilus-image-converter.so
  49. %{_datadir}/nautilus-image-converter/nautilus-image-resize.glade
  50. %{_datadir}/nautilus-image-converter/nautilus-image-rotate.glade
  51. %changelog
  52. * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.3.0-3
  53. - rebuild for Vine Linux 6
  54. * Sat Apr 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-2
  55. - added BuildRequires: glib2-devel >= 2.15.0, nautilus-devel, gettext, perl(XML::Parser)
  56. - changed configure option (-disable static)
  57. - remove *.la file
  58. * Sat Aug 30 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.0-1
  59. - new upstream release.
  60. - apply new versioning policy.
  61. - spec in UTF-8
  62. - use %%{__make} install DESTDIR=${RPM_BUILD_ROOT} at %%install
  63. * Sun Jan 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.1-0vl2
  64. - build for VineSeed Plus.
  65. * Sun Jan 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.1-0vl1
  66. - new upstream release.
  67. * Sun Jan 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.1-0vl1
  68. - new upstream release.
  69. * Fri Dec 22 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.0.9-0vl2
  70. - build for VineSeed Plus.
  71. * Thu Dec 21 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.0.9-0vl1
  72. - initial build for Vine Linux.
  73. * Thu Dec 21 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.0.9-0vl1
  74. - initial build for Vine Linux.