libdazzle/libdazzle.spec

107 lines
2.7 KiB
RPMSpec
Raw Normal View History

2017-06-22 11:22:49 +00:00
Name: libdazzle
2017-07-21 06:34:18 +00:00
Version: 3.25.5
Release: 2%{?dist}
2017-06-22 11:22:49 +00:00
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.25/%{name}-%{version}.tar.xz
# https://github.com/chergert/libdazzle/issues/8
Patch1: disable-test-fuzzy-index.patch
2017-06-22 11:22:49 +00:00
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: vala
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
2017-07-19 11:44:37 +00:00
# for tests
2017-07-19 11:58:12 +00:00
BuildRequires: dbus
2017-07-19 11:44:37 +00:00
BuildRequires: xorg-x11-server-Xvfb
2017-07-19 11:58:12 +00:00
BuildRequires: words
2017-07-19 11:44:37 +00:00
2017-06-22 11:22:49 +00:00
%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. This is often a proving
ground for new widget prototypes. Applications such as Builder tend to drive
development of this project.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
2017-07-19 13:32:31 +00:00
%autosetup -p1
2017-06-22 11:22:49 +00:00
%build
%meson -D enable_gtk_doc=true
%meson_build
%install
%meson_install
2017-07-19 11:23:32 +00:00
%check
dbus-run-session -- xvfb-run -w 10 ninja test %{__ninja_common_opts} -C %{_vpath_builddir}
2017-07-19 11:23:32 +00:00
2017-06-22 11:22:49 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%doc AUTHORS NEWS README.md
%{_bindir}/dazzle-list-counters
%{_libdir}/libdazzle-1.0.so.*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Dazzle-1.0.typelib
%files devel
%doc CONTRIBUTING.md examples
%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
%changelog
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-21 06:34:18 +00:00
* Fri Jul 21 2017 Yanko Kaneti <yaneti@declera.com> - 3.25.5-1
- Update to 3.25.5
2017-07-21 06:34:18 +00:00
2017-07-19 11:23:32 +00:00
* Wed Jul 19 2017 Yanko Kaneti <yaneti@declera.com> - 3.25.4-1
2017-07-19 11:58:12 +00:00
- Update to 3.25.4. Add tests, BR: xorg-x11-server-Xvfb, words, dbus
2017-07-19 11:23:32 +00:00
* Tue Jul 18 2017 Kalev Lember <klember@redhat.com> - 3.25.3-3
- Drop the workaround as meson is now fixed
* Thu Jun 22 2017 Yanko Kaneti <yaneti@declera.com> - 3.25.3-2
- Add temporary workaround for meson 0.41.1 breakage
2017-06-22 11:22:49 +00:00
* Mon Jun 19 2017 Yanko Kaneti <yaneti@declera.com> - 3.25.3-1
- Initial spec