libgoocanvas/libgoocanvas.spec

109 lines
3.3 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: libgoocanvas
Version: 3.0.0
Release: 1mamba
Summary: GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library for drawing
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: https://live.gnome.org/GooCanvas
Source: http://ftp.gnome.org/pub/GNOME/sources/goocanvas/%{majver}/goocanvas-%{version}.tar.xz
Patch0: libgoocanvas-2.0.1-gobject-introspection.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libpango-devel
BuildRequires: libpng15-devel
BuildRequires: libpython-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library for drawing.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library for drawing.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n goocanvas-%{version}
#%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang goocanvas3
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f goocanvas3.lang
%defattr(-,root,root)
%{_libdir}/libgoocanvas-3.0.so.*
%{_libdir}/girepository-1.0/GooCanvas-3.0.typelib
%{python_sitearch}/gi/overrides/GooCanvas.py
%{python_sitearch}/gi/overrides/GooCanvas.pyc
%{python_sitearch}/gi/overrides/GooCanvas.pyo
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/goocanvas-3.0
%{_includedir}/goocanvas-3.0/*.h
%{_libdir}/libgoocanvas-3.0.a
%{_libdir}/libgoocanvas-3.0.la
%{_libdir}/libgoocanvas-3.0.so
%dir %{_datadir}/gtk-doc/html/goocanvas3
%{_datadir}/gtk-doc/html/goocanvas3/*
%{_datadir}/gir-1.0/GooCanvas-3.0.gir
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README TODO
%changelog
* Fri Feb 05 2021 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
- automatic update by autodist
* Mon Nov 04 2013 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
- automatic version update by autodist
* Sat Jul 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-2mamba
- rebuilt to remove .la dep on libcairo-gobject.la
* Sat Aug 04 2012 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- update to 2.0.1
* Tue Jan 05 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.15-1mamba
- package created by autospec