public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libportal] pr7: Initial import (#1782122).
@ 2026-10-26 19:04 Bastien Nocera
0 siblings, 0 replies; only message in thread
From: Bastien Nocera @ 2026-10-26 19:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libportal
Branch : pr7
Commit : 3a1ed17af257e8998e7c04956cddf4ef00d4a1ae
Author : Bastien Nocera <hadess@hadess.net>
Date : 2019-12-17T15:33:11+01:00
Stats : +73/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/libportal/c/3a1ed17af257e8998e7c04956cddf4ef00d4a1ae?branch=pr7
Log:
Initial import (#1782122).
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..10a94bb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libportal-7355b1e.zip
diff --git a/libportal.spec b/libportal.spec
new file mode 100644
index 0000000..1b7681e
--- /dev/null
+++ b/libportal.spec
@@ -0,0 +1,71 @@
+%global commit 7355b1e2e98b7c0f8f3d0601ef4d78369b91aad3
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: libportal
+Version: 0.1
+Release: 0.1.20191211git%{shortcommit}%{?dist}
+Summary: Flatpak portal library
+License: LGPLv2+
+Url: https://github.com/flatpak/libportal
+Source: https://github.com/flatpak/libportal/archive/%{commit}/%{name}-%{shortcommit}.zip
+
+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*
+
+%files devel
+%{_includedir}/libportal
+%{_libdir}/libportal.so
+%{_libdir}/pkgconfig/libportal.pc
+
+%files devel-doc
+%{_datadir}/gtk-doc/html/libportal
+
+%changelog
+* Wed Dec 11 2019 Bastien Nocera <bnocera@redhat.com> - 0.1-0.1.20191211git7355b1e
++ libportal-0.1-0.20191211git7355b1e
diff --git a/sources b/sources
new file mode 100644
index 0000000..7bd666f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libportal-7355b1e.zip) = ae69586604ad2a27c752f58b65b5a94c96b6199e04b695cfb58095852d041b5d568323da1aecbe051c367ad0e779853f77cf73fc0a4b46d8403e96ea0b9a8eb7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-26 19:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 19:04 [rpms/libportal] pr7: Initial import (#1782122) Bastien Nocera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox