libgoocanvas/libgoocanvas.spec

104 lines
3.1 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: libgoocanvas
Version: 2.0.4
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
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README TODO
%changelog
* 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