%files tools
%manifest %{name}.manifest
%defattr(-,root,root)
+%license COPYING
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/gresource
%files -n gio-branding-upstream
%manifest %{name}.manifest
%defattr(-,root,root)
+%license COPYING
%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
%files -n libglib
%files -n libgmodule
%manifest %{name}.manifest
%defattr(-, root, root)
+%license COPYING
%{_libdir}/libgmodule*.so.*
%files -n libgobject
%manifest %{name}.manifest
%defattr(-, root, root)
+%license COPYING
%{_libdir}/libgobject*.so.*
%files -n libgthread
%manifest %{name}.manifest
%defattr(-, root, root)
+%license COPYING
%{_libdir}/libgthread*.so.*
%files -n libgio
%manifest %{name}.manifest
%defattr(-, root, root)
+%license COPYING
%exclude %{_libdir}/libgio*.so.*.extension-kdbus
%{_libdir}/libgio*.so.*
%dir %{_libdir}/gio
popd
%files -n libgio-extension-kdbus
%manifest %{name}.manifest
+%license COPYING
%{_libdir}/libgio*.so.*.extension-kdbus
%files devel
%manifest %{name}.manifest
%defattr(-,root,root)
+%license COPYING
%{_bindir}/gdbus-codegen
%{_datadir}/bash-completion/completions/*
%files devel-static
%manifest %{name}.manifest
%defattr(-,root,root)
+%license COPYING
%{_libdir}/lib*.a
%files tests
%manifest %{name}.manifest
+%license COPYING
%{relative_dbus_tests_base_dir}/test-suites/glib-tests/
%{relative_dbus_tests_base_dir}/runner/glib-tests
%if %{with coverage}
%files coverage
+%license COPYING
%{relative_cov_lib_dir}/*.so*
+
%files coverage-objects
+%license COPYING
%{relative_cov_lib_dir}/objects/*
%endif