Package init

This commit is contained in:
overweight 2019-09-30 10:56:18 -04:00
commit d145a67121
2 changed files with 62 additions and 0 deletions

Binary file not shown.

62
libgnomecanvas.spec Normal file
View File

@ -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 <buildteam@openeuler.org>- 2.30.3-17
- Package init