1 Summary: A GTK+ widget providing zoomable and panable view of a GdkPixbuf
7 #Source0: http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/%{name}-%{version}.tar.gz?format=raw
8 Source0: %{name}-%{version}.tar.gz
9 # Source0-md5: 9c241ecf36faeb750d42c5cbc1301bcf
10 URL: http://trac.bjourne.webfactional.com/
11 BuildRequires: autoconf >= 2.53
12 BuildRequires: automake
13 BuildRequires: gtk+2-devel >= 1:2.6.0
14 BuildRequires: libtool
15 BuildRequires: pkgconfig
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 GtkImageView is a widget that provides a zoomable and panable view of
20 a GdkPixbuf. It is intended to be usable in most types of image
24 Summary: Header files for the GtkImageView widget
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27 Requires: gtk+2-devel >= 2:2.10.0
30 Header files for the GtkImageView widget.
33 Summary: Static library of the GtkImageView widget
34 Group: Development/Libraries
35 Requires: %{name}-devel = %{version}-%{release}
38 Static version libraries of the GtkImageView widget.
41 Summary: GTKImageView API documentation
42 Summary(pl.UTF-8): Dokumentacja API GtkImageView
44 Requires: gtk-doc-common
47 GtkImageView API documentation.
49 %description apidocs -l pl.UTF-8
50 Dokumentacja API GtkImageView.
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_docdir}
71 DESTDIR=$RPM_BUILD_ROOT
73 mv $RPM_BUILD_ROOT%{_datadir}{,/doc}/gtk-doc
74 rm $RPM_BUILD_ROOT%{_libdir}/lib*.so.?
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
92 %{_includedir}/%{name}
95 %defattr(644,root,root,755)
99 %defattr(644,root,root,755)