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