Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047010
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libuhttpmock

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _name uhttpmock
%define api_ver 0.0

Name: lib%_name
Version: 0.4.0
Release: alt3

Summary: HTTP web service mocking library
Group: System/Libraries
License: LGPLv2
Url: https://gitlab.com/%_name/%_name

Source: %_name-%version.tar

%define glib_ver 2.36
%define soup_ver 2.38

BuildRequires: intltool gtk-doc
BuildRequires: libgio-devel >= %glib_ver
BuildRequires: libsoup-devel >= %soup_ver
BuildRequires: gobject-introspection-devel libsoup-gir-devel
BuildRequires: vala-tools

%description
uhttpmock is a project for mocking web service APIs which use HTTP or HTTPS.
It provides a library, libuhttpmock, which implements recording and
playback of HTTP request and response traces.

%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
This package contains libraries, header files and documentation for
developing applications that use %name.

%package devel-doc
Summary: Development documentation for %_name
Group: Development/Documentation
Conflicts: %name < %version-%release
BuildArch: noarch

%description devel-doc
This package contains development documentation for %_name.

%package gir
Summary: GObject introspection data for the %_name library
Group: System/Libraries
Requires: %name = %version-%release

%description gir
GObject introspection data for the %_name library.

%package gir-devel
Summary: GObject introspection devel data for the %name library
Group: Development/Other
BuildArch: noarch
Requires: %name-gir = %version-%release

%description gir-devel
GObject introspection devel data for the %_name library.

%prep
%setup -n %_name-%version

%build
%autoreconf
%configure \
   --disable-static \
   --enable-gtk-doc \
   --enable-introspection \
   --enable-vala=yes
%make_build

%check
#%make check

%install
%makeinstall_std

%files
%_libdir/%name-%api_ver.so.*
%doc README NEWS AUTHORS

%files devel
%_includedir/%name-%api_ver/
%_libdir/%name-%api_ver.so
%_pkgconfigdir/%name-%api_ver.pc
%_vapidir/%name-%api_ver.deps
%_vapidir/%name-%api_ver.vapi

%files devel-doc
%_datadir/gtk-doc/html/%name-%api_ver/

%files gir
%_libdir/girepository-1.0/Uhm-%api_ver.typelib

%files gir-devel
%_datadir/gir-1.0/Uhm-%api_ver.gir

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin