diff --git a/README.md b/README.md index b521ffb..d381b10 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # libgtkimageview +GtkImageView is a simple image viewer widget for GTK. Similar to the image viewer panes in gThumb or Eye of Gnome. It makes writing image viewing and editing applications easy. Among its features are: + + * Mouse and keyboard zooming. + * Scrolling and dragging. + * Adjustable interpolation. + * Fullscreen mode. + * GIF animation support. + diff --git a/libgtkimageview.spec b/libgtkimageview.spec new file mode 100644 index 0000000..0ac0fff --- /dev/null +++ b/libgtkimageview.spec @@ -0,0 +1,80 @@ +Name: libgtkimageview +Version: 1.6.4 +Release: 1mamba +Summary: A simple image viewer widget for GTK +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://trac.bjourne.webfactional.com/ +Source: http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/gtkimageview-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libpango-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +GtkImageView is a simple image viewer widget for GTK. Similar to the image viewer panes in gThumb or Eye of Gnome. It makes writing image viewing and editing applications easy. Among its features are: + + * Mouse and keyboard zooming. + * Scrolling and dragging. + * Adjustable interpolation. + * Fullscreen mode. + * GIF animation support. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +GtkImageView is a simple image viewer widget for GTK. Similar to the image viewer panes in gThumb or Eye of Gnome. It makes writing image viewing and editing applications easy. Among its features are: + + * Mouse and keyboard zooming. + * Scrolling and dragging. + * Adjustable interpolation. + * Fullscreen mode. + * GIF animation support. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n gtkimageview-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libgtkimageview.so.* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/gtkimageview +%{_includedir}/gtkimageview/*.h +%{_libdir}/libgtkimageview.a +%{_libdir}/libgtkimageview.la +%{_libdir}/libgtkimageview.so +%{_libdir}/pkgconfig/gtkimageview.pc +%dir %{_datadir}/gtk-doc/html/gtkimageview +%{_datadir}/gtk-doc/html/gtkimageview/* + +%changelog +* Thu May 13 2010 Silvan Calarco 1.6.4-1mamba +- package created by autospec