diff --git a/libdazzle-3.37.1.tar.xz b/libdazzle-3.37.1.tar.xz new file mode 100644 index 0000000..34c38a7 Binary files /dev/null and b/libdazzle-3.37.1.tar.xz differ diff --git a/libdazzle.spec b/libdazzle.spec new file mode 100644 index 0000000..1fadaf0 --- /dev/null +++ b/libdazzle.spec @@ -0,0 +1,70 @@ +Name: libdazzle +Version: 3.37.1 +Release: 1 +Summary: Experimental new features for GTK+ and GLib +License: GPLv3+ +URL: https://git.gnome.org/browse/libdazzle/ +Source0: https://download.gnome.org/sources/%{name}/3.37/%{name}-%{version}.tar.xz + +BuildRequires: gtk-doc meson vala gtk3-devel >= 3.24.0 glib2-devel >= 2.57.2 gobject-introspection-devel + +# for tests +BuildRequires: xorg-x11-server-Xvfb words + +Requires: glib2 >= 2.57.2 gtk3 >= 3.24.0 + +%description +libdazzle is a collection of fancy features for GLib and Gtk+ that aren't quite +ready or generic enough for use inside those libraries. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package_help + +%prep +%autosetup -p1 + +%build +%meson -D enable_gtk_doc=true +%meson_build + +%install +%meson_install + +%check +xvfb-run -w 10 ninja test %{__ninja_common_opts} -C %{_vpath_builddir} + +%files +%license COPYING +%doc AUTHORS NEWS +%{_bindir}/dazzle-list-counters +%{_libdir}/libdazzle-1.0.so.* +%dir %{_libdir}/girepository-1.0 +%{_libdir}/girepository-1.0/Dazzle-1.0.typelib + +%files devel +%dir %{_datadir}/gir-1.0 +%{_datadir}/gir-1.0/Dazzle-1.0.gir +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html +%{_datadir}/gtk-doc/html/libdazzle +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/libdazzle-1.0.* +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/libdazzle-1.0.pc + +%files help +%doc README.md +%doc CONTRIBUTING.md examples + +%changelog +* Sat Sep 19 2020 chengguipeng - 3.37.1-1 +- Package init diff --git a/libdazzle.yaml b/libdazzle.yaml new file mode 100644 index 0000000..fb2d0f2 --- /dev/null +++ b/libdazzle.yaml @@ -0,0 +1,5 @@ +git_url: https://gitlab.gnome.org/GNOME/libdazzle +version_control: gitlab.gnome +src_repo: libdazzle +tag_prefix: +seperator: "."