gtkimageview-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Summary: Simple image viewer widget
  2. Summary(ja): シンプルなイメージビューワウィジェット
  3. Name: gtkimageview
  4. Version: 1.6.4
  5. Release: 3%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://trac.bjourne.webfactional.com/
  9. Source0: %{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel
  12. BuildRequires: gtk2-devel >= 2.8.0
  13. BuildRequires: gtk-doc >= 1.0
  14. %description
  15. GtkImageView is a simple image viewer widget for GTK.
  16. Similar to the image viewer panes in gThumb or Eye of
  17. Gnome. It makes writing image viewing and editing
  18. applications easy.
  19. Among its features are:
  20. * Mouse and keyboard zooming.
  21. * Scrolling and dragging.
  22. * Adjustable interpolation.
  23. * Fullscreen mode.
  24. * GIF animation support.
  25. %description -l ja
  26. GtkImageView は GTK 用のシンプルなイメージビューワウィジェットです。
  27. Eye of Gnome や gThumb のようなイメージビューアペインを提供します。これによりイメージを表示したり編集したりするアプリケーションが簡単に開発できるようになります。
  28. 主な特徴は以下の通りです。
  29. * マウスやキーボードを使ったズーム
  30. * スクロールおよびドラッグ
  31. * 調整可能な画像補間
  32. * フルスクリーン表示
  33. * GIF アニメーションのサポート
  34. #-----------------------------------------------------------------------------
  35. %package devel
  36. Summary: Libraries and header files for gtkimageview
  37. Summary(ja): gtkimageview 用のヘッダファイル及びライブラリ
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. Requires: pkgconfig
  41. %description devel
  42. This package contains the header files and libraries for
  43. gtkimageview. If you like to develop programs using gtkimageview,
  44. you will need to install gtkimageview-devel.
  45. %description devel -l ja
  46. このパッケージは gtkimageview 用のヘッダファイル及びライブラリ
  47. を含んでいます。もし gtkimageview を使用したプログラムを開発す
  48. る場合は、このパッケージをインストールする必要があります。
  49. #-----------------------------------------------------------------------------
  50. %prep
  51. %setup -q
  52. # ad-hoc fix to build on current toolchain
  53. sed -i -e 's/-Werror//g' configure
  54. %build
  55. %configure --disable-static
  56. make %{?_smp_mflags}
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. make install DESTDIR=$RPM_BUILD_ROOT
  60. # remove unnecessary file
  61. rm -rf $RPM_BUILD_ROOT/%{_libdir}/libgtkimageview.la
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %check
  65. make %{?_smp_mflags} check
  66. %post -p /sbin/ldconfig
  67. %postun -p /sbin/ldconfig
  68. %files
  69. %defattr(-,root,root)
  70. %doc COPYING README
  71. %{_libdir}/libgtkimageview.so.*
  72. %files devel
  73. %defattr(-,root,root)
  74. %{_includedir}/gtkimageview/*
  75. %{_libdir}/libgtkimageview.so
  76. %{_libdir}/pkgconfig/gtkimageview.pc
  77. %{_datadir}/gtk-doc/html/gtkimageview/*
  78. %changelog
  79. * Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.6.4-3
  80. - rebuilt on current VineSeed
  81. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.6.4-2
  82. - rebuilt with rpm-4.8.1 for pkg-config
  83. * Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.4-1
  84. - new upstream release
  85. - removed static library from devel package
  86. - fixed License tag
  87. * Sun Oct 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-1
  88. - new upstream release
  89. - applied new versioning policy
  90. - spec in UTF-8
  91. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.0-0vl2
  92. - rebuilt for VineSeed
  93. * Wed Aug 07 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.3.0-0vl1
  94. - initial build for Vine Linux.