update code
This commit is contained in:
commit
703aaf2707
BIN
libostree-2019.4.tar.xz
Normal file
BIN
libostree-2019.4.tar.xz
Normal file
Binary file not shown.
102
ostree.spec
Normal file
102
ostree.spec
Normal file
@ -0,0 +1,102 @@
|
||||
Name: ostree
|
||||
Version: 2019.4
|
||||
Release: 4
|
||||
Summary: A tool like git for operating system binaries
|
||||
License: LGPLv2+
|
||||
URL: https://ostree.readthedocs.io/en/latest/
|
||||
Source0: https://github.com/ostreedev/%{name}/releases/download/v%{version}/libostree-%{version}.tar.xz
|
||||
|
||||
BuildRequires: bison autoconf automake libtool gobject-introspection-devel pkgconfig(liblzma)
|
||||
BuildRequires: pkgconfig(e2p) pkgconfig(zlib) pkgconfig(libcurl) pkgconfig(libsoup-2.4) gpgme-devel
|
||||
BuildRequires: pkgconfig(libselinux) pkgconfig(libcrypto) pkgconfig(fuse) gdb pkgconfig(libsystemd)
|
||||
BuildRequires: dracut openssl-devel pkgconfig(mount) pkgconfig(libarchive)
|
||||
Requires: dracut systemd-units gnupg2
|
||||
%ifarch x86_64
|
||||
Requires: grub2
|
||||
%else
|
||||
Requires: grub2-efi
|
||||
%endif
|
||||
|
||||
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.
|
||||
|
||||
%prep
|
||||
%autosetup -n lib%{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
env NOCONFIGURE=1 ./autogen.sh
|
||||
%configure --with-selinux --with-curl --with-openssl --disable-silent-rules \
|
||||
--with-dracut=yesbutnoconf
|
||||
%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
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Sat Oct 14 2019 shenyangyang <shenyangyang4@huawei.com> - 2019.4-2
|
||||
- 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
|
||||
Loading…
x
Reference in New Issue
Block a user