92 lines
2.6 KiB
RPMSpec
92 lines
2.6 KiB
RPMSpec
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
|