135 lines
3.8 KiB
RPMSpec
135 lines
3.8 KiB
RPMSpec
|
Name: ostree
|
||
|
Version: 2019.2
|
||
|
Release: 1mamba
|
||
|
Summary: Operating system and container binary deployment and upgrades
|
||
|
Group: System/Management
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://ostree.readthedocs.org/en/latest/
|
||
|
## GITSOURCE https://github.com/ostreedev/ostree.git v2019.2
|
||
|
Source: https://github.com/ostreedev/ostree.git/v%{version}/ostree-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libacl-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: libe2fs-devel
|
||
|
BuildRequires: libffi-devel
|
||
|
BuildRequires: libfuse-devel
|
||
|
BuildRequires: libgcrypt-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgpg-error-devel
|
||
|
BuildRequires: libgpgme-devel
|
||
|
BuildRequires: libkrb5-devel
|
||
|
BuildRequires: liblzma-devel
|
||
|
BuildRequires: libmount-devel
|
||
|
BuildRequires: libnettle-devel
|
||
|
BuildRequires: libopenssl-devel
|
||
|
BuildRequires: libpcre-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
|
||
|
Operating system and container binary deployment and upgrades.
|
||
|
|
||
|
%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
|
||
|
NOCONFIGURE=1 ./autogen.sh
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_sysconfdir}/grub.d/15_ostree
|
||
|
%{_systemdgeneratordir}/ostree-system-generator
|
||
|
%{_unitdir}/ostree-finalize-staged.path
|
||
|
%{_unitdir}/ostree-finalize-staged.service
|
||
|
%{_unitdir}/ostree-prepare-root.service
|
||
|
%{_unitdir}/ostree-remount.service
|
||
|
%{_bindir}/ostree
|
||
|
%{_bindir}/rofiles-fuse
|
||
|
%{_mandir}/man1/ostree*.1*
|
||
|
%{_mandir}/man1/rofiles-fuse.1*
|
||
|
%{_mandir}/man5/ostree.repo-config.5*
|
||
|
%{_mandir}/man5/ostree.repo.5*
|
||
|
%{_datadir}/bash-completion/completions/ostree
|
||
|
%{_datadir}/ostree/trusted.gpg.d/README-gpg
|
||
|
|
||
|
%files -n lib%{name}
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libostree-1.so.*
|
||
|
%{_libdir}/girepository-1.0/OSTree-1.0.typelib
|
||
|
%dir %{_libexecdir}/libostree
|
||
|
%{_libexecdir}/libostree/grub2-15_ostree
|
||
|
%{_libexecdir}/libostree/ostree-trivial-httpd
|
||
|
%doc COPYING
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/ostree-1
|
||
|
%{_includedir}/ostree-1/ostree*.h
|
||
|
%{_prefix}/lib/ostree/ostree-prepare-root
|
||
|
%{_prefix}/lib/ostree/ostree-remount
|
||
|
%{_prefix}/lib/tmpfiles.d/ostree-tmpfiles.conf
|
||
|
%{_libdir}/libostree-1.la
|
||
|
%{_libdir}/libostree-1.so
|
||
|
%{_libdir}/pkgconfig/ostree-1.pc
|
||
|
%{_datadir}/gir-1.0/OSTree-1.0.gir
|
||
|
%doc README-historical.md README.md TODO
|
||
|
|
||
|
%changelog
|
||
|
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2019.2-1mamba
|
||
|
- package created using the webbuild interface
|