flatpak/flatpak.spec

175 lines
5.4 KiB
RPMSpec

Name: flatpak
Version: 1.6.1
Release: 1mamba
Summary: Linux application sandboxing and distribution framework
Group: System/Management
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
%{_userunitdir}/flatpak-oci-authenticator.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/interfaces/org.freedesktop.Flatpak.Authenticator.xml
%{_datadir}/dbus-1/services/org.freedesktop.Flatpak.service
%{_datadir}/dbus-1/services/org.freedesktop.portal.Flatpak.service
%{_datadir}/dbus-1/services/org.flatpak.Authenticator.Oci.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
* Thu Jan 23 2020 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Mon Dec 23 2019 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic version update by autodist
* Sun Dec 01 2019 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
- automatic version update by autodist
* Thu Oct 03 2019 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
- automatic version update by autodist
* Thu Sep 19 2019 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
- automatic version update by autodist
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- package created using the webbuild interface