libgtkimageview/libgtkimageview.spec

81 lines
2.4 KiB
RPMSpec
Raw Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.6.4-1mamba
- package created by autospec