commit d145a671216d9852976a726ed713c6fc603f79bf Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:56:18 2019 -0400 Package init diff --git a/libgnomecanvas-2.30.3.tar.bz2 b/libgnomecanvas-2.30.3.tar.bz2 new file mode 100644 index 0000000..28de78d Binary files /dev/null and b/libgnomecanvas-2.30.3.tar.bz2 differ diff --git a/libgnomecanvas.spec b/libgnomecanvas.spec new file mode 100644 index 0000000..3833cc0 --- /dev/null +++ b/libgnomecanvas.spec @@ -0,0 +1,62 @@ +Name: libgnomecanvas +Version: 2.30.3 +Release: 17 +Summary: An Add-On for the GNOME User Interface Libraries +URL: https://www.gnome.org/ +Source0: https://download.gnome.org/sources/libgnomecanvas/2.30/%{name}-%{version}.tar.bz2 +License: GPL-2.0+ and LGPL-2.1+ +BuildRequires: gtk2-devel libart_lgpl-devel libglade2-devel gail-devel libtool gettext intltool + +%description +Libgnomecanvas is a graphical add-on for the GNOME User Interface libraries. +The canvas widget allows you to create custom displays using stock items +such as circles, lines, text, and so on. It was originally a port of the +Tk canvas widget but has evolved quite a bit over time. + +%package devel +Summary: Libraries and headers for %{_name} +Requires: %{name} = %{version}-%{release} gtk-doc + +%description devel +The %{_name}-devel package contains the libraries and header files +that you can use to develop %{_name} applications. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%configure --disable-gtk-doc --enable-glade +%disable_rpath +%make_build + +%install +%make_install +%delete_la + +%ldconfig_scriptlets + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING.LIB +%{_datadir}/locale/* +%{_libdir}/libglade/2.0/libcanvas.so +%{_libdir}/libgnomecanvas-2.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/libgnomecanvas-2.0/libgnomecanvas/*.h +%{_libdir}/libgnomecanvas-2.so +%{_libdir}/pkgconfig/*.pc +%{_libdir}/*.a +%{_libdir}/libglade/2.0/*.a + +%files help +%defattr(-,root,root) +%doc NEWS README +%{_datadir}/gtk-doc/html/* + +%changelog +* Mon Sep 2 2019 openEuler Buildteam - 2.30.3-17 +- Package init