2024-01-06 04:26:52 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libgoocanvas
|
2024-01-06 04:26:52 +01:00
|
|
|
Version: 2.0.4
|
2024-01-06 04:26:52 +01:00
|
|
|
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: http://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
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
## 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
|
|
|
|
|
|
|
|
%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 need for development.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n goocanvas-%{version}
|
|
|
|
#%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang goocanvas2
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f goocanvas2.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgoocanvas-2.0.so.*
|
|
|
|
%{_libdir}/girepository-1.0/GooCanvas-2.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-2.0
|
|
|
|
%{_includedir}/goocanvas-2.0/*.h
|
|
|
|
%{_libdir}/libgoocanvas-2.0.a
|
|
|
|
%{_libdir}/libgoocanvas-2.0.la
|
|
|
|
%{_libdir}/libgoocanvas-2.0.so
|
|
|
|
%dir %{_datadir}/gtk-doc/html/goocanvas2
|
|
|
|
%{_datadir}/gtk-doc/html/goocanvas2/*
|
|
|
|
%{_datadir}/gir-1.0/GooCanvas-2.0.gir
|
2024-01-06 04:26:52 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2024-01-06 04:26:52 +01:00
|
|
|
%doc ChangeLog NEWS README TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:26:52 +01:00
|
|
|
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:26:52 +01:00
|
|
|
* 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
|