libportal/libportal.spec

77 lines
1.8 KiB
RPMSpec
Raw Normal View History

2019-12-17 14:33:11 +00:00
Name: libportal
2020-01-06 17:01:56 +00:00
Version: 0.3
Release: 2
2019-12-17 14:33:11 +00:00
Summary: Flatpak portal library
License: LGPLv2+
Url: https://github.com/flatpak/libportal
2020-01-06 17:01:56 +00:00
Source: https://github.com/flatpak/libportal/releases/download/0.3/libportal-0.3.tar.xz
2019-12-17 14:33:11 +00:00
BuildRequires: glibc-devel gcc
BuildRequires: meson
BuildRequires: git
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: gtk-doc
# For doc links
BuildRequires: pipewire-doc
%description
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
%package devel
Summary: Development files and libraries for %name
Group: Development/C
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%name provides GIO-style asynchronous APIs for most Flatpak portals.
This package provides files for development with %name.
%package devel-doc
Summary: Development documentation for libportal
Group: Development/C
BuildArch: noarch
%description devel-doc
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
This package provides development documentations for libportal.
%prep
%autosetup -S git -n %{name}-%{commit}
%build
%meson
%meson_build
%install
%meson_install
%check
%meson_test
%files
%{_libdir}/libportal.so.0*
%doc README* COPYING
2019-12-17 14:33:11 +00:00
%files devel
%{_includedir}/libportal
%{_libdir}/libportal.so
%{_libdir}/pkgconfig/libportal.pc
%files devel-doc
%{_datadir}/gtk-doc/html/libportal
%changelog
* Mon Jan 06 2020 Bastien Nocera <bnocera@redhat.com> - 0.3-2
+ libportal-0.3-2
- Add COPYING file to package
2020-01-06 17:01:56 +00:00
* Mon Jan 06 2020 Bastien Nocera <bnocera@redhat.com> - 0.3-1
+ libportal-0.3-1
- Update to 0.3
2019-12-17 14:33:11 +00:00
* Wed Dec 11 2019 Bastien Nocera <bnocera@redhat.com> - 0.1-0.1.20191211git7355b1e
+ libportal-0.1-0.20191211git7355b1e