libportal/libportal.spec

169 lines
4.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: libportal
Version: 0.8.1
Release: 1mamba
Summary: GIO-style async APIs for most Flatpak portals
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/flatpak/libportal
Source: https://github.com/flatpak/libportal.git/%{version}/libportal-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5X11Extras-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libgtk3-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
%description
libportal provides GIO-style async APIs for most Flatpak portals.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-gtk3 = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-gtk4 = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-qt5 = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-qt6 = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package gtk3
Group: Development/Libraries
Summary: Gtk3 binding to %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description gtk3
libportal provides GIO-style async APIs for most Flatpak portals.
%package gtk4
Group: Development/Libraries
Summary: Gtk4 binding to %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description gtk4
libportal provides GIO-style async APIs for most Flatpak portals.
%package qt5
Group: Development/Libraries
Summary: Qt5 binding to %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description qt5
libportal provides GIO-style async APIs for most Flatpak portals.
%package qt6
Group: Development/Libraries
Summary: Qt6 binding to %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description qt6
libportal provides GIO-style async APIs for most Flatpak portals.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libportal.so.*
%{_libdir}/girepository-1.0/Xdp-1.0.typelib
%doc COPYING
%files gtk3
%defattr(-,root,root)
%{_libdir}/libportal-gtk3.so.*
%{_libdir}/girepository-1.0/XdpGtk3-1.0.typelib
%files gtk4
%defattr(-,root,root)
%{_libdir}/libportal-gtk4.so.*
%{_libdir}/girepository-1.0/XdpGtk4-1.0.typelib
%files qt5
%defattr(-,root,root)
%{_libdir}/libportal-qt5.so.*
%files qt6
%defattr(-,root,root)
%{_libdir}/libportal-qt6.so.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libportal
%{_includedir}/libportal/*.h
%dir %{_includedir}/libportal-gtk3
%{_includedir}/libportal-gtk3/portal-gtk3.h
%dir %{_includedir}/libportal-gtk4
%{_includedir}/libportal-gtk4/portal-gtk4.h
%dir %{_includedir}/libportal-qt5
%{_includedir}/libportal-qt5/portal-qt5.h
%dir %{_includedir}/libportal-qt6
%{_includedir}/libportal-qt6/portal-qt6.h
%{_libdir}/libportal.so
%{_libdir}/libportal-gtk3.so
%{_libdir}/libportal-gtk4.so
%{_libdir}/libportal-qt5.so
%{_libdir}/libportal-qt6.so
%{_datadir}/gir-1.0/Xdp-1.0.gir
%{_datadir}/gir-1.0/XdpGtk3-1.0.gir
%{_datadir}/gir-1.0/XdpGtk4-1.0.gir
%{_datadir}/vala/vapi/libportal-gtk3.deps
%{_datadir}/vala/vapi/libportal-gtk3.vapi
%{_datadir}/vala/vapi/libportal-gtk4.deps
%{_datadir}/vala/vapi/libportal-gtk4.vapi
%{_datadir}/vala/vapi/libportal.deps
%{_datadir}/vala/vapi/libportal.vapi
%{_libdir}/pkgconfig/libportal.pc
%{_libdir}/pkgconfig/libportal-gtk3.pc
%{_libdir}/pkgconfig/libportal-gtk4.pc
%{_libdir}/pkgconfig/libportal-qt5.pc
%{_libdir}/pkgconfig/libportal-qt6.pc
%dir %{_docdir}/libportal-1
%{_docdir}/libportal-1/*
%doc NEWS README.md
%changelog
* Sun Sep 08 2024 Automatic Build System <autodist@openmamba.org> 0.8.1-1mamba
- automatic version update by autodist
* Sun Sep 10 2023 Automatic Build System <autodist@mambasoft.it> 0.7.1-1mamba
- automatic version update by autodist
* Fri Sep 08 2023 Automatic Build System <autodist@mambasoft.it> 0.7-1mamba
- automatic version update by autodist
* Tue Mar 22 2022 Automatic Build System <autodist@mambasoft.it> 0.6-1mamba
- automatic version update by autodist
* Fri Dec 31 2021 Automatic Build System <autodist@mambasoft.it> 0.5-1mamba
- automatic version update by autodist
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 0.4-1mamba
- automatic version update by autodist
* Tue Nov 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3-1mamba
- package created using the webbuild interface