ostree/ostree.spec

193 lines
5.2 KiB
RPMSpec
Raw Permalink Normal View History

2023-01-28 20:22:23 +08:00
#needsrootforbuild
2019-11-06 19:45:05 +08:00
Name: ostree
2024-04-16 15:17:45 +08:00
Version: 2024.4
Release: 1
Summary: Tool for managing bootable, immutable filesystem trees
License: LGPL-2.0-or-later
2019-11-06 19:45:05 +08:00
URL: https://ostree.readthedocs.io/en/latest/
Source0: https://github.com/ostreedev/%{name}/releases/download/v%{version}/libostree-%{version}.tar.xz
2024-04-16 15:17:45 +08:00
Patch01: remove-specific-cc-in-automake.patch
BuildRequires: bison autoconf automake libtool pkgconfig(liblzma)
BuildRequires: pkgconfig(e2p) pkgconfig(zlib) pkgconfig(libcurl) pkgconfig(libsoup-3.0) gpgme-devel
BuildRequires: pkgconfig(libselinux) pkgconfig(fuse3) pkgconfig(libsystemd)
BuildRequires: dracut openssl-devel pkgconfig(mount) pkgconfig(libarchive)
BuildRequires: gtk-doc attr libattr-devel
2019-11-06 19:45:05 +08:00
Requires: dracut systemd-units gnupg2
%ifarch x86_64
Requires: grub2
%else
2023-11-27 18:07:40 +08:00
%ifnarch ppc64le
2019-11-06 19:45:05 +08:00
Requires: grub2-efi
%endif
2023-11-27 18:07:40 +08:00
%endif
2019-11-06 19:45:05 +08:00
Provides: ostree-libs ostree-grub2
Provides: ostree-libs%{?_isa} = %{version}-%{release}
Obsoletes: ostree-libs ostree-grub2
%description
This project is now known as "libostree", though it is still appropriate to use the previous name: "OSTree"
(or "ostree"). The focus is on projects which use libostree's shared library, rather than users directly
invoking the command line tools (except for build systems). However, in most of the rest of the documentation,
we will use the term "OSTree", since it's slightly shorter, and changing all documentation at once is impractical.
%package devel
Summary: Development headers for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package includes the header files for the %{name} library.
2020-03-21 10:32:09 +08:00
%package_help
2019-11-06 19:45:05 +08:00
%prep
%autosetup -n lib%{name}-%{version} -p1
%build
env NOCONFIGURE=1 ./autogen.sh
%configure --with-selinux --with-curl --with-openssl --disable-silent-rules \
2024-04-16 15:17:45 +08:00
--with-soup3 --with-dracut=yesbutnoconf
2019-11-06 19:45:05 +08:00
%make_build
%install
%make_install
%delete_la
%post
%systemd_post ostree-remount.service
%preun
%systemd_preun ostree-remount.service
%files
%doc README.md
%license COPYING
%{_bindir}/%{name}
%{_bindir}/rofiles-fuse
%{_datadir}/%{name}
%{_datadir}/bash-completion/*/*
%{_prefix}/lib/dracut/modules.d/98ostree
%{_prefix}/lib/systemd/system-generators/*
%{_prefix}/lib/systemd/system/*
%{_prefix}/lib/tmpfiles.d/*
%{_prefix}/lib/%{name}
%{_libexecdir}/lib%{name}/*
%{_sysconfdir}/%{name}
%{_libdir}/*.so.1*
%{_libdir}/girepository-1.0/*
%{_sysconfdir}/grub.d/*
%{_libexecdir}/lib%{name}/grub2*
%exclude %{_libexecdir}/lib%{name}/*httpd
%files devel
%{_libdir}/*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_datadir}/gir-1.0/*.gir
2020-03-21 10:32:09 +08:00
%files help
%{_mandir}/man*/{ostree,rofiles}*.gz
2019-11-06 19:45:05 +08:00
%changelog
2024-04-16 15:17:45 +08:00
* Tue Apr 16 2024 duyiwei <duyiwei@kylinos.cn> - 2024.4-1
- upgrade version to 2024.4
2023-11-27 18:07:40 +08:00
* Mon Nov 27 2023 jiahua.yu <jiahua.yu@shingroup.cn> - 2023.5-4
- init support for ppc64le
* Tue Sep 19 2023 jiangchuangang <jiangchuangang@huawei.com> - 2023.5-3
- fix test-rofiles-fuse.sh failed
2023-08-11 16:16:50 +08:00
* Fri Aug 11 2023 liyunfei <liyunfei33@huawei.com> - 2023.5-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add clang compile support
2023-07-07 12:36:39 +08:00
* Wed Jul 12 2023 jiangchuangang <jiangchuangang@huawei.com> - 2023.5-1
- update to 2023.5
2023-01-28 20:22:23 +08:00
* Sun Jan 29 2023 jiangchuangang <jiangchuangang@huawei.com> - 2022.7-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update to 2022.7
add skip-if-etc-mtab-is-not-a-symlink-of-proc-self-mounts.patch for test failed
2022-10-17 10:47:49 +08:00
* Mon Oct 17 2022 yangmingtai <yangmingtai@huawei.com> - 2021.6-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add Buildrequires elfutils-extra
2022-02-08 11:32:18 +08:00
* Tue Feb 8 2022 yangzhuangzhuang <yangzhuangzhuang1@h-partners.com> - 2021.6-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update ostree to 2021.6
* Tue Jul 20 2021 wangchen <wangchen137@huawei.com> - 2020.8-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Delete unnecessary gdb from BuildRequires
* Fri Feb 5 2021 panxiaohe <panxiaohe@huawei.com> - 2020.8-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix failed tests about test-pull-summary-sigs.sh
2021-01-25 17:03:56 +08:00
* Mon Jan 25 2021 zoulin <zoulin13@huawei.com> - 2020.8-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update ostree to 2020.8
* Wed Aug 12 2020 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 2020.4-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:DO not run testcase test-libarchive-import,because selinux is off.
2022-06-15 13:34:06 +08:00
* Sat Jul 25 2020 linwei <linwei54@huawei.com> - 2020.4-1
2020-07-27 14:39:09 +08:00
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update ostree to 2020.4
2020-03-21 10:32:09 +08:00
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 2019.4-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add man files into help package
2020-02-11 10:22:11 +08:00
* Tue Feb 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 2019.4-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:enable check
2019-11-06 19:45:05 +08:00
* Sat Oct 19 2019 shenyangyang <shenyangyang4@huawei.com> - 2019.4-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add the version and release of ostree-libs%{?_isa}
* Fri Oct 18 2019 shenyangyang <shenyangyang4@huawei.com> - 2019.4-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add ostree-libs%{?_isa} that required by flatpak
2020-02-11 10:22:11 +08:00
* Mon Oct 14 2019 shenyangyang <shenyangyang4@huawei.com> - 2019.4-2
2019-11-06 19:45:05 +08:00
- Type: enhancement
- ID: NA
- SUG: NA
- DESC:delete unneeded build requires
* Mon Oct 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 2019.4-1
- Package Init