auto spec version bump up: xfsprogs inih

- xfsprogs: bump up to 5.18.0
- inih: initial version 56

Change-Id: I30522a0292285c4a52644b6629cbce344866faf1
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/17002
This commit is contained in:
Shreenidhi Shedi 2022-07-11 20:37:16 -07:00
parent 9ecd704711
commit 7fde9d1028
2 changed files with 75 additions and 7 deletions

59
SPECS/inih/inih.spec Normal file
View File

@ -0,0 +1,59 @@
Summary: Simple INI file parser library
Name: inih
Version: 56
Release: 1%{?dist}
License: GPLv2 and LGPLv2
URL: https://github.com/benhoyt/inih
Group: System Environment/Development
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://github.com/benhoyt/inih/archive/refs/tags/libinih-%{version}.tar.gz
%define sha512 libinih=ff3e0910990f73e5b21fddc84737ab346279f201c86c7ad864c6cad9de5bde57c3e0a433b9b8f3585b7d86feaae2ea074185f92891dcadc98c274c1c0745d2d2
BuildRequires: meson
%description
The inih package provides simple INI file parser which is only a couple of
pages of code, and it was designed to be small and simple, so it's good for
embedded systems.
%package devel
Summary: Header files for libinih
Group: System Environment/Development
Requires: %{name} = %{version}-%{release}
%description devel
This package contains development files for %{name}.
%prep
%autosetup -p1 -n %{name}-r%{version}
%build
%meson
%meson_build
%install
%meson_install
%if 0%{?with_check}
%check
cd tests && bash -x ./unittest.sh
%endif
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%changelog
* Mon Jul 25 2022 Shreenidhi Shedi <sshedi@vmware.com> 56-1
- Initial build. First Version.
- Needed for xfsprogs-5.18.0

View File

@ -1,7 +1,7 @@
Summary: Utilities for managing the XFS filesystem
Name: xfsprogs
Version: 5.8.0
Release: 2%{?dist}
Version: 5.18.0
Release: 1%{?dist}
License: GPL+ and LGPLv2+
URL: http://oss.sgi.com/projects/xfs
Group: System Environment/Base
@ -9,10 +9,17 @@ Vendor: VMware, Inc.
Distribution: Photon
Source0: http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz
%define sha512 %{name}=11f2810402ecb83db204346c45ff9f7d643ff2390767794e311a06a10eb97118095e4c377d2b065be50611ec5fc82ac5cbc0a8c7122ee7e9820a2db4e9f177c1
%define sha512 %{name}=47d035a33367edae7357e34c70bdb0fe9219231153fb4c4f418ed1462d137dd77338c12a199eb71cd70e88903e5fc11e1e4fb595c622183786e87346e2f65739
BuildRequires: gettext
BuildRequires: readline-devel
BuildRequires: gettext
BuildRequires: inih-devel
BuildRequires: readline-devel
BuildRequires: userspace-rcu-devel
Requires: inih
Requires: python3
Requires: util-linux-libs
Requires: userspace-rcu
%description
The xfsprogs package contains administration and debugging tools for the
@ -52,7 +59,6 @@ make DESTDIR=%{buildroot} PKG_DOC_DIR=%{_docdir}/%{name}-%{version} \
make DESTDIR=%{buildroot} PKG_DOC_DIR=%{_docdir}/%{name}-%{version} \
PKG_ROOT_LIB_DIR=%{_libdir} PKG_ROOT_SBIN_DIR=%{_sbindir} install-dev %{?_smp_mflags}
#find %{buildroot}/lib64/ -name '*.so' -delete
find %{buildroot}%{_lib64dir} -name '*.la' -delete
find %{buildroot}%{_lib64dir} -name '*.a' -delete
@ -68,10 +74,11 @@ rm -rf %{buildroot}/*
%defattr(-,root,root)
%doc %{_docdir}/%{name}-%{version}/*
%{_sbindir}/*
%{_lib64dir}/*/*.cron
%{_libdir}/*/*.cron
%{_mandir}/man2/*
%{_mandir}/man8/*
%{_mandir}/man5/*
%{_datadir}/%{name}/mkfs/*.conf
%exclude %{_docdir}/%{name}-%{version}/CHANGES.gz
%files devel
@ -85,6 +92,8 @@ rm -rf %{buildroot}/*
%defattr(-,root,root)
%changelog
* Mon Jul 25 2022 Shreenidhi Shedi <sshedi@vmware.com> 5.18.0-1
- Automatic version bump
* Tue Mar 01 2022 Shreenidhi Shedi <sshedi@vmware.com> 5.8.0-2
- Fix binary path
* Thu Sep 10 2020 Gerrit Photon <photon-checkins@vmware.com> 5.8.0-1