package created using the webbuild interface [release 1.12.1-1mamba;Mon Jan 24 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 19:35:02 +01:00
parent dcf05f2d1a
commit 5cb35a4ee6
2 changed files with 93 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# xdg-desktop-portal
A portal frontend service for Flatpak and possibly other desktop containment frameworks.

91
xdg-desktop-portal.spec Normal file
View File

@ -0,0 +1,91 @@
Name: xdg-desktop-portal
Version: 1.12.1
Release: 1mamba
Summary: A portal frontend service for Flatpak and possibly other desktop containment frameworks
Group: System/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/flatpak/xdg-desktop-portal
Source: https://github.com/flatpak/xdg-desktop-portal.git/%{version}/xdg-desktop-portal-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
#ld-linux.so.3(GLIBC_2.4): .so link not found
#ld-linux.so.3: .so link not found
BuildRequires: glibc-devel
BuildRequires: libfuse-devel
BuildRequires: libgeoclue-devel
BuildRequires: libglib-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpipewire-devel
## AUTOBUILDREQ-END
BuildRequires: libportal-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
A portal frontend service for Flatpak and possibly other desktop containment frameworks.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_userunitdir}/xdg-desktop-portal.service
%{_userunitdir}/xdg-document-portal.service
%{_userunitdir}/xdg-permission-store.service
%{_datadir}/dbus-1/interfaces/org.freedesktop.*.xml
%{_datadir}/dbus-1/services/org.freedesktop.*.service
%dir %{_datadir}/doc/xdg-desktop-portal
%{_datadir}/doc/xdg-desktop-portal/*
%files -n lib%{name}
%defattr(-,root,root)
%{_libexecdir}/xdg-desktop-portal
%{_libexecdir}/xdg-document-portal
%{_libexecdir}/xdg-permission-store
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
%doc NEWS README.md
%changelog
* Mon Jan 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.1-1mamba
- package created using the webbuild interface