From 782df2d80c9bb6fa409e906307e241e1f5006ad3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:26:40 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.4.2-1mamba;Sat Jul 27 2019] --- README.md | 2 + flatpak.spec | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 158 insertions(+) create mode 100644 flatpak.spec diff --git a/README.md b/README.md index 9d4be72..489869b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # flatpak +Linux application sandboxing and distribution framework. + diff --git a/flatpak.spec b/flatpak.spec new file mode 100644 index 0000000..2f76785 --- /dev/null +++ b/flatpak.spec @@ -0,0 +1,156 @@ +Name: flatpak +Version: 1.4.2 +Release: 1mamba +Summary: Linux application sandboxing and distribution framework +Group: System/Management +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://flatpak.org +## GITSOURCE https://github.com/flatpak/flatpak.git 1.4.2 +Source: https://github.com/flatpak/flatpak.git/%{version}/flatpak-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libXau-devel +BuildRequires: libacl-devel +BuildRequires: libappstream-glib-devel +BuildRequires: libarchive-devel +BuildRequires: libassuan-devel +BuildRequires: libavahi-devel +BuildRequires: libavahi-glib-devel +BuildRequires: libblkid-devel +BuildRequires: libbzip2-devel +BuildRequires: libcap-devel +BuildRequires: libdbus-devel +BuildRequires: libdconf-devel +BuildRequires: libe2fs-devel +BuildRequires: libexpat-devel +BuildRequires: libffi-devel +BuildRequires: libfuse-devel +BuildRequires: libgcrypt-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgpg-error-devel +BuildRequires: libgpgme-devel +BuildRequires: libjson-glib-devel +BuildRequires: libkrb5-devel +BuildRequires: liblzma-devel +BuildRequires: libmount-devel +BuildRequires: libnettle-devel +BuildRequires: libopenssl-devel +BuildRequires: libostree-devel +BuildRequires: libpcre-devel +BuildRequires: libpng-devel +BuildRequires: libpolkit-devel +BuildRequires: libseccomp-devel +BuildRequires: libselinux-devel +BuildRequires: libsepol-devel +BuildRequires: libsoup-devel +BuildRequires: libsqlite-devel +BuildRequires: libssp-devel +BuildRequires: libsystemd-devel +BuildRequires: libuuid-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +BuildRequires: libzstd-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Linux application sandboxing and distribution framework. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%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 + +%build +NOCONFIGURE=1 ./autogen.sh + +%configure \ + --with-systemdsystemunitdir=%{_unitdir} + +%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) +%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf +%{_sysconfdir}/profile.d/flatpak.sh +%{_bindir}/flatpak +%{_bindir}/flatpak-bisect +%{_bindir}/flatpak-coredumpctl +%{_unitdir}/flatpak-system-helper.service +%{_systemd_user_env_generator_dir}/60-flatpak +%{_userunitdir}/flatpak-portal.service +%{_userunitdir}/flatpak-session-helper.service +%{_datadir}/bash-completion/completions/flatpak +%{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.xml +%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Flatpak.xml +%{_datadir}/dbus-1/services/org.freedesktop.Flatpak.service +%{_datadir}/dbus-1/services/org.freedesktop.portal.Flatpak.service +%{_datadir}/dbus-1/system-services/org.freedesktop.Flatpak.SystemHelper.service +%dir %{_datadir}/doc/flatpak +%{_datadir}/doc/flatpak/* +%dir %{_datadir}/flatpak +%dir %{_datadir}/flatpak/triggers +%{_datadir}/flatpak/triggers/*.trigger +%{_datadir}/gdm/env.d/flatpak.env +%{_mandir}/man1/flatpak*.1* +%{_mandir}/man5/flatpak-*.5* +%{_datadir}/polkit-1/actions/org.freedesktop.Flatpak.policy +%{_datadir}/polkit-1/rules.d/org.freedesktop.Flatpak.rules +%{_datadir}/zsh/site-functions/_flatpak + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libflatpak.so.* +%{_libdir}/girepository-1.0/Flatpak-1.0.typelib +%{_libexecdir}/flatpak-* +%{_libexecdir}/revokefs-fuse +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/flatpak +%{_includedir}/flatpak/flatpak*.h +%{_libdir}/libflatpak.la +%{_libdir}/libflatpak.so +%{_libdir}/pkgconfig/flatpak.pc +%{_datadir}/gir-1.0/Flatpak-1.0.gir +%doc NEWS README.md + +%changelog +* Sat Jul 27 2019 Silvan Calarco 1.4.2-1mamba +- package created using the webbuild interface