libgtkimageview/libgtkimageview.spec

93 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: libgtkimageview
Version: 1.6.4
Release: 3mamba
Summary: A simple image viewer widget for GTK
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/Projects/GTK/GtkImageView
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: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
%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 needed for development.
%debug_package
%prep
%setup -q -n gtkimageview-%{version}
%build
%configure
sed -i 's/-Werror//' $(find -name Makefile)
%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
* Sun Feb 13 2022 Automatic Build System <autodist@mambasoft.it> 1.6.4-3mamba
- automatic rebuild by autodist
* Sat Feb 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-2mamba
- rebuilt with debug package
* Thu May 13 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-1mamba
- package created by autospec