xdg-desktop-portal/xdg-desktop-portal.spec

97 lines
2.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: xdg-desktop-portal
Version: 1.14.3
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
BuildRequires: glibc-devel
BuildRequires: libfuse3-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libgeoclue-devel
BuildRequires: libglib-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpipewire-devel
BuildRequires: libsystemd-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-*.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-*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
%doc NEWS README.md
%changelog
* Sat Apr 16 2022 Automatic Build System <autodist@mambasoft.it> 1.14.3-1mamba
- automatic version update by autodist
* Sun Apr 03 2022 Automatic Build System <autodist@mambasoft.it> 1.14.2-1mamba
- automatic version update by autodist
* Fri Mar 25 2022 Automatic Build System <autodist@mambasoft.it> 1.14.1-1mamba
- automatic version update by autodist
* Mon Jan 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.1-1mamba
- package created using the webbuild interface