2023-01-30 16:30:04 +08:00
|
|
|
Name: libglib-testing
|
2023-11-17 11:54:42 +08:00
|
|
|
Version: 0.1.1
|
2023-01-30 16:30:04 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: GLib-based test library and harness
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://gitlab.gnome.org/pwithnall/libglib-testing
|
|
|
|
|
Source0: https://gitlab.gnome.org/pwithnall/libglib-testing/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
libglib-testing is a test library providing test harnesses and mock classes
|
|
|
|
|
which complement the classes provided by GLib. It is intended to be used by
|
|
|
|
|
any project which uses GLib and which wants to write internal unit tests.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains the pkg-config file and development headers
|
|
|
|
|
for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_libdir}/libglib-testing-0.so.0*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_datadir}/gtk-doc/
|
|
|
|
|
%{_includedir}/glib-testing-0/
|
|
|
|
|
%{_libdir}/libglib-testing-0.so
|
|
|
|
|
%{_libdir}/pkgconfig/glib-testing-0.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-11-17 11:54:42 +08:00
|
|
|
* Fri Nov 17 2023 lvgenggeng <lvgenggeng@uniontech.com> - 0.1.1-1
|
|
|
|
|
- bump to 0.1.1
|
|
|
|
|
|
2023-01-30 16:30:04 +08:00
|
|
|
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.1.0-1
|
|
|
|
|
- Init Packaging
|